Mitsubishi NZ2GFCF-D62PD2 User Manual page 101

Cc-link ie field network high-speed counter module
Table of Contents

Advertisement

(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.
CH
(RWw10 to RWw11, RWw28 to RWw29)
-2147483648
CH
Present value
(RWr10 to RWr11,
RWr28 to RWr29)
500
501
In counting
up
CH
Present value
(RWr10 to RWr11,
RWr28 to RWr29)
500
499
In counting
down
Ring counter lower limit value
CH
Present value
(RWr10 to RWr11,
RWr28 to RWr29)
0
500
Counting range
CH
Ring counter
upper limit value
(RWw12 to RWw13,
RWw2A to RWw2B)
(2000)
to
1998
1999
0
The value of CH
(RWw12 to RWw13, RWw2A to RWw2B),
2000, is not stored in CH
(RWr10 to RWr11, RWr28 to RWr29).
CH
Ring counter
upper limit value
(RWw12 to RWw13,
RWw2A to RWw2B)
(2000)
to
2
1
0
1999
The value of CH
(RWw10 to RWw11, RWw28 to RWw29),
0, is stored in CH
(RWr10 to RWr11, RWr28 to RWr29).
CH
Ring counter upper limit value
(RWw12 to RWw13, RWw2A to RWw2B)
2000
2147483647
CH
Ring counter
lower limit value
(RWw10 to RWw11,
RWw28 to RWw29)
1
2
to
498
499
Ring counter upper limit value
Present value
CH
Ring counter
lower limit value
(RWw10 to RWw11,
RWw28 to RWw29)
1998
to
502
501
Ring counter lower limit value
Present value
CHAPTER 8 FUNCTIONS
99
8

Advertisement

Table of Contents
loading

Table of Contents