beautypg.com

Transmit individual data values onto the can-bus – Campbell Hausfeld SDM-CAN User Manual

Page 26

background image

SDM-CAN CAN-Bus Interface User Guide

Once the buffer is complete, after using other P118s with this range of data types
to construct the desired data frame, it is sent out onto the CAN-Bus by a further
call of P118 with parameter 08 set to 25 or 26 (see below).

Parameter

Value

Data Type

7

Unsigned integer, most significant byte 1st.

8

Unsigned integer, least significant byte 1st.

9

Signed integer, most significant byte 1st.

10

Signed integer, least significant byte 1st.

11

4 byte IEEE floating point number, most significant byte 1st.

12

4 byte IEEE floating point number, least significant byte 1st.

Setting parameter 08 in the range of 13..18 has the same function as in the7..12
range, except that the data values written are logically ‘OR’ed with values
previously written into the memory buffer. This allows complex bit patterns to be
defined, sometimes changing only as little as one bit at a time.

Parameter

Value

Data type

13

Unsigned integer, most significant byte 1st.

14

Unsigned integer, least significant byte 1st.

15

Signed integer, most significant byte 1st.

16

Signed integer, least significant byte 1st.

17

4 byte IEEE floating point number, most significant byte 1st.

18

4 byte IEEE floating point number, least significant byte 1st.

Transmit individual data values onto the CAN-Bus:

This range of parameter values instructs the datalogger to send a data value to the
SDM-CAN in the format specified; it is loaded into the specified point in a data
frame and then immediately transmitted onto the CAN-Bus. Bits within the data
frame that are not set are left at zero. The data frame length is set to the minimum
size (in whole bytes) required to hold the type of data value specified.

Parameter Value

Data Type

19

Unsigned integer, most significant byte 1st.

20

Unsigned integer, least significant byte 1st.

21

Signed integer, most significant byte 1st.

22

Signed integer, least significant byte 1st.

23

4 byte IEEE floating point number, most significant
byte 1st.

24

4 byte IEEE floating point number, least significant
byte 1st.

3-8