Download EtherNet/IP Scanner Protocol API

Transcript
The Application Interface
113/216
Packet Description
Structure EIP_OBJECT_CM_CONN_FAULT_IND_T
Variable
Type
Value / Range
Type: Indication
Description
tHead - Structure TLR_PACKET_HEADER_T
ulDest
UINT32
Destination queue handle of EipObject-Task process queue
ulSrc
UINT32
Source queue handle of AP-Task process queue
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
8
EIP_OBJECT_CM_CONN_FAULT_IND_SIZE
- 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
0x1A12
EIP_OBJECT_CM_CONN_FAULT_IND - Command
ulExt
UINT32
0
Extension not in use, set to zero for compatibility reasons
ulRout
UINT32
×
Routing, do not change
See chapter Status/Error Codes Overview..
tData - Structure EIP_OBJECT_CM_CONN_FAULT_IND_T
ulConnectionSn
UINT32
0 ... 232-1
Serial number of the connection.
ulReason
UINT32
0 ... 232-1
Reason of connection break down
Table 69: EIP_OBJECT_CM_CONN_FAULT_IND – Indicate an explicit message request
Source Code Example
void APM_ConnectionFault_ind(EIP_APM_RSC_T FAR* ptRsc,
EIP_APM_PACKET_T *ptPck)
{
APM_ReOpenConn(ptRsc, ptPck->tConnFaultInd.ulConnectionSn);
TLR_QUE_RETURNPACKET(ptPck);
}
EtherNet/IP Scanner |
DOC050702API10EN | Revision 10 | English | 2010-12 | Released | Public
© Hilscher, 2006-2010