Campbell Scientific CR9000X Measurement and Control System User Manual

Page 246

Advertising
background image

Section 7. Measurement Instructions

7-22

Parameter

Enter

SDMCAN PARAMETERS

DataType
Continued

29

Read SDM-CAN status; result is placed into the array specified in the Dest
parameter. The result codes are as follows:

Status Description

0000

The SDM-CAN is involved in bus activities; error counters are less
than 96.

0001

The SDM-CAN is involved in bus activities; one or more error
counters is greater than or equal to 96.

0002

The SDM-CAN is not involved in bus activities; error counters are
less than 96.

0003

The SDM-CAN is not involved in bus activities; one or more error
counters is greater than or equal to 96.

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.

Switch Code Description

A

0

Currently not used; set to 0.

B

0

SDM-CAN returns the last value captured from the
network, even if that value has been read before (default).

B

1

SDM-CAN returns -99999 if a data value is requested by
the datalogger and a new value has not been captured from
the network since the last request.

B

2-9

Currently not used.

C

0

Disable I/O interrupts (default).

C

1

Enable I/O interrupts, pulsed mode.

C

2

Enable I/O interrupts, fast mode.

C

3-7

Currently not used.

C

8

Place the SDM-CAN into low power stand-by mode

C

9

Leave switch setting unchanged.

D

0

Listen only (error passive) mode. CAN transmissions are
not confirmed.

D

1

Transmit once. Data will not be retransmitted in case of
error or loss of arbitration. Frames received without error
are acknowledged.

D

2

Self-reception. A frame transmitted from the SDM-CAN
that was acknowledged by an external node will also be
received by the SDM-CAN but no retransmission will
occur in the event of loss of arbitration or error. Frames
received correctly from an external node are acknowledged.

D

3

Normal, retransmission will occur in the event of loss of
arbitration or error. Frames received correctly from an
external node are acknowledged. This is the typical setting
to use if the SDM-CAN is to be used to transmit data.

D

4

Transmit once; self-test. The SDM-CAN will perform a
successful transmission even if there is no acknowledgment
from an external CAN node. Frames received correctly
from an external node are acknowledged.

Advertising