132
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
FREQUENCY
20604
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0301_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
540
FREQUENCY measures the signal frequency at the indicated channel. Maximum input frequency
→
data sheet.
This FB measures the frequency of the signal at the selected CHANNEL. To do so, the positive edge
is evaluated. Depending on the TIMEBASE, frequency measurements can be carried out in a wide
value range. High frequencies require a short time base, low frequencies a correspondingly longer
time base. The frequency is provided directly in [Hz].
For FREQUENCY only the inputs FRQ0...FRQ3 can be used.
>
Parameters of the inputs
17814
Parameter
Data type
Description
INIT
BOOL
FALSE
TRUE (edge):
unit is initialised
FALSE:
during further processing of the program
CHANNEL
BYTE
Number of the fast input channel
0...3 for the inputs IN08...IN11
TIMEBASE
TIME
Time basis for frequency measurement (max. 57 s)
8406
The FB may provide wrong values before initialisation.
► Do not evaluate the output before the FB has been initialised.
We urgently recommend to program an own instance of this FB for each channel to be evaluated.
Otherwise, wrong values may be provided.
>
Parameters of the outputs
542
Parameter
Data type
Description
F
REAL
frequency of the input signal in [Hz]
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......