Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
6 - 148
6 MOTION PROGRAMS FOR POSITIONING CONTROL
(2) Axis designation program
(a) Next block is travel block.
EXEON/EXEOFF
SET #M100 ;
EXEON #M102 ;
G01 X100. F1000. ;
:
:
MO2 ;
%
Preread of next block is not
executed.
When the M102 is ON, the
next block is executed.
Preread of next block is executed.
When the M102 is ON, the next
block is executed. The next travel
block is executed at high speed.
WAITON/WAITOFF
SET #M100 ;
WAITON #M102 ;
G01 X100. F1000. ;
:
:
MO2 ;
%
(b) Next block is not travel block.
EXEON/EXEOFF
SET #M100 ;
EXEON #M102 ;
RST #M100 ;
:
:
MO2 ;
%
Preread of next block is not
executed. The next block is
executed after waiting for
the M102 to turn ON.
When the next block is not the
travel block, a waiting by the
WAITON is not executed.
WAITON/WAITOFF
SET #M100 ;
WAITON #M102 ;
RST #M100 ;
:
:
MO2 ;
%
(c) EXEON/EXEOFF is wrote between the travel blocks.
EXEON/EXEOFF
G01 X100. F100. ;
EXEON #M100 ;
G01 X200. F100. ;
EXEON/EXEOFF
G00 X100. ;
EXEON #M100 ;
G00 X200. ;
• Above two programs stop temporary between blocks regardress of G00(PTP),
G01(CP), and it judges waiting/execution for EXEON/EXEOFF in the state of
preceding block end.