F-94
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
12 Related Data
12.2 Details of related devices (RS instruction)
12.2.9 Communication format setting [D8120]
This device sets the communication format.
1. Detailed contents
This device can set the data length, parity, baud rate, etc.
The table below shows the contents of the communication format setting.
*1.
This setting is available only in FX
3S
, FX
3G
, FX
3GC
, FX
3U
and FX
3UC
PLCs.
*2.
When using the RS-485/RS-422 interface, only FX
0N
, FX
1S
, FX
1N
, FX
1NC
, FX
2N
, FX
2NC
, FX
3S
, FX
3G
,
FX
3GC
, FX
3U
and FX
3UC
PLCs are applicable.
*3.
Make sure to set as "0" when using non-protocol communication.
2. Cautions on use
• In all PLCs except FX
2
(FX), FX
2C
and FX
0N
PLCs, the communication format can be set using
parameters.
• Even if the communication format is changed while the RS instruction is being driven, it is not reflected.
• When setting the communication format in FX
0N
PLCs, set the communication setting latched (battery
backed) device (M8120) to ON.
12.2.10 Remaining amount of data to be sent [D8122]
This device stores the amount of remaining send data.
1. Detailed contents
This device stores the amount of remaining send data in 8-bit (1 byte) units.
Only data in communication frames are regarded as targets of counting.
Bit No.
Name
Contents
0 (bit = OFF)
1 (bit = ON)
b0
Data length
7-bit
8-bit
b1
b2
Parity
b2, b1
(0, 0): Not provided
(0, 1): Odd
(1, 1): Even
b3
Stop bit
1-bit
2-bit
b4
b5
b6
b7
Baud rate
(bps)
b7, b6, b5, b4
b7, b6, b5, b4
(0, 0, 1, 1): 300
(0, 1, 1, 1): 4800
(0, 1, 0, 0): 600
(1, 0, 0, 0): 9600
(0, 1, 0, 1): 1200
(1, 0, 0, 1): 19200
(0, 1, 1, 0): 2400
(1, 0, 1, 0): 38400
*1
b8
Header
Not provided
Provided (D8124) Initial value: STX (02H)
b9
Terminator
Not provided
Provided (D8125) Initial value: ETX (03H)
b10
b11
Control line
Non-
protocol
commu-
nication
b11, b10
(0, 0): Not provided <RS-232C interface>
(0, 1): Standard mode <RS-232C interface>
(1, 0): Interlink mode <RS-232C interface>
(FX
2N
PLC Ver. 2.00 or later, and FX
2NC
, FX
3S
, FX
3G
, FX
3GC
,
FX
3U
, FX
3UC
PLCs)
(1, 1): Modem mode
<RS-232C interface, RS-485/RS-422 interface
*2
>
Com-
puter
link
b11, b10
(0, 0): RS-485/RS-422 interface
(1, 0): RS-232C interface
b12
Not applicable
b13
*3
Sum check
Not added
Added
b14
*3
Protocol
Not used
Used
b15
*3
Control procedure
Format 1
Format 4
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......