Multiple Register Writes; Request Packet Sizes - Omega DP606A User Manual

Universal 6/12 channel 1/4 din panel meter
Table of Contents

Advertisement

Section 6.4 - Multiple Register Writes
When writing a dual register entity the lower order register should be used as the
requested 'holding register', with a request for minimum of 2 registers. The write
data is internally buffered and transferred to the database entry as a 32-bit value.
The access can be split into 2 consecutive single register writes. When the lower
(base) register is written the 16-bit entity is internally buffered BUT NO DATA
TRANSFER IS MADE TO THE DATABASE. The following single register write
must specify the next consecutive register address. The two least significant bytes
of the write request are combined with the previous write data and the entire 32-bit
entity is written to the database.
Attempts to write the two least significant bytes without first writing the two most
significant bytes will result in an error response.
Data
Number of
Types
Registers
Boolean
1
Byte,
1
Char
Int16,
1
uint16
Int32,
2
uint32
float
2
Section 6.5 - Request Packet Sizes
Multiple consecutive registers may be accessed in a single transaction.
The DP606A and DP612A Modbus interface imposes a maximum of 72 bytes for the
total transaction. Allowing for the required framing, addressing and CRC results
in the following data size restrictions using the READ and WRITE MULTIPLE
functions.
Format
Protocol Overhead
RTU
8
Byte
0
1
LSB
LSB
MSB
LSB
0
1
MSB
B-1
Sign+E
Mantisa
xp
MSB
Table 9 - Multiple Register Writes
Table 10 - Packet Sizes
2
3
N/A
Zero= OFF, non-zero = ON
N/A
Entity contained in LSB of
register, Byte 0 ignored.
N/A
Entity contained in MSB/LSB of
2
3
register. (dual register data)
B-2
LSB
Requires 2 consecutive
registers, MSB transferred first
B-1
Mantisa
IEEE formatted value con-
LSB
tained in 2 consecutive regis-
ters
Maximum Read data
24 Registers
6
Series Interface
Description
Maximum Write data
24 Registers
22

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dp612a

Table of Contents