Siemens SINUMERIK 840Di Function Manual page 1239

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

2.7.8
Symbolic programming of user program with interface DB
General
Note
The basic program library on the CD supplied with the Toolbox for the 840D contains files
NST_UDTB.AWL and TM_UDTB.AWL.
The compiled UDT blocks from these two files are stored in the CPU program of the basic
program.
A UDT is a data type defined by the user that can, for example, be assigned to a data block
generated in the CPU.
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
UDT 2
UDT 10
UDT 11
UDT 19
UDT 21
UDT 31
UDT 71
UDT 72
UDT 73
UDT77
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 STEP7 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).
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Assignment to interface DB
DB 2
DB 10
DB 11
DB 19
DB 21 to DB 30
DB 31 to DB 61
DB71
DB 72
DB 73
DB 77
2.7 Structure and functions of the basic program
Meaning
Interrupts/Messages
NCK signals
Mode group signals
HMI signals
Channel signal
Axis/spindle signals
Tool management: Load/unload locations
Tool management: Change in spindle
Tool management: Change in revolver
MCP and HHU signals with standard SDB 210
Detailed Description
2-45

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents