2. Programming Concepts
2.11 C (Counter)
Counters will increment their present count value when input signals are triggered from OFFON.
32 bits counters
Counters C0~C199 C200~C231(C232)
C232(C233)~C242,
C245~C254
C243, C244
Count up Count up/down Count up
-2,147,483,648~+2,147,483,647
value
data register
Constant K or data register D (Dword)
Output
operation
Counter will
stop when
preset value
reached
Counter will keep on counting when preset
value reached. The count value will become
-2,147,483,648 if one more count is ad
ded
t
o +2,147,483,647
Counter will keep on
counting when preset
value is
count value will
count is added to
Output
contact
function
will be ON
when counter
reaches
Output coil is ON when counter reaches or
is above preset value.
Output coil is OFF when counter is below
preset value.
Output coil is ON
when counter
reaches or is above
preset value
High speed
conparison
-
are activated
immediately when
preset value is
reached, i.e.
independant of scan
-
Reset
action
The present value will reset to 0 when RST instruction is executed, output coil will
be OFF.
Example: