UM-0086-A2
CANgate User’s Manual
Page 27
Example
STATS
HOST: Tx:218408 Rx:1255 bytes Dropped Tx:0 Rx:0 Errors:0
GPS: Tx:0 Rx:0 bytes Dropped Tx:0 Rx:0 Errors:0
CAN1: Tx:44 Rx:272042 frames Dropped Tx:0 Rx:9
Errors Warning:0 Bus:0 ArbLost:5
CAN2: Tx:0 Rx:273096 frames Dropped Tx:0 Rx:220
Errors Warning:0 Bus:0 ArbLost:0
Sys: RQST dropped:0 Proc ovfl:0 Except: 0/0
DIAG – Set Diagnostic Mode
DIAG
mode
This command enables certain diagnostic functions. Each bit of the
mode
parameter enables a particular function, as
follows:
if bit 0 = 1 then all CAN messages sent by CANgate will be displayed, eg:
CAN2 TX> 18EC00FF 132C0007 FFEBFE00
which shows that a message has been sent on CAN2 with identifier 0x18EC00FF and the indicated data value.
if bit 1 = 1 then all CAN messages received by CANgate will be displayed, eg:
CAN2 RX< 18EBFF00 07A50403 12FFFFFF
Note that only those messages which match the current filter criteria (as specified by the defined memory slots) will be
received and displayed. So if there are no memory slots defined then nothing will be displayed.
To switch on display of both transmitted and received messages you would therefore use:
DIAG 3
and to switch off all diagnostic displays use:
DIAG 0
This command can be useful when troubleshooting ISO-14230 and J1939 multi-packet request sequences.