Communication Format Setting [D8370, D8400 And D8420] - Mitsubishi Electric FX3U-232-BD User Manual

Melsec-f fx series programmable controllers data communication edition
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)

12.4.9 Communication format setting [D8370, D8400 and D8420]

These devices set the communication format.
1. Detailed contents
These devices can set the data length, parity, baud rate, etc.
When communication port ch0 is used, D8370 sets the communication format.
When communication port ch1 is used, D8400 sets the communication format.
When communication port ch2 is used, D8420 sets the communication format.
The table below shows the contents of the communication format settings. Computer link setting is not
applicable for D8370, D8400.
Bit No.
b0
Data length
b1
b2
b3
b4
b5
b6
b7
*1
b8
*1
Terminator
b9
b10
b11
Control line
b12
b13
Sum check
*5
b14
b15
procedure
*1.
Make sure to set as "0" when using computer link.
*2.
In RS2 instruction, up to four headers and up to four terminators can be set.
*3.
The control line is not available in FX
*4.
When executing non-protocol communication using RS2 instruction, add the sum check after the
terminators.
Make sure to set the terminators when adding the sum check.
*5.
Make sure to set as "0" when using non-protocol communication.
2. Cautions on use
• In FX
, FX
3S
3U
• Even if the communication format is changed while the RS2 instruction is being driven, it is not reflected.
• In FX
and FX
3G
Name
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
Non-protocol
communication
Computer link
Protocol
Non-protocol
Control
communication
(CR, LF)
Computer link
and FX
PLCs, the communication format can be set using parameters.
3UC
PLCs, the communication format can be set only for ch1 and ch2 using parameters.
3GC
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
(1, 0, 1, 0): 38400
Not provided
Not provided
b12, b11, b10
(0, 0, 0): Not provided <RS-232C interface>
(0, 0, 1): Standard mode <RS-232C interface>
(0, 1, 0): Interlink mode <RS-232C interface>
*3
(0, 1, 1): Modem mode <RS-232C interface>
(1, 1, 1): Communication in accordance with RS-485
<RS-485/RS-422 interface>
b12, b11, b10
(0, 0, 0): RS-485/RS-422 interface
(0, 1, 0): RS-232C interface
Not added
Not used
CR, LF: Not used
(Format 1)
CR, LF: Not used
(Format 1)
, FX
PLCs when ch0 is used. Set "(1, 1, 1)".
3G
3GC
12 Related Data
12.4 Details of Related Devices (RS2 Instruction)
1 (bit = ON)
8-bit
2-bit
*2
Provided
*2
Provided
*4
Added
Used
Non-protocol
CR, LF: Used
communication
(Format 2)
CR, LF: Used
Computer link
(Format 4)
A
B
C
D
E
F
G
H
I
Apx.A
F-101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents