![background image](http://html1.mh-extra.com/html/ifm/basiccontroller-cr0431/basiccontroller-cr0431_programming-manual_3915933054.webp)
54
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm libraries for the device CR0431
>
5.1.1
Library ifm_CR0431_V03yyzz.LIB
19699
This is the device library. This
ifm
library contains the following function blocks:
Function element
Short description
FASTCOUNT
(→ p.
Counter block for fast input pulses
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
INC_ENCODER
(→ p.
Up/down counter function for the evaluation of encoders
INPUT
(→ p.
Assigns an operating mode to an input channel
Provides the current state of the selected channel
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)
OUTPUT
(→ p.
Assigns an operating mode to an output channel
Provides the current state of the selected channel
PERIOD
(→ p.
Measures the frequency and the cycle period (cycle time) in [µs] at the indicated channel
PWM1000
(→ p.
Initialises and configures a PWM-capable output channel
the mark-to-space ratio can be indicated in steps of 1 ‰
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
Summary of Contents for BasicController CR0431
Page 228: ...228 10 Notizen Notes Notes...