5
FUNCTIONS
5.2 Selecting Counter Format
5.2.2 Selecting the ring counter
5
- 6
1
OVE
R
VI
EW
2
SYS
TEM
CONFIGURA
T
ION
3
SP
ECIFI
C
A
T
IO
N
S
4
PRO
C
EDURES AND
SETT
ING
S
BEFO
RE
O
PERA
T
IO
N
5
FUNCTIONS
6
UTIL
IT
Y P
A
C
K
A
G
E
(G
X Conf
igu
rat
or-CT)
7
PROGRA
MMING
8
T
R
OUB
L
ES
HO
O
T
ING
(a) When using within the specified range
1) Normally the following range is applied.
a) General operation
Figure 5.3 Ring counter operation image 1
b) Setting method
• Set the ring counter upper limit value (Un\G2 and 3), ring counter lower
limit value (Un\G0 and 1) and preset value setting (Un\G4 and 5) 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).
c) Count operation
• Addition count
When the present value A
(
Un\G10 and 11
)
/present value B
(
Un\G200
and 201
)
reaches the ring counter upper limit value
(
Un\G2 and 3
)
, the
ring counter lower limit value
(
Un\G0 and 1
)
is automatically stored in the
present value A
(
Un\G10 and 11
)
/present value B
(
Un\G200 and 201
).
• Subtraction count
Even if the present value A
(
Un\G10 and 11
)
/present value B
(
Un\G200
and 201
)
reaches the ring counter lower limit value
(
Un\G0 and 1
)
, the ring
counter lower limit value
(
Un\G0 and 1
)
is held as it is. And by the next
subtraction pulse, "Ring counter upper limit value (Un\G2 and 3) -1" is
stored in the present value A
(
Un\G10 and 11
)
/present value B
(
Un\G200
and 201
)
.
In both cases of addition and subtraction counts, the ring counter upper limit value
(
Un\G2 and 3) is not stored in the present value A
(
Un\G10 and 11
)
/present value
B
(
Un\G200 and 201
)
.
However, the operation is the same as for the case of counting from the ring
counter lower limit value (Un\G0 and 1) if the addition/subtraction count is
performed when the count enable command (Y04) status changes from OFF to
ON or the preset command (Y02) is executed while "Present value A (Un\G10 and
11)/present value B (Un\G200 and 201) Ring counter upper limit value (Un\G2
and 3) is satisfied.
"
Ring counter lower limit
value
Present value A/
present value B
Ring counter upper limit
value
"
(
Un\G0 and 1
)
(
Un\G10 and 11
)/
(
Un\G200 and 201
)
(
Un\G2 and 3
)
"
Ring counter lower limit
value
Preset value setting
Ring counter upper limit
value
"
(
Un\G0 and 1
)
(
Un\G4 and 5
)
(
Un\G2 and 3
)
+2147483647
Ring counter upper limit value (Un\G2 and 3)
Ring counter lower limit value (Un\G0 and 1)
-2147483648
Present counter value
Addition
Subtraction
0