Detailed description
2.7 Structure and functions of the basic program
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-53
Symbolic names of virtually all the interface signals are defined in these UDT blocks.
The UDT numbers 2, 10, 11, 19, 21, 31, 71, 72, 73 are used.
The assignments have been made as follows:
UDT assignments
UDT
number
Assignment to interface DB Meaning
UDT 2 DB 2 Alarms/Messages
UDT 10 DB 10 NCK signals
UDT 11 DB 11 Mode group signals
UDT 19 DB 19 MMC signals
UDT 21 DB 21 to DB 30 Channel signal
UDT 31 DB 31 to DB 61 Axis/spindle signals
UDT 71 DB 71 Tool management: Load/unload locations
UDT 72 DB 72 Tool management: Change in spindle
UDT 73 DB 73 Tool management: Change in revolver
To symbolically program the interface signals, the interface data blocks must first be
symbolically assigned using the symbol editor.
For example, symbol "AxisX" is assigned to operand DB31 with data type UDT 31 in the
symbol file.
After this input, the STEP 7 program can be programmed in symbols for this interface.
Note
Programs generated with an earlier software version that utilize the interface DBs described
above can also be converted into symbol programs. To do so, however, a fully qualified
instruction is needed for data access in the earlier program (e.g., "U DB31.DBX 60.0" - this
command is converted to "AxisX.E_SpKA" when the symbols function is activated in the
editor).
Description
Abbreviated symbolic names of the interface signals are defined in the two STL files
NST_UDT.AWL and TM_UDT.AWL.
In order to create the reference to the names of the interface signals, the name is included in
the comment after each signal.
The symbolic names, commands and absolute addresses can be viewed by means of a
STEP 7 editor command when the UDT block is opened.