Omron CPM1 Programming Manual page 402

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Host Link Commands
Parameters
6-3-23 ERROR READ –– MF
Command Format
Response Format
1
0
@
x 10
x 10
Node no.
Parameters
Mode Data (Command)
"Mode data" consists of two digits (one byte) hexadecimal. With the leftmost
two bits, specify the PC operating mode. Set all of the remaining bits to "0."
1
x 16
7
6
5
Bit
0
0
0
Reads and clears errors in the PC. Also checks whether previous errors have
been cleared.
@
An end code of 00 indicates normal completion.
1
0
3
M
F
x 16
x 16
x 16
Header
End code
Error information
code
(1st word)
Error Clear (Command)
Specify 01 to clear errors and 00 to not clear errors (BCD). Fatal errors can be
cleared only when the PC is in PROGRAM mode.
Error Information (Response)
The error information comes in two words.
0
x 16
4
3
2
1
0
0
0
0
Bit
Operation mode
1
0
0
0
PROGRAM mode
1
0
MONITOR mode
1
1
RUN mode
1
0
x 10
x 10
M
F
x 10
Node no.
Header
Error clear
code
2
1
0
3
x 16
x 16
x 16
x 16
x 16
Error information
(2nd word)
Section 6-3
This area is different
from that of STATUS
READ.
1
0
x 10
FCS
Terminator
2
1
0
x 16
x 16
FCS
Terminator
381

Advertisement

Table of Contents
loading

Table of Contents