Declaration
void (_stdcall * PointNewValue)(HOBJ PtID, struct KomUniVal * Val, unsigned int Stat);
Parameters
PtIDI/O tag ID.
ValPointer to KomUniVal structure, which contains a new value of the I/O tag.
WARNING: Do not use and write directly into a KomUniVal structure of the I/O tag (the parameter ppPtVal) in the structure PointPar. This structure is used by the process D2000 KOM to compare with a new value.  This value is sent to the system if the value or status is not equal to the structure. This behaviour can be influenced in part by the attribute Stat (see next parameter).
StatAttributes for writing a new value. Possible values:
  • 0 - no attributes
  • ST_TIME_CHANGE - generates a new value into the system also when changing the time - although the value is not changed,
  • ST_SOURCE_LIMITS - settings of limits is given by user - the states InLimit, VL_Limit, L_Limit, H_Limit, VH_Limit are set by user and not by the process D2000 KOM
Description
The function sends a new value of the I/O tag to the system.
Napíšte komentár