Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
206 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Declaration of the function
STL representation
VAR_INPUT
YDelta: BOOL ; //Star = 0, delta = 1
SpindleIFNo: INT ; //Machine axis number
TimeVal: S5TIME ; //Time value
TimerNo : INT ; //User timer for changeover time
END_VAR
VAR_OUTPUT
Y: BOOL ; //Star contactor
Delta: BOOL ; //Delta contactor
END_VAR
VAR_IN_OUT
Ref: WORD ; //Block status word (instance)
END_VAR
Description of formal parameters
The table below lists all formal parameters of the YDelta function:
Signal Type Type Value range Remark
YDelta I BOOL = star
= delta.
The changeover edge of the signal
initiates the changeover operation.
SpindleIFNo I INT 1.. Number of the axis interface
declared as a spindle
TimeVal I S5time 0.. Switchover time
TimerNo I INT 10.. Timer for programming the wait
time
Y Q BOOL Energizing of star contactor
Delta Q BOOL Energizing of delta contactor
Ref I/O WORD Instance for status information
Internal use
Call example
CALL FC 17 (
YDelta := I 45.7, //Star delta
SpindleIFNo := 4,
TimeVal := S5T#150ms,
TimerNo := 10, //Timer 10
Y := Q 52.3, //Star contactor
Delta := Q 52.4, //Delta contactor
Ref := mw 50); //Instance