EasyManua.ls Logo

HUST CNC H6D-T - Page 132

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...
HUST CNC H6D-T Manual
3 - 70
will rotate CW at the previous speed.
2. M04: First spindle CCW
Format:
(1) M04 SXXXX
EX.: M04 S1000 Command first spindle to rotate CCW at 1000rpm
(2) M04
If M04 is not followed by an S-code, spindle rpm is not specified; spindle
will rotate CCW at the previous speed.
The auxiliary function code S-code is for spindle rpm control, maximum setting range:
S999999.
EX: S1000, means 1000 rpm
3.26 Subprogram
Where there are certain fixed programs or command groups in a main program that
demand repeated execution, these commands could be saved in memory as subprograms,
so that the main program could be designed with a simplified structure. Subprograms
can be called out one after another in auto mode.
1. Structure of the Subprogram
The structure of the subprogram is the same as the main program except that the
subprogram ends with an M99 command.
PROGRAM 05 Subprogram number
Content
Content
M99 Subprogram ends
If a subprogram is not called by the main program but executed directly by pressing
“CYCST”, the program loops.
2. Execution of the Subprogram

Related product manuals