G28: Origin Search - Omron C200H-MC221 Operation Manual

Motion control unit
Hide thumbs Also See for C200H-MC221:
Table of Contents

Advertisement

G Functions
Example Program

5-5-10 G28: ORIGIN SEARCH

Format
Parameters
Description
1, 2, 3...
Example Program
:
:
N010
G27
XY
:
:
Reference origin
Performs an origin search in the specified axes.
G28_<Axis name ... >_[M<M code>]
The following table shows the possible settings for the parameters.
Parameter
Axis name
X and Y
1
M code
000 to 999
(E00 to E31)
A0000 to A1999
Note
1. Refer to 5-6 M-code Outputs for details on M codes.
2. Refer to Section 7 Fixing the Origin for more details on origin searches.
This function performs an origin search in the specified axes.
Axes using Incremental Encoders:
The origin search operation searches for the origin in the specified axes accord-
ing to the settings of the Origin Search Method, Origin Search Direction, Origin
Deceleration Method, and Origin Proximity Input Logic parameters.
For axes in origin mode, the current position is set to zero and fixed as the origin
when the origin search method is set. For axes in other modes, the origin is fixed
after the origin search operation is executed.
Axes using Absolute Encoders:
The axes will be set to the machine origin by PTP control in the same manner as
for the reference origin return.
1. The coordinate system is set to the reference coordinate system.
2. The coordinate specification is set to absolute specification.
3. The operating mode is set to pass mode.
The settings won't be switched to the ones above if function G28 is terminated
while in progress by the OPTIONAL END function (G74), FORCED BLOCK
END, or other function. The function is also considered to be in progress while
waiting for the M code reset.
:
:
N010
G28
XY
:
:
M500
Workpiece origin
Possible settings
M500
Section 5-5
Workpiece coordinate system
Reference coordinate system
87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents