Signal
TimerNo
Y
Delta
Ref
Call example
CALL FC 17 (
2.12.21
FC 18: SpinCtrl spindle control
Description of functions
FC SpinCtrl can be used to control spindles and axes from the PLC.
References:
/FB1/ Description of Functions, Basic Machine; Spindles (S1)
/FB2/ Description of Functions, Expansion Functions; Positioning Axes (P2)
/FB/ Description of Functions, Expansion Functions; Indexing Axes (T1)
This block supports the following functions:
• Position spindle
• Rotate spindle
• Oscillate spindle
• Indexing axes
• Positioning axes
Each function is activated by the positive edge of the appropriate initiation signal (start, stop).
This signal must remain in the logic "1" state until the function has been acknowledged
positively or negatively by InPos="1" or Error = "1". The output parameters are deleted when
the relevant trigger signal is reset and the function terminated.
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Type Type
I
Int
Q
Bool
Q
Bool
I/O
Word
YDelta :=
I 45.7,
SpindleIFNo :=
4,
TimeVal :=
S5T#150ms,
TimerNo :=
10,
Y :=
Q 52.3,
Delta :=
Q 52.4,
Ref :=
mw 50);
Value range
Remarks
10..
Timer for programming the wait
time
Energizing of star contactor
Energizing of delta contactor
Instance for status information
Internal use
//Star delta
//Timer 10
//Star contactor
//Delta contactor
//Instance
Detailed Description
2.12 Block descriptions
2-183