EasyManua.ls Logo

GSK 980MDc - Plane Selection Command G17, G18 and G19; Conversion of Inch and Metric G20 and G21

GSK 980MDc
473 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 3 G Command
45
I Programming
N1 G17 G54 G90 G16; ……Specify the polar coordinate command and select XY plane. Set the zero
point of the workpiece coordinate system G54 as the origin of the polar
coordinate command
N2 G81 X100 Y30 Z-20 R-5 F200; ……Specify a distance of 100mm and an angle of 30 degrees
N3 Y150; ……Specify a distance of 100mm and an angle of 150 degrees
N4 Y270; ……Specify a distance of 100mm and an angle of 270 degrees
N5 G15 G80; ……Cancel the polar coordinate system command
z Specify angles with relative values
N1 G17 G54 G90 G16; ……Specify the polar coordinate command and select XY plane. Set the zero
point of the workpiece coordinate system G54 as the origin of the polar coordinate command.
N2 G81 X100 Y30 Z-20 R-5 F200; ……Specify a distance of 100mm and an angle of 30 degrees
N3 G91 Y120; ……Specify a distance of 100mm and an angle of +120 degrees
N4 Y120; ……Specify a distance of 100mm and an angle of +120 degrees
N5 G15 G80; ……Cancel the polar coordinate system command
3.9 Plane Selection Command G17, G18 and G19
Format:
G17 ……XY plane
G18 ……ZX plane
G19 ……YZ plane
Function:The plane of arc interpolation and tool radius compensation are chosen by using the G code.
Explanation:G17, G18 and G19 are modal G commands, the plane will not be changed
when a block without any command inside.
Command example:
G18 X_ Z_ ; ZX plane
X_ Y_ ; Invariable plane (ZX plane)
Note 1: The plane selection command can share the same block with other group G commands.
Note 2: The move command is regardless of the plane selection. For example, the Z axis is not On XY plane, the Z
axis movement is regardless of the XY plane in command G17 Z_ .
3.10 Conversion of Inch and Metric G20 and G21
Format:
G20/G21;
Function: The input unit either inch or metric is chosen by G code.
Explanation:
Unit system G codes least setting unit
Metric G20 0.0001 inch
Inch G21 0.001 mm
The G code should be placed in front of the program when inch and metric is switched each other.
Before the coordinate system is set, it is specified by a single block command.
The following unit systems vary according to the G code for inch or metric conversion.
(1) Feedrate command value by F.
(2) Command value related to the position.
(3) Offset.

Table of Contents