Read status (type 29), Send remote frame request (type 31), Set sdm-can internal software switches (type 32) – Campbell Hausfeld SDM-CAN User Manual

Page 28

Advertising
background image

SDM-CAN CAN-Bus Interface User Guide

Read status (type 29):

This data type instructs the datalogger to request the current status of the
SDM-CAN and writes the results into a single, specified, input location. The
status is encoded within that location in the format ‘abcd’ where each letter is a
digit in the range 0 to 9 indicating a different type of status information.

Status ‘a’:

0

This digit is currently unused.

Status ‘b’:

0

This digit is currently unused.

Status ‘c’:

0

This digit is currently unused.

Status ‘d’:

0

Bus-On; the SDM-CAN is involved in bus activities. All of
the error counters are less than 96.

1

Bus-On; the SDM-CAN is involved in bus activities. One
of the error counters is equal to or greater than 96.

2

Bus-Off; the SDM-CAN is not involved in bus activities.
All of the error counters are less than 96.

3

Bus-Off; the SDM-CAN is not involved in bus activities. One of
the error counters is equal to or greater than 96.

See data type 28 above for details of the error counters and how to reset them.

Read the signature and version number of the SDM-CAN operating system (type 30):

This will return the OS signature and the OS Version number in separate
locations. If the SDM-CAN detects that the OS signature is bad then zero will be
returned.

Send Remote Frame Request (type 31):

A special type of CAN frame, called ‘remote frame request’ is transmitted with
the CAN ID specified.

Set SDM-CAN internal software switches (type 32):

This data type instructs the datalogger to change some internal software switch
settings that control the way it works. The new switch settings are read from a
specified input location. The settings are encoded within that location in the
format of a four digit number. For explanation purposes the four digits are
represented as ‘abcd’ where each letter is a digit in the range 0 to 9 which
indicates a different type of switch setting.

3-10

Advertising