Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO communicating as PLC with NI-OPC-Server

Solved!
Go to solution

Hi there,

 

i have the task to implement a communication between multiple cRIO's and the NI-OPC-Server. The NI-OPC-Server has to act as data handler for a complex frontend.

 

I tried out the NI-OPC-Server and i was successful in communicating with the NI-OPC-Server as OPC-Client in Windows using an IO-Server and Shared Variables. But the task is to do this on a cRIO. I tried to open a data socket connection from a cRIO to the NI-OPC-Server using a specific URL using "DataSocket Select URL.vi". But as long i do not activate simulation in the NI-OPC-Server i get errors on opening the data socket connection. If i do activate the simulation, which is not the solution, i can write some data without error but the Quick Client of the NI-OPC-Server sees no changes for that data tag.

 

I have the feeling i am not at a good way to get this working. Is there anybody having experiences with this? Is data socket a possible way at all? Is it possible at all? Do i need to implement a cRIO-OPC-driver?

 

Thank you.

0 Kudos
Message 1 of 5
(8,473 Views)

Hi,

 

There's one pretty good tutorials and one webcast. Have you already study them?

 

Connect LabVIEW to Any PLC Using OPC (Tutorial)

http://www.ni.com/white-paper/7450/en

 

Connect LabVIEW to Any PLC Using OPC (Webcast)

http://zone.ni.com/wv/app/doc/p/id/wv-263

 

Chers,

Philip

0 Kudos
Message 2 of 5
(8,433 Views)
Solution
Accepted by topic author r.tara

Hi there,

 

i found the solution in this article:

 

http://www.ni.com/white-paper/7451/de#h36

 

Thx for your help.

0 Kudos
Message 3 of 5
(8,425 Views)

hi

so what is the solution?

instead of pointing some URL it would be better if solution is specified point wise.

0 Kudos
Message 4 of 5
(3,724 Views)

How did you solved this isue?

Image and video hosting by TinyPic
<script type="text/javascript" async src="//cdn.youracclaim.com/assets/utilities/embed.js"></script>
0 Kudos
Message 5 of 5
(2,275 Views)