7 - 51
7 OPERATION CONTROL PROGRAMS
[Program examples]
(1) Program which resets M100 when either of M0 and X0 is 1
RST M100 = M0 + X0
M100
0
M0
1
0
+ (True)
X0
(2) Program which resets M100 when #0 is equal to D0
RST M100 = #0 != D0
M100
0
#0
200
100
!= (True)
D0
(3) Program which resets Y0 unconditionally
RST Y0
Y0
0