Omron C200HX Computer Hardware User Manual


 
465
Response Format
@ RE
x 10
1
x 10
0
x 16
1
x 16
0
x 16
3
x 16
2
x 16
1
x 16
0
FCS
Node no. End codeHeader
code
Read data (1 word)
Read data (for number of words read)
Terminator
Limitations The text portion of the responses 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.
If a valid bank number is specified but the PC isnt equipped with that EM bank,
0000 will be returned as the read data.
This command cant be used to change the current bank number.
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, the specified words arent
specified in BCD, or an invalid bank number is specified.
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
10-3-9 IR/SR AREA WRITE –– WR
Writes data to the IR and SR areas, starting from the specified word. Writing is
done word by word.
Command Format
@ WR
FCS
x 10
1
x 10
0
x 10
3
x 10
2
x 10
1
x 10
0
x 16
3
x 16
2
x 16
1
x 16
0
Node no. Header
code
Beginning word
(0000 to 0511)
Write data (1 word)
Write data
(for number of words to write)
Terminator
Host Link Commands
Section 10-3