
B–63833EN–1/02
15. PMC CONTROL FUNCTION
943
Spindle motor speed data =
Spindle speed
Maximum spindle speed
4095
By using this expression, the spindle motor speed data can
easily be obtained.
The PMC can specify the spindle motor output polarity when the
following are executed:
⋅ Switching the controller from the CNC to the PMC, by issuing an
SSINx signal
⋅ Specifying the output polarity to the SGNx signal
To control the spindle, the PMC may be required to read the S value
specified by the CNC.
If the spindle serial output/spindle analog control function is added (if the
PMC can control the spindle), the S–code signals <F022 to F025> and SF
signal <F007#2> can be output only when several conditions, determined
by the CNC spindle control, are satisfied. In some cases, the signals
cannot be used under standard conditions.
Specify the related bits of parameter No. 3705 according to the desired
application, then use the S–code and SF signals.
Twelve code signals corresponding to S value R01O to R12O <F036#0
to F037#3> are output to the first spindle motor. The output data is
calculated from the results of the CNC spindle control. (See Section 9.3.)
Even while a spindle is subject to PMC control, an S command that is
issued to the CNC is converted to spindle output data and output.
The SIND signal determines whether the speed output command, issued
to the spindle motor, is obtained from the twelve code signals
corresponding to the S value, or from the R01I to R12I signals calculated
and specified by the PMC.
The use of this signal may simplify PMC ladder processing used to enable
PMC spindle control.
Controlling the first and second spindles of a lathe system
→ Share the gear stages between the first and second spindles.
(If the first spindle uses two gears, for example, specify parameters
Nos. 3743 and 3744, thus enabling the use of gears 3 and 4 for the
second spindle.)
Perform the necessary setting to enable control of the first and second
spindles by the PMC.
To specify a rotation command for the first spindle, enter the gears for
the first spindle in GR1 and GR2 and obtain the data of the twelve code
signals corresponding to the S value. Specify the data as the speed
output command for the first spindle in the PMC control interface for
the first spindle.
Specifying the output
polarity for the spindle
motor
S–code and SF signals
Twelve code signals
corresponding to the S
value (output)
Sample application 1)