13.13.22 Fc 18: Spinctrl Spindle Control - Siemens SINUMERIK 828D Function Manual

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Typ
Signal
e
TimerNo
I
Y
O
Delta
O
Ref
I/O
Call example
CALL FC 17 (
YDelta :=
SpindleIFNo :=
TimeVal :=
TimerNo :=
Y :=
Delta :=
Ref :=

13.13.22 FC 18: SpinCtrl spindle control

Function
FC SpinCtrl can be used to control spindles and axes from the PLC.
References
/FB1/Function Manual, Basic Functions; Spindles (S1)
Function Manual, Extended Functions; Positioning Axes (P2)
Function Manual, Extended 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.
To be able to control an axis or spindle via the PLC, it must be activated for the PLC. This can, for example, be
achieved by calling the FC "SpinCtrl" with activation of the "Start" or "Stop" parameter. In this case, the FC
"SpinCtrl" requests control over the spindle/axis from the NC.
1028
Type
Value range
INT
10 ...
BOOL
BOOL
WORD
I 45.7,
//Star delta
4,
S5T#150ms,
10,
//Timer 10
Q 52.3,
//Star contactor
Q 52.4,
//Delta contactor
mw 50);
//Instance
Comment
Timer for programming the wait
time
Energizing of star contactor
Energizing of delta contactor
Instance for status information
Internal use
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents