1 instruction 118: sdm-can, 2 sdm address (parameter 01:), 3 tquanta, tseg1, tseg2 (parameters 02:, 03:, 04:) – Campbell Scientific SDM-CAN Datalogger to CANbus Interface User Manual

Page 23: Instruction 118: sdm-can, Sdm address (parameter 01:), Tquanta, tseg1, tseg2 (parameters 02:, 03:, 04:)

Advertising
background image

SDM-CAN Datalogger-to-CANbus Interface

description of the data types, entry of the instruction and how to index (‘--’)
parameters.

In some previous versions of datalogger operating systems,
Instruction 118 was used for the now obsolete OBDII interface.
Older datalogger manuals and Edlog help systems may still refer
to this instruction. Please make sure you are using a version of
the operating system that supports P118 and refer to a more
recent datalogger manual or Edlog help system.

NOTE

It will be apparent for some functions of P118 that some parameters are not
relevant or have no function. In these cases simply leave the parameter(s) at
their default value(s) which is normally zero.

3.3.1 Instruction 118: SDM-CAN

PARAM. NUMBER

DATA TYPE

DESCRIPTION

RANGE

01: 2

SDM

address

00..33

02: 2

TQUANTA

0-63

03: 2

TSEG1

0-15

04: 2

TSEG2

0-7

05:

4

ID bits 0-10

0-2047 ‘--’ Set 11bit ID.

06:

4

ID bits 11-23

0-8191

07:

2

ID bits 24-28

0-31

08: 2

Data

type

0-33

09:

2

Start bit number

0-64, ‘--’ Left-hand referenced LSB.

10:

2

Number of bits

0-64, ‘--' Enable Interrupt mode.

11:

4

Number of values

0-99

12: 4

Input

Location

13: FP

Multiplier

14 FP

Offset

3.3.2 SDM Address (Parameter 01:)

This parameter should match the SDM address set by the address switch on the
side of the module to which this instruction applies. Please see Section 2.1,
Address Switch Configuration, above, for more details. Also see the section
below, regarding the special function of address 33.

3.3.3 TQUANTA, TSEG1, TSEG2 (Parameters 02:, 03:, 04:)

These parameters are used to set the bit rate and other timing parameters for the
CAN-Bus network. On some networks the relationship between some of these
parameters is predefined and just one parameter, the baud rate, is quoted. For
maximum flexibility, though, the user is given access to all of the relevant
parameters. TABLE 3-1 gives some typical values of the parameters for a

15

Advertising