ifm Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n 2017-12-19
ifm function libraries Library ifmRawCAN.library
>
10.9.6 CAN_RxMask
14643
>
Description
14641
The FB receives CAN messages of a non-coherent area. The area is defined by a bit pattern and a bit
mask.
The following rules apply to the bit mask:
0: The equivalent bit of the CAN identifier can be 0 or 1
1: The equivalent bit of the CAN identifier must have the same value as the bit in the bit
pattern
Example:
Pattern: 000 0010 0000
Mask: 000 1111 1111
Result: xxx 0010 0000
All CAN messages with an identifier whose 8 least significant bits have the value "0010 0000" are
received.
E.g. 110 0010 0000 000 0010 0000, 001 0010 0000
General behaviour of the FB: → CAN_Rx (→ p. 170)
Control activity of the FB
Identifier of the CAN Interface
→ CAN_CHANNEL (ENUM) (→ p. 113)
Requested frame type:
- Standard Frame (11 bits identifier)
- Extended-Frame (29 bits identifier)
Preset bit pattern for the masking of the
identifier of the CAN message
Bit pattern of the required area
1 ... bit relevant for selection
0 ... bit not relevant for selection