Logic AND: Boolean Circuits in LAD, FBD, STL and SCL

Поделиться
HTML-код
  • Опубликовано: 14 дек 2024

Комментарии • 43

  • @caffeinatedinsanity2324
    @caffeinatedinsanity2324 4 года назад +15

    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

    • @joerg385
      @joerg385 4 года назад +1

      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.

    • @caffeinatedinsanity2324
      @caffeinatedinsanity2324 4 года назад +1

      @@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

  • @mortenlund1418
    @mortenlund1418 5 лет назад +6

    I did not really know what about STL - thanks for this valuable information.

  • @danbosak5801
    @danbosak5801 3 года назад +2

    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)";)

  • @braincrackz
    @braincrackz 5 лет назад

    you are the best. i am watching all your daily videos

  • @satendrachaturvedi5739
    @satendrachaturvedi5739 10 месяцев назад

    Hello sir,we are not able to understand how to structure a program in SCL language.

  • @DrFinleySiemens
    @DrFinleySiemens Год назад

    This was great! Sehr Danke!

  • @syeddanishraza903
    @syeddanishraza903 7 месяцев назад

    Love these series thanks

  • @quangchauminh9616
    @quangchauminh9616 5 месяцев назад

    Do you have any stl language court for s7-300, sir?

  • @TheMomentumhd
    @TheMomentumhd 5 лет назад +1

    Hey Can you help me code an Hex Clock? Having trouble with that

  • @simonmax3901
    @simonmax3901 5 лет назад +1

    Excellent tutorial

  • @ngocchaule5311
    @ngocchaule5311 5 лет назад +3

    Thanks you videos.

  • @eufemianojrnoble3236
    @eufemianojrnoble3236 5 лет назад

    Thank you. your videos are great and informative.. may i request if you could show us "move serialize and deserialize" please

  • @mdmostafashahid948
    @mdmostafashahid948 2 года назад

    very helpful tutorial 👉❤️❤️❤️❤️

  • @rajkiran4065
    @rajkiran4065 4 года назад

    pls make some more tutorial about STL..

  • @fatihtuz6052
    @fatihtuz6052 3 года назад

    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!

  • @moustafaadam3889
    @moustafaadam3889 4 года назад +2

    I need the name of the app you uses in explaining...

  • @laifabou9613
    @laifabou9613 4 года назад

    what is the language programtion PLC

  • @nardgacutan4768
    @nardgacutan4768 3 года назад

    Thanks for the video

  • @kapilprasadnag6618
    @kapilprasadnag6618 3 года назад

    Thanks ❤️❤️form India cttc Bhubaneswar Odisha

  • @munster1404
    @munster1404 4 года назад

    What is the difference between A and O? I see both in use in STL. Usually the “O” comes after “A”

    • @hegamurl7434
      @hegamurl7434  4 года назад +1

      "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"

  • @busraahmed1708
    @busraahmed1708 2 года назад

    nice from Bangladesh

  • @febqij
    @febqij 4 года назад

    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?

  • @automate7128
    @automate7128 2 года назад

    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)";

  • @ohadurrahman9334
    @ohadurrahman9334 2 года назад

    Nice

  • @framos9991
    @framos9991 Год назад

    👌

  • @Olavotemrazaodenovo
    @Olavotemrazaodenovo 5 лет назад

    Excellent

  • @sbibhureddy2255
    @sbibhureddy2255 3 года назад

    Thanks sir

  • @eeepanel3970
    @eeepanel3970 4 года назад +1

    You are great.

  • @abdulsamathu88
    @abdulsamathu88 5 лет назад +1

    Amazing:;:;

  • @JoseHarris-j9w
    @JoseHarris-j9w 3 месяца назад

    Minnie Ways

  • @saeed2tube
    @saeed2tube 5 лет назад

    Your right and left hand is wrong!

    • @hegamurl7434
      @hegamurl7434  5 лет назад +1

      I flipped my camera, you are right😟

  • @alterschwede5831
    @alterschwede5831 3 года назад

    You forgot Graph.

    • @hegamurl7434
      @hegamurl7434  3 года назад

      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)

  • @DanielMoore-s3j
    @DanielMoore-s3j 2 месяца назад

    Wisozk Ways

  • @rezamagham4495
    @rezamagham4495 2 года назад

    Nice