Technical data

Technology DBs
CPU 317T: Technology Functions
7-28 A5E00251798-03
7.10 Update of technology DBs
Valid for firmware version V3.1.x of the integrated technology
The integrated technology updates the technology DB, asynchronously to the cyclic
user program. The Trace DB forms an exception, because this is updated only by
the user.
The technology DB update cycle can be set in S7T Config by selecting PLC > Set
system clocks command.
We recommend using the technology synchronization interrupt OB65 for consistent
evaluation of the technology DBs.
Consistent evaluation of the technology DBs with technology synchronization
interrupt OB65
Technology synchronization interrupt OB65 is called by the integrated technology
after each update of the technology DBs. This function allows you to evaluate the
technology DBs synchronously to the integrated technology. For details on local
data (start info in OB65), refer to the STEP 7 Online Help. OB65 can be copied
from the "Organization Blocks" folder of the "Standard Library" to the project.
Use "UpdateCounter" and the "UpdateFlag" of the technology DBs to verify
consistent evaluation of the DBs. The response of the "UpdateFlag" and of the
"UpdateCounter" is shown in the figure below:
1. At the start of a DB update, the "UpdateFlag" is set from W#16#0000 to
W#16#0100.
2. The integrated technology describes the complete DB.
3. The "UpdateCounter" increments its value by the count of "1".
4. The value at the "UpdateFlag" changes from W#16#0100 to W#16#0000.