G-39
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (FX2N-232IF)
6 Practical Program Examples
6.2 Sending/Receiving 8-Bit Buffer Length Data
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX
2N
-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
3. Operation chart
SendingReceiving
(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
BFM#2
Number of bytes
to be sent
#1001 (lowest-order byte)
#1003 (lowest-order byte)
STX
#1002 (lowest-order byte)
8
7
0
6
5
4
3
2
1
#1005 (lowest-order byte)
#1007 (lowest-order byte)
#1009 (lowest-order byte)
#1004 (lowest-order byte)
#1006 (lowest-order byte)
#1008 (lowest-order byte)
STX
ETX
STX
ETX
#2001 (lowest-order byte)
#2002 (lowest-order byte)
#2003 (lowest-order byte)
#2004 (lowest-order byte)
#2005 (lowest-order byte)
#2006 (lowest-order byte)
#2007 (lowest-order byte)
#2008 (lowest-order byte)
STX
ETX