Campbell Scientific CR5000 Measurement and Control Module User Manual
Page 158

Section 7. Measurement Instructions
7-32
Parameter
& Data Type
Enter
TSEG2
The third time segment, TSEG2 (the phase segment two), is defined by the
TSEG2 parameter. The value of TSEG2 can be calculated using the
equation:
T
t
t
SEG
TSEG
q
2
2
=
/
The relative values of TSEG1 and TSEG2 determine when the SDM-CAN
samples the data bit.
ID
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
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
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.