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

Motion control units
Table of Contents

Advertisement

G-language Commands
Operands
Description
Example 1:
G31
Example 2:
G31
Example 3:
G31
The following table shows the possible settings for the operands.
Operand
Axis movement
Axis names
command
Coordinate Data 1
Coordinate Data 2
Speed Reference 1
Speed Reference 2
M code
D code
Stopover
Axes
Coordinate data
Coordinate Data 1 is the travel distance after the interrupt, and Coordinate
Data 2 is the maximum travel distance before the input is received.
Set Speed Reference 1 to a higher value than Speed Reference 2.
Note Refer to 7-4 M Code Outputs for details on M codes, and to 7-4-9 D Code Out-
puts for details on D codes. Refer to 7-4-10 Stopover Function for details on
the stopover function.
The specified axis will be moved for the specified distance for positioning after
the general input (1 to 4) is turned ON. It is also possible to specify a travel
distance for when no general input is received to stop with an error (program
execution interrupted) after positioning. An S option can also be used to exe-
cute the next block without an error occurring.
Refer to the following examples.
Example 1:Speed Reference 2 Not Specified
G31 X100 F200 (mm)
General Input 1
X-axis speed
200
0
The X axis moves at 200 mm/s (speed control) until General Input 1 is turned
ON. The X axis then moves for another 100 mm (position control) from the
position where General Input 1 was turned ON.
X100
F200
X100
F200
F100
X100/200
F200
X, Y, Z, U
–39,999,999 to +39,999,999
(E00) to (E31)
A0000 to A1999
0.0001 to +39,999,999
(E00) to (E31)
A0000 to A1999
000(0) to 999
(E00) to (E31)
A0000 to A1999
000(0) to 255
(E00) to (E31)
A0000 to A1999
X, Y, Z, U
0 to 39999999
(E00) to (E31)
A0000 to A1999
Position control
Speed control
(for 100 mm)
Section 7-3
Possible settings
Time
407

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents