How To Set The Acceptance Code And Mask - ICP DAS USA I-7530-G CR User Manual

I-7530 rs-232/can converter
Hide thumbs Also See for I-7530-G CR:
Table of Contents

Advertisement

3.2

How to set the Acceptance Code and Mask

The acceptance code and acceptance mask are used for filtering
unnecessary CAN messages through RS-232 port. If users want to
prevent the unnecessary CAN message through RS-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 code, 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:
(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:
(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:
(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.
I-7530 RS-232/CAN Converter User's Manual (Version 2.5, Mar/2012) ------------- 18
Acceptance Code: Don't care
Acceptance Mask: 000
Acceptance Code: 123 (001 0010 0011 bit)
Acceptance Mask: 7FF (111 1111 1111 bit)
Acceptance Code: 10X (001 00XX XXXX bit) X: don't care
Acceptance Mask: 7C0 (111 1100 0000 bit)

Advertisement

Table of Contents
loading

Table of Contents