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
Command frame:
Slave
Function
address
code
H'0A
H'03
Response frame:
Slave
Function
address
code
H'0A
H'03
6-9-3

Write Variable Area Command

Command frame:
Slave
Function
address
code
H'10
1
1
Slave address
Function code
Write start address
Number of elements
Byte count
CRC-16
Response frame:
Slave
Function
address
code
H'10
1
1
Slave address
Function code
Write start address
Number of elements
CRC-16
6 - 26
Read start address
Number of elements
H'0001
H'0013
Byte
Read data (for number of elements)
count
H'26
Write start address
Number of elements
2
2
CRC-16 calculation range
This number specifies the transmission's destination. Specify the unit number of the
K7GE-MG Main Unit.
The unit number can be set between H'01 to H'63 hexadecimal (01 to 99 decimal).
The Write Variable Area command's function code is H'10.
Specify the address of the variable area to start writing in 2-byte hexadecimal. Refer
to 6-3 Variable Area Map on page 6-5.
Specify the number of variables to write. You can specify up to 44 variables
(H'002C).
Specify the number of bytes of data to write in hexadecimal format.
This check code is calculated with the data from the slave address to the end of the
data.
Write start address
Number of elements
2
2
CRC-16 calculation range
The number specified in the command frame is entered as-is.
This is the received function code. However, H'80 is added if an error occurs.
This is the received write start address.
This is the received number of elements.
This check code is calculated with the data from the slave address to the end of the
data.
CRC-16
H'54BC
CRC-16
Byte count
Write data (for number of elements)
1
CRC-16
2 bytes
Insulation Resistance Monitoring Device User's Manual (N224)
CRC-16
2 bytes

Advertisement

Table of Contents
loading

Table of Contents