Mitsubishi FX3U-USB-BD User Manual page 614

Melsec-f fx series programmable controllers
Hide thumbs Also See for FX3U-USB-BD:
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (FX
4) Header and terminator <BFM #4 to 11>
BFM #4 and 8 (sending header and receiving header): 02
BFM #6 and 10 (sending terminator and receiving terminator): 03
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 codes is provided to 9 bytes (as specified in BFM#1000).
(BFM#1001)
(BFM#1002)
(BFM#1003)
(BFM#1004)
The 10th byte is not sent.
(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 D304 in the PLC.
G-34
-232IF)
2N
2nd byte
highest-order lowest-order
e (65H)
T (54H)
4th byte
t (74H)
s (73H)
6th byte
d (64H)
(20H)
8th byte
t (74H)
a (61H)
10th byte
* *
a (61H)
6.1 Example of Sending/Receiving 16-Bit Buffer Length Data
(STX)
H
(ETX)
H
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
3rd byte
5th byte
Space
7th byte
9th byte
6 Practical Program Examples

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents