C-mode Command Details
4-3-23 STATUS READ – – MS
Command Format
Response Format
1
@
x 10
x 10
Unit No. (BCD)
Parameters
Reads the operating conditions (status) of the CPU Unit.
0
1
0
M
S
x 16
x 16
x 16
Header
End code
code
"Status data" consists of four digits (two bytes) hexadecimal. The leftmost byte
indicates the CPU Unit operation mode, and the rightmost byte indicates the
size of the program area.
3
x 16
15 14 13 12 11 10 9
Bit
0
0
0
1
x 16
7
6
5
Bit
0
Bit
6
5
0
0
0
1
0
1
1
0
1
0
1
1
(In the case of a CJ2 CPU Unit, this is fixed at 111)
Message (Response)
The message for any FAL/FALS occurring during command execution will be
returned.
1
0
@
M
S
x 10
x 10
Header
Unit No. (BCD)
code
3
2
1
0
x 16
x 16
x 16
Status data
Message
The message is attached only
when there is a FAL/FALS message
(always 16 characters)
2
x 16
8
0 0 0
0
x 16
4
3
2
1
0
0
0 0
1: UM not write-protected
0: UM write-protected
Program area
4
1
10K steps
0
20K steps
1
30K steps
0
60K steps
1
120K steps
0
250K steps
Section 4-3
*
↵
FCS
Terminator
*
↵
FCS
Terminator
Bit
Operation mode
9
8
0
0
PROGRAM mode
1
0
RUN mode
1
1
MONITOR mode
133