116
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
ifmFastInput.library
>
10.4.1
FastCount
23262
Function block type:
Function block (FB)
Library:
ifmIFastInput.library
Symbol in CODESYS:
>
Description
23259
The FB functions as a counter block for pulses on fast input channels.
>
Input parameters
23260
Parameters
Data type
Description
Possible values
xResetError
BOOL
Reset request for an occurring error
FALSE
When switching from FALSE
TRUE: Reset request to the
lower level system
TRUE
uiChannel
UINT
Input channel
Group + channel
→ Data sheet
→
Note on wiring
(
→ p.
Examples:
403
Group 4 + channel 3
502
Group 5 + channel 2
eMode
MODE_FAST_
COUNT
Operating mode of the input channel
→
MODE_FAST_COUNT (ENUM)
(
→ p.
eDirection
COUNT_
DIRECTION
Counting direction
→
COUNT_DIRECTION (ENUM)
(
→ p.
udiPresetValue
UDINT
Preset counter value
permissible = 0...4 294 967 295
xPreset
BOOL
Changeover switch: counter function
active / adopt preset counter value
FALSE
counter active; the number of
counted pulses is issued to
udiValue.
TRUE
The preset counter value is
adopted;
udiValue = udiPresetValue