Omron SYSMAC C200HS Operation Manual page 412

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Host Link Commands
Reception Format
@
Node no. Header code
11-3 Host Link Commands
11-3-1 IR/SR AREA READ –– RR
Command Format
1
x 10
x 10
@
Node no.
Response Format
1
x 10
x 10
@
Node no.
Parameters
11-3-2 LR AREA READ –– RL
Command Format
1
x 10
x 10
@
Node no.
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
(Must be "EX")
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.
This section explains the commands that can be issued from the host computer
to the PC.
Reads the contents of the specified number of IR and SR words, starting from
the specified word.
0
3
2
x 10
x 10
x 10
R
R
Header
Beginning word
code
(0000 to 0511)
0
1
0
x 16
x 16
x 16
R
R
Header
End code
code
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.
Reads the contents of the specified number of LR words, starting from the speci-
fied word.
0
3
2
x 10
x 10
x 10
R
L
Header
Beginning word
code
(0000 to 0063)
122 characters max.
Text
1
0
3
2
1
x 10
x 10
x 10
x 10
x 10
No. of words
(0000 to 0512)
3
2
1
0
x 16
x 16
x 16
Read data (1 word)
Read data (for number of words read)
1
0
3
2
1
x 10
x 10
x 10
x 10
x 10
No. of words
(0001 to 0064)
Section 11-3
:
FCS
Terminator
0
:
FCS
Terminator
:
FCS
Terminator
0
:
FCS
Terminator
407

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents