Document Reference No.: ES_000008
S1-A-7001 RS232 to 1-Port CANbus Adapter User Guide
Version 1.2
Clearance No.: ES #03
©2009-10 EasySync Ltd.
16
4.1.7
Set Acceptance Filter (M)
Summary
The Acceptance Filter, in conjunction with the Acceptance Mask (m), defines which received
messages (i.e. of a specific ID or range of CAN IDs) will be passed to the RS232 interface. The
Acceptance Filter value corresponds to a valid CAN ID for either standard or extended CAN
messages.
The Set Acceptance Mask (m) command should be executed
prior
to the Set Acceptance Filter
(M) command.
NOTE:
The CAN channel will revert to its prior state after execution. For example if the channel
is Open when this command is executed, the channel will update the setting and return to the
Open state.
Definition
Miii<CR> for standard 11-bit CAN messages
Miiiiiiii<CR> for extended 29-bit CAN messages
Parameters
iii = standard 11-bit CAN ID (0x000 through 0x7FF)
iiiiiiii = extended 29-bit CAN ID (0x00000000 through 0x1FFFFFFF)
Default is to pass all frames (Acceptance Filter = 0x7FF for standard messages and
0x1FFFFFFF for extended messages).
Remarks
Example
M1FF<CR>
Set Acceptance Filter to receive standard messages with the CAN ID of 0x1FF. If used in
conjunction with the Acceptance Mask example above, frames of the range 0x100 through 0x1FF
will be passed and all other CAN IDs blocked.
Return Codes
<CR> = OK
<BELL> = ERROR