I am aware of using the % symbol for addressing with a single variable, but wasn't sure how the program handled that when used for an array. In the example above, I am assuming that the PLC will assign testArray to location %W0, testArray to %W1 and so on, is that correct? This was my initial assumption but...
I built a quick sample program where I created a single UINT and an array of UINTs and mapped them both to fixed memory:
When I run the simple program (sets Test := i in a FOR loop through 16 and sets ROS_OP_MODE to 1), I looked at the variable watch, and while it shows my AT specification for the single UINT (%E0_0), it doesn't show any AT specification for the elements of the array. This is why I wasn't sure if I was defining the array AT specification correctly.
I don't have hardware on hand currently, so I can't verify if the simulator is not showing this correctly or if the array isn't actually mapped to the memory as expected. Either way, I would like to be sure before I spend a bunch of time programming and then find out that it does or doesn't work.
I'm working with a couple HMIs that talk to the PLC using the FINS Ethernet protocol, so I need to map variables used by the HMI to specific memory locations in order to access them remotely.