6. Function blocks6.1 Manufacturer function blocksSee 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 2096.1.2 Counter function blocks6.1.2.1 C - Counter relayGeneraleasyE4 base devices provide 32 counter relays, C01 throughC32. Each counter relay can count up and down and functionsas a double word counter.Operating principleYou 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 thecycle time. For shorter pulses, use the CH high-speed counterfunction block.NOTICEAvoid 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