Omron SYSMAC C200HS Operation Manual page 415

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

Advertisement

Host Link Commands
11-3-7 AR AREA READ –– RJ
Command Format
1
x 10
x 10
@
Node no.
Response Format
1
@
x 10
x 10
Node no.
Parameters
11-3-8 IR/SR AREA WRITE –– WR
Command Format
1
0
x 10
x 10
@
W
Node no.
Response Format
Parameters
410
Reads the contents of the specified number of AR words, starting from the speci-
fied word.
0
3
2
x 10
x 10
x 10
R
J
Header
Beginning word
code
(0000 to 0027)
0
1
0
R
J
x 16
x 16
x 16
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.
Writes data to the IR and SR areas, starting from the specified word. Writing is
done word by word.
3
2
1
x 10
x 10
x 10
x 10
R
Header
Beginning word
code
(0000 to 0511)
Note Data cannot be written to words 253 to 255. If there is an attempt to write to these
words, no error will result, but nothing will be written to these words.
@
Write Data (Command)
Specify in order the contents of the number of words to be written to the IR or SR
area in hexadecimal, starting with the specified beginning word.
Note If data is specified for writing which exceeds the allowable range, an error will be
generated and the writing operation will not be executed. If, for example, 511 is
specified as the beginning word for writing,and two words of data are specified,
then 0512 will become the last word for writing data, and the command will not be
executed because SR 512 is beyond the writeable range.
1
0
3
2
1
x 10
x 10
x 10
x 10
No. of words
(0001 to 0028)
3
2
1
0
x 16
x 16
x 16
Read data (1 word )
Read data
(for number of words read)
0
3
2
1
0
x 16
x 16
x 16
x 16
Write data (1 word)
Write data
(for number of words to write)
1
0
x 10
x 10
x 16
W
R
Node no.
Header
End code
code
Section 11-3
0
x 10
:
FCS
Terminator
:
FCS
Terminator
:
Terminator
FCS
1
0
:
x 16
FCS
Terminator

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents