Function of each device
RST C300
X3
C300 K10
Y1
X4
C300
M8238
X2
C0
X001
K100
For 32 bits binary increment counter, its valid bound is K1~K2,147,483,647
(Decimal constant). With special auxiliary relay M8238, assign the direction of
bits positive/negative counter’s (C300~C498) direction
z If X2 drives M8238, then it is
negative count;If no drive, then it is
positive count.
z According to constant K or to the
content of data register D, set the
value to be positive. Treat contents
in consecutive data register as a
pair, and dispose it as 32 bits data.
So, when assign D0, dispose D0
and D1 as a 32 bits set data. If use
count input X004 to drive coil
C300, execute increase count.
32 bits counter For normally use or power count retentive
z When reset input X3 is ON, execute RST instruction, counter’s current
value turns to be 0, output contact resets.
z When use counter as power cut retentive, counter’s current value, output
contact’s action and reset status cut power retentive.
z 32 bits counter can also be used as 32 bits data register. But 32 bits data
register can’t be used as device in 16 bits applied instructions.
Assign
method of
the set value
16 bits counter
《Constant assignment(K)》
《Indicate assignment(K)》
MOV K100 D5
C0 D5
X000
X001
43