Mitsubishi Electric FX3U-232-BD User Manual page 677

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 (FX
1. Communication format
Select the communication format to
be used to send and receive data in
the 232IF from the formats shown to
the right.
1) The header can be specified
before the data in the
communication format.
2) In the communication format [1],
hexadecimal (binary) values and
ASCII codes can be sent and
received.
When using the communication
formats [2] to [9], make sure to use
ASCII codes as the sent and
received data.
The received data should not
include the header, terminator or
CR. (In communication formats [4],
[7] and [9], the data area after "CR"
is not received.)
By specifying b13 and b12 of BFM
#0, the ASCII-Hexadecimal
conversion function can be used
for communication.
3) ASCII codes "01H" to "1FH" can be used as the head terminator.
4) In the RS-232C interlink connection mode, the communication formats [2] to [7] are valid.
2. b0 to b7 (data length, parity, stop bit and baud rate)
Align the setting of b0 to b7 with the communication specifications in the connected external equipment.
3. b9 and b8 (control line)
1) When "control line not provided (b9 = 0, b8 = 0)" is specified, data is transferred using only the SD and
RD signals without using the control line.
2) When the "standard RS-232C mode (b9 = 0, b8 = 1)" is specified, use a cross cable to connect
equipment with the terminal specifications, and use a straight cable to connect equipment with the
modem specifications.
3) When the "RS-232C interlink connection mode (b9 = 1, b8 = 1)" is specified, the sending request (RS)
signal works as the receiving enable signal for the 232IF. When the 232IF receives data beyond the
maximum number of receivable bytes (BFM #2), it turns OFF the receiving enable (RS) signal to ask the
external equipment to suspend sending.
At this time, by withdrawing the contents of the received data buffer to data registers in the PLC using a
sequence program, the 232IF can continuously receive the remaining data.
When this mode is specified, make sure to perform the interlink connection for RS-232C.
4. b11 and b10 (CR and LF addition)
The following specification methods are applicable:
1) Both CR and LF are not added (b11 = 0, b10 = 0).
2) Only CR is added (b11 = 0, b10 = 1).
3) Both CR and LF are added (b11 = 1, b10 = 1).
For the CR/LF addition format, refer to the communication format list above.
-232IF)
2N
[1]
[2]
[3]
[4]
[5]
Header
Header
[6]
[7]
Header
[8]
[9]
For the wiring of equipment according to each setting, refer to Chapter 4.
For the operation of the control line, refer to Section 5.5.
Data
Termi-
Data
nator
Termi-
Data
CR
nator
Termi-
Data
CR
nator
Termi-
Data
Sum
nator
Termi-
Data
Sum
nator
Termi-
Data
Sum
nator
Data
CR
Data
CR
LF
5 Creating Programs
5.4 Buffer Memory (BFM)
A
B
LF
C
CR
CR
LF
D
E
F
G
H
Apx.A
G-21
I

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents