LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't access variables in specific S7-1200 DB's in LabVIEW project

Hi all,

 

I'm trying to establish a connection between LabVIEW and a Siemens S7-1200 though Ethernet and SIemens OPC Server.

The physical connection is OK (I can ping S7-1200 with no problem).

 

When I needed to access variables from specifics DB's inside S7-1200 ( I want to access variable DB190,X0.4), I called Siemens support and they said I had to modify the variable's definition when using OPC Scout, from "MX0.4" to "DB190,X0.4", and then it was possible to access this variable.

 

Same solution (renaming the path) applies to NI OPC Client, I can read and write variables properly.

 

My problem is that when I try to add variables in LabVIEW Project, I can't find those variables whose address were modified, so I can't access the correct variable in my program.

I tried to change the variable path in Multiple Variable Editor, but it doesn't work either.

 

Any suggestions on what I can try??

0 Kudos
Message 1 of 1
(3,574 Views)