Online Forums
Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.
Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.
Do not use the Contact page for technical issues.
- Forum
- Discussions
- QuickOPC-UA in COM
- Installation, Deployment
- enhancing a non-OPC Application to a OPC UA client
enhancing a non-OPC Application to a OPC UA client
// This example shows how to write a value into a single node.
using OpcLabs.EasyOpc.UA;
class WriteValue
{
public static void Main()
{
// Instantiate the client object
var easyUAClient = new EasyUAClient();
// Modify value of a node
easyUAClient.WriteValue(
"http://opcua.demo-this.com:51211/UA/SampleServer", //or "opc.tcp://opcua.demo-this.com:51210/UA/SampleServer"
"nsu=http://test.org/UA/Data/;i=10221",
12345);
}
}
Best regards
Please Log in or Create an account to join the conversation.
Thank you
Please Log in or Create an account to join the conversation.
For your usage, however, the way I understand it, you will probably need just a simple "write", and not much more. I can point you to the right example for that and even copy it over here - which programming language/tool do you expect to use? Is it C# ?
Please Log in or Create an account to join the conversation.
You provide a lot of examples on this website, (e.g.: Accessing OPC from inside SQL Server (SQLCLR), using QuickOPC-COM), however many files are marked as obsolete.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I watched the examples on how to write into tags on an OPC UA server, how to read tags using QuickOPC and more… and it is really simple. Can do both without problems. I however don’t understand how to access the string that I am trying to send and how to send it. Theoretically accessing it either from the SCADA or the postgreSQL Database would be OK.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I know this is not how OPC UA is supposed to work… However this is just an intermediary step. One that was believed to be achievable really quickly with QuickOPC, so that development of a new gen. 5 application that fully supports OPCUA can begin.
Please Log in or Create an account to join the conversation.
Because, as far as I can tell, either you want to do something very untypical, or you have misunderstood how OPC clients and servers are supposed to work.
A SCADA package, typically, may use OPC for two things:
1) Achieve communication with lower layers - the technology: e.g. field devices, controllers, sometimes directly sensors. Some of the technology might have/be an OPC server. The SCADA package will then contain an OPC client piece, and use it to communicate with the technology. In this case, however, the OPC client would talk the OPC protocol to the OPC servers, and no such messages as in your example would appear between the OPC server and the OPC client, or in the SCADA software: It would be a task of the OPC server (separate from the SCADA package) to take care of the protocol encoding/decoding.
2) Provide communication with higher layers (e.g. MES or ERP systems). In this case, however, the SCADA package will be normally acting as an OPC server, not an OPC client.
Please Log in or Create an account to join the conversation.
We would like to enhance our application so that the “string” can be send as real OPC UA data to an OPC UA Server. That’s what I imagined under Enhancing a non OPC Application to become an OPC UA Client. I.e.
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in COM
- Installation, Deployment
- enhancing a non-OPC Application to a OPC UA client