Omron CS1W-MC221 - 02-2008 Operation Manual page 469

Motion control units
Table of Contents

Advertisement

M Code Outputs
Example
442
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
Outputs M code 500 after the axis has moved 50 mm, but
does not output the M code again.
Start position
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
N120
G01
X130
N130
G01
X130
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).
Y axis
Y100
F1000
L10
Traverse width: 100 mm
Y30
F100
Y130
M600/Y50
Outputs M code 600
at this point.
Section 7-4
M500/Y50
Y-axis
Pass Mode specified
Move to (X, Y) = (130, 30)
X axis

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents