Codesys #18 Structure

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

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

  • @kcee432
    @kcee432 22 วันที่ผ่านมา +1

    I didn't know you could combine them with arrays...very nice

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

    Thanks you so much on your videos. Just got a new job as an Automation Engineer and your videos are really helping me out. PLEASE keep it coming :D !

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

      Congratulations for your new job 👏👏and I'm so happy that my videos could help you.

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

    Another very good video on codesys
    Dear brother your videos are knowledgeable. Please make a video in one week.

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

      I appreciate your kind words. I really try and want to make a video every week, but sometimes I'm busy with my work and because of lack of time unfortunately I can't. But I will do my best.

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

      Thanks

    • @seimela
      @seimela 14 วันที่ผ่านมา +1

      Please do your content is powerful and rare ​@@industrial_automation

  • @ramonfdezfdez7474
    @ramonfdezfdez7474 6 หลายเดือนก่อน +1

    Fantastic.

  • @seimela
    @seimela 14 วันที่ผ่านมา

    I have a gear cutter! Hobber which I need to automate using.. No servos

  • @tadeoaceves768
    @tadeoaceves768 10 หลายเดือนก่อน +1

    Hello, do you know why i cant see my full list of my struct? i would like to see all of the variables thats make uo my DUT. I am trying to use a DUT in a global variable list and then use them in the PRG, but i cannot see the full list of the variables, only the name of the DUT. Thanks

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

      Hi. Honestly, I could not understand your question. Did you creat a DUt and you want to use the variables inside the GVL? or you have created a UDT then ypu have used this members again inside the GVL? Why then? The members of a structure are globally usable. You don't need to creat a GVL. Maybe I could help you more if you explain what you did.

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

    Why would you need to use the extended struct? Why not just add the variable to the Motor struct?
    LOVE these vids.

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

      Brief description of a use case would be greatly beneficial in this series 🙂

    • @kcee432
      @kcee432 22 วันที่ผ่านมา

      I thought the same thing, but hey, the extension procedure is there for a reason, you could build your program without it, no bigge

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

    HI, could you upload others videos explain enumeration, alias, and unio?
    thanks

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

      Hi, Enumeration I've just uploaded, others I will do in the future.

  • @tadeoaceves768
    @tadeoaceves768 10 หลายเดือนก่อน +1

    Wich codesys version and patch are you using?

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

    Can we generate a random number in codesys ladder logic. Please help asap. Thank you in advance.

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

      Not like rand function in matlab. But you can use cmpcrypto library or oscat library and some codes to generate it. Google it you will find the libraries and how to use them.

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

      @@industrial_automation Thank You. I want to generate a random value from 1 to 2 in ladder logic itself. Is it possible?? Will cmpcrypto or oscar library help me?

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

      @@visaliram5437 I tried Oscat library and it works. Download the library. There is function with the name RDM, gives you random number between 0 and 1. Use an add function. The output of the RDM will be +1. So you will have random numbers between 1 and 2. It can be also with LD.

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

      @@industrial_automation Thank You very much...👍

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

    Will there be a video about REFERENCE, POINTER and UNION?