Ring Counter Function - Mitsubishi Electric NZ2GFCF-D62PD2 User Manual

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

Advertisement

8.4.2

Ring counter function

(1) Operation of the ring counter
When "1: Ring Counter" is selected for "CH Counter format", pulses are counted repeatedly within the range
between CH Ring counter lower limit value (RWw10 to RWw11, RWw28 to RWw29) and CH Ring counter
upper limit value (RWw12 to RWw13, RWw2A to RWw2B) specified by the user.
The overflow and underflow errors do not occur under the ring counter function.
The preset/replace function and the comparison output function can be used together under the ring counter
function as well as under the linear counter function.
The following figure shows the relationship among CH Present value (RWr10 to RWr11, RWr28 to RWr29),
CH Ring counter lower limit value (RWw10 to RWw11, RWw28 to RWw29), and CH Ring counter upper limit
value (RWw12 to RWw13, RWw2A to RWw2B).
CH
upper limit value
(RWw12 to RWw13,
RWw2A to RWw2B)
CH
(RWr10 to RWr11,
RWr28 to RWr29)
CH
lower limit value
(RWw10 to RWw11,
RWw28 to RWw29)
No.
When CH Present value (RWr10 to RWr11, RWr28 to RWr29) is counted up from "CH Ring counter upper limit value (RWw12
1)
to RWw13, RWw2A to RWw2B) - 1", CH Ring counter lower limit value (RWw10 to RWw11, RWw28 to RWw29) is stored in
CH Present value (RWr10 to RWr11, RWr28 to RWr29).
2)
Count-up pulse input is changed to count-down pulse input.
When CH Present value (RWr10 to RWr11, RWr28 to RWr29) is counted down from CH Ring counter lower limit value
3)
(RWw10 to RWw11, RWw28 to RWw29), "CH Ring counter upper limit value (RWw12 to RWw13, RWw2A to RWw2B) - 1" is
stored in CH Present value (RWr10 to RWr11, RWr28 to RWr29).
+2147483647
Ring counter
Present value
0
Ring counter
-2147483648
2)
1)
Description
CHAPTER 8 FUNCTIONS
3)
8
109

Advertisement

Table of Contents
loading

Table of Contents