P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1025
13.13.21 FC 17: YDelta Star-Delta changeover
Function
The block for the star-delta changeover controls the timing of the defined switching logic such that the
changeover can be performed in either direction even when the spindle is running. This block may be used only
for digital main spindle drives and must be called separately for each spindle.
The changeover operation is implemented via 2 separate contactors in a sequence involving 4 steps:
CALL FC 13 (
Row :=
MB 26,
ChrArray :=
"strdat".disp,
Convert :=
M 90.1,
Addr :=
P#M 20.0,
//Number to be converted
DataType :=
MB 28,
//Data type of the variables
StringAddr :=
MW 30,
Digits :=
B#16#3,
//3 decimal places
Error :=
M 90.2);
Step 1:
Deleting the interface signal DB31, ... .DBX21.5 (motor selection done) in the related
axis-DB and registering the changeover process via A with DB31, ... .DBX21.3 (motor
selection).
Step 2:
As soon as the checkback message IS DB31, ... DBX93.7 (Pulse enabled) = 0 and the
acknowledgment of the announced motor selection from the drive have appeared, the
currently energized contactor drops out.
Step 3:
The other contactor is energized after the time period set by the user in parameter
"TimeVal" has elapsed.
Step 4:
After a further delay, the changeover is signaled to the drive with NST DB31, ...
.DBX21.5 (motor selection done):