87
Example Program
:
:
N010
G27
XY
M500
:
:
Workpiece origin
Workpiece coordinate system
Reference origin
Reference coordinate system
5-5-10 G28: ORIGIN SEARCH
Performs an origin search in the specified axes.
Format
G28_<Axis name ... >_[M<M code>]
Parameters
The following table shows the possible settings for the parameters.
Parameter
Possible settings
Axis name
X and Y
M code
1
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.
Description
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, 2, 3...
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.
Example Program
:
:
N010
G28
XY
M500
:
:
G Functions
Section 5-5
Summary of Contents for C200H-MC221 -
Page 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Page 2: ......
Page 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 16: ...xvi ...
Page 42: ......
Page 48: ......
Page 196: ......
Page 212: ......
Page 242: ......
Page 258: ......
Page 304: ......