G27: Workpiece Origin Return - Omron CS1W-MC221 - 02-2008 Operation Manual

Motion control units
Table of Contents

Advertisement

G-language Commands

7-3-10 G27: WORKPIECE ORIGIN RETURN

Format
Operands
Description
1,2,3...
Programming Example
Moves to the workpiece origin.
G27_<Axis name ... >[_M<M code>[/Stopover (Note.)]]
Note The stopover function can be used with either an M code or a D code, but not
with both.
The following table shows the possible settings for the operands.
Operand
Axis names
M code
D code
Stopover
Axes
Coordinate data 0 to 39999999
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.
This command moves the specified axes to the workpiece origin by PTP con-
trol. The coordinate system and mode settings will be as follows after the
return to the workpiece origin:
1. The coordinate system will be set to the workpiece coordinate system.
2. The command mode will be set to absolute specification.
3. The operating mode will be set to Pass Mode.
The settings will not be switched to the ones above if the G27 command is ter-
minated while in progress by the OPTIONAL END command (G74), FORCED
BLOCK END, or other command. The command is also considered to be in
progress while waiting for the M code reset.
The following example moves the X and Y axes to the workpiece origin.
:
:
N010
G27
XY
:
:
Reference origin
[_D<D code>[/Stopover (Note.)]]
Possible settings
X, Y, Z, U
000 to 999
(E00) to (E31)
A0000 to A1999
000(0) to 255
(E00) to (E31)
A0000 to A1999
X, Y, Z, U
(E00) to (E31)
A0000 to A1999
M500
The M code (M500)
is output here.
Workpiece origin (offset from the reference
origin, set using a parameter or by G53.)
Reference coordinate system
Section 7-3
Workpiece coordinate system
403

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents