Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
237
Reconnecting the axis selections
To ensure a flexible assignment of the axis selection keys to the appropriate axis or spindle,
FC 19 needs not be modified or reprogrammed.
The required flexibility can be obtained by applying the solution described below.
1.
Before FC 19 is called, the information (RLO) relating to the newly defined axis selection
key is transferred to the key selection identified by an axis number.
2.
After FC 19 has been called, the information (RLO) relating to the LED identified by the
axis number is transferred to the LED of the new axis selection key and the RLO of the
previous axis LED is then deleted.
Example:
The spindle is defined as the 4th axis and must be selected via axis key 9.
STL extract:
u i
5.2;
//Selection of ninth axis
= e
4.2;
//Selection of fourth axis
CALL FC 19 (
//signals to interface
BAGNo :=
B#16#1,
//Mode group no. 1
ChanNo :=
B#16#1,
//Channel no. 1
SpindleIFNo :=
B#16#4,
//Spindle interface number = 4
FeedHold :=
m30.0,
//Feed stop signal modal
SpindleHold :=
m30.1);
//Spindle stop modal
u a
2.5;
//LED fourth axis
= a
3.3;
//LED ninth axis
= a
2.5;
//Switch off LED on fourth axis
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 ...