Mitsubishi Electric qd63p6 User Manual page 63

Programmable
Hide thumbs Also See for qd63p6:
Table of Contents

Advertisement

5
FUNCTIONS
(b) When using in the entire range
a) General operation
By setting the same value in the ring counter upper limit value (Un\G2 and 3) and
ring counter lower limit value (Un\G0 and 1), the count operation is repeated in the
entire range of the QD63P6 (from -2147483648 (lower limit value) to 2147483647
(upper limit value)).
Although it operates like the linear counter, no overflow error will occur even if the
present value A (Un\G10 and 11)/present value B (Un\G200 and 201) reaches the
counting range of the QD63P6.
Present counter value
0
Subtraction
Figure 5.7 Ring counter operation image 3
b) Setting method
• Set any value in the preset value setting (Un\G4 and 5), set the ring counter
upper limit value (Un\G2 and 3) and ring counter lower limit value (Un\G0 and
1) as shown below, and then turn ON the preset command (Y02).
• After the preset value setting (Un\G4 and 5) became effective, turn OFF the
preset command (Y02) and turn ON the count enable command (Y04).
"Ring counter lower limit value = Ring counter upper limit value"
(Un\G0 and 1)
c) Count operation
When the following setting is made, regardless of the present value A
)
and 11
/present value B
range of signed 32-bit binary numbers (-2147483648 to 2147483647).
"Ring counter lower limit value = Ring counter upper limit value"
(Un\G0 and 1)
d) Setting example
When the count is enabled with a ring counter lower limit value (Un\G0 and 1)
of 1000, ring counter upper limit value
(
value A
Un\G10 and 11
count is operated in the entire range of the QD63P6 (-2147483648 (lower limit
value) to 2147483647 (upper limit value)).
+2147483647
Ring counter lower limit value (Un\G0 and 1)
= Ring counter upper limit value (Un\G2 and 3)
Addition
-2147483648
(
)
Un\G200 and 201
, the count range is the entire
(
Un\G2 and 3
)
(
/present value B
Un\G200 and 201
5.2 Selecting Counter Format
5.2.2 Selecting the ring counter
(Un\G2 and 3)
(
Un\G10
(Un\G2 and 3)
)
of 1000, and present
)
of 3000, the
5
- 10
1
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents