January 2012 6.18 Spindles 1015
6.18.5 Controlling the spindle
The parameter object CfgControllerTol is only required for spindles.
Also, the parameter object is not required for:
Virtual axes (MP_axisMode = Virtual)
Axes that are for display only (MP_axisMode = Display)
Switch on / switch
off spindle drive
The following figure shows the procedure for switching the spindle drive on/
off.
The NC or PLC store the information on controlling the spindle in the following
PLC operands.
Settings in the configuration editor MP number
Axes
ParameterSets
[Key name of the parameter set]
CfgControllerTol
speedTolerance
timeSpeedOK
401103
401104
PLC operand / Description Ty p e
NN_SpiDriveReady
Spindle drive is ready
0: Drive not ready for operation
1: Drive ready for operation
M
PP_SpiDriveOnRequest
Switch spindle drive on. This operand is used to
switch closed-loop control of the spindle on or off.
It can be switched on only in the ready condition
(NN_SpiDriveReady = 1).
0: Do not activate the drive
1: Activate the drive
M
NN_SpiDriveOn
Spindle drive is switched on (and is at least speed-
controlled)
0: Drive is off
1: Drive is on
M