EasyManua.ls Logo

Allen-Bradley 1420-V2-ENT - Page 42

Allen-Bradley 1420-V2-ENT
90 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
42 Rockwell Automation Publication 1420-UM001E-EN-P - March 2016
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 another way. Instances
101…107 show data in the REAL, or floating point, format. However, Instance
100 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 6 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 that starts at element (byte) 6.

Related product manuals