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 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

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

ppPtVarPar

Address to a user structure. User can place here a pointer to own structure with auxiliary parameters for the I/O tag.

ppPtVal

Address to a structure KomUniVal – I/O tag value

Napíšte komentár