Specifications

Appendix 6 Universal Serial Communications App6-31
Read CHR Command
When memory contents are in the form of characters when data is read, 1 character (1 byte) is
converted into 2-byte ASCII code and transmitted. However, when this command is used, contents
are not converted before transmission, and thus, the transmission time is decreased by approximately
1/2.
Read CHR command
Example: Address: Call up 4 characters that are written at the top of 0020 (0014H).
- Host side
There should be no more than 5 DLEs.
Address: Top address of the data memory to be read (HEX ASCII)
Count: Number of characters to be read (HEX ASCII)
* When the data to be read is not continuous, “DLE” is inserted as a delimiter
between the breaks.
- V series side
Address and count are omitted and DLE and data are transmitted.
HL
A
d
d
r
e
s
s
A
d
d
r
e
s
s
C
o
u
n
t
C
o
u
n
t
D
L
E
R C
D
L
E
S
T
X
E
T
X
S
U
M
HL
D
L
E
D
L
E
S
T
X
E
T
X
S
U
M
Memory
data
Memory
data
Read CHR command
Host side
V series side
Transmission
data
Transmission
data
02H 52H 43H 33H 33H30H 30H 31H 34H 30H 30H 30H 34H10H 03H
D
L
E
R C 0 0 1 4 0 0 0 4 3 3
S
T
X
E
T
X
02H 31H 46H41H 42H 43H 44H 03H10H
D
L
E
A B C D 1 F
S
T
X
E
T
X
Host side
V series side
The “A,” “B,” “C,” and “D” character
codes are sent from the V series as
shown below.
Send data