NI Labs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

EthernetIP & CompactLogix 2 Dimension Array

First I would like to thank you for all your work on this project. Great job!

Can someone help me on the proper Tag syntax for a 2 dimenional array using EthernetIP Tag Read VI . In CompactLogix it is System[0,0] through System[0,6] at the moment.

Using a tag of System[0,0]  to select a single element of the array returns an error.

thanks,

Glen

0 Kudos
Message 1 of 5
(4,892 Views)

Do you have any example code that could help get me started?

Regards,

Eric

0 Kudos
Message 2 of 5
(2,954 Views)

It's been a long time since I came across this problem. It may take me a day or so to dig up the code.

Glen

0 Kudos
Message 3 of 5
(2,954 Views)

Sorry it took me so long. I looked at my old projects and I don't think I ever found a solution for reading a 2D array of values. Maybe someone else has the answer.

Glen

0 Kudos
Message 4 of 5
(2,954 Views)

Thank you for taking the time to look into this for me. Do you have any examples of reading arrays from a Logix Controller using EthernetIP?

Eric

0 Kudos
Message 5 of 5
(2,954 Views)