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:
Function element
Short description
BASICDISPLAY_INIT
(→ p.
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:
Function element
Short description
GET_TEXT_FROM_FLASH
(→ p.
Reads texts of the type STRING from the flash memory via
FLASH_READ
(→ p.
NORM_DINT
(→ p.
Normalises a value [DINT] within defined limits to a value with new limits
NORM_REAL
(→ p.
Normalises a value [REAL] within defined limits to a value with new limits
PDM_PAGECONTROL
(→ p.
Controls invoking of certain visualisation pages
TOGGLE
(→ p.
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:
Function element
Short description
CAN_ENABLE
(→ p.
Initialises the indicated CAN interface
Configures the CAN baud rate
CAN_RECOVER
(→ p.
Activate / deactivate the automatic bus off handling
Restart the CAN interface in case of bus off
CAN_REMOTE_REQUEST
(→ p.
Send a corresponding request and return the response of the other device as a result
CAN_REMOTE_RESPONSE
(→ p.
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
(→ p.
Configures a data receive object and reads out the receive buffer of the data object
CAN_RX_ENH
(→ p.
• 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.
• 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
(→ p.
• 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.
• 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.
= Set CAN download ID
Sets the download identifier for the CAN interface
CAN_STATUS
(→ p.
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
(→ p.
Transfers a CAN data object (message) to the configured CAN interface for transmission at each
call