Mitsubishi Electric MELSEC FX Series User Manual page 140

Programmable logic controllers
Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FX communication
b ) Command <BFM #1>
M0→b0:Send/receive enable (ER ON)
M1→b1:Send command
M2→b2:Receive completion reset command
M3→b3:Error reset
c ) Receive upper limit byte count <BFM #2>
8bytes
d ) Header and terminator <BFMs #4 to #11>
BFMs #4 and #8 (send/receive header): 02H (STX)
BFMs #6 and #10 (send/receive terminator):03H (ETX)
e ) Status <BFM #28>
b0→M10:Send completion
b1→M11:Receive completion
b2→M12:Receive time-out
b3→M13:Error occurrence
b4→M14:Receive suspended
b5→M15:Undefined
b6→M16:Being sent
b7→M17:Being received
f ) Send byte count <BFM #1000>
9 bytes
g ) Send buffers <BFMs #1001∼>
9-byte send data "123456789" is prepared in ASCII code in accordance with the send byte
count specified above.
10th byte is not sent.
h ) Receive buffers <BFMs #2001∼>
8-byte receive data specified in accordance with the receive upper limit byte count (BFM
#2) is read to the data registers D301 to D304 in the programmable controller.
Upper byte
2nd byte
(BFM#1001)
2 (32 H )
4th byte
(BFM#1002)
4 (34 H )
6th byte
(BFM#1003)
6 (36 H )
8th byte
(BFM#1004)
8 (38 H )
10th byte
(BFM#1005)
* *
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)
Lower byte
1st byte
1 (31 H )
3rd byte
3 (33 H )
5th byte
5 (35 H )
7th byte
7 (37 H )
9th byte
9 (39 H )
FX
-232IF 10
2N
10-20

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs-232cRs-422Rs-485

Table of Contents