DataType
Defines what function the CANBUS instruction will perform. This instruction can be used to collect data, buffer data for transmission to the CAN-bus, transmit data to the CAN-bus, read or reset error counters, read the status of the SDM-CAN, read the SDM-CAN's OS signature and version, send a remote frame, or read or set the SDM-CAN's internal switches. Enter the numeric value for the desired option:
Value | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Retrieve data; unsigned integer, most significant byte first | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2 | Retrieve data; unsigned integer, least significant byte first | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | Retrieve data; signed integer, most significant byte first | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4 | Retrieve data; signed integer, least significant byte first | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
5 | Retrieve data; 4-byte IEEE floating point number; most significant byte first | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
6 | Retrieve data; 4-byte IEEE floating point number; least significant byte first | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
7 | Build data frame in SDM-CAN memory; unsigned integer, most significant byte first. Overwrite existing data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
8 | Build data frame in SDM-CAN memory; unsigned integer, least significant byte first. Overwrite existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9 | Build data frame in SDM-CAN memory; signed integer, most significant byte first. Overwrite existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
10 | Build data frame in SDM-CAN memory; signed integer, least significant byte first. Overwrite existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
11 | Build data frame in SDM-CAN memory; 4-byte IEEE floating point number; most significant byte first. Overwrite existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
12 | Build data frame in SDM-CAN memory; 4-byte IEEE floating point number; least significant byte first. Overwrite existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
13 | Build data frame in SDM-CAN memory; unsigned integer, most significant byte first. Logical "OR" with existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
14 | Build data frame in SDM-CAN memory; unsigned integer, least significant byte first. Logical "OR" with existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
15 | Build data frame in SDM-CAN memory; signed integer, most significant byte first. Logical "OR" with existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
16 | Build data frame in SDM-CAN memory; signed integer, least significant byte first. Logical "OR" with existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
17 | Build data frame in SDM-CAN memory; 4-byte IEEE floating point number; most significant byte first. Logical "OR" with existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
18 | Build data frame in SDM-CAN memory; 4-byte IEEE floating point number; least significant byte first. Logical "OR" with existing data. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
19 | Transmit data value to the CAN-bus; unsigned integer, most significant byte first. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
20 | Transmit data value to the CAN-bus; unsigned integer, least significant byte first. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
21 | Transmit data value to the CAN-bus; signed integer, most significant byte first. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
22 | Transmit data value to the CAN-bus; signed integer, least significant byte first. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
23 | Transmit data value to the CAN-bus; 4-byte IEEE floating point number; most significant byte first. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
24 | Transmit data value to the CAN-bus; 4-byte IEEE floating point number; least significant byte first. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
25 | Transmit previously built data frame to the CAN-bus. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
26 | Set up previously built data frame as a Remote Frame Response. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
27 | Read Transmit, Receive, Overrun, and Watchdog errors. The errors are placed consecutively in the array specified by the Dest parameter. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
28 | Read Transmit, Receive, Overrun, and Watchdog errors. The errors are placed consecutively in the array specified by the Dest parameter. Reset error counters to 0 after reading. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
29 |
Read SDM-CAN status; result is placed into the array specified in the Dest parameter. The result codes are as follows:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
30 | Read SDM-CAN operating system and version number; results are placed in two consecutive array variables beginning with the variable specified in the Dest parameter. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
31 | Send Remote Frame Request. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
32 |
Set SDM-CAN's internal switches. The code is stored in the array specified in the Dest parameter and is entered in the form of ABCD.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33 | Read SDM-CAN's internal switches. Place results in the array specified in the Dest parameter. |