I-7530, I-7530-FT, I-7530A, I-7565
User’s Manual (Version 1.3, Apr/2015) -------- 63
Appendix D: Filter setting
The I-7530 series modules use acceptance code and acceptance mask
for filter setting. The acceptance code and acceptance mask are used
for filtering unnecessary CAN messages through RS-232/RS-
485/RS422/USB port. If users want to prevent the unnecessary CAN
message through Re-conversions, they need to set the parameters of
acceptance code and mask.
Acceptance Code: The CAN ID bits that you want to get.
Acceptance Mask: The CAN ID bits that you want to filter.
In the acceptance co
de, the bit value ‘1’ means that you want to get this
CAN ID bit. And in the acceptance mask, the bit value ‘1‘ means that
you want to filter this CAN ID bit. For Examples:
(1) If users want to get all the messages on the CAN bus, the setting
must be as follow:
In CAN 2.0A:
Acceptance Code: Don’t care
Acceptance Mask: 000
(2)
If users want to get the message of CAN ID “123” (Hex) and filter
all the other CAN message, the setting must be as follow:
In CAN 2.0A: Acceptance Code: 123 (001 0010 0011 bit)
Acceptance Mask: 7FF (111 1111 1111 bit)
(3)
If users want to get the message of CAN ID from “100” to “12F”
(Hex) and filter all the other CAN message, the setting must be as
follow:
In CAN 2.0A: Acceptance Code: 10X (001 00XX XXXX bit)
(X: don’t care)
Acceptance Mask: 7C0 (111 1100 0000 bit)
(4)
The settings of CAN 2.0A and CAN 2.0B are the same. The
different between CAN 2.0A and CAN 2.0B is the CAN ID bits.
In CAN 2.0A: number of CAN ID bits is 11.
In CAN 2.0B: number of CAN ID bits is 29.