99
CHAPTER 8 FUNCTIONS
8
8.2 C
ounter F
ormat Selectio
n
8.2.2 R
ing
counte
r functio
n
(a) Ring counter lower limit value
≤
Present value
≤
Ring counter upper limit value
• For counting up
When the value in CH
Present value (RWr10 to RWr11, RWr28 to RWr29) reaches CH
Ring counter
upper limit value (RWw12 to RWw13, RWw2A to RWw2B), the value in CH
Ring counter lower limit
value (RWw10 to RWw11, RWw28 to RWw29) is automatically stored in CH
Present value (RWr10 to
RWr11, RWr28 to RWr29).
• For counting down
When the value in CH
Present value (RWr10 to RWr11, RWr28 to RWr29) reaches CH
Ring counter
lower limit value (RWw10 to RWw11, RWw28 to RWw29), the value in CH
Ring counter lower limit value
(RWw10 to RWw11, RWw28 to RWw29) is held as the present value. The value "ring counter upper limit
value - 1" is stored in CH
Present value (RWr10 to RWr11, RWr28 to RWr29) at the next count-down
pulse input.
Both for counting up and down, the value in CH
Ring counter upper limit value (RWw12 to RWw13, RWw2A
to RWw2B) is not stored in CH
Present value (RWr10 to RWr11, RWr28 to RWr29). (Except for the case that
the present value equals to the ring counter upper limit value when CH
Count enable command (RY24,
RY3C) is turned off then on, or when the preset/replace function is performed. When pulses are counted up or
down in the status, the operation is the same as that of when pulses are counted from CH
Ring counter lower
limit value (RWw10 to RWw11, RWw28 to RWw29).)
For example, if CH
Count enable command (RY24, RY3C) is turned on when CH
Ring counter lower limit
value (RWw10 to RWw11, RWw28 to RWw29) is 0, CH
Ring counter upper limit value (RWw12 to RWw13,
RWw2A to RWw2B) is 2000, and CH
Present value (RWr10 to RWr11, RWr28 to RWr29) is 500, the counting
range and the CH
Present value (RWr10 to RWr11, RWr28 to RWr29) change as follows.
-2147483648
CH Ring counter lower limit value
(RWw10 to RWw11, RWw28 to RWw29)
CH Present value
(RWr10 to RWr11,
RWr28 to RWr29)
CH Ring counter upper limit value
(RWw12 to RWw13, RWw2A to RWw2B)
0
500
2000
2147483647
CH Ring counter
lower limit value
(RWw10 to RWw11,
RWw28 to RWw29)
(2000)
CH Present value
(RWr10 to RWr11,
RWr28 to RWr29)
In counting
up
500
501
1998
1999
to 0
1
2
to
498
499
Counting range
CH Ring counter
upper limit value
(RWw12 to RWw13,
RWw2A to RWw2B)
CH Ring counter
lower limit value
(RWw10 to RWw11,
RWw28 to RWw29)
(2000)
CH Ring counter
upper limit value
(RWw12 to RWw13,
RWw2A to RWw2B)
The value of CH Ring counter upper limit value
(RWw12 to RWw13, RWw2A to RWw2B),
2000, is not stored in CH Present value
(RWr10 to RWr11, RWr28 to RWr29).
CH Present value
(RWr10 to RWr11,
RWr28 to RWr29)
In counting
down
500
499
2
1
to 0
1999
1998
to
502
501
The value of CH Ring counter lower limit value
(RWw10 to RWw11, RWw28 to RWw29),
0, is stored in CH Present value
(RWr10 to RWr11, RWr28 to RWr29).
Summary of Contents for NZ2GFCF-D62PD2
Page 1: ......
Page 2: ......
Page 54: ...52 Memo ...
Page 206: ...204 Memo ...
Page 303: ......
Page 304: ......