LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to bind my variable to an OPC item?

Hi,

I have connected my Siemens S7-1200 PLC to Labview OPC Server 2012 successfully. I can monitor the variable using Quick Client.

OPC1.JPG

 

Now I want to have this variable in my vi. I made a new VI and using the Data Binding, But when I try to bind this variable to my OPC item I get the following Error:

OPC2.JPG

 

Does anybody know what is the problem?

Regards

 

 

0 Kudos
Message 1 of 8
(4,548 Views)

A Labview DSC module is required, with which the OPC server is supplied. The message indicates a malfunction: the lack of a license.

Labview 4.0, 5.0, 6.1, 8.6, 2009, 2011, 2012, 2014
If you do not know something, ask me.
Message 2 of 8
(4,525 Views)

Thanks Borjom. So I need DSC Module to bind my variables to OPC items! Before than this I had used OPC with Easy OPC a product of Moeller which could simply be used by Data Binding. Seems things have changed! 

So would you please give me a start point to learn about DSC and how I can use OPC Items using this module?

Regards

0 Kudos
Message 3 of 8
(4,501 Views)

You do not have to do anything. The problem is only in the license. First, check if the license for NI OPC is active.

Labview 4.0, 5.0, 6.1, 8.6, 2009, 2011, 2012, 2014
If you do not know something, ask me.
0 Kudos
Message 4 of 8
(4,494 Views)

 But I have installed OPC Server 2012 without installing DSC Module.

0 Kudos
Message 5 of 8
(4,482 Views)

beginner,

 

I believe you still need to get a certificate for/activate the OPC server you're trying to connect to.

Message 6 of 8
(4,451 Views)

Hi All,

I can bind my variable to an OPC, and no error. But now the problem is when I using OPC Quick client to monitor the tag I set, the data I get same with what I set into the PLC (Mitsubishi FX3G), when I using LabVIEW VI to monitor the same tag, the data I get is 0. Can anyone help? Thanks

I am not using DSC runtime system and is it necessary to have it?

 

Best Regards,

Sam  

0 Kudos
Message 7 of 8
(4,378 Views)

Re-installed, problem solved. 

0 Kudos
Message 8 of 8
(4,368 Views)