![Campbell CR9000 Instruction Manual Download Page 129](http://html1.mh-extra.com/html/campbell/cr9000/cr9000_instruction-manual_489197129.webp)
Section 7. Measurement Instructions
7-15
Parameter
& Data Type
Enter
CANBUS INSTRUCTION PARAMETERS
ID
Constant
Each device on a CAN-bus network prefaces its data frames with an 11 or 29 bit identifier.
The ID parameter is used to set this address. The ID is entered as a single decimal equivalent.
Enter a positive value to signify a 29 bit ID or a negative value to signify an 11 bit ID.
DataType
Constant
The DataType parameter 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.
Options 7 through build a data frame in SDM-CAN memory
7
Unsigned integer, most significant byte first. Overwrite existing data.
8
Unsigned integer, least significant byte first. Overwrite existing data.
9
Signed integer, most significant byte first. Overwrite existing data.
10
Signed integer, least significant byte first. Overwrite existing data.
11
4-byte IEEE floating point number; most significant byte first. Overwrite existing
data.
12
4-byte IEEE floating point number; least significant byte first. Overwrite existing
data.
13
Unsigned integer, most significant byte first. Logical "OR" with existing data.
14
Unsigned integer, least significant byte first. Logical "OR" with existing data.
15
Signed integer, most significant byte first. Logical "OR" with existing data.
16
Signed integer, least significant byte first. Logical "OR" with existing data.
17
4-byte IEEE floating point number; most significant byte first. Logical "OR" with
existing data.
18
4-byte IEEE floating point number; least significant byte first. Logical "OR" with
existing data.
Options 19 through 25 Transmit data to the CAN-bus
19
Unsigned integer, most significant byte first.
20
Unsigned integer, least significant byte first.
21
Signed integer, most significant byte first.
22
Signed integer, least significant byte first.
23
4-byte IEEE floating point number; most significant byte first.
24
4-byte IEEE floating point number; least significant byte first.
25
Previously built data frame
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 Destination
parameter. The result codes are as follows:
Summary of Contents for CR9000
Page 6: ...CR9000 Table of Contents iv This is a blank page ...
Page 22: ...CR9000 Overview OV 16 This is a blank page ...
Page 26: ...Section 1 Installation 1 4 CR9000 FIGURE 1 1 3 CR9000 Battery Pack ...
Page 72: ...Section 3 CR9000 Measurement Details 3 28 This is a blank page ...
Page 88: ...Section 5 Program Declarations 5 6 This is a blank page ...
Page 217: ...This is a blank page ...