...
| Blok kódu | ||||
|---|---|---|---|---|
| ||||
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
...
I/O tag address 2
ppStaPar
Address Pointer to a structure StationPar, which is the I/O tag parent (station).
ppPtVarPar
Address Pointer to a user structure. User can place here a pointer to his own structure with auxiliary parameters for the I/O tag.
ppPtVal
Address to a KomUniVal structure KomUniVal – I/O tag value
| Info | ||
|---|---|---|
| ||
...