Rockwell Automation 1420 PowerMonitor 500 User Manual

Page 40

Advertising
background image

40

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

Chapter 4

Communication

5. When finished, click OK to save the new module.

The module updates its input tag <Name>.I.Data at the Requested Packet

Interval (RPI).

You can use additional programming to show the data in a different way.

Instances 101…107 show data in the REAL, or floating point, format. However,

Instance 100 (shown above) combines ASCII characters with numeric byte

(SINT) values.

This program displays the contents of Instance 100 in a more human-readable

fashion:

The XIC instruction on tag ‘bool_Convert_i100’ enables the conversion.
The first CPS instruction copies the first six bytes of the module input

data tag.

The MOV instruction sets the serial number string length to 13.
The last CPS instruction copies the serial number from the module input

data tag starting at element (byte) 6.

Advertising