A2C-SG2-M12
WWW.LILLIESYSTEMS.COM
40 of 44
21
Recommended settings to get started
Example 1
Setup ADC for a strain gauge bridge on both channels, with chop and buffer enabled and 10Hz sample rate for each
channel. The data rate is set to 30 - 0x001E and is sent on the CAN Bus every time an ADC finishes a sample
Set integer scaling to 10000 for channel 1
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
0x1E
0x00
(channel 1)
0x00
0x00
0x03
0xE8
DLC = 0x06
Set integer scaling to 10000 for channel 2
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
0x1E
0x01
(channel 2)
0x00
0x00
0x27
0x10
DLC = 0x06
Setup ADC
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
0x40
0x03 - both
channels
0x00 -
bipolar
0x80 - gain
of 128
0x00
0x1E
0x01 chop
enabled
0x01 buffer
enabled
DLC = 0x08
Setup periodic messages to follow ADCs and output a signed integer
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
0x57
0x0C - both
channels
DLC = 0x02
Disable any J1939 periodic messages
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
0x6E
0x00channels
DLC = 0x02
Save settings
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
0x50
0xFF
DLC = 0x02