Mitsubishi FX3U-232-BD User Manual page 508

Fx3u series
Hide thumbs Also See for FX3U-232-BD:
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
10.6
Communication Setting Method Using Sequence Program
In the setting method using a sequence program, transfer values to the communication format device (D8120,
D8400 or D8420).
This section explains related devices and the setting method using a sequence program.
10.6.1 Communication setting for RS instruction
The following device is used in the communication setting.
1. D8120 (communication format)
By setting values to D8120, the data length, parity, baud rate, etc. can be set.
The table below shows the contents of D8120.
Bit No.
b0
b1
b2
b3
b4
b5
b6
b7
b8
b9
b10
b11
b12
*1
b13
*1
b14
*1
Control procedure
b15
*1.
Make sure to set as "0" when using non-protocol communication.
*2.
When using the RS-485/RS-422 interface, only FX
FX
PLCs are applicable.
3UC
To set the communication type, use the following program.
M8002
Initial pulse
D8120 = [
F-70
Name
Data length
b2, b1
(0, 0): Not provided
Parity
(0, 1): Odd
(1, 1): Even
Stop bit
b7, b6, b5, b4
(0, 0, 1, 1): 300
Baud rate
(0, 1, 0, 0): 600
(bps)
(0, 1, 0, 1): 1200
(0, 1, 1, 0): 2400
Header
Terminator
b11, b10
(0, 0): Not provided <RS-232C interface>
Non-
(0, 1): Standard mode <RS-232C interface>
protocol
(1, 0): Interlink mode <RS-232C interface>
commu-
nication
Control line
(1, 1): Modem mode
<RS-232C interface, RS-485/RS-422 interface
Com-
b11, b10
puter
(0, 0): RS-485/RS-422 interface
link
(1, 0): RS-232C interface
Sum check
Protocol
FNC 12
MOV
b15
0000
1100
1000
0
C
8
10 When Combined with Another Communication
10.6 Communication Setting Method Using Sequence Program
Contents
0 (bit = OFF)
7-bit
1-bit
b7, b6, b5, b4
(0, 1, 1, 1): 4800
(1, 0, 0, 0): 9600
(1, 0, 0, 1): 19200
Not provided
Not provided
(FX
whose version is Ver. 2.00 or later, FX
2N
Not applicable
Not added
Not used
Format 1
, FX
1S
0N
H0C86
D8120
Parity
Stop bit
b0
Baud rate
0110
]
Protocol
6
Header
Terminator
Control line
1 (bit = ON)
8-bit
2-bit
Provided (D8124) initial value: STX (02H)
Provided (D8125) initial value: ETX (03H)
, FX
3U
*2
>
Added
Used
Format 4
, FX
, FX
, FX
, FX
1N
2N
3U
1NC
Data length
Even
1-bit
9600 bps
Non-protocol
Not provided
Not provided
Modem mode
, and FX
)
2NC
3UC
, FX
, and
2NC
7-bit

Advertisement

Table of Contents
loading

Table of Contents