07-03-2017 06:37 AM
Hi,
I am expecting to read multiple real data tags from compact logix plc by using ethernet/ip read tag sub vi.
Is it possible.
If yes, Please suggest me the way to proceed.
Thank you in advance.
07-03-2017 06:39 AM
Here is my VI and screen shot.
07-03-2017 06:45 AM
Is the tag on the PLC setup for multiple Real values? If so, then you should already be getting all of the data. It is now just you understanding how to use an array.
07-03-2017 06:59 AM
No,tags were not created for arrays in ladder logic.
Anyway ,can't we create array with tag names in labview to read the tags data?
Instead of creating array tags in ladder.
I appreciate your solution to create a array tags in ladder logic.
Thank you so much for your support.
07-03-2017 07:35 AM
@sridhar..reddy wrote:
Anyway ,can't we create array with tag names in labview to read the tags data?
That would be your alternative. Have an array of strings holding the tag names and then use a FOR loop to read each tag individually.
07-03-2017 08:40 AM
Hi,
Thank you very much for your support.
I got it.
I created arrays in ladder logic and i created an array of tags to read and then followed by a for loop then outputs as an array .
i am excited.
Thank you very very much.
08-08-2017 06:55 AM
Hi, but what if I want to read multiple tags with a single TCP and Ethernet/IP connection. This would be helpful because I don't have access to the PLC program and if I read each tag separately (even by a for loop in LabView), the reading time of for example 1000 real data tags gets too big (allmost minutes).
Please help me how to read in labview multiple tags with one single Ethernet/IP request.
Thank you!