CAN Getstate
Page in progress. |
Obtaining information on CAN interface status, number of I/O errors.
Description
Block CAN Getstate is used to obtain information about the CAN interface status, number of I/O errors.
Ports
Output
#
Status
—
current status of the port as a bus of several signals
vector
Details
A signal value of 1 in the bus means that the corresponding state is active:
-
ACTIVE - the transceiver is OK, the number of errors is less than 96.
-
WARNING - the number of errors is less than 128.
-
PASSIVE - the transceiver stops active correction of erroneous traffic on the line, the number of errors is less than 256.
-
BUS_OFF - the transceiver stops participating in the exchange, the number of errors is greater than 256.
-
STOPPED - the transceiver is stopped.
-
SLEEPING - the transceiver is in sleep mode.
Data types |
|
Complex numbers support |
No |
#
TxErrors
—
number of transmission errors
scalar
Details
Data types |
|
Complex numbers support |
No |
#
RxErrors
—
number of reception errors
scalar
Details
Data types |
|
Complex numbers support |
No |
Parameters
Параметры
# Порт: — CAN port whose status is queried
Details
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |