Download Print this page

Mitsubishi FX-16NP-S3 User Manual page 20

Melsec-f

Advertisement

8.
PROGRAMMING
",
Writing word data from A to FX
in the example shown here, the following transfer is executed;A-
The BFM-numbers are
assigned
for each
remote terminal unit
as
CPU (Dl
0
to D l 9) to Master station BFM (#1603 to #1612) to
shown
in
the
table
on page 13.
Remote station BFM
(a0
to #9).
To designate data trammission, firs4
write
the
command
d a t e ,
p ! !
command
x0
and then write the object data.
4
TO/P)
1,-
H O O
1
Kl6flOI
K2
I
K1
IT
#1600 Write the write command code
'2'
I
. .
I
I
I
I
K 2 to BFM #16W
if1601 Write the head BFM number
for
writing
of
the
#1602 Write the number
of words to be written.
remote station.
TO
(P)
H O O
K1601
K O
n
# 1 6 0 4
K O to BFM #1601
$
Write
area
(when
10 words
are
written).
E
--I
TO (P)
1
H O O
I
It1602
1
K10
I
K1
1
8
The transmission from
the masterto the remote is executed by
turning ON the request
to
tzansmit YO. When
It
is completed, X0
reset.
K10 to BFM #1602
(send completed) is turned
ON.
X0 resets YO, and then X0 is
4
TO(P)
I
HOO
I
K1603
I
D l 0
I
K10
1 1
This command should not
be
executed along with the read com-
mand shown on the next page.
(Dl
0 to
D l 9) to BFM (#1603 to #1612)
r ,
transmit
i
t
RST
I
YO
Transmission
completion
18

Advertisement

loading

This manual is also suitable for:

Fx-16nt-s3