
15. PMC CONTROL FUNCTION
B–64113EN–1/01
1054
The PMC can control the speed and polarity of each spindle motor,
connected by the spindle serial output/spindle analog output function.
The first to third spindles each have their own individual interfaces. By
using a PMC ladder program, the user can control the spindles as desired.
This section describes how to use the PMC to control spindle rotation and
provides example applications.
This function can be used to specify the following:
⋅ Spindle motor speed (number of rotations)
⋅ Output polarity for each spindle motor (direction of rotation)
Usually, the CNC is used to control the speed and polarity of the first
spindle motor. If a multispindle control function is added, the CNC can
also control the second to third spindle motors.
This function allows the user to select whether the CNC or PMC is used
to control the speed and output polarity of the spindle motors.
The PMC can be used to specify the spindle motor speed upon executing
the following:
⋅ Switching the controller from the CNC to the PMC, by issuing SINDx
signal
⋅ Setting the spindle motor speed data, calculated by the PMC, in spindle
control signals R01Ix to R12Ix
When controlled by the PMC, the spindle motor speed is not affected by
any signal (for example, the spindle speed override signal) or parameter
settings (for example, the maximum speed clamp parameter) related to the
spindle speed command of the CNC spindle control function.
→ If the multispindle control function is added, however, the spindle stop
signal *SSTPx <G0027#3, #4, #5> can be used to stop a PMC–con-
trolled spindle.
The spindle motor speed data is obtained from the following expression.
Its value can range from 0 to 4095:
Spindle motor speed data =
Spindle motor speed
Maximum spindle motor speed
4095
Remark) Usually, the spindle speed must be controlled. If a gear train is
used to connect the spindle to the spindle motor, first obtain the
maximum spindle speed at the maximum spindle motor speed.
15.4
SPINDLE OUTPUT
CONTROL BY THE
PMC
General
Switching control
Specifying the spindle
motor speed