ifm Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n 2017-12-19
Programming Use RawCAN (CAN Layer 2)
>
8.5 Use RawCAN (CAN Layer 2)
RawCAN: Control CAN network nodes ............................................................................................... 87
RawCAN: Send and receive CAN messages ..................................................................................... 87
RawCAN: Request and send remote CAN messages ........................................................................ 88
► Observe the notes on task configuration! (→ Configure task processing (→ p. 80))
In order to access one of the CAN interfaces configured for CANopen operation, the following POUs
are available.
Requirements:
The CAN interface is configured for operation as RawCAN (CAN Layer 2)
(→ Configure CAN interfaces (→ p. 70)).
>
8.5.1 RawCAN: Control CAN network nodes
23546
The following POUs are available to control a node in a CAN network:
initialises the specified CAN interface
configures the CAN baud rate
controls the processing of a failure of the specified CAN channel
If the CAN channel fails, reset the CAN interface and reboot
>
8.5.2 RawCAN: Send and receive CAN messages
23547
The following POUs are available to send or receive messages in a CAN network:
configures a data receive object and reads the receive buffer of the data object
receives CAN messages of a non-coherent area
The area is defined via a bit pattern and a bit mask
receives CAN messages of a coherent area
The area is defined via an upper and lower limit
asynchronous transmission of CAN messages