Example:
The spindle is defined as the 4th axis and must be selected via axis key 9.
Solution:
The value 4 must be entered in DB10 byte (8+(9-1)) for the 4th axis.
CALL FC 19 (
2.12.23
FC 21: transfer PLC NCK data exchange
Description of functions
When the Transfer block is called, data are exchanged between the PLC and NCK according
to the selected function code. Data are transferred as soon as FC 21 is called, not only at the
start of the cycle.
The "Enable" signal activates the block.
FC 21 is processed only when "Enable" = "1".
The following functions for the data exchange between PLC and NCK are supported:
1. Signal synchronized actions at the NCK - channel
2. Signals synchronized actions from NCK - channel
3. Fast data exchange PLC-NCK (Read function in NCK)
4. Fast data exchange PLC-NCK (Write function in NCK)
5. Update control signals to NCK - channel
6. Update control signals to axes (data byte 2 of the user interface)
7. Update control signals to axes (data byte 4 of the user interface)
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
//signals to interface
BAGNo :=
B#16#1,
ChanNo :=
B#16#1,
SpindleIFNo :=
B#16#4,
FeedHold :=
m30.0,
SpindleHold :=
m30.1);
2.12 Block descriptions
//Mode group no. 1
//Channel no. 1
//Spindle interface number = 4
//Feed stop signal modal
//Spindle stop modal
Detailed description
225