21.11.2013 Views

CANgate User's Manual - dataTaker

CANgate User's Manual - dataTaker

CANgate User's Manual - dataTaker

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example<br />

STATS<br />

HOST: Tx:218408 Rx:1255 bytes Dropped Tx:0 Rx:0 Errors:0<br />

GPS: Tx:0 Rx:0 bytes Dropped Tx:0 Rx:0 Errors:0<br />

CAN1: Tx:44 Rx:272042 frames Dropped Tx:0 Rx:9<br />

Errors Warning:0 Bus:0 ArbLost:5<br />

CAN2: Tx:0 Rx:273096 frames Dropped Tx:0 Rx:220<br />

Errors Warning:0 Bus:0 ArbLost:0<br />

Sys: RQST dropped:0 Proc ovfl:0 Except: 0/0<br />

DIAG – Set Diagnostic Mode<br />

DIAG mode<br />

This command enables certain diagnostic functions. Each bit of the mode parameter enables a particular function, as<br />

follows:<br />

if bit 0 = 1 then all CAN messages sent by <strong>CANgate</strong> will be displayed, eg:<br />

CAN2 TX> 18EC00FF 132C0007 FFEBFE00<br />

which shows that a message has been sent on CAN2 with identifier 0x18EC00FF and the indicated data value.<br />

if bit 1 = 1 then all CAN messages received by <strong>CANgate</strong> will be displayed, eg:<br />

CAN2 RX< 18EBFF00 07A50403 12FFFFFF<br />

Note that only those messages which match the current filter criteria (as specified by the defined memory slots) will be<br />

received and displayed. So if there are no memory slots defined then nothing will be displayed.<br />

To switch on display of both transmitted and received messages you would therefore use:<br />

DIAG 3<br />

and to switch off all diagnostic displays use:<br />

DIAG 0<br />

This command can be useful when troubleshooting ISO-14230 and J1939 multi-packet request sequences.<br />

UM-0086-A2 <strong>CANgate</strong> User’s <strong>Manual</strong> Page 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!