PointPar structure

typedef struct _PointPar
 {
   HOBJ          ppID;        // I/O tag ID
   HOBJ          ppParent;    // Parent ID - station
   char          ppName[32];  // Object name - I/O tag
   KomObjAddress ppAdr1;      // I/O tag address 1
   KomObjAddress ppAdr2;      // I/O tag address 2
   StationParPtr ppStaPar;    // StationPar of parent - station
   void         *ppPtVarPar;  // Parameters depending on protocol
   KomUniVal    *ppPtVal;     // Value
 } PointPar;

Structure PointPar defines the parameters of the I/O tag objects. All the parameters are read-only, except for ppPtVarPar!

ppID

I/O tag ID (HOBJ)

ppParent

ID (HOBJ) of the I/O tag parent (station)

pName

I/O tag name

ppAdr1

I/O tag address 1

ppAdr2

I/O tag address 2

ppStaPar

Pointer to a structure StationPar, which is the I/O tag parent (station).

ppPtVarPar

Pointer to a user structure. The user can place a pointer here to his own structure with auxiliary parameters for the I/O tag.

ppPtVal

KomUniVal structure – I/O tag value

Napíšte komentár