Data types supported – Rockwell Automation 1420 PowerMonitor 500 User Manual

Page 42

Advertising
background image

42

Rockwell Automation Publication 1420-UM001D-EN-P - September 2013

Chapter 4

Communication

The PowerMonitor 500 unit supports the following Modbus functions:

0x03 - Read n Holding Registers
0x04 - Read n Input Register
0x06 - Write one Holding Register
0x10 - Write multiple registers
0x08 - Diagnostic (with sub-function code 0x00)
0x42 - Read n Special Registers (vendor specific)
Broadcast mode (write command on address 00h)

In this section, Modbus addresses are indicated in two ways. The ‘Modbus

address’ is expressed as the 6-digit input register address (example: 300123), used

with Modbus function code 0x04. The ‘Physical address’ is the hexadecimal

representation of the word address that is to be included in the communication

frame.

Modbus function 0x04 can be used with the Modbus address by substituting a 4

for the first digit (example: 400123). With that distinction, functions 0x03 and

0x04 return the same data.

To avoid errors due to signal reflections or line coupling, a termination resistor

must be connected at the RS-485 ports of the master station and of the furthest

power monitor from the master station. Termination on both ends is necessary

even in case of point-to-point connection, with short distances.

The GND connection is optional if a shielded cable is used. For connections

longer than 1000 m (3280 ft), a line amplifier is necessary.

Data Types Supported

The IEEE754 representation of a 32-bit floating-point number as an integer is

defined as follows.

Value= (-1)

sign

*2

(

Exponent-127)

*1.

Mantissa

Format

Description

Bits

Range

INT

Integer

16

-32768…32767

UNIT

Unsigned integer

16

0… 65535

DINT

Double integer

32

-2

31

… 2

31-1

UDINT

Unsigned double integer

32

0…2

32-1

ULINT

Unsigned long integer

64

0…2

64-1

REAL

Single-precision floating-point

32

-(1+[1-2

-23

])x2

127

…2

128

Bits

31 30…23

22…0

Sign Exponent

Mantissa

Advertising