G-35
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (FX
2N
-232IF)
6 Practical Program Examples
6.1 Example of Sending/Receiving 16-Bit Buffer Length Data
A
Comm
on I
te
ms
B
N:
N N
etwo
rk
C
Paral
le
l Li
nk
D
Com
puter Li
nk
E
In
verter
C
omm
uni
cation
F
N
on-Proto
col
C
ommunicati
on
(R
S/RS
2 Instru
ction
)
G
No
n-
Protoc
ol
Co
mmuni
ca
tion
(FX
2N
-2
32IF)
H
Programm
ing
Comm
uni
cation
I
Re
mo
te
Ma
intenance
Apx.A
D
isco
nti
nued
models
3. Operation chart
(M10)
BFM#1000
(M1)
BFM#1 b0
Sending/receiving
enable
BFM#1001 to #1256
Send data buffer
The sending complete flag is
set to OFF also by the next
sending command.
BFM#28 b0
Sending complete
BFM#13
Amount of remaining
send data
9 8 7
0
BFM#1 b1
Sending command
(M0)
6 5 4 3
2 1
(M2)
Maximum number of
receivable bytes
BFM#14
Amount of received
data buffers
BFM#28 b1
Receiving complete
BFM#1 b2
Receiving complete flag reset command
BFM#2001 to #2256
Received data buffer
BFM#2000
Number of received
bytes
(M11)
When the receiving complete flag is not reset
The contents of received data buffer are cleared also.
8
7
0
6
5
4
3
2
1
1
0
2
3
4
BFM#2
Number of bytes
to be sent
ST
X
ET
X
ST
X
#1001 (hi
ghest-order byte)
S
e
nding
Re
ce
iv
in
g
#1001 (l
owest-order byte)
#1002 (l
owest-order byte)
#1003 (l
owest-order byte)
#1004 (l
owest-order byte)
#1005 (l
owest-order byte)
#1002 (hi
ghest-order byte)
#1003 (hi
ghest-order byte)
#1004 (hi
ghest-order byte)
#2001 (lowest-order byte)
#2001 (hi
ghest-order byte)
#2002 (lowest-order byte)
#2002 (hi
ghest-order byte)
#2003 (lowest-order byte) #2003 (hi
ghest-order byte)
#2004 (lowest-order byte)
#2004 (hi
ghest-order byte)
ST
X
ET
X
ST
X
ET
X
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......