Little nuance with SCL: Since there was no line such as ELSE TestSCL := FALSE; The TestSCL has been "latched" (or Set to 1), so it won't reset upon releasing both buttons. Another way of programming it could have been to do something like this: TestSCL := ("LeftHand" AND "RightHand); If you want to make it shorter. But anyways, I typically reserve SCL for analysis rather than for hardware control
To make it even shorter, it's possible without the brackets ;-) I also want to add the detail, that the if/else statement corresponds to an SR flip-flop.
@@joerg385 good call. The brackets (or parenthesis) were not necessary indeed. Also, more specifically, "elsif" along with "if" would compose the SR flip flop, since "else" includes every possibilities except the ones stated in the If and Elsif statements
Hi, I can see fatal mistake at SCL circuit. When both inputs are TRUE, the output sets to TRUE, but it will never switch back to FALSE. You should add ("Test SCL":=FALSE;) into ELSE branch, or simplify all the circuit to ("Test SCL":="Right hand (red)" AND "Left hand (Green)";)
The SCL code is not an output function, it is a set function because the "Test SCL" is only set to true and not reset. The code needs to be: IF "Right Hand (Red)" AND "Left Hand (Green)" THEN "Test SCL" := TRUE; ELSE "Test SCL" := FALSE; END_IF; or the easiest way "Test SCL" := "Right Hand (Red)" AND "Left Hand (Green)";
"O" stands for an "Or" operation... meaning that if the result of this line OR the previous one was "TRUE", the result from this line will also be "TRUE" "A" stands for an "And" operation... meaning that if the result of this line AND the previous one are "TRUE", the result from this line will also be "TRUE"
Hi, I recently came across your channel and have already watched half of it. Very clear presentation of information. I wanted to ask a question about possible programming languages. And what is considered optimal and preferable? Does it make sense to know SQL and will it give any advantage?
Can somebody give me good tutorial PDF of SCL STL examples or all the instruction of they have in it? It was very informative tutorial for me thank you Hegamurl!
GRAPH is a "special" language, that is only used in sequential machines. There are some more languages with "specialized" applications. The four in this video mainly have the same purpose (which is boolean circuits)
I did not really know what about STL - thanks for this valuable information.
Little nuance with SCL:
Since there was no line such as
ELSE
TestSCL := FALSE;
The TestSCL has been "latched" (or Set to 1), so it won't reset upon releasing both buttons.
Another way of programming it could have been to do something like this:
TestSCL := ("LeftHand" AND "RightHand);
If you want to make it shorter. But anyways, I typically reserve SCL for analysis rather than for hardware control
To make it even shorter, it's possible without the brackets ;-)
I also want to add the detail, that the if/else statement corresponds to an SR flip-flop.
@@joerg385 good call. The brackets (or parenthesis) were not necessary indeed.
Also, more specifically, "elsif" along with "if" would compose the SR flip flop, since "else" includes every possibilities except the ones stated in the If and Elsif statements
Love these series thanks
you are the best. i am watching all your daily videos
This was great! Sehr Danke!
Thanks you videos.
Excellent tutorial
Hi, I can see fatal mistake at SCL circuit. When both inputs are TRUE, the output sets to TRUE, but it will never switch back to FALSE. You should add ("Test SCL":=FALSE;) into ELSE branch, or simplify all the circuit to ("Test SCL":="Right hand (red)" AND "Left hand (Green)";)
Do you have any stl language court for s7-300, sir?
Thanks for the video
Hello sir,we are not able to understand how to structure a program in SCL language.
very helpful tutorial 👉❤️❤️❤️❤️
Hey Can you help me code an Hex Clock? Having trouble with that
nice from Bangladesh
Excellent
Thanks sir
You are great.
No, you are great!
@@hegamurl7434 I am nothing
The SCL code is not an output function, it is a set function because the "Test SCL" is only set to true and not reset.
The code needs to be:
IF "Right Hand (Red)" AND "Left Hand (Green)" THEN
"Test SCL" := TRUE;
ELSE
"Test SCL" := FALSE;
END_IF;
or the easiest way
"Test SCL" := "Right Hand (Red)" AND "Left Hand (Green)";
👌
Nice
Thank you. your videos are great and informative.. may i request if you could show us "move serialize and deserialize" please
What is the difference between A and O? I see both in use in STL. Usually the “O” comes after “A”
"O" stands for an "Or" operation... meaning that if the result of this line OR the previous one was "TRUE", the result from this line will also be "TRUE"
"A" stands for an "And" operation... meaning that if the result of this line AND the previous one are "TRUE", the result from this line will also be "TRUE"
Amazing:;:;
Thanks ❤️❤️form India cttc Bhubaneswar Odisha
Hi, I recently came across your channel and have already watched half of it. Very clear presentation of information. I wanted to ask a question about possible programming languages. And what is considered optimal and preferable? Does it make sense to know SQL and will it give any advantage?
what is the language programtion PLC
yes
Can somebody give me good tutorial PDF of SCL STL examples or all the instruction of they have in it?
It was very informative tutorial for me thank you Hegamurl!
I need the name of the app you uses in explaining...
Tia Portal
pls make some more tutorial about STL..
Minnie Ways
Your right and left hand is wrong!
I flipped my camera, you are right😟
You forgot Graph.
GRAPH is a "special" language, that is only used in sequential machines. There are some more languages with "specialized" applications. The four in this video mainly have the same purpose (which is boolean circuits)
Wisozk Ways
Nice