225
ICC
determines how long to wait before timing out and retransmitting a
connection request if a connection failure occurs. Refer to Figure 69.
Figure 69: Reduce the UnconnectedTimeout Value
f)
Collapse the “connection” tag again by clicking on the “-“ sign next to the
tag name.
g) Select the “Edit Tags” tab again. Create another new tag by entering
“data_array” in the next blank Name field, and change its Data Type by
typing in “INT[73]” in the Data Type field. This tag is an array of INTs
that will be able to hold up to 73 16-bit values from the gateway. Always
make sure that the destination tag size is large enough to hold all
elements to be read.
2) Add a MSG instruction to the
main program.
a) Double click “MainRoutine”
under Tasks …MainTask
…MainProgram in the
controller organizer view.
b) Right click on the first
ladder logic rung in the
MainRoutine window and
select “Add Ladder
Element...”
c) The “Add Ladder Element”
window appears.
d) Select the “MSG” instruction in the Input/Output folder. Refer to Figure
e) Click OK.
Figure 70: Adding a MSG Instruction