Technical data
Technology DBs
CPU 317T: Technology Functions
A5E00251798-03
7-29
How to verify consistent evaluation of the technology DBs
Based on the procedure described below, check whether a new technology DB
update cycle has been triggered while an operation which is relevant to
consistency is active at OB65. Technology DB updates start at the "MCDevice" DB.
However, in order to ensure consistency, the "UpdateCounter" and "UpdateFlag" of
each technology DB to be evaluated must be verified. Procedure:
1. At the start of OB 65, save the value of the various "UpdateCounter" of the
technology DBs to be evaluated.
2. Evaluate the consistent data, or transfer the technology DBs to be evaluated to
another working area.
3. Verify the "UpdateFlag". If its value is W#16#0100, consistent evaluation of this
technology DB is no longer ensured.
4. Compare "UpdateCounter" with the previously saved value. If the
"UpdateCounter" was incremented by the count of 1, consistent evaluation of
the technology DB is no longer.
5. Repeat steps 3 and 4 for all technology DBs to be evaluated.
Identical "UpdateCounter" values in the technology DBs originate from the
same update cycle.
Counter any consistency problems by taking the following measures:
• Increase the technology DB update cycle
• Evaluate the technology DBs at the start of OB65
• Reduce the number of instructions to be evaluated
Note
The ErrorID, ErrorStatus and ErrorBuffer entries are updated asynchronously, i.e.
independently of the "UpdateFlag."