Showing results for 
Search instead for 
Did you mean: 

CIP Data Array

Go to solution

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.

Download All
0 Kudos
Message 1 of 3

I don't have much experience with the Ethernet I/P driver, but you might have more luck posting on the Industrial Communications forum.

Matt J | National Instruments | CLA

0 Kudos
Message 2 of 3
Accepted by interedo

I think you don't need to index them before feeding to tag API. Let me know if you encounter any failures.



0 Kudos
Message 3 of 3