Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
207
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/Function Manual, Basic Functions; Spindles (S1)
/FB2/Function Manual, Extended Functions; Positioning Axes (P2)
/FB2/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.
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.
On completion ("InPos" is TRUE, "Start" changes to zero), the axis/spindle check function is
switched to a neutral status by FC "SpinCtrl".
Alternatively, the PLC user program can also request the check for the PLC prior to calling
FC "SpinCtrl".
By calling this function several times in succession, a better response reaction by the
spindle/axis can be obtained as the changeover process in the FC can be omitted.
Activation through the PLC user program is executed in the corresponding spindle interface
in byte 8.
After return of the check, the spindle can again be programmed by the NC program.
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...