General conditions● Block FC17 must be called absolutely and separately for each spindle.● The drive pulses are deactivated during a star-delta changeover. The feedback signal tothe PLC is realized using:– DB31, ... .DBX93.7 == 0 (pulses enabled)– DB31, ... .DBX61.7 == 0 (current controller active)– DB31, ... .DBX61.6 == 0 (speed controller active)● For a spindle which is located in an axis mode such as M70 or SPOS, a start-deltachangeover is not carried out.● For a closed-loop position controlled spindle (DB31, ... .DBX61.5 == 1 (position controlactive) ), while the spindle is moving it is not permissible to carry out a star-delta changeover.In the case of a fault, Alarm 25050 "Contour monitoring" is displayed, and the star-deltachangeover is not executed.● Once the star-delta changeover has been initiated using FC17, it cannot be delayed by theuser, e.g. by waiting until the star-delta contactors change over during the course ofoperation. A delay such as this must be implemented by the user in the PLC user program.Declaration of the functionVAR_INPUTYDelta: BOOL;SpindleIFNo: INT;TimeVal: S5TIME ;TimerNo : INT;END_VARVAR_OUTPUTY: BOOL;Delta: BOOL;END_VARVAR_IN_OUTRef: WORD;END_VARDescription of formal parametersSignal Type Type Value range DescriptionYDelta: I BOOL 0 (FALSE), 1(TRUE)Input signal for star-delta changeoverThe changeover is initiated by a signalchange:● 0 (FALSE): Star● 1 (TRUE): DeltaSpindleIFNo: I INT 1 ... Number of the spindle interface (number ofthe associated machine axis)P3: Basic PLC program for SINUMERIK 840D sl13.17 Block descriptionsBasic FunctionsFunction Manual, 01/2015, 6FC5397-0BP40-5BA2 1019