User`s manual

321
CHAPTER 13 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)
13
13.3 Performing ASCII-BIN Conversion for Data Communicated via Non Procedure Protocol
13.3 Performing ASCII-BIN Conversion for Data
Communicated via Non Procedure Protocol
This section explains the ASCII-BIN conversion of data to be communicated using the non procedure protocol.
(1) The following shows the range of transmission/reception data for which ASCII-
BIN conversion can be performed.
When sending or receiving data, the Q series C24 processes data as follows:
(a) Out of the data in the applicable data range shown above, the Q series C24 sends
and receives data whose data code is in the range of 30H to 39H ("0" to "9") and 41H
to 46H ("A" to "F").
(b) During data reception, the Q series C24 regards the arbitrary data section as ASCII
code data, converting it to binary code data for storage in the buffer memory.
The user frame section is received in the data format corresponding to the registration contents in the Q series
C24. During data transmission, the Q series C24 regards data designated by the programmable controller CPU
(an arbitrary data section in the transmission message) and user-frame sections as binary code data,
converting them into ASCII code data and transmitting them.
Applicable data range at transmission
Arbitrary data section
Applicable data range at reception
Applicable data range at transmission
User frame
(first frame)
Arbitrary
data
section
User frame
(last frame)
Applicable data range at reception
Message at transmission/
reception in arbitrary format
Message at transmission/
reception using user frames
(H) (L)
(0212H)
(0002H)
31H 32H 30H 41H 42H 43H
0
32H 33H
2213A
B
C
00H , 02H
02H , 12H
BCH , 3AH
(BC3AH)
(No. of data in word units)
Transmission data count/
Receive data count
Buffer memory (transmission area/reception area)
Arbitrary data section
Head data
External device (When communicated in an arbitrary format)
Receive
Send
Transmission data/
receive data
Conversion