Omron C200HE User Manual

Page of 564
458
10-3 Host Link Commands
This section explains the various Host Link commands that can be issued from
the host computer to the PC. Refer to 8-2 Host Link Communications for in-
formation on the procedures for using host link commands and errors
associated with host link commands.
10-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
(0001 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
Limitations
The text portion of the response’s first frame can contain up to 30 words. If more
than 30 words are read, the data will be returned in multiple frames.
In the second and later frames, the text portion of the response can contain up to
31 words.
The INITIALIZE and ABORT commands can be sent instead of the delimiter for
multiple responses for this command. If other commands are sent, they will be
treated the same as delimiters.
PC Settings
PC Mode
UM Area
RUN
MONITOR
PROGRAM
Write-protected
Read-protected
OK
OK
OK
OK
OK
Execution Conditions
Commands
Responses
Single
Multiple
Single
Multiple
OK
---
OK
OK
End Codes
An end code of 14 (format error) will be returned if the length of the command is
incorrect and an end code of 15 (entry number data error) will be returned if the
specified words exceed the data area boundaries or aren’t specified in BCD.
End code
Contents
00
Normal completion
13
FCS error
14
Format error
15
Entry number data error
18
Frame length error
A3
Aborted due to FCS error in transmit data
A8
Aborted due to frame length error in transmit data
Host Link Commands
Section 10-3