TIA Portal: "WHILE" "DO" Loop in SCL

Поділитися
Вставка
  • Опубліковано 29 сер 2024
  • Let's have a look at the basics of SCL and how we can use the "WHILE" loop statement correctly!
    Find it out here!
    If this video helped you, please consider helping me by joining my "GoFundMe" and donating a small amount to my cause. Link here:
    www.gofundme.c...
    Downloadlink TIA V16 (you need to register on the website):
    support.indust...
    Find a lot of content about TIA Portal on my channel!
    New programming videos every tuesday and thursday.

КОМЕНТАРІ • 53

  • @abdelhamidashraf883
    @abdelhamidashraf883 4 роки тому +8

    I just want to thank you for your great effort ❤️

  • @automationsystem5858
    @automationsystem5858 2 роки тому +3

    thanks for providing . you are my best teacher

  • @frankchristiansen2585
    @frankchristiansen2585 4 роки тому +1

    Again thank u! U are better at teaching than the teachers in school :)

  • @deividasnaudzius6504
    @deividasnaudzius6504 4 роки тому +1

    Thanks for all your video about Siemens PLC Programming.

  • @vinothparker7425
    @vinothparker7425 4 роки тому +1

    thank you so much.. kindly make more videos on scl.. there are only few videos available in youtube about scl and some of it are not easily understandable too but yours not like that.. you are explaining very clearly. many people like me need to know more about scl for easy programming. but the source is unavailable so far.. thanks for making the source available for us.

  • @abubakarhamid5623
    @abubakarhamid5623 4 роки тому

    we happy to listen to your voice and you make every good thank you

  • @pietpruts3437
    @pietpruts3437 3 роки тому +2

    Nice video's , i found this video after searching some tips about the while loops and how to exit . Sometimes the choice for for-loop or while-loop is not so easy.
    1 tip from me then @ ~ 23:00 you are setting the bit "Shelfes empty" with if then - else, this can also be done with 1 line
    "Shelfes empty" := "Next Filled Shelf" = 111;

  • @Shivayogi92
    @Shivayogi92 3 роки тому +1

    Please teach more from TIA,❤️ your videos

  • @RightInsane
    @RightInsane 4 роки тому

    Super, danke dir... Ich finde deine Videos wirklich super hilfreich...

  • @guzzar100
    @guzzar100 4 роки тому +3

    The best strategy about "While-Do" loop is Not to use them at all. It consumes lots of processing power, slows down scanning & a big program with lots of while-do loops can get messy. Its always recommended to use Case instruction.

  • @GeorgeAwny
    @GeorgeAwny 2 роки тому

    Thank you so much for the brief explanation

  • @framos9991
    @framos9991 Рік тому

    You doing Fantastic Job! Thank You!

  • @manutentoreelettrico647
    @manutentoreelettrico647 3 роки тому

    Thank you Sir a lot!!! You are helping me a lot.

  • @deepakjagtap1238
    @deepakjagtap1238 4 роки тому

    Thank you so much it really helped me a lot in understanding and writing code

  • @markbertin2441
    @markbertin2441 4 роки тому +2

    Great video, I wish I knew this three weeks ago, I did something similar in ladder using the compare function...took me ages!
    If I wanted to know where the next avaliable shelf was, I presume you just add 1 to the counter value within the IF statement?

  • @mostafahafez4585
    @mostafahafez4585 4 роки тому

    thank you so much .hope you continue in scl language plz

  • @vladislavjurasko6504
    @vladislavjurasko6504 Рік тому

    Amazing videos 👏

  • @radoslavklein662
    @radoslavklein662 4 роки тому +2

    Perfect !!!!

  • @ricardogiovani8522
    @ricardogiovani8522 4 роки тому

    U r the best !
    Ty for your videos. :)

  • @fs8617
    @fs8617 2 роки тому

    Danke dir 👍🏻👍🏻👍🏻

  • @vovk50
    @vovk50 4 роки тому +1

    Hello,
    Thank you for all your videos :)
    Can you maybe in the future make some video about bar code readers and rx-tx connections (like cognex or keyence readers) :)

  • @charliebrown2k
    @charliebrown2k 4 роки тому

    Thanks a lot for your excellent videos. I'm impressed about the speed of TIA portal in your hardware/software setup. Could you please comment about your equipment? And give some advice to optimize TIA portal execution.

  • @gregorlekse8859
    @gregorlekse8859 4 роки тому

    Great explanation thanks very helpfull

  • @user-rk6bz7sr4v
    @user-rk6bz7sr4v 2 роки тому

    Great! recently I learn a little Python and then I can easier to read SCL.

  • @lamkiet1010
    @lamkiet1010 4 роки тому

    Thank you so much for your Great video :)

  • @asifsultangujjar539
    @asifsultangujjar539 3 роки тому +1

    How can contact with you

  • @mabredayoub9157
    @mabredayoub9157 4 роки тому

    Thank you so much
    Can you do more videos about scl programming

  • @fabianpegoraro9783
    @fabianpegoraro9783 3 роки тому

    HI ! I wanted to know if you can teach us the FIFO method, why not using this shelfs example ! Have a nice day

  • @saadaldeenali3117
    @saadaldeenali3117 3 роки тому

    Why did you use symbol " " >>>> here between the variable " #next filled shelf " ? thx

  • @automationsystem5858
    @automationsystem5858 2 роки тому +1

    please a tia portal advance scl programming example viedo

  • @arifdinc5599
    @arifdinc5599 4 роки тому

    Great request from you could you shoot videos for more descriptive for and while loops?

  • @Amaneek060
    @Amaneek060 2 місяці тому

    Help me please Where did counter_temp come from?

  • @syedmujaheedahmed8381
    @syedmujaheedahmed8381 4 роки тому

    Thanks

  • @radoslavklein662
    @radoslavklein662 4 роки тому

    Could you please show us (from this project) how to count amount of booleans in that array (shelfs) which are true and which are false ?? Thanks..:) great content !

    • @TheCdamm
      @TheCdamm 4 роки тому +1

      I did this by using Bytes instead of bools. And use the FOR command, to add all Bytes together.

  • @TheAurorka
    @TheAurorka 2 роки тому

    не согласен с кодом до конца, по сути каждый цикл запуска функции, будет изначально присваиваться значение 111. Не лучше ли запихнуть это условие внутрь цикла while ??

  • @kruzkalz
    @kruzkalz 4 роки тому

    Thanks for your efforts. However I noticed that on TIA V16 there is no "Retrieve" . You can archive a project, but retrieve is not available. Can you help with the solution?

  • @SuperMoha86
    @SuperMoha86 3 роки тому

    Please help me Hegamurl, when I write the same code of (while.. do)loop of this tutorial it gives me invalid instruction with red underline when I write the following instruction counter_temp +=1; and it gives me red underline under += and also under 1, I'm using Tia portal v13, what is the solution of this issue?

    • @pietpruts3437
      @pietpruts3437 3 роки тому +2

      This function is not avialble in Tia Portal V13, you have tu use counter_temp:=counter_temp+1;

  • @1348mahmoud
    @1348mahmoud 4 роки тому

    Excelente

  • @loganathana7176
    @loganathana7176 4 роки тому

    Hi can you make vidoes for repeat loop and continue statement in SCL

  • @ekjstm
    @ekjstm 2 роки тому

    I'm learning SCL from the very basic, can someone tell me any open source book with lots of example I can try

  • @2tan90
    @2tan90 2 роки тому

    hello sir , thanks a lot

  • @user-bz5dd5jd7n
    @user-bz5dd5jd7n 3 місяці тому

    Hi, how can I put counter_temp en test in de storage? thanks a lot!!

    • @Amaneek060
      @Amaneek060 2 місяці тому

      Hi,I have the same problem as you solved it?

  • @zhengkunyan8001
    @zhengkunyan8001 4 роки тому

    💗❤️💗❤️💗

  • @Mau86able
    @Mau86able 2 роки тому

    Inhalt gut, er kennt sich mit der Programmierumgebung aus. Schlecht: zu viel Werbung, häufige Wiederholung der Erklärungen. Bild des Sprechers rechts unten.

  • @zhengkunyan8001
    @zhengkunyan8001 4 роки тому

    😄

  • @Olavotemrazaodenovo
    @Olavotemrazaodenovo 4 роки тому

    Excelente