Download Print this page

Mitsubishi FX-16NP-S3 User Manual page 21

Melsec-f

Advertisement

8. PROGRAMMING
Reading word data
from
FX to A
In
example
. & w n
h e r e , the
folkwing
trarrsfer
i s . e x e ~ ~ ~ . R e -
mote station
B N
(W
to
a)
0
tetas!~
station BFM ( t l 1 0 1 to
bl110) to ACPU (Do to
Da).
MlOl
I
I
I -
i t - - j
T O (P)
K1
K1600
HOO
Read
axnmand
K1
to
BFM
#1600
E
3
TO
(P)
I
HOO
I
Kt601
I
K O
I
K1
1 1
K O to BFM Y1601
T O (P)
K1
K10
K1602
HOO
K10
to
BFM #1602
SET
YO
~ransmisdon
C O m p l
e M
trailsmit
W M ( P
mK)
K1101
B N
( # l l O l
to
t l 1 1 0 ) to (DO
to
0 9 )
To read
wrrl
ck@,.~fdlowing
command
data
must
be
transmit-
ted
M t e h e n d . T h e
BFM numbers
are
ass@ned as
shown
in the
tableonpqe13.
#1600 Write the read command code
'1'.
#1601 Write the head
BFM
number for reading
of
#1602 Wrlte thb number
of words to be
read.
#1100 The number
of words to
be
read is stored.
#1101
t h e
remcke
station.
#1110
1
Read area (when 10 words are read).
The t
m of
mand
data
is executed
by turning ON
the iqmm!to
transmit
"&:
~
0.
Read
data
is
read from
the
remote
station W
h
maro%r
s - ,
and
X0
is
turned
ON.
Afbr
data
is
read
b y &
FROM hstru@on
to
the
A-CPU, reset
YO.
This
com-
mandrhoddnotbeexbcutedabngwtththewriteaxnmand
shamran~pcbvlarsI>Etge.

Advertisement

loading

This manual is also suitable for:

Fx-16nt-s3