EasyManua.ls Logo

HUST CNC H6D-T - 3 G;M Codes; 3.1 Command Codes

Default Icon
352 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...
3 G/M Codes
3 - 1
3 G/M Codes
3.1 Command codes
The previous chapters have introduced the format of part programs. This chapter will
describe the command codes of the H6D-T series and provide simple examples for each
command to explain its applications.
The definition of G-codes in the H6D-T series is similar to other controllers. They are
classified into two groups: (Table 3-1)
1. One-shot G-codes
A One-shot G-code (has no * mark in the table) is valid only in the defined program
block.
Ex: N10 G0 X30.000 Z40.000
N20 G4 X2.000 G4 is a one-shot G-code and is valid only
in this block.
N30 G1 X20.000 Z50.000 G04 no longer valid in this block.
2. Modal G-codes
A Modal G-code (has a * mark in the table) is valid until it is replaced by another
G-code of the same group.
Wherein G00, G01, G02, G03 Same group.
G40, G41, G42 Same group.
G96, G97 Same group.
G98, G99 Same group.
Ex: N10 G0 X30.000 Z5.000 G0 is defined.
N20 X50.000 Z10.000 No G-code defined, G0 remains valid.
N30 G1 X30.000 F0.2 G1 replaces G0 and becomes valid.

Related product manuals