439
M Code Outputs
Section 7-4
Format
D <D code>
Case 1: N010
D100
Case 2: N010
G01
X100
F200
D100
Case 3: N010
G01
X100
F200
M50
D100
Operands
Description
• The D code must be between 0 and 255.
• The following can be written after the D.
• A number: 0 to 255 (integer)
• (E00) to (E31)
• A0000 to A1999
• The output timing for D codes is the same as that for M codes.
• D codes, like M codes, can be used with G codes. Only one or the other
can be used at a time with a G code for stopovers.
• When a D code is output, the CPU Unit determines whether it can receive
an interrupt. If it cannot receive an interrupt, then it will monitor status for
10 ms. If reception is still not possible, the CPU Unit will output a D code
timeout error and stop.
• If a D code is output from more than one task at the same time, then out-
putting the D code for each task will be offset in 2 to 10-ms increments.
D code
0 to 255
(E00) to (E32)
A0000 to A1999
Task 1: N010
G01
X100
F100
D100
T1, T2, T3: 2 to 10 ms
Task 2: N010
G01
Y100
F100
D100
Task 3: N010
G01
Z100
F100
D100
Task 4: N010
G01
U100
F100
D100
Summary of Contents for CS1W-MC221 -
Page 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Page 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 11: ...xii ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 27: ...xxviii Conformance to EC Directives 6 ...
Page 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Page 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Page 227: ...200 Command Area Section 3 6 ...
Page 351: ...324 Interface Specifics Section 5 4 ...
Page 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Page 575: ...548 Error Log Section 12 6 ...
Page 589: ...562 Performance Appendix A ...
Page 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Page 683: ...656 Origin Search Patterns Appendix F ...
Page 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...