PLC Programming Riddle. How does the ONS work?

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

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

  • @shawnspencer8766
    @shawnspencer8766 ปีที่แล้ว +2

    Regarding the second example (blind /see), I have seen code on quite a few old machines that use this style instead of a ONS.
    Was this at one point the standard way? Or was that just a programming choice made by that particular person.

    • @TimWilborne
      @TimWilborne  ปีที่แล้ว +2

      I'm not sure, the older I get, the more I appreciate the 2nd method because it is universal across brands.

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

    Damn i was close! I called out the ons but not for right reason

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

      There will be more...I'm not sure if there will be this Friday with Thanksgiving.

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

    Would it help to show the IL or mnemonics to help people understand there is an actual step of low level instructions, vs. actual "power flow" emulation of an actual relay circuit. This is one of the reasons I like to use SET and RESET coils vs. latching input logic like you have (but I understand the latch input pattern, but as you described, behavior is not obvious). The one thing I do like about the input logic based latches is that you also program the "reset" logic in the same rung. This latch/reset rung pattern has been around for decades, but it still requires explanation of the "input contact" behavior of the "latching coil". The SET and RESET coil pattern typically is across multiple rungs (with "reverse logic" on the RESET rung - good application of DeMorgan's Law!)

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

      What does "IL" stand for? I struggle with the acronyms 😁

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

      @@TimWilborne Instruction List I think is what they are referring to, I believe.

    • @markfranjione6786
      @markfranjione6786 11 หลายเดือนก่อน

      @@TimWilborneSorry I did not respond sooner. One of the languages in IEC-61131 used to be Instruction List (aka IL), basically mnemonics. The standard has dropped IL since it was more tightly coupled to the implementation of the other languages, hence not really great for a "standard" (e.g. all microprocessors/vendors had to have the same assembly mnemonic instructions). Hence IL was dropped.

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

    The one shot is a TTL trigger. Like on a D flip flop. Maybe JK flop