Error Read - Mf - 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
Parameters
4-5-21 ERROR READ – MF
Command Format
Response Format
1
0
x 10
x 10
@
M
Node no.
Header
code
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
Bit
6
5
4
7
0
0
0
0
Reads and clears errors in the PC. Also checks whether previous errors have
been cleared.
1
x 10
@
Node no.
An end code of 00 indicates normal completion.
1
0
3
2
x 16
x 16
x 16
x 16
F
End code
Error information
(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
3
2
1
0
0
0
Bit
Operation mode
1
0
0
0
PROGRAM mode
1
0
MONITOR mode
1
1
RUN mode
0
1
x 10
x 10
x 10
M
F
Header
Error clear
code
1
0
3
2
1
x 16
x 16
x 16
x 16
x 16
Error information
(2nd word)
Section
This area is different
from that of STATUS
READ.
:
0
FCS
Terminator
:
0
x 16
FCS
Terminator
4-5
295

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents