ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CIP Data Array

Solved!
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
(3,800 Views)

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

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 3
(3,743 Views)
Solution
Accepted by topic author interedo

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

 

Wendy

0 Kudos
Message 3 of 3
(3,725 Views)