367
CompoWay/F Master Protocol Appendix B
Example: VARIABLE AREA READ
The following command and text are used to read the present value, maximum value, minimum value, and sta-
tus of the Intelligent Signal Processor.
Command and Text
1. Variable Type
2. First Read Address
Specify the address of the data to be read in 4 digits Hex.
3. Number of Elements: 4 Digits Hex
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
1. Response Code: MRES, SRES
2. Read Data
The specified data is returned in 8 digits of hexadecimal data.
4 bytes2 bytes 2 bytes2 bytes 4 bytes
Variable
type
First read address
No. of
elements
"00" "00" "00" "0001""C0"
Variable type Contents
“C0” Present value, maximum value, minimum value, status, and
comparison value
Number of elements Process
“0001” Read the data and end normally.
8 b
tes
2 bytes 2 bytes 4 bytes
Response code
Read data
"01" "01"
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