133
C-mode Command Details Section 4-3
4-3-23 STATUS READ – – MS
Reads the operating conditions (status) of the CPU Unit.
Command Format
Response Format
“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.
(In the case of a CJ2 CPU Unit, this is fixed at 111)
Parameters Message (Response)
The message for any FAL/FALS occurring during command execution will be
returned.
@MS
x 10
0
x 10
1
* ↵
Unit No. (BCD)
Header
code
TerminatorFCS
@MS
x 16
2
x 10
0
x 10
1
x 16
1
x 16
0
x 16
3
x 16
0
x 16
1
* ↵
Unit No. (BCD)
Header
code
Status dataEnd code Terminator
FCSMessage
The message is attached only
when there is a FAL/FALS message
(always 16 characters)
15
14 13 12 11 10 9 8
0 0 0 0 0 0
98
0
0
10
1
1
x 16
3
x 16
2
Bit
Bit
Operation mode
PROGRAM mode
RUN mode
MONITOR mode
76543210
0 0 0 0
x 16
1
x 16
0
65
00
4
1
Bit
Bit
10K steps
1: UM not write-protected
0: UM write-protected
Program area
01
0
20K steps
10
0
60K steps
101
120K steps
11
0
250K steps
011
30K steps