Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
2-232 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
6: Update control signals to axes:
The purpose of function 6 is to transmit important control signals at high speed in between
cyclic data transfers. Data byte 2 of application interface DB31 to DB61 is transferred to the
NC. The transfer is performed for all activated axes. This allows the servo enable to be
transferred outside the PLC cycle, for example.
The following signals are relevant:
Signal I/O Type Value range Remarks
Enable I Bool 1= FC 21 active
Funct I Byte 6 6: Control signals to axes
S7Var I Any S7 data storage area Not used
IVAR1 I Int 0
Error Q Bool
ErrCode Q Int 1: "Funct" invalid
7: Update control signals to axes:
The purpose of function 7 is to transmit important control signals at high speed in between
cyclic data transfers. Data byte 4 of application interface DB31 to DB61 is transferred to the
NC. The transfer is performed for all activated axes. This function can be used, for example,
to transfer a feed stop outside the PLC cycle.
The following signals are relevant:
Signal I/O Type Value range Remarks
Enable I Bool 1= FC 21 active
Funct I Byte 7 7: Control signals to axes
S7Var I Any S7 data storage area Not used
IVAR1 I Int 0
Error Q Bool
ErrCode Q Int 1: "Funct" invalid
2.12.26 FC 22: TM_DIR direction selection for tool management
Description of functions
The block TM_DIR provides the shortest path for positioning a magazine or a revolver based
on the actual and setpoint position.
As long as a 1 signal is applied to the Start input, all output parameters are updated
cyclically. Changes can be made to input parameters (e.g., position values) in subsequent
PLC cycles.
The output signals are undefined when the start signal is at 0 level.