Signal Type Type Value range DescriptionTimeVal: I S5time 0, 50 ms ... Switchover timeConfigured Internally effective0 100< 50 50TimerNo: I INT 10 ... Number of the timer being usedY: O BOOL 0 (FALSE), 1(TRUE)Peripheral output for controlling the starcontactorDelta: O BOOL 0 (FALSE), 1(TRUE)Peripheral output for controlling the deltacontactorRef: I/O WORD Instance for status information Internal useCall exampleCALL FC17 (YDelta := I 45.7, // Accept star/delta changeover frominput 45.7SpindleIFNo := 4, // Spindle interface number: 4// (Number of the associated machineaxis)TimeVal := S5T#150ms, // Changeover time: 150 msTimerNo := 10, // Timer: 10Y := O 52.3, // Control of the star contactor:Output 52.3Delta := O 52.4, // Control of the delta contactor:Output 52.4Ref := MW 50 // Bit memory word 50};13.17.22 FC18: SpinCtrl - spindle controlFunctionBlock FC18 (SpinCtrl) can be used to control spindles and axes from the PLC. The blocksupports the following functions:● Position spindle● Rotate spindle● Oscillate spindle● Traverse indexing axis● Traverse positioning axisEach function is activated by the positive edge of the appropriate initiation signal (start, stop).This signal must remain at a logical "1" until the function has been acknowledged positively orP3: Basic PLC program for SINUMERIK 840D sl13.17 Block descriptionsBasic Functions1020 Function Manual, 01/2015, 6FC5397-0BP40-5BA2