Device Functions
© SYS TEC electronic GmbH 2007 L-1032e_9 35
4.3.4 Filter Description (Syntax)
Format:
fin <default> {<rule>}*
<default> ::= {+ | -}[{l | h}]
<rule> ::= {+ | -}[{l | h}][r][d]{0-9}* [<idl> [<idh>]]
Definition of filter rules:
+ the message is accepted
- the message is discarded
h the message is assigned a high priority, as long as it is
supported by the interface
(LED interface: errors are signaled by CAN LEDs)
l the message is given a low priority
(LED Interface: errors are signaled by Ethernet LEDs)
Determining the area of application for a filter rule:
<idl> first CAN identifier (as hexadecimal number) for which
the filter rule applies. If no CAN identifier is given, the
filter rule can apply for any CAN identifier.
<idh> last CAN identifier (as hexadecimal number) for which
this filter rule applies. If only one CAN identifier is
given, then the filter rule only applies for this CAN
identifier.
r this rule applies for CAN RTR
4
frames
d this rule applies for CAN data frames
0-9 this rule applies for messages that come from the
interface with the interface ID "x" (to determine the
interface ID with the command
ls, refer to section
4.5.2). If no number is given then all interfaces are
accepted.
If individual CAN identifiers are filtered then
<idh> is not required.
4
RTR: Remote Transmission Request