120
ifm
Programming Manual ecomatController/60-1 (CR711S) Operating System V2.5.0.n
2017-12-19
ifm function libraries
ifmFastInput.library
>
10.4.3
Period
23313
Function block type:
Function block (FB)
Library:
ifmIFastInput.library
Symbol in CODESYS:
>
Description
23314
TheFB is used to configure and to operate an input channel or a pair of input channels to detect and
count pulses.
In the operating modes IN_PHASE_CSI and IN_PHASE_CSO (to be set at the eMode function block
input), a phase measurement is carried out on one input channel pair. The input channel pair is
defined by indicating the channel with the even number of the input channel pair (channel A) at the
input uiChannel.
In the other operating modes, a signal evaluation is carried out at the input channel defined at the
uiChannel input.
>
Input parameters
23315
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
(
Examples:
403
Group 4 + channel 3
502
Group 5 + channel 2
eMode
MODE_PERIOD
Operating mode of the input channel
→
MODE_PERIOD (ENUM)
(
→ p.
ePeriod
FREQ_SENSE_PERIODS Number of pulse periods for
averaging
→
FREQ_SENSE_PERIODS (ENUM)
(
udiTimebase
UDINT
Time base for frequency calculation in
[ms]
Only used in eMode:
IN_FREQUENCY_CSI
IN_FREQUENCY_CSO
→
MODE_PERIOD (ENUM)
(
→ p.