ifm
System Manual
ecomat
mobile
SmartController (CR2500, CR2502) V05
More functions in the ecomatmobile controller
Counter functions for frequency and period measurement
205
Parameters of the function inputs
Name
Data type Description
INIT
BOOL
TRUE (only 1 cycle):
function
initialised
FALSE: during cyclical processing of the program
CHANNEL
BYTE
Number of the input (0...x value depending on the device)
PERIODS
BYTE
Number of periods to be compared
NOTE
The function may provide wrong values before initialisation. Do not evaluate the output before the
function has been initialised.
We urgently recommend to initialise all required instances of this function at the same time. Otherwise,
wrong values may be provided.
Parameters of the function outputs
Name
Data type Description
C DWORD
Cycle time of the detected periods in [
μ
s].
F
REAL
Frequency of the detected periods in [Hz].
ET
TIME
Time elapsed since the beginning of the period measurement
(can be used for very slow signals).
Summary of Contents for Ecomat 100 ecomatmobile SmartController CR2500
Page 1: ...System Manual SmartController CR2500 CR2502 CoDeSys V2 3 Target V05 7390667 00 03 2009 ...
Page 6: ......
Page 282: ......