442
M Code Outputs
Section 7-4
Example
The following program outputs M code 500 after the axis has moved 50 mm in
the Y-axis direction when the traverse operation shown below (traverse width:
100 mm, number of windings per layer: 10, number of winding layers: 10) is
performed. No D code will not be output beyond that point.
G32
X36000
Y100
F1000
L10
M500/Y50
The following program outputs a M code or D code when the axis has moved
the specified amount from the preceding demand position when the Stopover
function is used in Pass Mode or In-position Check OFF Mode.
Example: (X, Y) = (30, 30)
:
:
N110
G10
Pass Mode specified
N120
G01
X130
Y30
F100
Move to (X, Y) = (130, 30)
N130
G01
X130
Y130
M600/Y50
N130 is preread during execution of N120 because the system is in Pass
Mode. M code 600 is thus output after moving 50 mm from Y30 (the demand
position for N120) to 80 mm (determined from the present position).
Traverse width: 100 mm
Outputs M code 500 after the axis has moved 50 mm, but
does not output the M code again.
Start position
Y-axis
Y axis
Outputs M code 600
at this point.
X axis
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 ...