Professional OPC
Development Tools


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.

getting null (was: OPC UA Syntax for Simatic.NET UA server)

05 Sep 2019 06:46 #7704 by support

there probably is an error, you just do not see it. In order to get the error information, add a mapping with Kind set to Exception (the type of the .NET property then needs to be an Exception) or ErrorMessage (the type of the .NET property then needs to be a String).



Best regards

Please Log in or Create an account to join the conversation.

04 Sep 2019 10:23 - 05 Sep 2019 06:41 #7700 by Giuseppe12
I've to read data from Siemens Panel TP 900 Comfort with OPC UA.

I've set
UAEndpointDescriptor endpointDescriptor = "opc.tcp://";

After I've set
var mapper = new UAClientMapper();

mapper.Map(datiseghetto, new UAMappingContext
                EndpointDescriptor = endpointDescriptor,
                NodeDescriptor = new UANodeDescriptor
                    BrowsePath = UABrowsePath.Parse("[ObjectsFolder]/WinCC Panel RT/[nsu=urn:HmiWebLink:VarProvider;ns=3;s=Tags]",  "")
                MonitoringParameters = 1000, 
where datiseghetto is a class
var datiseghetto = new Lettura_Seghetto();
    public class Lettura_Seghetto
        [UANode(BrowsePath = "/CED_TriggerScritturaVersoUffici"),
            UAData(Operations = UADataMappingOperations.ReadAndWrite, ValueType = typeof(string))]
        public string CED_TriggerScritturaVersoUffici;
When I invoke the method

no error occurs but the value of "CED_TriggerScritturaVersoUffici" is always null.

Why ? What is wrong ?

Last edit: 05 Sep 2019 06:41 by support.

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.063 seconds