Official GSK Agents in South Africa
Tel: +27 11 626 2720, [email protected]
Chapter Five PLC Function Code
37
V
o
lume
I Programming
When the counter reaches to the presetting value, it inputs the count signal and resets the initial
value and performs the count again.
3) Addition and subtraction counter
This is treated as the forward-backward counter, which can be used both addition and
subtraction.
4) The selection of the initial value
The initial value can be regarded as 0 or 1.
Format:
Fig. 5-14-1
Controllable condition:
Specify initial value (CN0):
CN0=0, counter begins with 0.
CN0=1, counter begins with 1.
Specify rising or descending counter (UPDOWN):
UPDONW=1, subtraction counter
UPDOWN=0, addition counter
Reset (RST):
RST=0, Remove the reset
RST=1, reset: W resets to 0, and the counter value reset to initial value. The RST is set
to 1, as long as the reset is required.
Counting signal (ACT):
ACT=1: Count performs when ACT is at the rising edge.
ACT
=
0: Counter does not operate, W holds unchangeable.
Parameter:
COUNTER: Specify the number of the counter, which is indicated by xxx (xxx is No. 0 to
No.127).
Output:
W : Coil output, W=1, it reaches to the presetting value.
Note 1:
The system may automatically check the sequence number range of the timer, it may alarm if the sequence