PLC programming using TwinCAT 3 - ADS (Part 15/18)

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии • 36

  • @JakobSagatowski
    @JakobSagatowski  2 года назад +2

    ⬆Support this channel using the "Thanks" button⬆ or by making a donation through PayPal → www.paypal.com/donate/?hosted_button_id=7FBED5B26KT7S, or by becoming a Patron → www.patreon.com/sagatowski

    • @waligaaloul
      @waligaaloul 7 месяцев назад +1

      Hi i'm making my school project ,and i need your help if possible i try to develop a twincat3 project with c++ on windows and have some question if possible .to contact you on mail .
      Or whats up thanks

  • @jawad.souhail
    @jawad.souhail Год назад +1

    Suffered forever to understand the concept of ADS routes, and creating communication routes between a RPi and TwinCAT, until I came across this video! Thanks Jakob

  • @awaisali440
    @awaisali440 11 месяцев назад +1

    Jakob, thank you so much! The class is getting more and more interesting.

  • @Sdik8cj
    @Sdik8cj 15 дней назад +2

    Hello dev friends,
    I'm stuck at 29:30 min because when I type "meson setup build" or "meson setup", I get the message "command not found".
    .Debian 12 version.
    .Ads library 2023-11-08.
    .VirtualBox 7.1.2.
    Thank for your help.
    Thank you Jacob for your work.

    • @Sdik8cj
      @Sdik8cj 15 дней назад +1

      Have a idea please?

    • @Sdik8cj
      @Sdik8cj 14 дней назад

      edit : install meson and ninja in Debian ^^ sorry

  • @kasae6679
    @kasae6679 2 года назад +3

    Thanks Jakob, your videos help me a lot for my daily job.

  • @medstech1450
    @medstech1450 Год назад +1

    Thanks Jacob ! this is extremly good work from Twincat when they make the cross platfrom automation as easy as that.

  • @blimatech
    @blimatech 2 года назад +5

    Thanks Jackob for your hard work.

    • @JakobSagatowski
      @JakobSagatowski  2 года назад

      Thanks Bruno, and thank you very much for supporting my channel!

  • @Markdias1
    @Markdias1 2 года назад +2

    Your work will bring a lot of insights into solving my next problem. Thanks Jackob

  • @RoRu87
    @RoRu87 2 года назад +2

    +1 for asking and answering questions on StackOverflow :D

  • @shaehenrie
    @shaehenrie 2 года назад +1

    Thanks for doing these videos, they are very helpful

  • @chudchadanstud
    @chudchadanstud 2 года назад +1

    Great video as always. My only gripe with Beckhoff when it comes to the Ads documentation is the lack of info on structs. Basic structs work fine but they don't talk about nested Structs or arrays of nested Structs.
    When you have a nested Struct and one of the internal structs happens to be an array of Structs with an array of Strings in it the Marshalling stuff stops working. I feel like they really didn't run any extensive tests on complex data structures. I was trying to write a library that automatically marshalls data structures using .NET reflections and ads symbol info.
    I prefer to use the pack mode 1 pragma on structs and build the binary stream myself using symbol info. It yields safer and better results.

  • @priyankapatil6181
    @priyankapatil6181 Год назад

    Hello, for PLC communication using ADS Webservice do we need to connect internet to PLC?

  • @SAMETELMACI
    @SAMETELMACI Год назад

    I wonder if we can use the code outside of the ads package we installed, I don't want to exceed a whole package, when I build with g++, I get a missing package error.

  • @nianl5351
    @nianl5351 2 года назад

    Great video, helped a lot! Could you do a video on OPC-UA. I sees it a lot in the industry. Mabey a cool comparison on what easer to use. I am doing that research myself for internship.

  • @Cary581
    @Cary581 2 года назад

    Thank you Jakob for the great videos.
    I have noticed that Beckhoff include "Dispose()" methods in their examples. Do you know if this is required and what is the purpose?

  • @ANdrewPHillip16
    @ANdrewPHillip16 2 года назад

    Hi Jakob, thanks for sharing, I’m recently researching about this topics, ADS and the Automation Interface, I want to ask you if it’s necessary to use Automation interface, in my case I want to scan the EtherCAT devices attached to the PLC in runtime in other to know whether or not I have to perform some code (POUs) routines, I have read Beckhoff documentation and I understand that I can do it by using C# but what I got it’s that as you presented in this video, it needs to be done from a external hardware (a pc in your case to run C# code) I need to perform this automation task in the PLC itself, is this possible? Am I missing something? I hope you can guide me. Thanks in advance.

  • @arikadiusz
    @arikadiusz 2 года назад

    Is it possible to use C# library to connect to PLC from a windows machine without XAR/XAE installed ? Similar to what you did with C++ example. I am keep getting Exception thrown: 'TwinCAT.Ads.Server.LoopbackNotRegisteredException' in TwinCAT.Ads.Server.dll when I try this despite adding route on PLC to my laptop's local IP address.

  • @TomScryleus
    @TomScryleus 2 года назад

  • @zoltandezsi90
    @zoltandezsi90 2 года назад

    Is it working on Raspberry pi? Has anyone tried it out?

  • @yassinecherragi8953
    @yassinecherragi8953 2 года назад

    how to call all variables and each variable with its own value (C++)

  • @Runtimevic
    @Runtimevic 2 года назад

    Hello,
    Do you recommend pyAds for Python? Or is there an alternative in Python? Does it have the ability to add a variable's read subscription notification, or can it only be read cyclically?

  • @SAnanyaS
    @SAnanyaS Год назад

    Linux works correctly the first time. Why wouldn't it work? Don't do things in the terminal if you don't know bash. Use a simple operating system like Pop OS and everything is stable and modern.

  • @Dany_B_Good
    @Dany_B_Good Год назад +2

    First of all, thank you for all these great videos.
    I'm having a problem to read a variable using the first c# app you showed. When I launch it from the command prompt it prints "Hello World!" and then it throws an error that says "Target port couldn't be found". I already checked the TwinCAT project and the virtual PLC port number and its the same I'm trying to reach from the c# app, 851 as by default. The PLC program is running just fine and I can ping the VM plc from the HM. Do you happen to know what's going on?
    Again, thank you for your videos and your help.
    EDIT: Found the solution! Instead of calling Local on the AmsNetId object, I called Parse and entered the AMS Net Id of my virtual machine like this:
    client.Connect(AmsNetId.Parse("41.206.230.173.1.1"), 851);

  • @nicolascuor2378
    @nicolascuor2378 Год назад

    Thank you Jacobs!