22
By specifying G52 X_ Y_ Z_, a local coordinate system can be set in all the workpiece coordinate systems
(G54 to G59). The origin of each local coordinate system is set at the position specified by X_ Y_ Z_ in the
workpiece coordinate system. Once a local coordinate system is established, the coordinates in the local
coordinate system are used in an axis shift command. The local coordinate system can be changed by specifying
the G52 command with the zero point of a new local coordinate system in the workpiece coordinate system. To
cancel the local coordinate system and specify the coordinate value in the workpiece coordinate system, match the
zero point of the local coordinate system with that of the workpiece coordinate system.
8.4 Plane Selection
Select the planes for circular interpolation, tool nose radius compensation, coordinate system rotation, and
drilling by G–code.
G17: XY plane
G18: ZX plane
G19: YZ plane
Fig. 8-1
9 Spindle Speed Function (S Function)
9.1 Spindle Speed Specified
When you specify a value after the address S, the code signal and a strobe signal is sent to the machine to
control the spindle rotation speed. A block can contain only one S code. The spindle speed can be specified with
up to five values after address S (rpm). Spindle speed command unit depends on the machine manufacturer's
requirements. When the mobile command and spindle S function instruction in the same block, a move command
and S function instruction executed simultaneously, you can set the default parameters spindle speed by 0875.
Units of "r / min", such as S800 represents the spindle speed 800r / min.
9.2 Constant Surface Speed Control (G96, G97)
S specifies the surface speed (relative speed between the tool and the workpiece) later. Regardless of the
position of the tool, spindle rotation of the surface speed is maintained constant.
Format:
G96 S○○○○
;
Constant surface speed control command, the surface speed (m / min or feet / min)
G97 S○○○○
;
Constant surface speed control cancel command, spindle speed (rpm)