Omron CQM1H-SCB41 Computer Hardware User Manual


 
Appendix BCompoWay/F Master Protocol
141
Example: VARIABLE AREA READ
The following command and text are used to read the present value, maximum value, minimum value, and status
of the Intelligent Signal Processor.
Command and Text
4 bytes2 bytes 2 bytes2 bytes 4 bytes
Variable
type
First read address
No. of
elements
1, 2, 3... 1. Variable Type
Variable type Contents
C0 Present value, maximum value, minimum value, status ,
and comparison value
2. First Read Address
Specify the address of the data to be read in 4 digits Hex.
3. Number of Elements: 4 Digits Hex
Number of elements Process
0001 Read the data and end normally.
Note If 0000 is specified, nothing will be read and a normal end will be returned. A parameter error will occur for
any settings other than 0000 and 0001.
Response Text
8 bytes
2 bytes 2 bytes 4 bytes
Response code
Read data
1, 2, 3... 1. Response Code: MRES, SRES
Response code Meaning
0000 Normal end
1001 Command too long
1002 Command too short
1100 Parameter error
1101 Area type error
1103 First address range error
2203 Operating error
2. Read Data
The specified data is returned in 8 digits of hexadecimal data.