OPC UA with Visual Studio and C#

Sdílet
Vložit
  • čas přidán 11. 09. 2024

Komentáře • 19

  • @filipecordella7787
    @filipecordella7787 Před 2 lety +1

    Thank you very much for this good example!

  • @tarik.b1400
    @tarik.b1400 Před 2 lety +2

    Many thanks for the great Video

  • @alwaysbadboy
    @alwaysbadboy Před rokem +1

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

  • @gohlaysiong
    @gohlaysiong Před 2 lety +1

    thank you! this video is very informative.

  • @robertomoiambo4878
    @robertomoiambo4878 Před 2 lety +1

    thanks

  • @ciprianmuntean8022
    @ciprianmuntean8022 Před rokem

    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?

  • @ajaymanagaon
    @ajaymanagaon Před rokem

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

  • @bcar456
    @bcar456 Před 11 měsíci

    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?

  • @ondrejbruzek611
    @ondrejbruzek611 Před 2 lety

    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

  • @karimtantawi3314
    @karimtantawi3314 Před rokem

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

  • @KangDud
    @KangDud Před rokem

    how if it has authentication, what is the code

  • @gohlaysiong
    @gohlaysiong Před 2 lety

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

  • @Mo-tx7nu
    @Mo-tx7nu Před 7 měsíci

    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 Před 7 měsíci

      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 Před 6 měsíci

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

  • @Avenged20Fold
    @Avenged20Fold Před 7 měsíci

    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.