![background image](http://html.mh-extra.com/html/ifm/ecomat-100-mobile-cr0301/ecomat-100-mobile-cr0301_programming-manual_620659131.webp)
131
ifm
Programming Manual
ecomatmobile
CabinetController (CR0301) Runtime System V05
2016-04-21
ifm function elements
ifm function elements for the device CR0301
>
FAST_COUNT
20430
Unit type = function block (FB)
Unit is contained in the library
ifm_CR0301_Vxxyyzz.LIB
Symbol in CODESYS:
>
Description
570
FAST_COUNT operates as counter block for fast input pulses.
This FB detects fast pulses at the FRQ input channels 0...3. With the FRQ input channel 0
FAST_COUNT operates like the block CTU. Maximum input frequency
→
data sheet.
Due to the technical design, for the
ecomatmobile
controllers channel 0 can only be used as up
counter. The channels 1...3 can be used as up and down counters.
>
Parameters of the inputs
17812
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
execute this function element
FALSE:
unit is not executed
> counter stopped
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
MODE_UP_DOWN
BOOL
TRUE:
counter counts downwards
FALSE:
counter counts upwards
LOAD
BOOL
TRUE:
start value PV is loaded in CV
FALSE:
function element is not executed
PV
DWORD
Start value (preset value) for the counter
>
Parameters of the outputs
572
Parameter
Data type
Description
CV
DWORD
current counter value
Behaviour in case of overflow:
• the counter stops at 0 when counting downwards
• there is an overflow when counting upwards
Summary of Contents for Ecomat 100 Mobile CR0301
Page 212: ......