06-04-2015 02:45 PM
i am trying to develop a SCADA system using LabVIEW. i can read data from the OPC server but when i try to write from LabVIEW to the OPC server an error message will appear. so, what can i do pleas help me.
06-04-2015 02:55 PM
Start by posting the error message or maybe even some code.
A description of the system you're trying to control might help too.
06-16-2015 10:08 AM
This is the error which is desplayed. as you can see i am trying to change the state of the shared variable CL_NC. CL_NC is an OPC item. The OPC server is S7-200 PC access.
06-16-2015 10:38 AM
Just guessing, but it sounds like there may be a write access problem with the configuration of the S7-200.
From the LabVIEW Help:
For a remote OPC system, you install the OPC server and the OPC client on different computers. Both computers must run Windows, and you must connect the computers using Ethernet.
You must properly configure DCOM settings on the OPC server to make an OPC server/client system operate properly. DCOM restricts the access rights to specific computers on a domain, and security preferences can prevent OPC clients from communicating with remote OPC servers. Therefore, local OPC is often easier to configure than remote OPC.
You also must configure many Windows settings, such as security, firewalls, and the OPC server and OPC client software. Refer to the Windows Help and Support Center for information about configuring security, DCOM, and firewalls on Windows. Refer to the documentation for the OPC server and OPC client software for information about configuring the OPC server and client.
Configure the settings in the following order for best results:
06-16-2015 12:06 PM
10q. it seems a litle complicated but i will try it