6. Function blocks
6.1 Manufacturer function blocks
See also
→ Section "HW - Weekly timer (Hour Week)", page 168
→ Section "HY - Year time switch (Hora Year)", page 178
→ Section "OT - Operating hours counter ", page 188
→ Section "RC - Real-time clock", page 192
→ Section "T - Timing relay", page 195
→ Section "YT - Year time switch (Year Table)", page 209
6.1.2 Counter function blocks
6.1.2.1 C - Counter relay
General
easyE4 base devices provide 32 counter relays, C01 through
C32. Each counter relay can count up and down and functions
as a double word counter.
Operating principle
You can enter upper and lower threshold values as reference values. The cor-
responding function block outputs will switch based on the determined actual value.
You can set a starting value using input SV.
The counter relays C01…C32 are cycle time dependent.
The following applies to the EDP programming language:
The time for a single count pulse must be longer than twice the
cycle time. For shorter pulses, use the CH high-speed counter
function block.
NOTICE
Avoid unforeseeable switching states.
Switch C, CF, CH, CI function blocks only at one single point in the pro-
gram.
Otherwise, previous counts will be overwritten.
218
easyE4 11/18 MN050009 EN www.eaton.com