TIA Portal: "IF" "THEN" "ELSE" "ELSIF" Statement in SCL

  Рет қаралды 87,207

Hegamurl

Hegamurl

Күн бұрын

Пікірлер: 83
@Autunite
@Autunite 3 жыл бұрын
I'm using these videos to learn myself SCL so that I can make complicated tasks a lot simpler. I went from having a looong ladder rung to one line of SCL code to indicate a lamp every 10 pallet. Opened my eyes a bit.
@xiaozhang497
@xiaozhang497 2 ай бұрын
Great Lecture!! Thank you so much!
@suchayanmondal9858
@suchayanmondal9858 4 жыл бұрын
Sir, please do continue your fascinating and remarkable lectures indepth on the subject. Love and Respect from India.
@kunalpatil3457
@kunalpatil3457 4 жыл бұрын
I am writing my first scl seqence programm, with lot of if, else, elsif conditions, and needed to understand how thease statements work in shorttime. Got exactly what I was looking for..! thanks a lot..!
@luckyimmn9790
@luckyimmn9790 4 жыл бұрын
I really enjoy the video, smooth and clear. Easy to understand.😌 I couldn't believe how fast time goes, when watching your video. appreciated🙏🤙😊
@momchilantonov1419
@momchilantonov1419 4 жыл бұрын
Nice video! I just want to say that SCL is not just for special programming, I program everything only on SCL, even my Main OB. If you are good on SCL I will appreciate if you make more videos for tips and tricks on this language :)
@egrabhishek
@egrabhishek 2 жыл бұрын
I was kinda aware of this. I am new to SCL .. got a little dis heartened listening to what he mentioned... Thanks to you for confirming it's broad applicability
@mwanikimwaniki6801
@mwanikimwaniki6801 2 жыл бұрын
@@egrabhishek Phewks. I have the same sentiment as you.
@swapnilbhalerao3914
@swapnilbhalerao3914 Жыл бұрын
Can you give me some training on SCL?
@syeddanishraza903
@syeddanishraza903 4 ай бұрын
Hi your style of tutoring is the best one ❤
@danielaugustoalmeida1101
@danielaugustoalmeida1101 Жыл бұрын
Thanks for share this kind of knowledge in a easy way to understand!!!
@spectrum7spectrum727
@spectrum7spectrum727 5 ай бұрын
Great video and very useful information!
@abhijeetgodbole5894
@abhijeetgodbole5894 3 жыл бұрын
I just love the way you explain things. It is very useful for me to learn SCL. thank you very much.
@khululekanindabana4267
@khululekanindabana4267 Жыл бұрын
This is helpful I am learning a lot here.
@framos9991
@framos9991 Жыл бұрын
You doing Fantastic Job! Thank You!
@ajitpalsingh2526
@ajitpalsingh2526 2 жыл бұрын
very goog video , can you make a video in scl using single input for on and off the motor. thanks
@shashanksawant1986
@shashanksawant1986 2 жыл бұрын
Many thanks for your for the videos.
@emirhanerol8504
@emirhanerol8504 3 жыл бұрын
Great and very useful video as always. Thanks a lot Philipp! Greetings from Turkey
@kme8134
@kme8134 Жыл бұрын
Thank you!
@orlandoserrano4275
@orlandoserrano4275 3 жыл бұрын
Great! video, greetings from Mexico, thanks Master
@Bacilys13
@Bacilys13 4 жыл бұрын
Easy to understand! :) Dont worry about the length of the video... more fun for us! :D
@muhammetemreturk7137
@muhammetemreturk7137 2 жыл бұрын
Thanks for this video, it's very useful.
@frankchristiansen2585
@frankchristiansen2585 4 жыл бұрын
Thank u sooo much for these videos. Im learning a lot from these!
@ibrahimkaratas5093
@ibrahimkaratas5093 4 жыл бұрын
We wait more, master
@hegamurl7434
@hegamurl7434 4 жыл бұрын
I upload every tuesday and thursday! Thanks for the support!
@ibrahimkaratas5093
@ibrahimkaratas5093 4 жыл бұрын
@@hegamurl7434 Of course I will support
@yoghurtedchikenpneumatics749
@yoghurtedchikenpneumatics749 4 жыл бұрын
amazing job sir
@apinutnuengnong6834
@apinutnuengnong6834 4 жыл бұрын
thank you teacher
@e-design94
@e-design94 4 ай бұрын
PLEASE MAKE A VIDEO HOW TO MAKE A TIMER DATABLOCK MANUAL,THANK YOU
@steve-ip1cd
@steve-ip1cd 3 жыл бұрын
Thanks man! Great video!
@thomaspedersen2788
@thomaspedersen2788 4 жыл бұрын
Instead of writing AND #Take_Out = FALSE, you can simply write AND NOT #Take_Out
@hegamurl7434
@hegamurl7434 4 жыл бұрын
Exactly what I was trying to do! Programming in too many languages at a time makes me forget the easiest stuff😅 Thanks!
@hegamurl7434
@hegamurl7434 4 жыл бұрын
As always, waaaaayyyyyy toooooo loooong, sorry! Will try to keep it to max 15min in the future!
@MrBoowashere
@MrBoowashere 4 жыл бұрын
Dont worry too much. It is nice that you explain things nice and clearly and take your time makes it easy for noobs like me to follow!
@vinothparker7425
@vinothparker7425 4 жыл бұрын
No problem about timing.. you are really explaining very clearly.. I'm waiting for you next video
@Youness-Ladib
@Youness-Ladib 4 жыл бұрын
it's useful like that because you take time to explain good and very clearly thanks my freind .
@saeed2tube
@saeed2tube 4 жыл бұрын
No matter, if take even one hour i will see several time.
@brstilson
@brstilson Ай бұрын
You probably already know this, but in case someone watching this, the syntax for a Negate AND in SCL is "AND NOT"
@manutentoreelettrico647
@manutentoreelettrico647 3 жыл бұрын
Thank you a lot sir!!!
@2tan90
@2tan90 2 жыл бұрын
thank you sir ,
@Sh_Firouz
@Sh_Firouz Жыл бұрын
Vielen Dank
@sandeepgowda114
@sandeepgowda114 Жыл бұрын
Vfd intefacing with plc
@industrialautomationkotttu8841
@industrialautomationkotttu8841 3 жыл бұрын
going great
@manutentoreelettrico647
@manutentoreelettrico647 3 жыл бұрын
thank you Sir!!!
@vitaliizaliskyi1266
@vitaliizaliskyi1266 2 жыл бұрын
Awesome 👍👍👍👍
@ghulamsarwar5899
@ghulamsarwar5899 Жыл бұрын
[ and ] are square brackets
@alwayshappy9509
@alwayshappy9509 3 жыл бұрын
Thanks for your good tutorial, Is it possible that if the input value is false the it will also make output false.
@BTON889
@BTON889 2 жыл бұрын
Hello ! I follow your videos a lot and it teaches me a lot. indeed I would like to know how to keep the hmi variables in cpu after restarting the cpu? Thanks in advance
@shoaibshoaib1453
@shoaibshoaib1453 3 жыл бұрын
Sir i want to one plant plant programme . Like still plant there have a different sensor pressure transmitter rtd etc more analog signal. I hope u will next video same as.
@GoldenAfroZZ
@GoldenAfroZZ 2 жыл бұрын
[ ] are called brackets as far as i know
@sagarkaria6291
@sagarkaria6291 4 жыл бұрын
haloo, i am learning about scl and i dont undurstand de for and while loops in scl can you make a video explaining that topic? kind regards sagar karia
@hegamurl7434
@hegamurl7434 4 жыл бұрын
Exactly what my next videos will be about!
@sagarkaria6291
@sagarkaria6291 4 жыл бұрын
thank you👍🏾
@mertsenol6000
@mertsenol6000 4 жыл бұрын
Thank you for your share and effort you madeCould you make a video regarding to indirect addressing?
@NotMarkKnopfler
@NotMarkKnopfler 4 жыл бұрын
The error evaluation could be more concisely written as ERROR := #Put_In AND #Take_Out; If you evaluate the error condition first, then you can simplify even further and increase efficiency: ERROR := #Put_In AND #Take_Out; IF NOT ERROR THEN IF Put_In THEN Shelfs[Selected_Shelf] :=TRUE; ELSIF Take_Out THEN Shelfs[Selected_Shelf] := FALSE; END_IF; END_IF;
@hegamurl7434
@hegamurl7434 4 жыл бұрын
A lot of the code snippets I create in my videos could be improved/be made more efficient, that is 100% correct. But my videos are aimed more at absolute beginners, I just want to teach the basics. Maybe I'll make a video at some point an talk about writing more efficient code, that will be directed at more advanced programmers than... so I'll see^^
@NotMarkKnopfler
@NotMarkKnopfler 4 жыл бұрын
@@hegamurl7434 You are doing a GREAT job with these videos. Really fantastic. I just wanted to point it out. I've been watching your videos to re-familiarise myself with TIA/Step7 and they are fantastic. One possible question/topic for a video: Is it possible to write an FB and then call it using SCL? That would make a great video (if it's possible!). Many thanks for your efforts in producing these videos. It's really appreciated! Greetings from Scotland!
@a4wong
@a4wong 3 жыл бұрын
quick question. what is the primary DB of this FB? can/should you leave both on the program? thanks for the vid
@1348mahmoud
@1348mahmoud 4 жыл бұрын
Excelente
@zhengkunyan8001
@zhengkunyan8001 4 жыл бұрын
verryyyy useful
@nazimmirza9421
@nazimmirza9421 4 жыл бұрын
Please, make some vedios on motion control.
@christamohr2358
@christamohr2358 3 жыл бұрын
Hi, Is it possible to add timmer her with "if statement". for example: IF "input variable" then WAIT for 5s output := True; End_IF;
@ercankr75
@ercankr75 3 жыл бұрын
Hood thank you tiycher goood
@alv1947
@alv1947 2 жыл бұрын
you can say 'eckige Klammer' we understand you :)
@taavikoppel1769
@taavikoppel1769 4 жыл бұрын
What do I do If I have a large number of conditions inside one IF statement. How do I write it? Do I just keep adding AND statements? IF ..... this AND that AND that AND that AND that AND this AND not THAT AND ......THEN END_IF;
@nabilmarsel8792
@nabilmarsel8792 3 жыл бұрын
Hello, I need to convert a program made of a c++ language to the scl tia portal, any chance to do that automatically.
@rezamagham4495
@rezamagham4495 2 жыл бұрын
Please tell us how to connect python
@ahmeddarwish883
@ahmeddarwish883 3 жыл бұрын
Is there any way to have TIA Portal on my laptop ?
@mechanikalkraken
@mechanikalkraken 3 жыл бұрын
PUTIN Cheers you exclusively for the first Program Line
@milesonwheels8127
@milesonwheels8127 2 жыл бұрын
Can I use move blocks in scl?
@EugenMk
@EugenMk 2 жыл бұрын
Singular - shelf, plural - shelvs ;-)
@alonsohdzf
@alonsohdzf 2 жыл бұрын
I also noticed that, but I don't mind. This guy is amazing and does it for free. Haha
@intradeee
@intradeee 4 жыл бұрын
Can you explain me why Shelfs[5] stays TRUE when #Put_in is false and becames FALSE only when #Take_Out becames TRUE while #Error becames instantly FALSE when the statement in last IF is FALSE? Is it because Shelfs[] are InOut and Error is just output and has 'Default value'?
@NiteAngyl
@NiteAngyl Жыл бұрын
I'm sorry you had to wait two years for this answer, but here goes; When Put_In is TRUE it only states Shelves[5] to be TRUE. There is no statement that helps Shelves to be FALSE by Put_In. You need either a reset function for it, or in this case, the Take_Out bit to be TRUE.
@touchdesign4582
@touchdesign4582 4 жыл бұрын
HELLO HOW CAN I HANDLE WITH PID BY SCL LANGUAGE
@dangalyt
@dangalyt 3 жыл бұрын
square brackets
@tomahawk777
@tomahawk777 3 жыл бұрын
Я уверен у тебя отличный контент, но не понимаю я на английском, а так хотелось бы понять тебя!!!))))
@TennilleEngquist-g9w
@TennilleEngquist-g9w 5 күн бұрын
Hamill Ways
@desolator1295
@desolator1295 2 жыл бұрын
bad example. Next time using a button and a led is more understandable.
@CosminRusu154
@CosminRusu154 3 жыл бұрын
Thank you!
@joeschlitzer2004
@joeschlitzer2004 4 жыл бұрын
square brackets
TIA Portal: "FOR" "TO" "DO" Loops in SCL
21:31
Hegamurl
Рет қаралды 67 М.
PLC Basics: Structured Text
33:31
This is Automation
Рет қаралды 110 М.
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 36 МЛН
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 16 МЛН
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 48 МЛН
TIA Portal: "CASE... OF..." Statements in SCL
17:43
Hegamurl
Рет қаралды 41 М.
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 3,9 МЛН
TIA Portal: "WHILE" "DO" Loop in SCL
24:45
Hegamurl
Рет қаралды 41 М.
But, what is Virtual Memory?
20:11
Tech With Nikola
Рет қаралды 268 М.
Data Types and How to know what you need! (TIA Portal)
23:08
Hegamurl
Рет қаралды 107 М.
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 36 МЛН