Structured Text Logic and Boolean Instructions | Motor Starter Interview Practice

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 มี.ค. 2020
  • Structured Text Logic and Boolean Instructions | Motor Starter Interview Practice
    Visit SolisPLC.com for more Tutorials, Information & to connect with the Community.
    Structured Text handles logical and mathematical comparators similarly to other programming languages such as C, C++, Java and Python. However, their syntax may be unfamiliar to those who work on PLCs within a ladder logic environment. That being said, every branch of PLC ladder logic is a state flow that can be simplified into a logical flow thus used in a single Structured Text statement.
    Mathematical comparators are also similar to what you'd expect in one of the languages mentioned above. However, the instructions one is used to in ladder logic such as LES, LIM, GRT and others are no longer available. Instead, the user is required to create logic that is similar to what one would see in a CMP Instruction. In other words, the user will have to input a mathematical instruction that would compare multiple values and return a "LOW" or "HIGH".
    Full Tutorial:
    www.solisplc.com/tutorials/st...
    Find us on social media:
    Web: solisplc.com/
    Forum: solisplc.com/forum/
    LinkedIn: / solisplc
    Facebook: / solisplc
    Instagram: / solisplc
    Twitter: / solis_plc
    Other Cool Content:
    Opto 22 Groov Epic PAC System Introduction Overview | SCADA Node Red MQTT
    • Opto 22 Groov Epic PAC...
    Structured Text PLC Programming Example for Input & Output Tag Aliasing Assignments
    • Structured Text PLC Pr...
    Structured Text PLC Programming | Introduction to ST in RSLogix Studio 5000 Allen Bradley Tutorial
    • Structured Text PLC Pr...
    PLC SD Card | Load Restore PLC Program CompactLogix ControlLogix Allen Bradley Studio 5000 Tutorial
    • PLC SD Card | Load Res...
    1756-ENBT - ControlLogix EtherNet IP Communication Allen Bradley PLC 1756-EN2T 1756-EN3T Programming
    • PLC Programming - Cont...

ความคิดเห็น • 14

  • @havefaith96
    @havefaith96 4 ปีที่แล้ว +3

    Thanks for the amazing content. It might be useful to show this in v31 or later as the structured text editor is FAR better now where tag values can be read directly on the program.

    • @SolisPLC
      @SolisPLC  4 ปีที่แล้ว

      Hey Steven, thank you for the feedback. I've actually held back on upgrading beyond v30 for a while. I do have v32 installed, so I'll go ahead with the upgrade soon. I should have been aware of the changes; I'm fairly excited to see the changes in the structured text editor. Thank you for the tip.

  • @stevetolbert1421
    @stevetolbert1421 2 ปีที่แล้ว

    Thx for all your videos very very good stuff

  • @luisneyofarrill9991
    @luisneyofarrill9991 4 ปีที่แล้ว +1

    Very Nice video and content, Thank you!! .... One question: when will you upload more videos about this Structure Text Tutorial?

  • @injunpride
    @injunpride ปีที่แล้ว

    Question, why do you have the [ ] around := ?
    What function does this provide?
    Thank You :)

  • @SCADAWorld
    @SCADAWorld 4 ปีที่แล้ว

    Nice channel. Good luck !

  • @DavidSmith-oj9ii
    @DavidSmith-oj9ii 3 ปีที่แล้ว

    Brilliant videos, extremely helpful. I do have a question though when I create a tag BOOL[1] I receive an invalid array subscript : BOOL[1] message. It might be a silly question but I'm new to ST. Thanks once again for the vids

  • @Olavotemrazaodenovo
    @Olavotemrazaodenovo 4 ปีที่แล้ว

    Congratulations from Brazil.

    • @SolisPLC
      @SolisPLC  4 ปีที่แล้ว

      thank you sir!

  • @umairshafi1188
    @umairshafi1188 3 ปีที่แล้ว

    Great information and guidance. Thanks alot. i would like to have your contact as i have one query related to timers.

  • @injunpride
    @injunpride ปีที่แล้ว

    You said, "the [ ] around the := made the := non retentive."
    What did you mean by this?
    [:=]
    Thank You :)

    • @SolisPLC
      @SolisPLC  ปีที่แล้ว

      It's the equivalent of using OTE vs OTL / OTU in ladder logic. One will set the bit based on the state of the previous equation while the other will change it once.

  • @vorapobautomation9760
    @vorapobautomation9760 4 ปีที่แล้ว

    How can I do HSC in CompactLogix L27ERM CPU ?
    I use incremental encoder opencollector connect to CPU

    • @SolisPLC
      @SolisPLC  4 ปีที่แล้ว

      Have you looked at the datasheet of the module? Are you referring to the 1769-HSC? If so, all the information is provided in the manual: literature.rockwellautomation.com/idc/groups/literature/documents/um/1769-um006_-en-p.pdf I don't have one on hand to make a video, but perhaps in the future.