This manual provides programming instructions for the HNC-21T lathe numerical control unit, covering G-code systems, macro programming, and machining cycles.
This document is a programming manual for the HNC-21T lathe numerical control unit manufactured by Wuhan Huazhong Numerical Control Co., Ltd. It serves as a guide for users to write part programs using ISO code standards.
The text details the structure of part programs, including instruction words and program segments. It covers fundamental concepts such as machine coordinate axes (X, Y, Z) and workpiece coordinate systems. The manual extensively lists programming instructions, including auxiliary functions (M codes), spindle speed (S), feed rate (F), tool selection (T), and preparation functions (G codes). Specific sections are dedicated to geometric compensation, reference point return, and various machining cycles like internal/external diameter turning and threading. This manual is written in Chinese.
| Program Number Range | %1~4294967295 |
|---|---|
| Program Segment Number Range | N0~4294967295 |
| Feed Rate Range | F0~24000 |
| Spindle Speed Range | S0~9999 |
| Tool Number Range | T 0 ~ 9 9 |
The most widely used code is ISO code, which is specified by the International Organization for Standardization.
It can be prepared manually using traditional methods or created using CAD/CAM systems such as MasterCAM.
The G92 instruction can be used to establish the workpiece coordinate system.