Specifications

Section 7. Measurement Instructions
Parameter
& Data Type
Enter
TimeQuanta
Integer
Three time segments are used to set the bit rate and other timing parameters
for the CAN-bus network, TimeQuanta, TSEG1, and TSEG2. These
parameters are entered as integer numbers. The relationship between the
three time segments is defined as:
ttt t
bit q TSEG TSEG
=
+
+
12
The first time segment, the synchronization segment (S-SG), is defined by
the TimeQuanta parameter. To calculate a suitable value for TimeQuanta,
use the following equation:
TimeQuanta t
q
= **810
6
where tq = the TimeQuanta. There are between 8 and 25 time quanta in the
bit time. The bit time is defined as 1/baud rate.
TSEG1
Integer
The second time segment, TSEG1, is actually two time segments known as
the propagation segment and phase segment one. The value entered is
determined by the characteristics of the network and the other devices on the
network. It can be calculated as:
Tt
SEG TSEG q11
t
=
/
TSEG2
Integer
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:
Tt
SEG TSEG q22
t
=
/
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:
7-35