News:

  • August 21, 2026, 12:29:37 AM

Login with username, password and session length

Author Topic: Bug with TIMEDOUT instruction ?  (Read 8258 times)

belias

  • Full Member
  • ***
  • Posts: 36
Bug with TIMEDOUT instruction ?
« on: December 29, 2019, 06:00:21 PM »
Over the past few days, I've had it happen twice where the TIMEDOUT instruction doesn't activate the output as expected.  The only way (that I've found) to correct the problem is to copy / paste the rung to a new Rung #, remove the old rung, and accept / write changes.  I've never seen this happen with any other instruction.

In the attached screen-shot, turning on C97 would not cause Y0 to be activated at all.  Copy / paste to a new location, and it works perfectly.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6172
  • Yes Pinky, Do-more will control the world!
Re: Bug with TIMEDOUT instruction ?
« Reply #1 on: December 29, 2019, 06:40:18 PM »
Do you have a saved version where it isn't working correctly? That would be very helpful to us.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

belias

  • Full Member
  • ***
  • Posts: 36
Re: Bug with TIMEDOUT instruction ?
« Reply #2 on: December 29, 2019, 07:29:07 PM »
Just sent you a PM

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6172
  • Yes Pinky, Do-more will control the world!
Re: Bug with TIMEDOUT instruction ?
« Reply #3 on: January 02, 2020, 01:37:56 PM »
For those who might see this later, there was no bug, just confusion on how the instruction worked. This was exacerbated by the fact that we weren't checking TIMEDOUT for duplicate references to the same output (duplicate coil check), but we have now added that.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3843
    • Host Engineering
Re: Bug with TIMEDOUT instruction ?
« Reply #4 on: January 02, 2020, 02:02:32 PM »
For those who might see this later, there was no bug, just confusion on how the instruction worked. This was exacerbated by the fact that we weren't checking TIMEDOUT for duplicate references to the same output (duplicate coil check), but we have now added that.

Here's the fix (also integrates the FLASHER instruction):