Tani OpcPipe protocol  1.0.5
Tani OpcPipe protocol
Public Attributes | List of all members
OPCPIPE_ITEM Struct Reference

Public Attributes

WMK_OPCPIPE_HANDLE IdNetwork
 handle of other side of connection
 
WMK_OPCPIPE_HANDLE IdApp
 handle of application
 
char * Name
 topic or item
 
HANDLE_PAIRHandles
 in global topic fields the net handle array
 
W_UINT32 AvailHandles
 no of malloced elements
 
W_UINT32 UsedHandles
 no of used elements
 
W_UINT16 Flags
 special for was activated. Definitions above, values for OPCPIPE_ITEM::Flags and OPCPIPE_TOPIC::Flags and HANDLE_PAIR::Flags
 
W_UINT8 AccessRights
 values for PLC_OPCPIPE_BROWSEITEMDATA::Flags, bitcoded bitcoded
 
W_UINT8 DeleteTimer
 time counter for deleting items
 
W_UINT16 DataQuality
 actual quality, Quality values, conforming to OPC
 
W_UINT16 CreateError
 item create error, error values
 
W_UINT16 NetTyp
 data type, TYP_USE_xx from network
 
W_UINT16 NetTypFlags
 data type flags, TYP_FLAGS_xx from network
 
W_UINT16 AppTyp
 data type, TYP_USE_xx from application
 
W_UINT16 AppTypFlags
 data type flags, TYP_FLAGS_xx from application
 
WMK_OPCPIPE_HANDLE RequestHandle
 for resending some requests (client: sync read handle; server: value change ack handle)
 
DATAVALUE Data
 last data value; empty if bad quality
 
W_UINT32 ReadCount
 number of reads
 
W_UINT32 WriteCount
 number of writes
 
opcpipe_timeval ReadTime
 last read time
 
void * ApplicationData
 application use only
 
void * NetworkData
 network (pipe/da/ua) layer use only
 
W_UINT32 CurrentReadInterval
 in units of 1ms; 0 is "use default"
 
double DeadbandValue
 deadband value; 0 is "no deadband"
 
W_UINT16 NameLen
 strlen of name, used for optimisation while searching
 
W_UINT16 SearchTreeFlags
 flags for search tree
 
W_UINT32 SearchTreeLeft
 left child in search tree; 0 if child is leaf; also used as "next" pointer for freelist
 
W_UINT32 SearchTreeRight
 right child in search tree; 0 if child is leaf
 
W_UINT32 SearchTreeParent
 parent in search tree; 0 if this is the root
 
ACCESS_VALUES Reserved
 

Detailed Description

Item structure.