
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.
Содержание 1420-V1
Страница 4: ...4 Rockwell Automation Publication 1420 UM001E EN P March 2016 Summary of Changes Notes...
Страница 6: ...6 Rockwell Automation Publication 1420 UM001E EN P March 2016 Table of Contents Index 85...
Страница 46: ...46 Rockwell Automation Publication 1420 UM001E EN P March 2016 Chapter 4 Communication Notes...
Страница 88: ...88 Rockwell Automation Publication 1420 UM001E EN P March 2016 Index Notes...
Страница 89: ......