I/O tags - processing a value acquired from the communication

An object of I/O tag type allows to configure sizeable quantity of parameters, which determine the procedure of processing of so-called "raw" value acquired from communication. This document describes in detail individual processes for each of value types separately. The listed information can helpful during analysis and comparison of values with process level and for programmers and users of the open interface D2000 KomAPI.

Processing of a new value of I/O tag is executed by calling PointNewValue call-back function of the interface D2000 KomAPI.

Value types of I/O tags in D2000 system: DI, AI, CI, TIR, TIA, QI, TXTI, DOUT, AO, CO, TOR, TOA, TXTO.

DI value type

If the entered value is valid ("Valid" status bit is adjusted) and the value is not the default one ("Default" status bit is not adjusted), the following will be executed:

Value is ignored if I/O tag is in default value mode. For further information see Default value.

Value change check in comparison with the previous state will be carried out. If a change has been performed, then the value is sent to Server after process alarm check.

AI, CI value types

In case of AI type, at first, if the value is valid, the validity check of the number in the floating point form is executed. If the number is not valid, then the invalid value is sent to Server.

If the entered value is valid ("Valid" status bit is adjusted) and the value is neither the default one ("Default" status bit is not adjusted) nor simulated, there will be executed:

Value is ignored if I/O tag is in default value mode. For further information see Default value.

Value change check in comparison with the previous state will be executed. If a change has been performed, then the value is sent to Server after process alarm check.

TIR, TIA value types

If the entered value is valid ("Valid" status bit is adjusted) and the value is neither the default one ("Default" status bit is not adjusted) nor simulated, there will be executed:

Value is ignored if I/O tag is in default value mode. For further information see Default value..

Value change check in comparison with the previous state will be executed. If a change has been made, then the value is sent to Server after process alarm check.

QI, TXTI value types

Value is ignored if I/O tag is in default value mode. For further information see Default value.

There will be executed the value change check in comparison with the previous state. If a change has been made, then the value is sent to Server after process alarm check.

DOUT value type

Value is ignored if I/O tag is in default value mode. For further information see Default value..

There will be executed the value change check in comparison with the previous state. If the change was performed, then the value is sent to Server after process alarm check.

AO, CO value types

If the value is valid, the following steps will be executed:

Value is ignored if I/O tag is in default value mode. For further information see Default value.

Value change check in comparison with the previous state will be executed. If a change has been performed, then the value is sent to Server after process alarm check.

TOR, TOA value types

If the value is valid, there will be executed:

Value is ignored if I/O tag is in default value mode. For further information see Default value.

Value change check in comparison with the previous state will be executed. If the change was performed, then the value is sent to Server after process alarm check.

TXTO value type

Value is ignored if I/O tag is in default value mode. For further information see Default value.

There will be executed the value change check in comparison with the previous state. If a change has been made, then the value is sent to Server after process alarm check.

State check of value limits

The check is also executed internally for CI and CO types in the floating point form. Check of limits is executed, to verify the validity of the condition:

VMin_Limit <= Min_Limit <= Max_Limit <= VMax_Limit

If not (wrong values of dynamic limits), "LimitsProblem" limit flag is set, on the contrary an own check regarding the hysteresis and setting of particular limit flag will be executed.

Value change check

Value change check, compared with the last status that is acquired from communication, is used to eliminate data quantity that is sent among the communication process and Server and Server and other client processes of D2000 system such as process D2000 HI, fully in the sense of DODM. The check proceeds as follows:

If any of the condition mentioned above is met and the new value is other than the old one, then this new value is sent to Server.

Default value

Default value is initialized by:

All valid values acquired during communication with device-station are saved and in case of the cancellation of manual value (by operator from process D2000 HI or by means of disabled Use default value option) they are immediately sent into the system.

All the mentioned options are configured in Default value tab of I/O tag control window.

I/O tags
I/O tag - configuration window
Values of I/O tags