
165
ifm
Programming Manual BasicController relay CR0431 v03.03.00
05 / 2018
ifm function elements
ifm function elements for the device CR0431
FASTCOUNT
8112
= Fast Count
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0431_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
8114
FASTCOUNT operates as counter block for fast input pulses (up to 30 kHz).
This FB detects pulses at the fast input channels (
data sheet).
Overflow or underflow of the counter value is not detected.
14888
NOTE
In case of higher frequencies (higher than those guaranteed by
ifm
) the following problems may occur:
The switch-on and switch-off times of the outputs become more important.
Undue heating of the components may occur.
The influences mentioned above depend on the components used in the individual case.
These possible influences cannot be exactly predicted.
>
Parameters of the inputs
8115
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
execute this function element
FALSE:
unit is not executed
> initiated processes continue in the background
> FB outputs are not updated
CHANNEL
BYTE
Number of the fast input channel
0...3 for the inputs I00...I03
MODE
BYTE
Operating mode of the function block:
0 = 0x00 = stop counter
21 = 0x15 = upwards counter
22 = 0x16 = downwards counter
PRESET_VALUE
DWORD
counter start value
PRESET
BOOL
TRUE (for only 1 cycle):
load the start value PRESET_VALUE
FALSE:
counter is active
Содержание BasicController CR0431
Страница 228: ...228 10 Notizen Notes Notes...