OPC UA with Visual Studio and C#

Поділитися
Вставка
  • Опубліковано 3 лис 2024

КОМЕНТАРІ • 19

  • @filipecordella7787
    @filipecordella7787 2 роки тому +1

    Thank you very much for this good example!

  • @bcar456
    @bcar456 Рік тому +1

    hello, i am using that library and it works really good, but it seems it is not free, is it neccesary to pay for that forr free runtime?

  • @tarik.b1400
    @tarik.b1400 2 роки тому +2

    Many thanks for the great Video

  • @ciprianmuntean8022
    @ciprianmuntean8022 Рік тому

    Great tutorial! I was able to read some values from the PLC with OPC Server UA. But it seems something i've missed, because i'm not able to read everything. For example, i can read the software version (NodeId is i=2264), but if i try to read a DB, something like this: ns=3;s="DB1015:Interface OPC UA"."maschiene data"."tool_number" i get a null value. What do i miss? Is there a specific way to ask for this value?

  • @ondrejbruzek611
    @ondrejbruzek611 2 роки тому

    Hello there... very nice video! Thank you very much for that...
    May I have a question about accessing node containing array? I haven´t found any way how to access them, as every attempt to use client.ReadNode or client.ReadNodeValue with string argument have failed.
    Regarding UaExpert the datatype of this node is array of 6 float numbers. I can also see the values in the array via UaExpert...
    The only result I can get by code: string Temp = Convert.ToString(client.ReadNode("ns=2;s=Torque")); will give me string "System.Single[]" as a result...
    Can you please advice/help?
    Thank you and best regards

  • @alwaysbadboy
    @alwaysbadboy Рік тому +1

    It is a very good OPC UA coding tutorial ! awesome !

  • @gohlaysiong
    @gohlaysiong 2 роки тому +1

    thank you! this video is very informative.

  • @ajaymanagaon
    @ajaymanagaon Рік тому

    read and write is disabled for me on the Client. What could be the Issue?

  • @Avenged20Fold
    @Avenged20Fold 9 місяців тому

    Can someone give me an example of the contents of the array that is used to subscribe to multiple items? I can read and write to as many items as I need. And I can subscribe to a maximum of 5. But I have been scouring the internet for an example of how to make the MonitoredItems array... None of the scores of samples I have downloaded will compile. I am a C# novice and am just looking for a VERY simple example.... eg, 'if you have 10 tags, here is how you make a MonitoredItems array to subscrive and monitor'. If anyone can help, I would sure appreciate it.

  • @Mo-tx7nu
    @Mo-tx7nu 9 місяців тому

    please tell me how to read the Boolean data type? If you use the "console.ReadNode(the path to the tag), then "null" is output instead of "true" or "false"

    • @ukaszzelechowski6493
      @ukaszzelechowski6493 9 місяців тому

      I think that you have a bad tagName. I have OPC Server on PLC Siemens S-1200 and everything is ok. For boolean data type i use the same methode. Var testValue = opcClient.ReadNode(tagName); and it works :)

    • @SglassEletrica
      @SglassEletrica 8 місяців тому

      (bool)Client.ReadNode("ns=2;s=Application.GVL_SuperClp.BtAbortaStandByCiclo").Value

  • @robertomoiambo4878
    @robertomoiambo4878 2 роки тому +1

    thanks

  • @gohlaysiong
    @gohlaysiong 2 роки тому

    Can you do a video on OPC UA on accessing AE and HDA? Thanks.😊

  • @karimtantawi3314
    @karimtantawi3314 Рік тому

    works all very good......but i m not able to perfom a reconnection routine..............

  • @KangDud
    @KangDud Рік тому

    how if it has authentication, what is the code