6-6-10 Controller Data Read - Omron C200HW-CLK21 Operation Manual

Controller link units
Hide thumbs Also See for C200HW-CLK21:
Table of Contents

Advertisement

Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs
Response Block

6-6-10 CONTROLLER DATA READ

Command Block
Response Block
05
01
Command
Response
code
code
Parameters
Item
Program area size
No. of DM words
Number of Expansion
DM banks
04
02
Command
Response
code
code
Reads the following data:
• Controller model and version
• Area data
• PLC status
05
01
Command
code
00
00
20 bytes
Program
Controller
number
model
Controller model and Controller version (response): Both are returned in
ASCII, within 20 bytes (i.e., within 20 ASCII characters). If the model or ver-
sion information does not require 20 bytes of data, the remainder of the bytes
will be filled with spaces (20 hexadecimal).
Dummy 1 and Dummy 2 (response): All zeros (Hex) will be returned.
Area data (response): As follows:
1st byte
00
Program
No. of DM words
area size
Meaning
The size of PLC Setup and program area
Total words in the DM area
Number of banks in the Expansion DM area
PLC status (response): The status of connected tools is returned:
00 (Hex):
80 (Hex):
20 bytes
16 bytes
Controller
Dummy 1
version
00
00
Number of Expansion DM banks
No recognized tool connected
Recognized tool connected
Section 6-6
10 bytes
65 bytes
Area data
Dummy 2
10th byte
00
00
00
Unit (Hex)
K words (1K words = 1,024 words;
1 word = 2 bytes))
Words (1 word = 2 bytes)
Banks
PLC status
219

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents