![background image](http://html.mh-extra.com/html/sick/flexi-compact/flexi-compact_operating-instructions-manual_1264303072.webp)
Principle of operation
Table 69: Inputs
Input
Description
Up
Data type: Boolean
A rising signal edge (0–1) at the
Up
input increases the value of the
internal counter by “1” as long as the maximum value has not been
reached.
1)
If the maximum value is exceeded, the behavior depends on the
Over‐
flow behaviour
parameter.
The input is ignored when a rising signal edge occurs simultaneously at
the
Reset to zero
,
Set to Reload value
or
Down
input.
Down
Data type: Boolean
A rising signal edge (0–1) at the
Down
input decreases the value of the
internal counter by “1” as long as 0 has not been reached.
1)
If the value falls below 0, the behavior depends on the
Underflow behav‐
iour
parameter.
The input is ignored when a rising signal edge occurs simultaneously at
the
Reset to zero
,
Set to Reload value
or
Up
input.
Reset to zero
Data type: Boolean
A rising signal edge (0–1) at the input sets the value of the internal
counter to 0.
Set to Reload value
Data type: Boolean
A rising signal edge (0–1) at the input sets the value of the internal
counter to the configured value of the Reload value parameter.
The input is ignored when a rising signal edge (0-1) occurs simultane‐
ously at the
Reset to zero
input.
1)
If, during the first logic cycle, the input is already 1, then function block does not evaluate this as a rising
signal edge.
Table 70: Outputs
Output
Description
Counter value
Data type: UINT16
Outputs the value of the internal counter (0 … 65,535).
Upper limit
Data type: Boolean
Is 1 as long as the counter = Maximum value
Lower limit
Data type: Boolean
Is 1 as long as the counter = 0
Overflow
Data type: Boolean
See the
Overflow behaviour
parameters
Underflow
Data type: Boolean
See the
Underflow behaviour
parameters
Table 71: Parameter
Parameter
Description
Initialization value
The parameter defines to which start value the internal counter is set
after the first logic cycle.
•
Set to 0 at start
The
Lower limit
output is immediately set to 1.
•
Set to Reload value at start
If Reload value = Maximum value, then the
Upper limit
output is
immediately set to 1.
If Reload value = 0, then the
Lower limit
output is immediately set to
1.
•
Set to maximum value at start
The
Upper limit
output is immediately set to 1.
7
CONFIGURATION
72
O P E R A T I N G I N S T R U C T I O N S | Flexi Compact
8024589/2020-11-10 | SICK
Subject to change without notice