User`s manual

FX communication
FX
2N
-232IF 10
10-20
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 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>
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.
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.
10th byte is not sent.
2 (32 H ) 1 (31 H )
4 (34 H ) 3 (33 H )
6 (36 H ) 5 (35 H )
8 (38 H ) 7 (37 H )
* * 9 (39 H )
2nd byte
4th byte
6th byte
8th byte
10th byte
1st byte
3rd byte
5th byte
7th byte
9th byte
Upper byte Lower byte
(BFM#1001)
(BFM#1002)
(BFM#1003)
(BFM#1004)
(BFM#1005)