Siemens SINUMERIK 840Di Function Manual page 1120

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed description
2.12 Block descriptions
Call example
CALL FC 17 (
2.12.23
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.
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.
The NC feeds back the status of this spindle/axis in byte 68 in the associated spindle/axis
interface (DB 31, ...) (see interface lists). Once the axis/spindle is operating under PLC
control, the travel command for the active state can be evaluated via the relevant axis
interface.
2-208
YDelta :=
I 45.7,
SpindleIFNo :=
4,
TimeVal :=
S5T#150ms,
TimerNo :=
10,
Y :=
Q 52.3,
Delta :=
Q 52.4,
Ref :=
mw 50);
//Star delta
//Timer 10
//Star contactor
//Delta contactor
//Instance
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents