Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: belias on December 29, 2019, 06:00:21 PM

Title: Bug with TIMEDOUT instruction ?
Post by: belias 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.
Title: Re: Bug with TIMEDOUT instruction ?
Post by: BobO 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.
Title: Re: Bug with TIMEDOUT instruction ?
Post by: belias on December 29, 2019, 07:29:07 PM
Just sent you a PM
Title: Re: Bug with TIMEDOUT instruction ?
Post by: BobO 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.
Title: Re: Bug with TIMEDOUT instruction ?
Post by: franji1 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):