![Mitsubishi Electric Q172CPU Programming Manual Download Page 419](http://html.mh-extra.com/html/mitsubishi-electric/q172cpu/q172cpu_programming-manual_1811836419.webp)
7 - 158
7 MOTION PROGRAMS FOR POSITIONING CONTROL
7.16.19 Bit device set, reset functions (SET, RST)
Code SET,
RST
Function
Bit device set, reset functions
The specified device is turned ON/OFF.
Format
E
ON device (Y, M)
T
Y ;
S
# y
Device ON command
S
OFF device (Y, M)
T
Y ;
R
# y
Device OFF command
[Explanation]
(1) The specified device in the G-code program can be turned ON/OFF.
(2) Refer to Section 7.11.2 (2) for the usable device ranges.
[Program Example]
1) SET #M0 ; Turns ON device M0.
2) RST #M0 ; Turns OFF device M0.
3) SET #Y10 ; Turns ON device Y10.
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 ...