60
ifm Programming Manual ecomatmobile BasicController (CR0403) Runtime System V03.02 2015-04-01
ifm function elements ifm libraries for the device CR0403
>
5.1.2 Library ifm_RAWCan_NT_Vxxyyzz.LIB
14715
This ifm library contains the following function blocks:
Function element Short description
CAN_ENABLE (→ page 67) Initialises the indicated CAN interface
Configures the CAN baud rate
CAN_RECOVER (→ page 68) Activate / deactivate the automatic bus off handling
Restart the CAN interface in case of bus off
CAN_REMOTE_REQUEST (→ page 89) Send a corresponding request and return the response of the other device as a result
CAN_REMOTE_RESPONSE (→ page 90) Provides data to the CAN controller in the device which is automatically sent as a response to
the request of a remote message
CAN_RX (→ page 73) Configures a data receive object and reads out the receive buffer of the data object
CAN_RX_ENH (→ page 74) • Configures a data receive object and reads out the receive buffer of the data object
• Frame type and mask can be selected
CAN_RX_ENH_FIFO (→ page 76) • Configures a data receive object and reads out the receive buffer of the data object
• Frame type and mask can be selected
• Several CAN messages per cycle possible
CAN_RX_RANGE (→ page 78)
• Configures a range of data receive objects and reads out the receive buffer of the data objects
• Frame type and mask can be selected
CAN_RX_RANGE_FIFO (→ page 80)
• Configures a range of data receive objects and reads out the receive buffer of the data objects
• Frame type and mask can be selected
• Several CAN messages per cycle possible
CAN_SETDOWNLOADID (→ page 69) = Set CAN download ID
Sets the download identifier for the CAN interface
CAN_STATUS (→ page 70) Get status information on the CAN bus selected:
BAUDRATE, DOWNLOAD_ID, BUSOFF, WARNING_RX, WARNING_TX, VERSION,
BUSLOAD
and reset if required: BUSOFF, WARNING_RX, WARNING_TX
CAN_TX (→ page 83) Transfers a CAN data object (message) to the configured CAN interface for transmission at each
call
CAN_TX_ENH (→ page 84) Transfers a CAN data object (message) to the configured CAN interface for transmission at each
call
CAN-specific characteristics can be set
CAN_TX_ENH_CYCLIC (→ page 86) Cyclically transfers a CAN data object (message) to the configured CAN interface for
transmission
CAN-specific characteristics can be set