Status Write - Sc - 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
3
x 16
Bit
15 14 13 12
0
0
1: FALS generated
4-5-20 STATUS WRITE – SC
Command Format
Response Format
294
Status Data, Message (Response)
"Status data" consists of four digits (two bytes) hexadecimal. The leftmost byte
indicates CPU Unit operation mode, and the rightmost byte indicates the size of
the program area.
2
x 16
11
10
9
8
0
0
1: Fatal error generated
x 16
Bit
7
6
1
Bit
6
5
0
0
0
0
0
1
The "Message" parameter is a 16-character message that exists when MSG(47)
has been executed. When there is no message, this parameter is omitted.
Changes the PC operating mode.
1
x 10
x 10
@
Node no.
An end code of 00 indicates normal completion.
1
x 10
x 10
@
Node no.
Bit
Operation mode
9
8
0
0
PROGRAM mode
1
0
RUN mode
1
1
MONITOR mode
1
0
x 16
5
4
3
2
1
0
0
0
0
Program area write-protection
0: Write-protected
Program area
1: Not write-protected
4
0
None
1
4 Kbytes
0
8 Kbytes
0
1
0
x 16
x 16
S
C
Header
Mode data
code
0
1
0
x 16
x 16
S
C
Header
End code
code
Section
4-5
This area is different
from that of STATUS
WRITE.
:
FCS
Terminator
:
FCS
Terminator

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents