Figure 73: Configure XIO Element
6) The program is now complete. Refer to Figure 74.
Figure 74: Complete Program
7) Save, download and run the program.
a) To view the values of the function codes being read from the interface card, double-click
“Controller Tags” in the controller organizer view.
b) Select the “Monitor Tags” tab and expand the data_array tag.
c) 21 function code values starting at function code M01 are being continuously read from the
interface card and placed in the 21 sequential offsets of data_array starting at the 50
th
offset
(data_array[50]).