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.
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..!
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 :)
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
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
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
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.
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;
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'?
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.
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;
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^^
@@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!
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.
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..!
Sir, please do continue your fascinating and remarkable lectures indepth on the subject. Love and Respect from India.
I really enjoy the video, smooth and clear. Easy to understand.😌 I couldn't believe how fast time goes, when watching your video. appreciated🙏🤙😊
Thanks for share this kind of knowledge in a easy way to understand!!!
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 :)
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
@@egrabhishek Phewks. I have the same sentiment as you.
Can you give me some training on SCL?
Great Lecture!! Thank you so much!
Hi your style of tutoring is the best one ❤
very goog video , can you make a video in scl using single input for on and off the motor. thanks
You probably already know this, but in case someone watching this, the syntax for a Negate AND in SCL is "AND NOT"
I just love the way you explain things. It is very useful for me to learn SCL. thank you very much.
Great and very useful video as always. Thanks a lot Philipp! Greetings from Turkey
This is helpful I am learning a lot here.
You doing Fantastic Job! Thank You!
Great video and very useful information!
PLEASE MAKE A VIDEO HOW TO MAKE A TIMER DATABLOCK MANUAL,THANK YOU
Instead of writing AND #Take_Out = FALSE, you can simply write AND NOT #Take_Out
Exactly what I was trying to do! Programming in too many languages at a time makes me forget the easiest stuff😅 Thanks!
Thanks for this video, it's very useful.
Many thanks for your for the videos.
Easy to understand! :) Dont worry about the length of the video... more fun for us! :D
Thank u sooo much for these videos. Im learning a lot from these!
Great! video, greetings from Mexico, thanks Master
quick question. what is the primary DB of this FB? can/should you leave both on the program? thanks for the vid
[ and ] are square brackets
Thanks for your good tutorial, Is it possible that if the input value is false the it will also make output false.
Hi, Is it possible to add timmer her with "if statement". for example:
IF "input variable" then
WAIT for 5s
output := True;
End_IF;
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
Exactly what my next videos will be about!
thank you👍🏾
Thank you for your share and effort you madeCould you make a video regarding to indirect addressing?
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
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.
We wait more, master
I upload every tuesday and thursday! Thanks for the support!
@@hegamurl7434 Of course I will support
Hello, I need to convert a program made of a c++ language to the scl tia portal, any chance to do that automatically.
Please, make some vedios on motion control.
[] are the square brackets
Thanks man! Great video!
[ ] are called brackets as far as i know
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;
amazing job sir
Is there any way to have TIA Portal on my laptop ?
As always, waaaaayyyyyy toooooo loooong, sorry! Will try to keep it to max 15min in the future!
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!
No problem about timing.. you are really explaining very clearly.. I'm waiting for you next video
it's useful like that because you take time to explain good and very clearly thanks my freind .
No matter, if take even one hour i will see several time.
thank you teacher
Can I use move blocks in scl?
Why is this video not in HD
This is [ ] call square brackets 04:45 :)
Vfd intefacing with plc
Thank you a lot sir!!!
Thank You Thai language
going great
Awesome 👍👍👍👍
Please tell us how to connect python
you can say 'eckige Klammer' we understand you :)
Vielen Dank
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'?
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.
Thank you!
thank you sir ,
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;
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^^
@@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!
thank you Sir!!!
PUTIN Cheers you exclusively for the first Program Line
HELLO HOW CAN I HANDLE WITH PID BY SCL LANGUAGE
Excelente
verryyyy useful
Hood thank you tiycher goood
Singular - shelf, plural - shelvs ;-)
I also noticed that, but I don't mind. This guy is amazing and does it for free. Haha
square brackets
Я уверен у тебя отличный контент, но не понимаю я на английском, а так хотелось бы понять тебя!!!))))
Melisa Path
Hamill Ways
bad example. Next time using a button and a led is more understandable.
Thank you!
square brackets