![Mitsubishi Electric Q172CPU Programming Manual Download Page 408](http://html.mh-extra.com/html/mitsubishi-electric/q172cpu/q172cpu_programming-manual_1811836408.webp)
7 - 147
7 MOTION PROGRAMS FOR POSITIONING CONTROL
7.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.
Summary of Contents for Q172CPU
Page 229: ...5 88 5 POSITIONING DEDICATED SIGNALS MEMO ...
Page 447: ...7 186 7 MOTION PROGRAMS FOR POSITIONING CONTROL MEMO ...
Page 535: ...8 88 8 AUXILIARY AND APPLIED FUNCTIONS MEMO ...
Page 557: ...11 10 11 COMMUNICATIONS VIA NETWORK MEMO ...
Page 559: ...12 2 12 MONITOR FUNCTION OF THE MAIN CYCLE MEMO ...