CANFDNET-400U
High-Performance Four-Channel CANFD Bus-to-Ethernet Converter User Manual
©2021 Guangzhou ZLG Electronics Technology Co.,Ltd.
47
User Manual
8.2 CANET-8E-U Data Conversion Format
of TCP Notification Port in
CAN Port State
AAh
00h
CMD Time1 Time2 Time3 Time4 55h
某路CAN对应的TCP通知端口被连接后,如果此路CAN发生错误,
通知端口将向主机定时发出状态警告,TCP包数据段格式如下:
固定格式。包头AAh 00h,包尾55h
CMD
状态码
Time1 Time2 Time3 Time4 错误计数(32bit),高字节在前,即Time1为高字节
CMD
value
Status meaning (both are CANET devices)
Time error count
value
Notification
period
(seconds)
00h
Ethernet send buffer is about to overflow
0
2s
01h
Ethernet send buffer has overflowed
0
0.5s
02h
Ethernet receive buffer is about to overflow
0
2s
03h
Ethernet receive buffer has overflowed
0
0.5s
04h
The CAN controller sends an error alarm (send error
counter > 96)
Number of
occurrences
2s
05h
The CAN controller receives an error alarm (receive
error counter > 96)
Number of
occurrences
2s
06h
CAN controller transmit error passive (transmit error
counter > 127)
Number of
occurrences
2s
07h
CAN controller receive error passive (receive error
counter > 127)
Number of
occurrences
2s
08h
CAN controller receive overflow error (overload)
Number of
occurrences
2s
09h
CAN controller bus off (bus off)
Number of
occurrences
2s
0Ah
CAN controller arbitration loss (bus congestion)
Number of
occurrences
2s
0Bh
CAN controller bus error (as long as there is an error)
Number of
occurrences
2s
0Ch
Other errors
Number of
occurrences
2s