Each designation in the CNC program has a certain fixed format, and the format is different for different controllers. Therefore, the instructions must be written according to the command format of the controller. If the format is wrong, the program will not be executed and appear. Warning message.
Be especially careful when entering numerical data. In general, CNC milling machine or MC can choose metric unit “mm” or inch unit “inch” as the coordinate value unit. The metric system can be accurate to 0.001mm, and the inch system can be accurate to 0.0001 inches, which is also the minimum movement of general CNC machinery. If X1.23456 is entered, the actual input value is X1.234mm or X1.2345 inches, and the excess value is ignored. And the number of words can not be too much, generally limited to 7 words, such as input X1.2345678, because more than 7 words, a warning message will appear, Table 1 is the address and command value range.
Listed in Table 1 is the range of instructions that the computer can accept, and the actual use range of CNC machine tool is limited by its machinery, so it should be determined by referring to the operation manual of CNC machine tool. For example, in Table 1, the X axis can move ± 99999.999mm, but in fact the CNC machine tool’s X axis travel may be only 650mm, the feed rate F can be input up to 100000.0mm ∕ min, but in fact the CNC machine tool may be limited to 3000mm ∕ min the following. Therefore, when making the program, make sure that the actual limits of the CNC machine tool specifications are not exceeded, so you must refer to the manual issued by the CNC machine tool manufacturer.
Table 1 Address and instruction range (FANUC 0M)
: / (ISO /) O / (EIA /)
Ready to function
X, Y, Z, Q, R, I, J, K
A, B, C
1－100000.0mm ／ min
0.01－400.0inch ／ min
Spindle speed function
Subprogram number designation