6-6-11 Controller Status Read - Omron SYSMAC CS1W-CLK11 Operation Manual

Table of Contents

Advertisement

Commands and Responses for C200HX/HG/HE and CQM1H-series PCs
Item
Program area size
No. of DM words
Number of Expansion
DM banks

6-6-11 CONTROLLER STATUS READ

Command Block
Response Block
Parameters
Meaning
The size of PC Setup and program area
Total words in the DM area
Number of banks in the Expansion DM area
PC status (response): The status of connected tools is returned:
00 (Hex):
80 (Hex):
Reads the status of the Controller.
06
01
Command
code
06
01
Command
Response
code
code
Status (response): The operating status of the PC as follows:
00 (Hex): Stop (program not being executed)
01 (Hex): Run (program being executed)
80 (Hex): CPU Unit on standby
Mode (response): One of the following PC modes:
00 (Hex): PROGRAM
02 (Hex): MONITOR
04 (Hex): RUN
Fatal error data (response): The contents of fatal error information from the
PC. (For details refer to the operation manual of the PC that is being used.)
15 14 13 12 11 10
Bit
Non-fatal error data (response): The contents of non-fatal error information
from the PC. (For details refer to the operation manual of the PC that is being
used.)
K words (1K words = 1,024 words;
1 word = 2 bytes))
Words (1 word = 2 bytes)
Banks
No recognized tool connected
Recognized tool connected
Fatal error
data
Status
Mode
First byte
9
8
7
0
0
0
0
Section 6-6
Unit (Hex)
16 bytes
FAL/
Error
FALS no.
message
Second byte
6
5
4
3
2
1
0
0
0
0
0
1: System error (FALS)
1: No END instruction
1: I/O setting error
1: I/O point overflow
1: CPU bus error
1: Memory error
0
0
163

Advertisement

Table of Contents
loading

Table of Contents