PLC programming using TwinCAT 3 - Data types & arrays (Part 4/18)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 75

  • @JakobSagatowski
    @JakobSagatowski  2 ปีที่แล้ว +5

    ⬆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

  • @liorshtivi1953
    @liorshtivi1953 2 ปีที่แล้ว +18

    Your videos are better than the official Beckhoff training center... Thanks so much for the content!

  • @zae1130
    @zae1130 ปีที่แล้ว +3

    I'm a Ph.D candidate in S.Korea, and you sir, you just saved my candidate qualification.

  • @pedrocampana1329
    @pedrocampana1329 3 ปีที่แล้ว +9

    Great course. It is very clear, especially for those coming from traditional PLC programming. Thanks for sharing your knowledge on Beckhoff PLC.

  • @wandererJBL
    @wandererJBL 7 หลายเดือนก่อน +1

    I have just joined a new job and this organization is using the Beckhoff PLC and motion in their machines.
    I went to their office as well for training but was unsatisfactory.
    Your videos are helping me a lot to understand the syntax of this logic.
    You are to the point with very good explanation.
    Thanks a lot.
    you are doing a great work!

  • @MrBluntNose
    @MrBluntNose 2 ปีที่แล้ว +15

    Thanks for your great work! This channel is an absolute Gem 💎 🙏🙌

    • @JakobSagatowski
      @JakobSagatowski  2 ปีที่แล้ว +3

      Thank you for this kind donation, this made my week!

    • @MrBluntNose
      @MrBluntNose 2 ปีที่แล้ว +2

      @@JakobSagatowski You're welcome. It's the least I could've done. Keep it up!

  • @robertboukens6336
    @robertboukens6336 3 ปีที่แล้ว +3

    Thank you for creating this series.

  • @deividasnaudzius6504
    @deividasnaudzius6504 3 ปีที่แล้ว +4

    Finally again new episode! :)

  • @andreasklappert3599
    @andreasklappert3599 3 ปีที่แล้ว +2

    Great video again Jakob, can't wait for the rest of the series.

  • @henri7356
    @henri7356 8 หลายเดือนก่อน

    You're a god. Very clear and complete tutorial!! Thank you.

  • @Desfaqhunter
    @Desfaqhunter 3 ปีที่แล้ว +2

    Great job! I can't wait till next episode. You are the best TwinCat Coach :D

    • @JakobSagatowski
      @JakobSagatowski  3 ปีที่แล้ว

      Thanks for the kind words! Next episode hopefully coming soon!

  • @gtg7529
    @gtg7529 3 ปีที่แล้ว +1

    Dear,
    Thanks for your Video.
    I am really very like the parts of pointer and refernece that you are explain.
    Very make sense and smart!

    • @iFlyGood
      @iFlyGood หลายเดือนก่อน

      The pointers part was the most confusing part for me in this entire series. I am looking for another explanation from this creator or a different one. Any help would be much appreciated.

  • @jatinsingh3295
    @jatinsingh3295 3 ปีที่แล้ว +2

    Thank you for creating awesome content! Looking forward to upcoming videos! :)

  • @jktanasin
    @jktanasin 3 ปีที่แล้ว +1

    Thanks Jakob , Really useful for me.

  • @bjornforssberg5555
    @bjornforssberg5555 3 ปีที่แล้ว +1

    THANKS This is very interesting for me , I have been selling Beckhoff since 1989 (Lightbus i.e Precursor to EtherCAT) to 2010 in Sweden, after that I have as retired supported TR Thailand.
    Up till now , no problems imported machines from Europe = TC2 but now TC3 is starting to come. I practically have any experience Of TC3 (except ST and what I have learned in 1-4 from you ), waiting for next part but maybe especially for "next part" about Git hub :-)

    • @JakobSagatowski
      @JakobSagatowski  3 ปีที่แล้ว +1

      Hi Björn! Sounds like you've made a really fun journey! Thanks for your feedback!

  • @smarttech2513
    @smarttech2513 3 ปีที่แล้ว +1

    Thanks Jakob Great video

  • @anhoangduc4626
    @anhoangduc4626 2 ปีที่แล้ว

    Excellent course, I got many knowledge from you. Many thanks with love

  • @heydude92
    @heydude92 ปีที่แล้ว +2

    Som en "vanlig" utvecklare har jag egentligen ingen koppling alls till PLC:er och automation (hittade hit via podcasten Kompilator) men denna videoserie är minst sagt häftig och förklaringarna av grundläggande koncept inom programmering är värdefulla även för mig!

  • @IriaGarayu
    @IriaGarayu 3 ปีที่แล้ว +1

    I hope part 5 is just around the corner.

  • @ryanarellano5520
    @ryanarellano5520 2 ปีที่แล้ว

    Thanks Jakob, for we are getting a free training 😊

  • @_Iokanaan_Marusidze_
    @_Iokanaan_Marusidze_ ปีที่แล้ว

    Thanks 👍
    PLEASE, CONTINUE 🙏

  • @ahmedchalbi891
    @ahmedchalbi891 3 ปีที่แล้ว +1

    very helpful Tutorial , thanks !

  • @sirousmohseni4
    @sirousmohseni4 ปีที่แล้ว

    Excellent video.

  • @StanislavMilchev
    @StanislavMilchev 3 ปีที่แล้ว

    Great Video. Great work!

  • @Dudavjobovich
    @Dudavjobovich 3 ปีที่แล้ว +1

    Thanks a lot!

  • @adilsonoliveira5728
    @adilsonoliveira5728 3 ปีที่แล้ว +1

    Very good Jakob. Mybe you could create videos with some applications using pointers, references .... just only idea :-)

  • @zoltansimon5699
    @zoltansimon5699 ปีที่แล้ว

    Hi Jakob! :) And that is
    In witch part r you talking about handlink bigger strings than 255 elements? Cause I'd like to handle the dataflow of my electricity meter (DSMR port, P1 port etc). And that is approx 2.5kbytes.

  • @DUIofPhysics
    @DUIofPhysics 2 ปีที่แล้ว

    Feel sorry for my kids when they have to deal with every machine breaking down on the 8th Feb 2106! Haha.
    Great Tutorial!

  • @joefarnsworth5496
    @joefarnsworth5496 2 ปีที่แล้ว

    Is there a way to edit TwinCAT code in VisualStudio with VIM commands? I have tried the VSVIM plug in but it doesn't seem to work with the TwinCAT extensions in Visual Studio.

  • @tarikrachiahi1239
    @tarikrachiahi1239 3 ปีที่แล้ว

    Nice video thank you

  • @chengkeattan6571
    @chengkeattan6571 3 ปีที่แล้ว +1

    thank you very much

  • @mohamedhafez1641
    @mohamedhafez1641 3 ปีที่แล้ว +1

    Thanks a lot for this valuable episode! Please I have a question in the last part of type conversion, does the type conversion made causes a data loss and hence a logical error?

  • @manuellonic8952
    @manuellonic8952 2 ปีที่แล้ว

    Thanks!

  • @Josempe1
    @Josempe1 2 ปีที่แล้ว

    Hello Jacob, happy new year.
    I hope you're well.
    I congratulate you on your excellent work and dedication. These tutorials are very good and I have learned a lot.
    I don't know if he explains in the next videos, but I would like to know how to extract and support the programming of a Beckhoff PLC.
    Thanks
    Kind regards

  • @Jeterify
    @Jeterify 3 ปีที่แล้ว

    This is a great video! Thank you! Will you be talking about PID controllers from the Controller Toolbox in any of the videos?

    • @JakobSagatowski
      @JakobSagatowski  3 ปีที่แล้ว +1

      Hi, thanks! No, this will not be covered in this tutorial, but I might cover it in a future series of videos!

  • @rasoulsadeghi8635
    @rasoulsadeghi8635 3 ปีที่แล้ว +1

    Thank you very much for the valuable content. Just one question, why do we use reference and we don't use the original variable itself? which one has the priority (if any) if we write the variable or if the reference pointing to that variable?

    • @JakobSagatowski
      @JakobSagatowski  3 ปีที่แล้ว +1

      Hi Rasoul! By using a reference we are actually using the original variable! It's if we DON'T use a reference that we use a COPY of the variable.

    • @rasoulsadeghi8635
      @rasoulsadeghi8635 3 ปีที่แล้ว +1

      @@JakobSagatowski thanks for your reply. Maybe there are more benefits in using references in OOP way of programming. I mean we can see it's advantages there clearly

  • @Han-dc3pp
    @Han-dc3pp 4 หลายเดือนก่อน

    35:06
    a2dArray2 : ARRAY[1..2] OF ARRAY[1..3] OF REAL;

  • @wuwei5192
    @wuwei5192 2 ปีที่แล้ว +1

    Could TwinCat 3 Export ESI(xml) file?

    • @JakobSagatowski
      @JakobSagatowski  2 ปีที่แล้ว +1

      Hi Wu! ESI-files are EtherCAT slave files, and you can import them to TwinCAT for a specific EtherCAT slave device. If you want to export any of those files, you can simply copy them from the C:\TwinCAT\3.1\Config\Io\EtherCAT folder.

  • @Runtimevic
    @Runtimevic 3 ปีที่แล้ว +1

    Thank you very much for sharing your knowledge of Twincat in these videos and for the efforts you make.
    Is there a way to get the slides? in order to always have them at hand.
    a greeting and looking forward to the next video

    • @JakobSagatowski
      @JakobSagatowski  3 ปีที่แล้ว

      Thanks Victor! Yes If I find the slides I will send them!

    • @Runtimevic
      @Runtimevic 3 ปีที่แล้ว

      ​@@JakobSagatowski , Thank you very much, if you want you can put them on github so they will be for everyone.

  • @OfirAviv1994
    @OfirAviv1994 2 ปีที่แล้ว

    How do I find if a certian number exists in a given array?

  • @mohdnazmimohdmazli5044
    @mohdnazmimohdmazli5044 3 ปีที่แล้ว

    How can I change REAL to INT in GVL?

  • @SunilYadav-nb9wp
    @SunilYadav-nb9wp 3 ปีที่แล้ว

    Sir , still I am not clear where and why we use pointer ?

    • @JakobSagatowski
      @JakobSagatowski  3 ปีที่แล้ว

      This is a good explanation for when pointers might be useful and you really have to use them: stackoverflow.com/questions/22146094/why-should-i-use-a-pointer-rather-than-the-object-itself

    • @keydi98
      @keydi98 3 ปีที่แล้ว

      @@JakobSagatowski personaly, after programming for many years in C, i always use pointers even though they can be very difficult to handle in twincat than in classic C.

  • @Alex-pz7kr
    @Alex-pz7kr 3 ปีที่แล้ว

    It is very inconvenient that we cannot assign other data types to reference, for example, in Siemens PLCs we can create a variable
    foo:dword;
    foo1 AT foo:STRUCT;
    byte1:byte;
    byte2:byte;
    byte3:byte;
    byte4:byte;
    end_struct;
    In this example, we can refer to any bytes

  • @SunilYadav-nb9wp
    @SunilYadav-nb9wp 3 ปีที่แล้ว

    when will come new video

  • @iFlyGood
    @iFlyGood หลายเดือนก่อน

    Does anyone know of another video that explains pointers better? This video gets so convoluted at that part that I get confused.

  • @peterman1028
    @peterman1028 ปีที่แล้ว

    Ogólnie super wyjaśnione tylko dlaczego to 'would' po 'if'. To jest błąd jezykowy i sie czesto tutaj zdarza i wkurza przez to.

    • @peterman1028
      @peterman1028 ปีที่แล้ว

      If and would are never good

  • @soulrobotics
    @soulrobotics 3 ปีที่แล้ว

    nice t-shirt, VI save and quit, huh?

  • @TheSarcasticEngineer
    @TheSarcasticEngineer 2 ปีที่แล้ว

    Honestly, that green screen gave a small heart attack. Don't do that me again. 😶

  • @manumar7154
    @manumar7154 3 ปีที่แล้ว

    TOO DIFICULT

    • @JakobSagatowski
      @JakobSagatowski  3 ปีที่แล้ว

      Can you be more specific of what was too difficult?

  • @gautierkirchhoffer3915
    @gautierkirchhoffer3915 4 หลายเดือนก่อน

    Hi Jakob,
    many thanks for these well-structured training courses.
    I asked to connect with you on Linkedin in order to get in touch with you for professional questions. It would be a pleasure to talk to you.
    Gautier