Download Ethernet POWERLINK Controlled Node
Transcript
The Application Interface
246/297
6.1.38 EPLCN_PCK_OD_NOTIFY_REGISTER_REQ/CNF – Register for Notification
of Reading/Writing of an Object
This packet registers an AP-task for receiving indications any time when a read and/or write access to
a particular object occurs.
Packet Structure Reference
typedef struct EPLCN_PCK_OD_NOTIFY_REGISTER_REQ_DATA_Ttag
{
TLR_UINT16
usIndex;
TLR_BOOLEAN32 fReadNotify;
TLR_BOOLEAN32 fWriteNotify;
} EPLCN_PCK_OD_NOTIFY_REGISTER_REQ_DATA_T;
typedef struct EPLCN_PCK_OD_NOTIFY_REGISTER_REQ_Ttag
{
TLR_PACKET_HEADER_T
tHead;
EPLCN_PCK_OD_NOTIFY_REGISTER_REQ_DATA_T tData;
} EPLCN_PCK_OD_NOTIFY_REGISTER_REQ_T;
Packet Description
structure EPLCN_PCK_OD_NOTIFY_REGISTER_REQ_T
Type: Request
Area
Variable
Type
Value / Range
Description
tHead structure TLR_PACKET_HEADER_T
tData
ulDest
UINT32
Destination Queue-Handle
ulSrc
UINT32
Source Queue-Handle
ulDestId
UINT32
Destination End Point Identifier, specifying the final
receiver of the packet within the Destination Process.
Set to 0 for the Initialization Packet
ulSrcId
UINT32
Source End Point Identifier, specifying the origin of the
packet inside the Source Process
ulLen
UINT32
10
Packet Data Length in bytes
ulId
UINT32
0 ... 232-1
Packet Identification as unique number generated by
the Source Process of the Packet
ulSta
UINT32
ulCmd
UINT32
0x1386
EPLCN_PCK_OD_NOTIFY_REGISTER_REQ Command
ulExt
UINT32
0
Extension not in use, set to zero for compatibility
reasons
ulRout
UINT32
x
Routing, do not touch
See chapter Status/Error Codes Overview.
structure EPLCN_PCK_OD_NOTIFY_REGISTER_REQ_DATA_T
usIndex
UINT16
0x1000..0xFFF
F
Index of the object
fReadNotify
BOOL32 0,1
TRUE if read accesses have to be processed via notify
fWriteNotify
BOOL32 0,1
TRUE if write accesses have to be processed via notify
Table 223: EPLCN_PCK_OD_NOTIFY_REGISTER_REQ – Object Notify Register Request
Ethernet POWERLINK Controlled Node |
DOC071104API12EN | Revision 12 | English | 2013-10 | Released | Public
© Hilscher, 2006-2013