EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R4 - ASCII-BIN Conversion for Data Communicated with Nonprocedural Protocol

Mitsubishi Electric MELSEC iQ-RJ71C24-R4
574 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
348
17 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)
17.3 ASCII-BIN Conversion for Data Communicated with Nonprocedural Protocol
17.3 ASCII-BIN Conversion for Data Communicated
with Nonprocedural Protocol
This section explains the ASCII-BIN conversion of data to be communicated using the nonprocedural protocol.
Data range of transmit/receive processing
The range of data to be sent/received to which ASCII-BIN conversion is performed is as shown below:
C24 performs the following processing when sending or receiving data.
At the time of data reception
C24 receives data of which data code is in the range of 30H to 39H ('0' to '9') and 41H to 46H ('A' to 'F') as the data within
the above conversion applicable range.
C24 regards given data portion as ASCII code, and converts it to binary code to store in the buffer memory.
The user frame portion is received in the data format corresponding to the registration to C24.
At the time of data transmission
C24 transmits data of which data code is in the range of 30H to 39H ('0' to '9') and 41H to 46H ('A' to 'F') as the data within
the above conversion applicable range.
C24 regards data designated by the CPU module (given data portion in a transmission message) and user frame portions
as binary code data, and converts to ASCII code to transmit them.
Applicable data range at transmission
Message at transmission/
reception in arbitrary format
Arbitrary data
Applicable data range at reception
Applicable data range at transmission
User frame
(First frame)
User frame
(Last frame)
Arbitrary
data
Message at transmission/
reception using user frames
Applicable data range at reception
(H) (L)
(0212H)
(0002H)
31
H
32
H
30
H
41
H
42
H
43
H
0
32
H
33
H
2213A
B
C
00H , 02H
02H , 12H
BCH , 3AH
(BC3AH)
Target device
(When communicated in an arbitrary format)
Buffer memory (transmission area/reception area)
Head data
Transmission data count/
Receive data count
Send
Arbitrary data
Conversion
Transmission data/
receive data
Receive
(No. of data in word units)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R4

Related product manuals