How To Set The Acceptance Code And Mask - ICP DAS USA I-7565 User Manual

Usb/can converter
Hide thumbs Also See for I-7565:
Table of Contents

Advertisement

4.2

How to set the Acceptance Code and Mask

The acceptance code and acceptance mask are used for filtering
unnecessary CAN messages through USB port. If users want to prevent
the unnecessary CAN message through USB-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.
I-7565 USB/CAN Converter User's Manual (Version 1.0, March/2007)
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)
------------- 22

Advertisement

Table of Contents
loading

Table of Contents