Programming instructions
ADT-CNC4620 Programming Manual
- 12 -
The system can call nine layers subroutine, i.e. a subroutine can call other subroutines (as
shown in the figure below)
Fig. 2-1-3 Program Nesting Calling
2.1.3. Principal axis control M03, M04, M05
Instruction function: M03 or M3: Principal axis forward rotation;
M04 or M4: Principal axis reverse rotation;
M05 or M5: Principal axis stop
M05 output is valid when the system is electrified, and executes M03 or M04 at this
moment. M03 or M04 output is valid and maintains, and cancels M05 output at the same
time (output is invalid); when M03 or M04 output is valid, execute M05, cancel M03 or
M04 output, M05 output is valid and maintains. The interlocking of principal axis and
chuck can be selected through #022 management parameter. The default setting is
MFUNC(L)1, i.e. not interlocked. MFUNC(L)2 is interlocked, User-Def is user-defined
M code. The parameter setting requires restarting the system.
Note: when the system is stopped in emergency, cancel M03 and M04 output, and M05
output is valid.
2.1.4. Coolant control M08, M09
Instruction function: M08 or M8: cooling pump open;
M09 or M9: cooling pump closed
After the system is electrified, M09 is valid, i.e. M08 output is invalid. Execute M08,
and M08 output is valid, cooling pump opens; execute M09, and cancel M08 output,