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