Mitsubishi Electric FX3U-232-BD User Manual page 678

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
5. b13 and b12 (absence/presence of check sum and ASCII-Hexadecimal conversion)
The following specification methods are applicable:
1) Neither the check sum nor ASCII-Hexadecimal conversion are provided (b13 = 0, b12 = 0).
2) Only the ASCII-Hexadecimal conversion is provided (b13 = 0, b12 = 1).
3) Only the check sum is provided (b13 = 1, b12 = 0).
4) Both the check sum and ASCII-Hexadecimal conversion are provided (b13 = 1, b12 = 1).
For the check sum addition format, refer to the communication format list above.
<ASCII-Hexadecimal conversion>
When "ASCII-Hexadecimal conversion provided" is specified, the hexadecimal numeric value data (0 to
F) inside the send data buffer (BFM #1001 to 1256) is converted into ASCII data before being sent. And
the received ASCII data is converted into the hexadecimal numeric value data (0 to F) before being
stored in the received data buffer (BFM #2001 to 2256).
The number of sent/received bytes at this time indicates the amount of hexadecimal data.
<Sending format during conversion from hexadecimal data into ASCII data>
Example: When the send data is "10AB
b15
0
0
0
1
S
T
A B 1
X
02
41
42
H
H
H
<Receiving format in conversion from ASCII data into hexadecimal data>
Example: When the received data is "10AB
S
T
A
B
X
02
41
42
H
H
H
b15
0
0
0
1
G-22
-232IF)
2N
(Send data buffer BFM #1001)
1
0
0
0
0
1
0
0
A
1 byte
The number of sent bytes is "2".
Data is converted into ASCII data when
being sent.
E
T
0
X
31
30
03
H
H
H
E
T
1
0
X
31
30
03
H
H
H
(Receive data buffer BFM #2001)
1
0
0
0
0
1
0
0
A
1 byte
The number of received bytes is "2".
", the header is "STX" and the terminator is "ETX"
H
b0
1
0
1
0
1
1
B
1 byte
", the header is "STX" and the terminator is "ETX"
H
b0
1
0
1
0
1
1
B
1 byte
5 Creating Programs
5.4 Buffer Memory (BFM)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents