![Okuma OSP-P200L Скачать руководство пользователя страница 284](http://html1.mh-extra.com/html/okuma/osp-p200l/osp-p200l_programming-manual_3667818284.webp)
5238-E P-271
SECTION 12 USER TASK
[Function]
•
When the conditional expression is true (Example 1) or when the local variable is defined
(Example 2), sequence execution jumps to sequence N1.
•
When the conditional expression is false (Example1) or when the local variable is not defined
(Example 2), the following sequence is executed.
[Details]
Example 1:
LE33013R0301400080002
or
LE33013R0301400080003
A jump is made to N2000 if variable V1 equals 10 (V1 = 10). When V1 is not equal to 10, the
following block is executed.
Example 2:
LE33013R0301400080004
or
LE33013R0301400080005
If the local variable ABC has been defined, execution jumps to N2000. If not, the next block is
executed.
* EQ means "equal". For details, refer to "Arithmetic Operation Function 1".
(
∗
)
N1000 IF [V1 EQ 10] GOTO N2000
N1000 IF [V1 EQ 10] N2000
N1000 IF ABC GOTO N2000
Local variable
N1000 IF ABC N2000