FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (FX
5) Status <BFM #28>
→
b0
M10: Sending complete
→
b1
M11: Receiving complete
b2
→
M12: Receiving timeout
b3
→
M13: Error occurrence
b4
→
M14: Receiving suspended
b5
→
M15: Undefined
b6
→
M16: Sending
b7
→
M17: Receiving
6) Number of bytes to be sent <BFM #1000>
9 bytes
7) Send data buffer <BFM #1001 and later>
The send data "Test data" in ASCII code is provided to 9 bytes (as specified in BFM #1000).
(BFM#1001)
(BFM#1002)
(BFM#1003)
(BFM#1004)
(BFM#1005)
8) Receive data buffer <BFM #2001 and later>
Eight bytes specified by the maximum number of receivable bytes (BFM #2) are read to data registers
D301 to D308 in the PLC.
G-38
-232IF)
2N
highest-order
lowest-order
Ignored
T (54H)
Ignored
e (65H)
Ignored
s (73H)
Ignored
t (74H)
Ignored
(20H)
Space
→
b8
M18: RS(RTS)
→
b9
M19: ER(DTR)
b10
→
M20: Undefined
b11
→
M21: Undefined
b12
→
M22: DR(DSR)
b13
→
M23: CD(DCD)
b14
→
M24: CS(CTS)
b15
→
M25: CI(RI)
1st byte
(BFM#1006)
2nd byte
(BFM#1007)
3rd byte
(BFM#1008)
4th byte
(BFM#1009)
5th byte
6 Practical Program Examples
6.2 Sending/Receiving 8-Bit Buffer Length Data
Ignored
d (64H)
Ignored
a (61H)
Ignored
t (74H)
Ignored
a (61H)
6th byte
7th byte
8th byte
9th byte