
90
90
90
90
Analog ramp: AQ
Analog math: AQ
PI controller:AQ
Data latching relay: AQ
Up/Down counter: Cnt
The value of
"
On
","
Off
"
and
"
Cnt
"
can be set/modified in parameter mode. For
information about how to modify ,refer to chapter 5.2.2 please.
Timing
Timing
Timing
Timing diagram
diagram
diagram
diagram
Description
Description
Description
Description of
of
of
of the
the
the
the function
function
function
function
The function increments (Dir = 0) or decrements (Dir = 1) the internal counter by one count
with every positive edge at input Cnt.
You can reset the internal counter value to '000000', with a signal at the reset input R. As long
as R=1, the output is 0 and the pulses at input Cnt are not counted.
Output Q is set and reset according to the actual value at Cnt and the set thresholds. See the
following rules for calculation.
Calculation
Calculation
Calculation
Calculation rule
rule
rule
rule
•
If the on threshold >= off threshold, then:
Q = 1, if Cnt >= On
Q = 0, if Cnt < Off.
•
If the on threshold < off threshold, then:
Q = 1, if On <= Cnt < Off.
Caution
Caution
Caution
Caution
The function polls the limit value of the counter once in each cycle.
Thus, if the pulses at the fast inputs (ELC-12) or IB/IC(ELC-18) are faster than the scan cycle
time, the SFB might not switch until the so specified limit has been exceeded.
Example: Up to 100 pulses per cycle can be counted; 900 pulses have been counted so far. On
= 950; Off = 10000. The output is set in the next cycle, after the value has reached 1000.
The output would not be set at all if the value Off = 980
Summary of Contents for xLogic
Page 1: ......
Page 2: ......
Page 102: ...100 100 100 100 B B B B Blocks Blocks Blocks Blocks...
Page 105: ...103 103 103 103 G G G G M M M M status status status status...
Page 106: ...104 104 104 104 H H H H AM AM AM AM value value value value...
Page 164: ...162 162 162 162 If the Memory Read block had been triggered the Q1 of ELC 12 CPU will be set 1...
Page 204: ...202 202 202 202 Step Step Step Step 6 6 6 6 Moving Moving Moving Moving...
Page 226: ...224 224 224 224...