59
ifm Programming Manual ecomatmobile BasicController (CR0403) Runtime System V03.02 2015-04-01
ifm function elements ifm libraries for the device CR0403
>
5.1.1 Library ifm_CR0403_V03yyzz.LIB
14791
This is the device library.
This ifm library contains the following function blocks:
Function element Short description
CURRENT_CONTROL (→ page 178) Current controller for a PWMi output channel
FASTCOUNT (→ page 169) Counter block for fast input pulses
FLASH_INFO (→ page 185) 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 (→ page 186) Transfers different data types directly from the flash memory to the RAM
GET_APP_INFO (→ page 187) 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 (→ page 188) Delivers information about the device hardware:
• ifm article number (e.g. CR0403),
• article designation,
• unambiguous serial number,
• hardware revision,
• production date
GET_IDENTITY (→ page 189) Reads the identification of the application stored in the device
(has previously been saved by means of SET_IDENTITY (→ page 197))
GET_SW_INFO (→ page 190) Delivers information about the system software of the device:
• software name,
• software version,
• build number,
• build date
GET_SW_VERSION (→ page 191) Delivers information about the software versions stored in the device:
• BasicSystem version,
• bootloader version,
• SIS version,
• application program version,
• user flash version
INC_ENCODER (→ page 171) Up/down counter function for the evaluation of encoders
INPUT (→ page 173) Assigns an operating mode to an input channel
Provides the current state of the selected channel
MEM_ERROR (→ page 192) Signals errors in some parameters or in the memory
(Re-)initialisation of system resources
MEMCPY (→ page 193) Writes and reads different data types directly in the memory
OHC (→ page 195) Adjustable operating hours counter (0...3)
OUTPUT (→ page 180) Assigns an operating mode to an output channel
Provides the current state of the selected channel
PERIOD (→ page 175) Measures the frequency and the cycle period (cycle time) in [µs] at the indicated channel
PWM1000 (→ page 182) Initialises and configures a PWM-capable output channel
the mark-to-space ratio can be indicated in steps of 1 ‰
SET_IDENTITY (→ page 197) Sets an application-specific program identification
SET_LED (→ page 198) Change the frequency and color of the status LED in the application program
SET_PASSWORD (→ page 200) Sets a user password for access control to program and memory upload
TIMER_READ_US (→ page 201) Reads out the current system time in [µs]
Max. value = 1h 11min 34s 967ms 295µs