Lbl
:
0 X
:
10.000
Y
:
10.000
F
:
800 Z
:
10.000
n003 Loop File
:
7788
Lbl
:
0
NumOfLps
:
9
Dest Lbl
:
777
(
Execute this line, the program will automatically jump to the Lbl: 777 line
instruction to continue to execute, the execution number of times is 9 times,
accumulative total of 10 times, so when to execute a loop N times, the number of
times of the loop instruction should be written as N-1 times.
)
(
NumOfLps: Number of loops
)
10
)
Loop: Execute this line, the program will automatically jump to the line
instruction which label meets with the set Dest Lbl to continue to execute, and
execute N-1 times.
The case as above.
11
)
Output: Execute this line, according to the set parameters of the line, operate the
external output port, the output port can be connected with the standard 24V relay,
through controlling the relay coil on/off, control the contacts suck & shut, and then
control the external devices connected with the relay N.O.(Normally open) or
N.C.(normally closed), most of the cylinder, or the spindle motor, or the buzzer.
Example: The three axises move to position 10, and then open the output port 2, after