384
G-language Commands
Section 7-3
7-3
G-language Commands
This section provides detailed descriptions of the G-language commands.
Command formats, operands, and application are described and program-
ming examples are provided. The command format shows the operands that
can be used and shows the correct syntax using the following notation.
< >
Name of an operand to be specified
[ ]
Optional operand
...
An operand that can be specified more than once. For example,
multiple coordinates can be specified like this: <X1000 Y500>
@
A required space
_
Optional space
The descriptions provided in this section are for the CS1W-MC421. The
CS1W-MC221 supports only the X and Y axes.
7-3-1
G00: POSITIONING
Positions up to four axes simultaneously with PTP control at the high-speed
feed rate.
Format
G00_<Axis movement command ...> [_M<M code>[/Stopover (Note.)]]
[_D<D code>[/Stopover (Note.)]]
[_#<optional number>]
Note
The stopover function can be used with either an M code or a D code, but not
with both.
Operands
The following table shows the possible settings for the operands.
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.
Description
Positions up to four axes simultaneously with PTP control according to the
maximum feed rate, acceleration/deceleration time, and acceleration/deceler-
ation curve settings in the system parameters. The override is valid.
When “+” or “–” is specified for the coordinate data, positioning will be per-
formed to the software limit in the specified direction.
Control is passed on to the next block after all of the specified axes reach their
in-position ranges.
Operand
Possible settings
Axis movement
command
Axes
X, Y, Z, U
Coordinate data –39,999,999 to +39,999,999
(E00) to (E31)
A0000 to A1999
+ or –
M code
000 to 999
(E00) to (E31)
A0000 to A1999
D code
000(0) to 255
(E00) to (E31)
A0000 to A1999
Stopover
Axes
X, Y, Z, U
Position data
0 to 39999999
(E00) to (E31)
A0000 to A1999
Optional number
00 to 19
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 ...