|
Connection status variables
|
|
ConnectionState
|
WORD
|
1 = connecting,
3 = connected, 4 = timed out, 0x0E = error
|
Matches CIP specification for ConnectionState, except for error (0xE) state
|
|
NetworkPath
|
OctetstringN[80]
|
bytearray
|
Usually this is the IP address of the target, though other connection paths are possible.
|
|
T2OInstance
|
UDINT
|
|
|
|
O2TInstance
|
UDINT
|
|
|
|
T2OConnectionID
|
DWORD
|
|
For debugging with Wireshark
|
|
O2TConnectionID
|
DWORD
|
|
For debugging with Wireshark
|
|
T2OIPAddress
|
OctetstringN[16]
|
bytearray
|
IP address of the target in the O->T direction
|
|
O2TIPAddress
|
OctetstringN[16]
|
bytearray
|
IP address of the target in the T->O direction (may be a multicast address)
|
|
Error status variables
|
|
LocalErrorCode
|
DINT
|
0 = no local error. 2 = invalid network path/target IP address. 3 or 4 = target not responding.
|
Other local error codes are possible but require Yaskawa developer support to diagnose.
|
|
GeneralErrorStatus
|
BYTE
|
0 = Success. Please refer to table below for any non zero error status.
|
CIP General Error Status reported by the target. Please refer to table shown below.
|
|
ExtendedErrorStatus
|
WORD
|
e.g. 0x315 = "incorrect connection point" (bad t2o/o2t instance ID)
|
CIP Extended Error Status reported by the target. Please contact Yaskawa Technical Support for further details to troubleshoot.
|
|
Statistics variables
|
|
NumSentPackets
|
UDINT
|
|
These statistics are reset on timeout.
|
|
NumReceivedPackets
|
UDINT
|
|
|
MaxSendDelay
|
UDINT
|
|
|
MaxReceiveDelay
|
UDINT
|
|
|
NumSentBytes
|
UDINT
|
|
|
NumReceivedBytes
|
UDINT
|
|
|
NumLostPackets
|
UDINT
|
|
|
|
NumSendErrors
|
UDINT
|
|
|
|
NumTimeouts
|
UDINT
|
|
This does not increment until after a timed out connection is re-established
|
|
NumErrors
|
UDINT
|
|
|
|
NumReceiveErrors
|
UDINT
|
|
|