Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter 2 MSTF Command
35
Ⅰ
Programming
O0001 ;
(Program
name)
N0010 M3 G96 S300;
(Spindle rotates clockwise, the constant surface speed control is
valid and the surface speed is 300 m/min)
N0020 G0 X100 Z100; (Rapid traverse to A point with spindle speed 955 r/min)
N0030 G0 X50 Z0;
(Rapid traverse to B point with spindle speed 1910 r/min)
N0040 G1 W-30 F200; (Cut from B to C with spindle speed 1910 r/min)
N0050 X80 W-20 F150; (Cut from C to D with spindle speed 1910 r/min and surface speed
1194 r/min)
N0060 G0 X100 Z100; (Rapid retract to A point with spindle speed 955 r/min)
N0110 M30;
(End of program, spindle stopping and cooling OFF)
N0120 %
Note 1: S value commanded in G96 is also reserved in G97. Its value is resumed when the system is in G96
again; Example:
G96 S50; (Cutting surface speed 50m/min)
G97 S1000; (Spindle speed 1000 r/min)
G96 X3000; (Cutting surface speed 50m/min)
Note 2: The constant surface speed control is valid when the machine tool is locked (X, Z do not move when
their motion command are executed);
Note 3: To gain the precise thread machining, it should not be adopted with the constant surface speed
control but the constant rotational speed (G97) in the course of thread cutting;
Note 4: From G96 to G97, if none of S command (r/min) is commanded in the program block in G97, the last
spindle speed in G96 is taken as S command in G97, namely, the spindle speed is not changed at this
time;
Note 5: In G96, when the spindle speed counted by the cutting surface speed is more than max. speed of
current spindle gear (system parameter No.037
~
No.040), at this time, the spindle speed is limited to
max. one of current spindle gear.
2.2.5 Spindle Override
When the spindle speed analog voltage control is valid, the spindle actual speed can be tuned
real time by the spindle override and is limited by max spindle speed of current gear after the spindle
override is tuned, and it also restricted by limited values of max. and min. spindle speed in constant
surface speed control mode.
The system supplies 8 steps for spindle override (50%
~
120% increment of 10%). The actual
steps and tune of spindle override are defined by PLC ladder and introductions from machine
manufacturer should be referred when using it. Refer to the following functions of GSK980TDi
standard PLC ladder.
The spindle actual speed specified by GSK980TDi standard PLC ladder can be tuned real time
by the spindle override tune key at 8 steps in 50%
~
120% and it is not reserved when the spindle
override is switched off. Refer to the operations of spindle override in
Ⅱ
OPERATION
.
2.2.6 Multiple Spindle Control Function
GSK980TDi can control up to two analog spindles. One S code is used to command one of them
which are selected by PLC signal and which have the gear change function.
Because GSK980TDi has only one spindle encoder interface, the 2
nd
spindle has no encoder
feedback and the spindle speed is not displayed.
Being the speed command, S code is sent to the spindle selected by the spindle selection signal
(
SWS1, SWS2
<
G27
#
0, G27
#
1
>
)
, and each spindle rotates with the specified speed. When the