
B–62073E–1/042. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 182 –
(b) When one spindle and two tool posts are used
A spindle analog output control interface provided for the first tool post is used to control a spindle com-
monly used for the two tool posts.
Actual spindle speed
monitoring
Position
coder
Spindle motor,
amplifer
Feedback pulse
one-rotationsignal
Spindle motor
command voltage
D/A converter
Spindle voltage
output
M command
M03, M04, M05, M19, 0
Spindle motor
command voltage
Actual spindle speed
M code
S code
S command
Command spindle speed
Constant surface
speed
G92S
command
Maximum spindle speed
G92S
command
S command
M command
M03, M04, M05, M19, 0
M code
1st tool post
CNC
Orientation, gear selector
and other attacted circuits
Contact I/O
Command voltage
calculation
Spindle override
Gear selection
Orientation
Spindle speed check
PMC
Gear selector, orientation
command, spindle override
and others
2nd tool post
1st tool post
2nd tool post
The G92S command, S command, and constant surface speed control commands (G96, G97) for
each tool post are related to maximum spindle speed, command spindle speed, and S code as follows:
⋅ The latest G92S command value specified for the two tool posts serves as the maximum spindle
speed to be reported to the PMC.
⋅ Whether to exercise constant surface speed control is determined by the latest G96 com-
mand(constant surface speed control on) or G97 (constant surface speed control cancel) speci-
fied for the two tool posts. When constant surface speed control is cancelled, the latest S com-
mand value specified for the two tool posts is used as a command spindle speed and as an S code
to be reported to the PMC. Constant surface speed control is applied to the tool post for which
the latest G96 command is specified. After constant surface speed control is exercised, the
spindle speed is reflected in a command spindle speed sent to the PMC.
M codes are reported for each tool post to the PMC. So, M codes related to spindle control, such as
M03, M04, M05, and M19, are to be handled by the PMC according to the M codes reported from each
tool post.