A2C-SG2-M12
WWW.LILLIESYSTEMS.COM
20 of 44
Example 1
Set standard filters 1&2 to 0x0123 and 0x01C1 respectively
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
0x69
0x01
0x01
0x23
0x01
0xC1
DLC = 0x06
Example 2
Set standard filters 3&4 to 0x0100 and 0x0734 respectively
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
0x69
0x02
0x01
0x00
0x07
0x34
DLC = 0x06
Example 3
Set extended filter 1 to 0x01020304
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
0x69
0x03
0x01
0x02
0x03
0x04
DLC = 0x06
7.4.2
Command: Get CAN Filters
To get the current sensor filter settings send the following CAN message:
Command
Sub Command
Data[0]
Data[1]
Data[2]
Data[3]
Data[4]
Data[5]
0xE9
FILT
DLC = 0x02 (values above 2 are also valid, but Data bytes are not used)
FILT: Filter Number
0x01 = Get Standard Filter 1&2
0x02 = Get Standard Filter 3&4
0x03 = Get Extended Filter 1
0x04 = Get Extended Filter 2
The sensor will reply:
Command
Sub Command Data[0]
Data[1]
Data[2]
Data[3]
0xE9
FILT
MSB Std Filter 1&3
MSB Ext Filter 1&2
LSB Std Filter 1&3
MSB Std Filter 2&4
LSB Std Filter 2&4
LSB Ext Filter 1&2
DLC = 0x06
The reply format follows the same format as setting the filters. See 7.4.1