Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter 2 MSTF Command
33
Ⅰ
Programming
of the spindle. S command value is not reserved, and it is 0 after the system is
switched on.
When the spindle speed analog voltage control is valid, there are 2 methods to input the spindle
speed: the spindle fixed speed is defined by S command( r/min), and is invariant without changing S
command value, which is called constant speed control(G97 modal); other is the tangent speed of
tool relative to the outer circle of workpiece defined by S command, which is called constant surface
speed control (G96 modal), and the spindle speed is changed along with the absolute coordinates
value of X absolute coordinates in programming path when cutting feed is executed in the constant
surface speed.
Please refer to Section 2.2.4
.
The system can execute 4 gears spindle speed. Count the analog voltage value corresponding
to the specified speed according to setting value(corresponding to No.037
~
No.040) of max. spindle
speed (analog voltage is 10V)of current gear, and then output to spindle servo or converter to ensure
that the spindle actual speed and the requirement are the same.
2.2.4 Constant Surface Speed Control G96, Constant Rotational Speed
Control G97
Command format: G96 S__; (S0000
~
S9999, the leading zero can be omitted.)
Command function: The constant surface speed control is valid, the cutting surface speed is
defined (m/min) and the constant rotational speed control is cancelled.
G96 is modal G code. If the current modal is G96, G96 cannot be input.
Command format: G97 S__; (S0000
~
S9999, the leading zero can be omitted.)
Command function: The constant surface speed control is cancelled, the constant rotational
speed control is valid and the spindle speed is defined (r/min). G96 is
modal G code. If the current modal is G97, G97 cannot be input.
Command format: G50 S__; (S0000
~
S9999, the leading zero can be omitted.)
Command function: define max. spindle speed limit (r/min) in the constant surface speed control
and take the current position as the program reference point.
G96, G97 are the modal word in the same group but one of them is valid. G97 is the initial word
and the system defaults G97 is valid when the system is switched on.
When the machine tool is turning it, the workpiece rotates based on the axes of spindle as the
center line, the cutting point of tool cutting workpiece is a circle motion around the axes, and the
instantaneous speed in the circle tangent direction is called
cutting surface
(for short
surface
speed
). There are different surface speed for the different workpiece and tool with different material.
When the spindle speed controlled by the analog voltage is valid, the constant surface control
is valid. The spindle speed is changed along with the absolute value of X absolute coordinates of
programming path in the constant speed control. If the absolute value of X absolute coordinates adds,
the spindle speed reduces, and vice verse, which make the cutting surface speed as S command
value. The constant speed control to cut the workpiece makes sure all smooth finish on the surface of
workpiece with diameter changing.
Surface speed=spindle speed × |X| ×
π
÷1000 (m/min)
Spindle speed: r/min
|X|: absolute value of X absolute coordinate value, mm
π
≈
3.14