Program Read - Rp; Program Write - Wp - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Host Link Commands
Response Format
Parameters
4-5-28 PROGRAM READ – RP
Command Format
Response Format
Parameters
4-5-29 PROGRAM WRITE – WP
Command Format
Response Format
Parameters
An end code of 00 indicates normal completion.
1
0
x 10
x 10
@
Node no.
Characters (Command, Response)
For the command, this setting specifies any characters other than the carriage
return (CHR$(13)). For the response, the same characters as specified by the
command will be returned unaltered if the test is successful.
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.
@
An end code of 00 indicates normal completion.
1
0
x 10
x 10
@
R
Node no.
Program (Response)
The program is read from the entire program area.
Note To stop this operation in progress, execute the ABORT (XZ) command.
Writes to the PC user's program area the machine language (object code) pro-
gram transmitted from the host computer. The contents are written as a block,
from the beginning.
1
x 10
x 10
@
Node no.
An end code of 00 indicates normal completion.
x 10
@
Program (Command)
Program data up to the maximum memory size.
122 characters max.
T
S
Header
Characters
code
1
0
x 10
x 10
R
P
Node no.
Header
code
1
0
1
x 16
x 16
x 16
P
Header
End code
1 byte
code
Program (for entire UM area)
0
1
0
x 16
x 16
W
P
Header
1 byte
code
Program (Up to maximum memory size)
1
0
1
x 10
x 16
W
P
Node no.
Header
End code
code
Section
FCS
:
FCS
Terminator
0
x 16
FCS
:
FCS
Terminator
:
0
x 16
FCS
Terminator
4-5
:
Terminator
:
Terminator
301

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Questions and answers

Table of Contents