46
ifm Programming Manual BasicDisplay CR0452 v03.02 05 / 2018
ifm function elements ifm libraries for the device CR0452
>
5.1.3 Library ifm_CR0452_Init_Vxxyyzz.LIB
15286
This ifm library contains the following function blocks:
BASICDISPLAY_INIT (→ p. 183)
Initialises the screen of the BasicDisplay in the first PLC cycle
>
5.1.4 Library ifm_PDMsmart_util_Vxxyyzz.LIB
15289
This ifm library contains the following function blocks:
GET_TEXT_FROM_FLASH (→ p. 177)
Reads texts of the type STRING from the flash memory via FLASH_READ (→ p. 160)
Normalises a value [DINT] within defined limits to a value with new limits
Normalises a value [REAL] within defined limits to a value with new limits
PDM_PAGECONTROL (→ p. 184)
Controls invoking of certain visualisation pages
Setting and resetting of a Boolean variable with only one input bit
>
5.1.5 Library ifm_RAWCan_NT_Vxxyyzz.LIB
14715
This ifm library contains the following function blocks:
Initialises the indicated CAN interface
Configures the CAN baud rate
Activate / deactivate the automatic bus off handling
Restart the CAN interface in case of bus off
CAN_REMOTE_REQUEST (→ p. 76)
Send a corresponding request and return the response of the other device as a result
CAN_REMOTE_RESPONSE (→ p. 78)
Provides data to the CAN controller in the device which is automatically sent as a response to the
request of a remote message
Configures a data receive object and reads out the receive buffer of the data object
• 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 (→ p. 62)
• 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
• 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 (→ p. 66)
• 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 (→ p. 55)
= Set CAN download ID
Sets the download identifier for the CAN interface
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
Transfers a CAN data object (message) to the configured CAN interface for transmission at each
call