Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Publish measurements from NI hardware to PLC using OPC Server without PC

Hi,

I want to publish measurements from cDAQ or cRIO to Siemens S7-1200 PLC. I managed to do that in following steps:

1. I established a connection between PLC and LabView,  installed on Windows PC, using OPC Server and Shared Variables.

2. I created Global Virtual Channel in NI MAX for cDAQ-9188 and added this channel in OPC Server.

3. I wrote a simple VI that reads Shared Variable bound to cDAQ analog input and rewrites it to Shared Variable bound to PLC memory address.

 

My problem is that I have two channels in OPC Server and I need to pass the value from one to another but I would like to do it automatically (without starting VI that I mentioned and without even using PC with LabView). I think that it might not be possible with cDAQ but I have also a cRIO-9035. Is it possible to make simple RT application for cRIO that would pass value of measurment to Network-published variable bound to PLC address? Is it a good solution to my problem?

0 Kudos
Message 1 of 1
(2,373 Views)