[Code]HaltOnInvalidTagData
- Last UpdatedMay 26, 2026
- 2 minute read
|
|
|
UNINTENDED EQUIPMENT OPERATION Enable the [Code]HaltOnInvalidTagData parameter if your application requires Plant SCADA Runtime to halt when invalid tag data is returned. Failure to follow these instructions can result in death, serious injury, or equipment damage. |
Note: Always seek the advice of Technical Support personnel for this product regarding undocumented features.
When using compiled tags in Cicode, the LAST VALID VALUE could be returned when the latest tags value is unavailable, and this value may now be incorrect.
The new [Code]HaltOnInvalidTagData INI parameter has been introduced to allow you to stop Cicode when invalid tag data is returned. The default handling is to NOT stop Cicode in such a case.
Note: Existing Cicode error checking FUNCTIONS can still be used instead of this option.
When enabled will cause the Cicode to halt when any tag read returns invalid data (bad quality). This will generate a hardware alarm.
Note:
l The foreground code such as page animation and trend/alarm/report Cicode fields are
exceptions and will not halt (page shows #COM); however button commands on a page
will halt.
l When enabled in the Citect.ini file you can still change this behavior in code by
setting the ErrSet (1) and checking IsError() manually, in this case the code will
not halt.
Allowable Values:
-
0 - (Disable Halting)
-
1 - (Enable Halting)
Default Value:
0
