![background image](http://html.mh-extra.com/html/ifm/ecomat-100-mobile-cr0301/ecomat-100-mobile-cr0301_programming-manual_620659130.webp)
130
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
5.2.10
Function elements: counter functions for frequency and period measurement
FAST_COUNT ................................................................................................................................... 131
FREQUENCY .................................................................................................................................... 132
INC_ENCODER ................................................................................................................................ 133
PERIOD ............................................................................................................................................. 135
PERIOD_RATIO ................................................................................................................................ 137
PHASE .............................................................................................................................................. 139
18818
The controllers support up to 4 fast inputs which can process input frequencies of up to 30 kHz. In
addition to frequency measurement, the FRQ inputs can also be used for the evaluation of incremental
encoders (counter function).
Due to the different measuring methods errors can occur when the frequency is determined.
The following FBs are available for easy evaluation:
Function element
Permissible values
Explanation
FAST_COUNT
0...30 000 Hz
Counting of fast pulses
FREQUENCY
0.1...30 000 Hz
Measurement of the frequency on the indicated channel. Measurement error is
reduced in case of high frequencies
INC_ENCODER
0...30 000 Hz
Up/down counter function for the evaluation of encoders
PERIOD
0...5 000 Hz
Measurement of frequency and period duration (cycle time) on the indicated
channel
PERIOD_RATIO
0...5 000 Hz
Measurement of frequency and period duration (cycle time) as well as mark-to-
space ratio [‰] on the indicated channel
PHASE
0...5 000 Hz
Reading of a channel pair and comparison of the phase position of the signals
Important when using the fast inputs as "normal" digital inputs:
► The increased sensitivity to noise pulses must be taken into account (e.g. contact bouncing for
mechanical contacts).
•
The standard digital input can evaluate signals up to 50 Hz.
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......