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.
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
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.
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.
@@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?
@@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.
I didn't know you could combine them with arrays...very nice
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 !
Congratulations for your new job 👏👏and I'm so happy that my videos could help you.
Another very good video on codesys
Dear brother your videos are knowledgeable. Please make a video in one week.
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.
Thanks
Please do your content is powerful and rare @@industrial_automation
Fantastic.
Will there be a video about REFERENCE, POINTER and UNION?
Yes for sure. Maybe the next one 😉.
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
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.
HI, could you upload others videos explain enumeration, alias, and unio?
thanks
Hi, Enumeration I've just uploaded, others I will do in the future.
Why would you need to use the extended struct? Why not just add the variable to the Motor struct?
LOVE these vids.
Brief description of a use case would be greatly beneficial in this series 🙂
I thought the same thing, but hey, the extension procedure is there for a reason, you could build your program without it, no bigge
I have a gear cutter! Hobber which I need to automate using.. No servos
Wich codesys version and patch are you using?
Currently V3.5 sp19
Can we generate a random number in codesys ladder logic. Please help asap. Thank you in advance.
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.
@@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?
@@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.
@@industrial_automation Thank You very much...👍