Omron C200HX Operation Manual page 485

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Host Link Commands
10-3-6 DM AREA READ –– RD
Command Format
1
x 10
x 10
@
Node no.
Response Format
1
x 10
x 10
@
Node no.
Limitations
PC Settings
Execution Conditions
End Codes
Reads the contents of the specified number of DM words, starting from the spe-
cified word.
0
3
2
x 10
x 10
x 10
R
D
Header
Beginning word
code
(0000 to 9999)
Note To specify 10,000 words, input 0000 for the number of words to be read.
0
1
0
x 16
x 16
x 16
R
D
Header
End code
code
Read data (for number of words read)
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.
DM 6656 to DM 6999 do not exist, but an error will not occur if you try to read
these words. Instead, "0000" will be returned as a response. Likewise, "0000"
will be returned for extension DM words (DM 7000 to DM 9999) if extension DM
hasn't been allocated in the UM area.
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 Mode
RUN
MONITOR
OK
Commands
Single
OK
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
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
1
0
3
2
1
x 10
x 10
x 10
x 10
x 10
No. of words
(0001 to 10000)
(see note)
3
2
1
0
x 16
x 16
x 16
Read data (1 word)
PROGRAM
Write-protected
OK
OK
Multiple
---
Contents
Section 10-3
0

FCS
Terminator

FCS
Terminator
UM Area
Read-protected
OK
OK
Responses
Single
Multiple
OK
OK
467

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents