Mitsubishi — 9.3 Composition of a G-code

AH500 Motion Control Module Manual =>G01 X100.0 Y300.0 F500.0; G02 G00 X100.0 G03 G01 Y300.0 F500.0; =>G01 Y300.0 F500.0;  If G00 is used, users do not have to set a velocity. Example: G00 X100.2 Y500.0; The speeds at which the axes move are the maximum speeds set in the AH500 series motion control module used.  G00 and G01 can be extended to the next line. N0000 G00 X500.0 Y125.0; N0001 X-400.0 Y-500.0; =>G00 X-400.0 Y-500.0; N0002 G01 X100.0 Y25.0 F200.0; N0003 X-200.0 Y50.0; =>G01 X-200.0 Y50.0 F200.0;  The speed parameter F for G01/G02/G03 can be extended to the next line.

(Users must specify the value of the speed parameter F in the first line.) N0000 G01 X500.0 Y125.0 F200.0; N0001 G03 X-40.0 Y-50.0 R100.0; =>G03 X-40.0 Y-50.0 R100.0 F200.0; N0002 G02 X100.0 Y25.0 I400.5 F200.0; N0003 G01 X-200.0 Y50.0; =>G01 X-200.0 Y50.0 F200.0;  G90 and G91 have high priority over the other G-codes. G90 G01 X100.0 Y300.0 F500.0; =>G90 G01 X100.0 Y300.0 F500.0; G01 G90 X100.0 Y300.0 F500.0; =>G90 G01 X100.0 Y300.0 F500.0;  Whether there are spaces in a program code, the program code can be identified. G01G91X500.0 Y125.0F200.0; =>G01 G91 X500.0 Y125.0 F200.0;  Coordinates and speeds are converted into 32-bit values.

G01 X-125.5 F200.0; =>G01 X-125500 F200000;  If the value of a parameter is a floating-point constant, it will be converted into an integer after it is multiplied by 1000. G01 X100 Y-125.5 F200.0; =>G01 X100 Y-125500 F200000;  Parameter X for G04: A second is a unit of measurement for dwell duration. Parameter P for G04: A millisecond is a unit of measurement for dwell duration. In the example below, the system used automatically ignores 9 in P2509. G04 X4.5 (Dwell duration: 4.5 seconds) G04 X5 (Dwell duration: 5 seconds) G04 P4500 (Dwell duration: 4.5 seconds) G04 P2509 (Dwell duration: 2.5 seconds)  The G-codes not supported are ignored and not read.

G21G54G01 X-125.5 F200.0; =>G01 X-125500 F200000; G43G87G96 X250.5 F200.0; =>G01 X250500 F200000;  The writing of instructions conforms to the writing of general G-codes. Users can arrange the parameter marks used in any order. G0 X4.5 Z40.0 Y30.5 F200.2; =>G00 X4.500 Y30.500 Z40.000 F200.200; Z100.5Y400.0X300.0; =>G00 X300.000 Y400.000 Z100.500; G1xd100zd300y200.45 fd400; =>G01 XD100 Y200.450 ZD300 FD400; G3 ZD100 I200.0F50.60XD300 m80; =>G03 XD300 ZD100 I200.000 F50.600 M80; G03 yD100 x9999.9Z200.0r777.7 Fd800; =>G03 X9999.900 YD100 Z200.000 R777.700 FD800; 9-4