133
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
INC_ENCODER
20432
= Incremental Encoder
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0301_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
4330
INC_ENCODER offers up/down counter functions for the evaluation of encoders.
Each input pair to be evaluated by means of the function block is formed by two frequency inputs.
Limit frequency = 30 kHz
max. number of units to be connected: 4 encoders (ExtendedController: max. 8 encoders)
Set preset value:
1. Enter value in PRESET_VALUE
2. Set PRESET to TRUE for one cycle
3. Reset PRESET to FALSE
The function block counts the pulses at the inputs as long as INIT=FALSE and PRESET=FALSE.
The current counter value is available at the output COUNTER.
The outputs UP and DOWN indicate the current counting direction of the counter. The outputs are
TRUE if the counter has counted in the corresponding direction in the preceding program cycle. If the
counter stops, the direction output in the following program cycle is also reset.
Do
not
use this function block on one input together with one of the following function blocks!
•
FAST_COUNT
(
•
FREQUENCY
(
•
PERIOD
(
•
PERIOD_RATIO
(
•
PHASE
(
On input RESOLUTION the resolution of the encoder can be evaluated in multiples:
1 = normal resolution (identical with the resolution of the encoder),
2 = double evaluation of the resolution,
4 = 4-fold evaluation of the resolution.
All other values on this input mean normal resolution.
Содержание Ecomat 100 Mobile CR0301
Страница 209: ...209 ifm Programming Manual ecomatmobile CabinetController CR0301 Runtime System V05 2016 04 21 Notizen Notes Notes ...
Страница 210: ...210 ifm Programming Manual ecomatmobile CabinetController CR0301 Runtime System V05 2016 04 21 Notizen Notes Notes ...
Страница 211: ...211 ifm Programming Manual ecomatmobile CabinetController CR0301 Runtime System V05 2016 04 21 Notizen Notes Notes ...
Страница 212: ......