Codesys #18 Structure

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

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

  • @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.

  • @kcee432
    @kcee432 3 месяца назад +1

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

  • @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 3 месяца назад +1

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

  • @ramonfdezfdez7474
    @ramonfdezfdez7474 9 месяцев назад +1

    Fantastic.

  • @tadeoaceves768
    @tadeoaceves768 Год назад +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  Год назад

      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.

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

    Wich codesys version and patch are you using?

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

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

  • @seimela
    @seimela 3 месяца назад

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

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

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

  • @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...👍

  • @thornee04
    @thornee04 11 месяцев назад

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

    • @thornee04
      @thornee04 11 месяцев назад

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

    • @kcee432
      @kcee432 3 месяца назад

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