G Functions
5-5-14 G50: SELECT REFERENCE COORDINATE SYSTEM
Format
Parameters
Description
Example Program
5-5-15 G51: SELECT WORKPIECE COORDINATE SYSTEM
Format
Parameters
• The status of this external sensor is taken in as the general input. There is a
maximum delay of 1 ms in this general input circuit. Therefore, the MC Unit
starts positioning control 1 ms max. after the external sensor becomes valid.
• Accordingly, the actual position to be determined by the MC Unit after the
external sensor becomes valid can be obtained according to the following for-
mula.
Actual movement amount [pulse] = Specified movement amount [pulse] +
Feed rate [pps] x Sensing delay [s]
• Actual movement amount refers to the amount from the point where the
external sensor becomes valid to the point where the machine stops
movement.
• Specified movement amount refers to the amount specified by G31.
• Feed rate refers to the one specified by G31.
• Sensing delay is 0.001 s max.
Sets the coordinate system to the reference coordinate system.
G50
None
This function sets the coordinate system to the reference coordinate system.
After this function is executed, the coordinate data in all axis operations is pro-
cessed as reference coordinate data. If G50 is executed at the beginning of the
program, the coordinate system will be the reference coordinate system.
The reference coordinate system will be in effect after execution of the REF-
ERENCE ORIGIN RETURN function (G26) or the ORIGIN SEARCH function
(G28).
:
:
N009
G90
N010
G50
N011
G01
X100
:
:
Sets the coordinate system to the workpiece coordinate system.
G51
None
Y200
Reference coordinate system
Section 5-5
93