109
Example 2
The following program just outputs M code 600. (M codes over 499 don’t inter-
lock.)
N000
P000
X
N001
G01
X100
F100
M600
N002
G01
X200
F100
N003
G79
X-axis operation
MC Unit
M strobe
M code
Command
from the PC
M code reset
Block N002 is executed immedi-
ately, without waiting for the M
code reset input.
5-6-4 M Code Resets
M Code Resets from the PC
Depending on the status of the MC Unit, M code resets from the PC might or
might not be able to reset the M code.
Mode
Explanation
Manual mode
Valid for M500 to M999
Automatic
d
Program not being executed Valid for M500 to M999
mode
Program being executed
Valid for M codes M000 to M999.
5-6-5 Effect of Mode Changes on M Code Resets
The status of M codes isn’t affected by switching from manual to automatic mode
or vice-versa.
5-6-6 Clearing M000 to M499 with Forced Block End or G74
The M strobe and M code outputs for M codes 000 to 499 will be cleared if the
program block that outputs the M code is cleared with the Forced Block End sig-
nal (PC data area interface bit) or the OPTIONAL END function (G74).
M-code Outputs
Section 5-6
Summary of Contents for C200H-MC221 -
Page 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Page 2: ......
Page 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 16: ...xvi ...
Page 42: ......
Page 48: ......
Page 196: ......
Page 212: ......
Page 242: ......
Page 258: ......
Page 304: ......