
in the off state, then continues to loop the line instruction labeled 39.
)
(InpPt: Input port,
Cond: Condition,
O: Off,
Dest Lbl:Destination label)
n003
Lin M
File
:
7788
Lbl
:
0
X
:
0.000
Y
:
20.000
F
:
800
Z
:
-15.000
Example 2: The program runs, waiting for the signal of the external input port 8, the
input port closes once, while the three axises move 10mm at the same time, executes
a total of 10 times.
n001
CondJump
File
:
7788
Lbl
:
777
InpPt
:
8
Cond
:
O
Dest Lbl
:
777
(
Detect the state of the external input port 8, the switch is not pressed down, at
this time it is off, and meets with the line instruction 'Cond: O', the program will jump
to the Lbl: 777 line to continue to execute, because this line label is also 777, so long
as the external switch is not pressed down, that is not closed, the program will always
execute the line, rather than downwards, at this time no any external program action
is equivalent to 'Pause', when the switch is pressed down, that is the switch is closed,
does not meet with the line set 'Cond: O', then continues to execute the next line
instruction.
)
n002
Lin M
File
:
7788