![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436412.webp)
407
Reception Format
When TXD(––) is executed, the data stored in the words beginning with the first
send word is converted to ASCII and output to the host computer as a host link
command in the format shown below. The “@” symbol, node number, header
code, FCS, and delimiter are all added automatically when the transmission is
sent. At the host computer, it is necessary to prepare in advance a program for
interpreting and processing this format.
@
:
E
X
FCS
↵
Node no.
Header code
(Must be “EX”)
Text
122 characters max.
Terminator
One byte of data (2 digits hexadecimal) is converted to two characters in ASCII
for transmission, the amount of data in the transmission is twice the amount of
words specified for TXD(––). The maximum number of characters for transmis-
sion is 122 and the maximum number of bytes that can be designated for
TXD(––) is one half of that, or 61.
11-3 Host Link Commands
This section explains the commands that can be issued from the host computer
to the PC.
11-3-1 IR/SR AREA READ –– RR
Reads the contents of the specified number of IR and SR words, starting from
the specified word.
Command Format
@
FCS
x 10
1
x 10
0
x 10
3
x 10
2
:
↵
R
R
x 10
1
x 10
0
x 10
3
x 10
2
x 10
1
x 10
0
Node no.
Header
code
Beginning word
(0000 to 0511)
No. of words
(0000 to 0512)
Terminator
Response Format
@
R
R
FCS
x 10
1
x 10
0
x 16
1
x 16
0
:
↵
x 16
3
x 16
2
x 16
1
x 16
0
End code
Read data (1 word)
Read data (for number of words read)
Terminator
Node no.
Header
code
Parameters
Read Data (Response)
The contents of the number of words specified by the command are returned in
hexadecimal as a response. The words are returned in order, starting with the
specified beginning word.
11-3-2 LR AREA READ –– RL
Reads the contents of the specified number of LR words, starting from the speci-
fied word.
Command Format
@
R
L
FCS
x 10
1
x 10
0
x 10
3
x 10
2
:
↵
x 10
1
x 10
0
x 10
3
x 10
2
x 10
1
x 10
0
Node no.
Header
code
Beginning word
(0000 to 0063)
No. of words
(0001 to 0064)
Terminator
Host Link Commands
Section 11-3
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...