CAN Controller Init/Info

This block uses a high signal at the input „bReset” during download and sets the CAN controller into configuration mode, initializes it with the implemented baud rate and sets the controller back to “normal” mode afterwards.

At the output “Stat”, the current mode of the CAN controller is given out.

The function block can only be used once in the project and has to be the first block within the used CAN blocks. This condition will be checked while downloading at latest and the user will be informed about non-compliance. The remarked blocks can be searched over the error browser.

Parameters

The baud rate can be chosen over the parameter dialog (call during implementation of the block or over the context menu).

Signals

Name I/O Type(s) Function
bReset I BIT Reset
Stat O UCHAR Status