45
ifm
Programming Manual BasicDisplay CR0452 v03.02
05 / 2018
ifm function elements
ifm libraries for the device CR0452
>
5.1.2
Library ifm_CR0452_Vxxyyzz.LIB
15284
This is the device library. This
ifm
library contains the following function blocks:
Function element
Short description
FLASH_INFO
(→ p.
Reads the information from the user flash memory:
• name of the memory area (user defined),
• software version,
• start address (for simple reading with IEC structure)
FLASH_READ
(→ p.
transfers different data types directly from the flash memory to the RAM
GET_APP_INFO
(→ p.
Delivers information about the application program stored in the device:
• name of the application,
• version of the application,
• unique CODESYS build number,
• CODESYS build date
GET_HW_INFO
(→ p.
Delivers information about the device hardware:
•
ifm
article number (e.g. CR0403),
• article designation,
• unambiguous serial number,
• hardware revision,
• production date
GET_IDENTITY
(→ p.
Reads the identification of the application stored in the device
(has previously been saved by means of
SET_IDENTITY
(→ p.
GET_SW_INFO
(→ p.
Delivers information about the system software of the device:
• software name,
• software version,
• build number,
• build date
GET_SW_VERSION
(→ p.
Delivers information about the software versions stored in the device:
• BasicSystem version,
• bootloader version,
• SIS version,
• application program version,
• user flash version
MEM_ERROR
(→ p.
Signals errors in some parameters or in the memory
(Re-)initialisation of system resources
MEMCPY
(→ p.
Writes and reads different data types directly in the memory
OHC
(→ p.
Adjustable operating hours counter (0...3)
SET_IDENTITY
(→ p.
Sets an application-specific program identification
SET_LED
(→ p.
Change the frequency and color of the status LED in the application program
SET_PASSWORD
(→ p.
Sets a user password for access control to program and memory upload
TIMER_READ_US
(→ p.
Reads out the current system time in [µs]
Max. value = 1h 11min 34s 967ms 295µs