Specifications
Appendix 6 Universal Serial Communications App6-33
Write CHR Command
When memory contents are in the form of characters, it is necessary to use a write command to
convert 1 character (1 byte) into 2 byte ASCII code and then transmit. However, with this command
contents are transmitted just as they are, and consequently, the transmission time is decreased by 1/2.
(Character codes from 00 to 1F cannot be used.)
• Write CHR command
Example: Send data to display the following characters on the V series.
Address: 0100 (0064H), EF
Address: 0101 (0065H), GH
Address: 0102 (0066H), IJ
Address: 0103 (0067H), KL
- Host side
There should be no more than 5 DLEs.
Address: Address of the memory to be written (HEX ASCII)
Count: Number of write characters (HEX ASCII)
Memory data: Data to be written
* When write data is not continuous, “DLE” is inserted as a delimiter between the
breaks.
HL
WORDWORDWORDWORD
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
W C
D
L
E
S
T
X
E
T
X
S
U
M
A
C
K
Memory
data
Memory
data
Write CHR command
Host side
V series side
Transmission data
02H 57H 43H 38H 35H30H 30H 36H 34H 30H 30H 30H 38H 45H 46H 47H 48H 49H 4AH 4BH 4CH10H 03H
D
L
E
W C 0 0 6 4 0 0 0 8 E F G H I J K L 8 5
S
T
X
E
T
X
A
C
K
Host side
V series side