6 - 147
6 MOTION PROGRAMS FOR POSITIONING CONTROL
6.16.12 Block wait functions (EXEON, EXEOFF)
Code EXEON,
EXEOFF
Function
Block wait function
The next block is executed at the completion of ON/OFF condition for
the specified device.
Format
E
Device (X, Y, M, B, F)
O #
N
XE
Xx ;
EXE
Device (X, Y, M, B, F)
O
#
F Xx ;
F
[Explanation]
(1) Execution of the next block is waited until the completion of ON/OFF condition for
the specified device.
(2) The response time of EXEON/EXEOFF is an operation cycle.
(3) The grammar is indicated below.
<EXEON statement> : EXEON #<device>
[Example] EXEON #X10 ;
<EXEOFF statement> : EXEOFF #<device>
[Example] EXEOFF #X11 ;
[Program Example]
(1) Control
program
SET #M100 ;
RST #M101 ;
EXEON #M102 ;
#D2100=200
CALL JXJY P100 ;
:
:
M02 ;
Preread is not executed in the control program.
When the M102 is ON, the next block is executed.