-
93
-
11-10-2.
Ring
count
function
COUNTER1
and
COUNTER2
have
a
ring
count
function
for
use
in
controlling
a
rotating
table.
Set
C1RM
=
1
in
RENV3
and
COUNTER1
will
be
in
the
ring
count
mode.
Then
the
PCL
can
perform
the
following
operations.
-
Count
value
=
Count
up
from
the
value
in
RCMP1
until
reaching
0.
-
Count
value
=
Count
down
from
0
until
the
count
equals
the
value
in
PCMP1.
Set
C2RM
=
1
in
RENV3
and
COUNTER2
will
be
in
the
ring
count
mode.
Then
the
PCL
can
perform
the
following
operations.
-
Count
value
=
Count
up
from
the
value
in
RCMP2
until
reaching
0.
-
Count
value
=
Count
down
from
0
until
the
count
equals
the
value
in
RCMP2.
Set
COUNTER1
to
ring
counter
operation
<set
C1RM
(bit-7)
in
RENV3>
1:
Operate
COUNTER1
as
a
ring
counter.
[RENV2]
(WRITE)
7
0
n
-
-
-
-
-
-
-
Set
COUNTER2
to
ring
count
operation
<set
C2RM
(bit-11)
in
RENV3>
1:
Operate
COUNTER2
as
a
ring
counter.
[RENV2]
(WRITE)
15
8
-
-
-
-
n
-
-
-
Even
if
the
value
for
PRMV
outside
the
range
of
0
to
the
value
in
RCMPn,
the
PCL
will
continue
to
perform
positioning
operations.
When
driving
a
rotating
table
with
3600
pulses
per
revolution,
and
when
RCMP1
=
3599,
MOD
=
41h,
and
RMV
=
7200,
the
table
will
rotate
twice
and
the
value
in
COUNTER1,
when
stopped,
will
be
the
same
as
the
value
before
starting.
Note:
To
use
the
ring
counter
function,
set
the
count
value
between
0
and
the
value
in
RCMPn.
If
the
value
is
outside
the
range
above,
the
PCL
will
not
operate
normally.
Set
the
comparator
conditions
(C1S0
to
1,
C2S0
to
1)
when
using
a
counter
as
a
ring
counter
to
"00."
Setting
example
RENV3
=
XXXXXX80h
---
COUNTER1
is
in
ring
counter
mode
(C1RM
=
1)
RCMP1
=
4
---
Count
range:
0
to
4
Содержание PCL6113
Страница 1: ...User s Manual For PCL6113 6123 6143 Pulse Control LSI Nippon Pulse Motor Co Ltd...
Страница 11: ...5 3 Terminal Assignment Diagram 3 1 PCL6113 3 2 PCL6123...
Страница 20: ...14 5 Block Diagram...
Страница 115: ...109 11 Stop timing by error...
Страница 116: ...110 13 External Dimensions 13 1 PCL6113...
Страница 117: ...111 13 2 PCL6123...
Страница 118: ...112 13 3 PCL6143...