Jump to content

Meters inconsistent with automation


Nematrec
  • Branch: Preview Branch Version: Windows Pending

The meter reset inconsistently when controlled by automation, occasionally allowing an extra packet to pass


Steps to Reproduce

1. Set up a meter (liquid, gas, conveyor) controlled by a timer sensor.

2. Pause and unpause occasionally.

3. Allow to run unpaused.




User Feedback


My guess is that this bug is caused by the timing of sending the reset signal coinciding with the seam of packet ejection.
And this is a very tricky bug. It can undermine the reliability of many automated systems that try to do precise mass control with meter valves.
 

This is a surefire way to reproduce a bug.

a.thumb.png.49c4b5e191c0541c174fffd481daa290.png

The shortest reset signal of 0.1 seconds is sent to a number of meter valves at 0.1 second intervals.
This allows us to identify meter valves that have been reset at unfortunate times.
As you can see, meter valves resetting at the seam of the ejected packets will eject extra packets.

 

 

I use a tedious automation to work around this bug.
b.thumb.png.6b53bc14644852aedb2f38035a1d16fd.png

First disconnect the power, then reset the meter valve, and finally restore the power again.
Disconnecting the power will force the packet output of the meter valve to turn off, so resetting it during that time will completely separate the packet output from the reset timing, thus avoiding the bug.

This works, but hopefully the bug will be fixed so that we don't have to use this annoying method.
 

  • Like 3

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...