01-10-2017 04:02 PM
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.
01-11-2017 09:57 AM
I don't have much experience with the Ethernet I/P driver, but you might have more luck posting on the Industrial Communications forum.
http://forums.ni.com/t5/Industrial-Communications/bd-p/260
01-12-2017 07:44 AM
I think you don't need to index them before feeding to tag API. Let me know if you encounter any failures.
Wendy