-
28
-
7-4.
Register
control
command
By
writing
a
Register
Control
command
to
COMB0
(Address
0
when
an
8-bit-I/F
is
used),
the
LSI
can
copy
data
between
a
register
and
the
I/O
buffer.
Note:
When
using
the
I/O
buffer
while
responding
to
an
interrupt,
a
precaution
is
required,
reading
the
I/O
buffer
contents
before
using
it
and
returning
it
to
its
original
value
after
use.
7-4-1.
Procedure
for
writing
data
to
a
register
(the
axis
assignment
is
omitted)
1)
Write
the
data
that
will
be
written
to
a
register
into
the
I/O
buffer
(addresses
4
to
7
when
an
8-bit-I/F
is
used).
The
order
in
which
the
data
is
written
does
not
matter.
However,
secure
two
reference
clock
cycles
between
these
writings.
2)
Then,
write
a
"register
write
command"
to
COMB0
(address
0
when
an
8-bit-I/F
is
used).
After
writing
one
set
of
data,
wait
at
least
two
cycles
(approx.
0.2
sec
when
CLK
=
19.6608
MHz)
before
writing
the
next
set
of
data.
In
both
case
1)
and
case
2),
when
the
output
is
connected
to
the
CPU,
the
CPU
wait
control
function
will
provide
the
waiting
time
between
write
operations
automatically.
7-4-2.
Procedure
for
reading
data
from
a
register
(the
axis
assignment
is
omitted)
1)
First,
write
a
"register
read
out
command"
to
COMB0
(address
0
when
an
8-bit-I/F
is
used).
2)
Wait
at
least
four
reference
clock
cycles
(approx.
0.2
µsec
when
CLK
=
19.6608
MHz)
for
the
data
to
be
copied
to
the
I/O
buffer.
3)
Read
the
data
from
the
I/O
buffer
(addresses
4
to
7
when
an
8-bit-I/F
is
used).
The
order
for
reading
data
from
the
I/O
buffer
does
not
matter.
There
is
no
minimum
time
between
read
operations.
When
the
output
is
connected
to
the
CPU,
the
CPU
wait
control
function
will
provide
the
waiting
time
between
write
operations
automatically.
Содержание 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...