I have managed to read and write arrays of data from a tag base PLC, with CIP TG READ Function, but when it comes to a structure of data I get lost. I have a global variable Process_Position_Data an array with three element (BCD Data), has a structure, StInData of 20 members. Since my structure has 20 tags, beside my global variable, should I index individual tags from structure before feeding in to CIP function Read Tag, (two For loops one reading columns other rows), or after receiving output data. I am confuse, need help. Any body can give me an idea would help and will be appreciated.
Solved! Go to Solution.
I don't have much experience with the Ethernet I/P driver, but you might have more luck posting on the Industrial Communications forum.
I think you don't need to index them before feeding to tag API. Let me know if you encounter any failures.