Technical data
Technology DBs
CPU 317T: Technology Functions
A5E00251798-03
7-25
7.8 "Trace" - Technology DB
You can use the TraceTool in S7T Config to record variables of the integrated
technology graphically in realtime. The "Trace" DB forms the interface between
TraceTool and the user program.
For tracing, you can write two values of the data type DINT, two values of the data
type DWORD and four values of the data type REAL to the relevant variables of
the Trace DB. The ErrorID variable may not be overwritten by the user program.
The DB data are fetched from the integrated technology within the technology DB
update cycle. The technology DB update cycle can be set in S7T Config by
selecting the Target System > Set system clocks command.
The DB is non-retentive, irrespective of the retentivity setting of the CPU.
Variable ErrorID
Indicates the ErrorID of the most recently detected error. The error must be
eliminated and can not be acknowledged.
Variable S7_TraceDINT[0..1]
The S7_TraceDINT variable is an ARRAY consisting of two elements of the data
type DINT.
These values can be selected for tracing Technology > userdata1 > user1 and
user2 when you select the signal source in the TraceTool of S7T Config.
Variable S7_TraceDWORD[0..1]
The S7_TraceDWORD variable is an ARRAY consisting of two elements of the
data type DWORD. Use these variables to trace bit information, such as the status
word / error word, in the TraceTool of S7T Config. In the TraceTool, you can select
the bit information as you are used to in the SIMATIC numbering system.
These values can be selected for tracing Technology > userdata1 > user3 and
user4 when you select the signal source in the TraceTool of S7T Config.
Variable S7_TraceREAL[0..3]
The S7_TraceREAL variable is an ARRAY consisting of four elements of the data
type REAL.
These values can be selected for tracing Technology > userdata1 > user5, user6,
user7 and user8 when you select the signal source in the TraceTool of S7T Config.