Omron C200HX Operation Manual page 514

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Host Link Commands
10-3-32 PROGRAM READ –– RP
Command Format
Response Format
Limitations
PC Settings
Execution Conditions
End Codes
496
Reads the contents of the PC user's program area in machine language (object
code). The contents are read as a block, from the beginning to the end.
x 10
@
Node no.
1
0
x 10
x 10
@
R
P
Node no.
Header
code
The command is valid only when the UM setting is ladder only.
The command can't be executed if the UM area is read-protected.
Data is read from the beginning of the ladder area to the maximum limit of the
program area. (For example, $A06C0 through $A7FBF when the UM size is 16K
words and none of the UM area is allocated to expansion DM or I/O comments.)
The beginning read address and the length of the response depend on the UM
area settings (such as the amount of memory allocated to expansion DM).
The response's first frame can contain up to 30 words of program data. The se-
cond and later frames can contain up to 31 words each.
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
OK
Commands
Single
OK
An end code of 14 (format error) will be returned if the length of the command is
incorrect.
End code
00
Normal completion
13
FCS error
14
Format error
18
Frame length error
23
User memory protected
A3
Aborted due to FCS error in transmit data
A8
Aborted due to frame length error in transmit data
1
0
x 10
R
P
Header
FCS
code
1
0
x 16
x 16
End code
1 byte
Program (for entire UM area)
PROGRAM
Write-protected
OK
OK
Multiple
Single
---
OK
Contents
Section 10-3

Terminator

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents