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
WORD
WORD
WORD
WORD
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
02
H
57
H
43
H
38
H
35
H
30
H
30
H
36
H
34
H
30
H
30
H
30
H
38
H
45
H
46
H
47
H
48
H
49
H
4A
H
4B
H
4C
H
10
H
03
H
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
Содержание V Series
Страница 1: ...V Series...
Страница 35: ...2 10 2 Allen Bradley PLC Please use this page freely...
Страница 41: ...3 6 3 Automationdirect PLC Please use this page freely...
Страница 49: ...6 4 6 FANUC PLC Please use this page freely...
Страница 53: ...7 4 7 FATEK AUTOMATION PLC Please use this page freely...
Страница 79: ...12 8 12 KEYENCE PLC Please use this page freely...
Страница 95: ...14 8 14 LG PLC Please use this page freely...
Страница 119: ...16 20 16 MITSUBISHI ELECTRIC PLC Please use this page freely...
Страница 135: ...20 4 20 SAIA PLC Please use this page freely...
Страница 155: ...24 12 24 Siemens PLC Please use this page freely...
Страница 163: ...27 4 27 TOSHIBA PLC Please use this page freely...
Страница 169: ...29 4 29 Toyoda Machine Works PLC Please use this page freely...
Страница 185: ...33 6 33 Yokogawa Electric PLC Please use this page freely...
Страница 215: ...App2 8 Appendix 2 n 1 Connection Multi link 2 Please use this page freely...
Страница 221: ...App3 6 Appendix 3 n 1 Connection Multi link Please use this page freely...
Страница 225: ...App4 4 Appendix 4 1 n Connection Multi drop Please use this page freely...
Страница 317: ...App6 48 Appendix 6 Universal Serial Communications Please use this page freely...