![ICC ETH-1000 Instruction Manual Download Page 241](http://html2.mh-extra.com/html/icc/eth-1000/eth-1000_instruction-manual_3351193241.webp)
240
ICC
6) Assign a tag to the XIO element.
a) Double-click on the XIO element located to the left of the MSG block.
Type in N20:0/15 (MSG instruction’s enable bit). This configuration
causes the MSG instruction to automatically retrigger itself when it
completes. While this is acceptable for the purposes of this example, it
can produce high network utilization. In actual practice, it may be
desirable to incorporate additional logic elements to allow triggering the
MSG instruction at a specific rate or under specific conditions.
7) The program is now complete. Refer to Figure 91.
Figure 91: Completed PLC Program
8) Save, download, and run the program.
a) To view the 16-bit data values being read from the gateway, double-click
the data file N18 under “Data Files” in the controller organizer view. 25
16-bit word values starting at database address #2050 are being
continuously read from the gateway and placed in the 25 sequential
offsets of N18 starting at N18:1. Refer to Figure 92. We can see that
N18:9 (database address 2068) has a value of 2525, N18:12 (database
address 2074) has a value of 610, etc.
Figure 92: Monitoring the Data Being Read from the Gateway