Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter 2 MSTF Command
31
Ⅰ
Programming
2.1.18 Spindle 8-point Orientation M50
~
M58
Command format
:
M5n
;
(n=0
~
8)
Command function
:
M50
:
Cancel orientation state;
M5n(n=0
~
8)
:
The spindle oriented to No. n point.
Note: Refer to time sequence and logic of M50
~
M58 defined by standard PLC ladder in
INSTALLATION & CONNECTION.
Ⅲ
2.1.19 The 2
nd
Spindle Rotation CCW/CW, Stop M63, M64, M65
Command format: M63
;
M64
;
M65
;
Command function:
M63: spindle rotation CCW;
M64: spindle rotation CW;
M65: spindle stop.
Note 1: The sequence of M63, M64, M65 defined by the standard PLC is the same that of M03, M04, M05.
Note 2: The function is enabled when the 2nd spindle function is valid.
2.2 Spindle Function
S command is used for controlling spindle speed and this GSK980TDi has two modes to control
it:
Spindle speed switching value control: S
□□
(2 digits command value)is executed by PLC, and
PLC outputs switching value signal to machine tool to change spindle speed with grades.
Spindle speed analog voltage control: S
□□□□
(4 digits command value)specifies actual speed of
spindle and NC outputs 0~10V analog voltage signal to spindle servo or converter to realize stepless
spindle speed.
2.2.1 Spindle Speed Switching Value Control
Spindle speed is controlled by switching value when No.001 BIT4 is set to 0. There is only one S
command in a block, otherwise the system alarms.
Their executing sequence is defined by PLC when S command and word for moving function are
in the same block. Please refer to
User Manual
from machine manufacturer.
When spindle speed is controlled by switching value, GSK980TDi Turning CNC system is used
for machine tool and the time sequence and logic of executing S command is according to
User
Manual
from machine manufacturer. Refer to S command defined by standard PLC of GSK980TDi as
follows:
Command format: S
□□
00
~
04(the leading zero can be omitted): No.1
~
No.4 gear of spindle
speed is controlled by switching value.
In spindle speed switching value control mode, after S signal transmits to PLC, the system dwells
time defined by No.081, then return FIN signal, and the dwell time is called runtime of S command.