Instructions
Message Types
17 (26)
4.3.5 Requesting the Status
CAN status responses always include the CAN channel number.
CAN STATUS
Reads the CAN status value. Can only be used in stopped and in running state.
CAN <port> STATUS
Parameter
Parameter
Description
port
CAN port number 1...2 (with NT 200), 1...4 (with NT 420)
Example
CAN 1 STATUS
Return Value
The command CAN Status returns CAN status information.
R CAN <port> <BEOTI> <num>
port
CAN port number 1...2 (with NT 200), 1...4 (with NT 420)
BEOTI
Five character string:
B — bus off status
E — error warning level
O — data overrun detected
T — transmit pending
I — Init (stopped) state, otherwise running state
num
Number of free message buffers for transmission (maximally 100)
Example return values Description
R CAN 1 ----- 100
CAN port 1, 100 free message buffers for transmission
R CAN 2 –E-T- 24
CAN port 2, error warning level, transmit pending, 24 free
message buffers for transmission
R ERR <error-number> <error-description>
See List of Error Codes, p. 24
Remark
The buffer (organized as FIFO) can store maximally 100 messages. If the buffer is full, new
messages are discarded.
CAN@net NT 200/420 Software Design Guide
4.02.0332.20000 1.5 en-US