Omron CVM1-CLK21 Network Card User Manual


 
219
Commands and Responses for C200HX/HG/HE and CQM1H-series PLCs Section 6-6
Response Block
6-6-10 CONTROLLER DATA READ
Reads the following data:
Controller model and version
•Area data
PLC status
Command Block
Response Block
Parameters 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:
PLC status (response): The status of connected tools is returned:
00 (Hex): No recognized tool connected
80 (Hex): Recognized tool connected
0204
Response
code
Command
code
Command
code
0105
0105
Controller
model
Controller
version
Dummy 1 Area data Command
code
Response
code
20 bytes 20 bytes 16 bytes 10 bytes
Dummy 2 PLC status
65 bytes
0000
Program
number
No. of DM wordsProgram
area size
10th byte
1st byte
00 00 0000 0000
Number of Expansion DM banks
Item Meaning Unit (Hex)
Program area size The size of PLC Setup and program area K words (1K words = 1,024 words;
1 word = 2 bytes))
No. of DM words Total words in the DM area Words (1 word = 2 bytes)
Number of Expansion
DM banks
Number of banks in the Expansion DM area Banks