Read From Variable Area - Omron K3GN - V1.04 User Manual

1/32 din digital panel meter
Table of Contents

Advertisement

7.5 Read from Variable Area

Command
Response
This service reads data from the variable areas.
Command text
Variable
Read start
type
address
MRC
SRC
"01"
"01"
2
2
2
Item
Set these items to "01"/"01" ("Read from Variable Area"
MRC/SRC
service).
Variable type
Set this item to one among "C0" thru "C3".
Read start address
Specify the read start address at this field.
Bit position
Not used for K3GN. Always set this item to "00".
Set this item to the quantity of variables that are to be read
No. of elements
(up to 10).
Response text
Response code
(MRES/SRES)
MRC
SRC
"01"
"01"
2
2
4
Item
This field contains the same value ("01"/"01") as specified
MRC/SRC
in the command text.
Response code
This field contains the result of execution of the command.
Data to be read
This field contains the data that is read and to be read.
Response codes
Response
Code name
code
"1001"
Command length over
"1002"
Command length short
"1101"
Area type error
Start address
"1103"
out-of-range error
"110B"
Response length over
"1100"
Parameter error
"2203"
Operation error
"0000"
Normal completion

7.5 Read from Variable Area

Bit
position
No. of elements
"00"
4
2
4 bytes
Description
Data to be read
(No. of elements x 8) bytes
Description
Description
The command is too long.
The command is too short.
The specified variable type is invalid.
The specified start address is outside the
valid range.
The No. of elements exceeds 10.
The bit position is set to a value other than
"00".
EEPROM error
The command was successfully executed.
103

Advertisement

Table of Contents
loading

This manual is also suitable for:

K3gn

Table of Contents