User`s manual
FX communication
FX
2N
-232IF 10
10-24
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>
8 bytes
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 b8
→
M18:RS(RTS)
b1
→
M11:Receive completion b9
→
M19:ER(DTR)
b2
→
M12:Receive time-out b10
→
M20:Undefined
b3
→
M13:Error occurrence b11
→
M21:Undefined
b4
→
M14:Receive suspended b12
→
M22:DR(DSR)
b5
→
M15:Undefined b13
→
M23:CD(DCD)
b6
→
M16:Being sent b14
→
M24:CS(CTS)
b7
→
M17:Being received b15
→
M25:CI(RI)
f ) Send byte count <BFM #1000>
9bytes
g ) Send buffers <BFMs #1001
∼
>
9-byte send data “123456789” is prepared in the ASCII code in accordance with the send
byte count specified above.
h ) Receive buffers
8-byte receive data specified in accordance with the receive upper limit byte count (BFM
#2) is read to the data registers D301 to D308 in the programmable controller.
(BFM#1001)
(BFM#1002)
(BFM#1003)
(BFM#1004)
(BFM#1005)
lgnored 1 (31 H )
lgnored 2 (32 H )
lgnored 3 (33 H )
lgnored 4 (34 H )
lgnored 5 (35 H )
1 byte
2 byte
3 byte
4 byte
5 byte
Upper byte Lower byte
(BFM#1006)
(BFM#1007)
(BFM#1008)
(BFM#1009)
lgnored 6 (36 H )
lgnored 7 (37 H )
lgnored 8 (38 H )
lgnored 9 (39 H )
6 byte
7 byte
8 byte
9 byte