Download Ethernet POWERLINK Controlled Node
Transcript
The Application Interface
155/297
6.1.3 EPLCN_PCK_REGISTER_REQ/CNF – Registration at NMT State Indication
Notification Table
This packet registers a queue for state indications of the NMT state machine. Afterwards, the AP task
will be able to receive state change indications.
If all registration slots are already used for registered queues, the confirmation packet will return the
error status code TLR_E_EPL_NMT_NO_MORE_APP_HANDLES(0xC017001B).
Note: As long as this packet has not been received, the AP-task will not receive any state
change indications.
Note: This packet is not used if accessing the firmware via the DPM.
Use the registering functionality described in the netX Dual-Port-Memory Manual instead
(RCX_REGISTER_APP_REQ, command code 0x2F10).
Packet Structure Reference
typedef struct EPLCN_PCK_REGISTER_REQ_Ttag
{
TLR_PACKET_HEADER_T tHead;
} EPLCN_PCK_REGISTER_REQ_T;
Packet Description
structure EPLCN_PCK_REGISTER_REQ_T
Type: Request
Area
Variable
Type
Value / Range
Description
tHead structure TLR_PACKET_HEADER_T
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
0
Packet Data Length in bytes
32
ulId
UINT32
0 ... 2 -1
Packet Identification as unique number generated by
the Source Process of the Packet
ulSta
UINT32
ulCmd
UINT32
0x1340
EPLCN_PCK_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
Table 153: EPLCN_PCK_REGISTER_REQ – Register Request
Ethernet POWERLINK Controlled Node |
DOC071104API12EN | Revision 12 | English | 2013-10 | Released | Public
© Hilscher, 2006-2013