Reading The Variable Area - Omron K3HB - MANUAL 2 Manual

Digital indicators
Hide thumbs Also See for K3HB - MANUAL 2:
Table of Contents

Advertisement

Reading the Variable Area

1-5

Reading the Variable Area

Command
Response
For example, if the PV of the K3HB is 105.0, it will be read as H'0000041A
(105.0 → 1050 → H'0000041A).
The data area is read by setting the required data in the following FINS-mini
command text format.
FINS-mini Command Text
Read start
Variable
address
MRC
SRC
type
"01"
"01"
2
2
2
Data name
MRC/SRC
Specifies the FINS-mini monitor value/setting data read
command.
Variable type
Specify a variable type.
First address of read
Specify the address for the beginning of the read.
Bit position
Not used on the K3HB. Specify "00".
Number of elements
Specifies the number of variables to read (max. of 25
(H'19)). Not needed for a compound read.
FINS-mini Response Text
Response code
MRC
SRC
(MRES/SRES)
"01"
"01"
2
2
4
Data name
MRC/SRC
The FINS-mini command text appears here.
Response code
Result of execution of the command.
Read data
Values for variables that were read.
Response Codes
Response
Error name
code
"1001"
Command length too
long
"1002"
Command length too
short
"1101"
Area type error
"110B"
Response length too long Number of elements > 25 (H'0019).
"1100"
Parameter error
"2203"
Operation error
"0000"
Normal end
Bit
position
Number of elements
"0001" to "0019"
"00"
4
2
4
Explanation
Data to be read
Number of elements × 8 bytes
(for compound read, number of elements × 10 bytes)
Explanation
The command is too long.
The command is too short.
Incorrect variable type.
Specified bit position is other than "00".
Unit error, unit change, display unit error,
internal non-volatile memory error
Section 1-5
Explanation
1-9

Advertisement

Table of Contents
loading

Table of Contents