Write Variable Area Command - Omron K7GE-MG User Manual

Insulation resistance monitoring device
Hide thumbs Also See for K7GE-MG:
Table of Contents

Advertisement

6 Remote Monitoring
Response codes:
Response code
'0000'
'0401'
'1001'
'1002'
'1101'
'110B'
'1100'
'2203'
Example:
Assume that the measurement value and status is read from the slave with unit number 10.
The variable area addresses for the measurement value and status are H'0001 to H'0013.
Command frame:
STX
Node number
H'02
'10'
Response frame:
STX
Node number
H'02
'10'
6-8-3

Write Variable Area Command

The FINS-mini text of the Write Variable Area command is as follows:
Command text:
MRC
'01'
2
MRC/SRC
Variable type
Write start address
Bit position
Number of elements
Write data
6 - 18
Error name
Normal end
Unsupported command
Command too long
Command too short
Area type error
Response too long
Parameter error
Operation error
Sub-address
SID
MRC/SRC
Variable type
'00'
"0"
'0'
'0101'
'80'
Sub-address
Completion code
MRC/SRC
'00'
'00'
'0101'
SRC
Variable type
Write start address
'02'
'80'
2
2
The Write Variable Area command. Specify '0102'.
Specify '80' for the K7GE-MG.
Specify the address of the variable area to start writing. Refer to 6-3 Variable Area
Map on page 6-5.
Always set the bit position to '00'.
Specify the number of variables to write. You can specify up to 18 variables
(H'0012).
Enter the value to write.
The command ended normally.
The service function for the relevant command is
not supported.
The command is too long.
The command is too short.
The variable type is wrong.
The number of elements exceeds 20 (H'0014).
Bit position is not '00'.
A system error occurred.
FINS-mini command text
Read start
Number of
Bit position
address
elements
'0001'
'00'
MRES/SRES Measurement value/status data
'0000'
Number of elements (19) × 4 bytes
Bit position
'00'
4
2
Insulation Resistance Monitoring Device User's Manual (N224)
Description
ETX
BCC
'0013'
H'03
H'39
ETX
BCC
H'03
Number of elements
Write data
'0000' to '0012'
4 bytes
Number of elements × 4 bytes

Advertisement

Table of Contents
loading

Table of Contents