Okuma Alarm-B 2238 BRANCH(IF,GOTO) condition


Okuma Alarm-B 2238 BRANCH(IF,GOTO) condition
IF statement or condition judging expression is erroneous.

Object
SYSTEM (None with schedule program)

Code
1->No “[” following IF
2->A comparison expression is not given in [ ] following IF.
Program Example:

N10 IF [V1+V2 EQ 3] N100
N20 G00 X500 Z500
N100 G00 X0 Z0
->Code 1 appears.
N10 IF [VTOFX [1]] N100
N20 G00 X500 Z500
N100 M03 S500
->Code 2 appears.

Related Specifications
User task

Okuma Alarm-B 2238 BRANCH(IF,GOTO) condition