6 MOTION PROGRAMS FOR POSITIONING CONTROL
6.16.12 Block wait functions (EXEON, EXEOFF)
Code
Function
Block wait function
E
XE
Format
EXE
[Explanation]
[Program Example]
EXEON, EXEOFF
O
N
#
Xx ;
O
F
F Xx ;
#
(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 ;
(1) Control program
SET #M100 ;
RST #M101 ;
EXEON #M102 ;
#D2100=200
CALL JXJY P100 ;
:
:
M02 ;
The next block is executed at the completion of ON/OFF condition for
the specified device.
Device (X, Y, M, B, F)
Device (X, Y, M, B, F)
Preread is not executed in the control program.
When the M102 is ON, the next block is executed.
6 - 147