
9.SPINDLE FUNCTION B-63783EN-1/01
- 796 -
- S command
The S command specifies the spindle speed entered from machining
programs, etc. for the CNC.
The CNC outputs the specified S command as an S code to the PMC as
is. If constant surface speed control is not performed, the CNC outputs
the specified value to the PMC as is. If constant surface speed control
is being performed, the CNC outputs the value obtained from constant
surface speed control to the PMC as the spindle speed command signal.
- M command
An M command, input from a machining program to the CNC,
specifies spindle control. The CNC outputs the specified M command
as an M code to the PMC as is.
- G92 S command
This command, input from a machining program and so forth to the
CNC, specifies a maximum spindle speed. The CNC outputs the
specified S command as the maximum spindle speed signal to the PMC
as is. Whether the S command specified together with G92 in the same
block is assumed to be a maximum spindle speed command is
determined by bit 6 (SMX) of parameter No. 2402.
- Spindle motor command voltage signal (including sign signal)
Usually, the PMC calculates the spindle motor speed based on the S
code or spindle speed command signal. The calculation is made
considering the gear selection state, spindle override state, orientation
command state, and other states. The PMC then inputs the calculated
voltage data as the spindle motor command voltage signal to the CNC.
The CNC controls output voltage based on the spindle motor command
voltage signal. Any voltage data that is not related to the voltage data,
calculated as mentioned above, may be input to the CNC (for example,
to turn the spindle at a constant speed regardless of the CNC
command).
- Actual spindle speed signal
Based on the feedback signal received from the position coder mounted
on a spindle, the spindle speed is calculated. The CNC outputs the
speed as the actual spindle speed signal to the PMC. When a serial
spindle is used, the spindle speed can be calculated based on the speed
monitor data of the spindle motor, depending on the setting made in bit
4 (ASD) of parameter No. 5820.
- Spindle override processing
Normally, a specified spindle speed is overridden by the PMC. An
override value is posted from a spindle override switch mounted on an
external operator's panel to the PMC via contact signal input/output.