News:

  • June 30, 2026, 04:36:08 PM

Login with username, password and session length

Author Topic: MATH instruction has lost it's mind?  (Read 8810 times)

ERokc

  • Hero Member
  • *****
  • Posts: 118
MATH instruction has lost it's mind?
« on: March 01, 2015, 04:58:05 PM »
I have spent hours looking for a cause of incorrect math calculation and can't find it.  I then loaded two prior versions of my ladder logic that I know worked and they too now have the same problem. :(

I think I need to send my Do-more program with results of the MATH instruction for someone look at.
I guess I need an email address to send to.  What details do you need, Domore version, PLC firmware version, etc.?

I'm puzzled. It will be interesting to see the cause.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: MATH instruction has lost it's mind?
« Reply #1 on: March 02, 2015, 01:36:48 AM »
I have spent hours looking for a cause of incorrect math calculation and can't find it.  I then loaded two prior versions of my ladder logic that I know worked and they too now have the same problem. :(

I think I need to send my Do-more program with results of the MATH instruction for someone look at.
I guess I need an email address to send to.  What details do you need, Domore version, PLC firmware version, etc.?

I'm puzzled. It will be interesting to see the cause.

Send it to support@hosteng.com. PLC firmware version and DMD version will be enough.
"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

ERokc

  • Hero Member
  • *****
  • Posts: 118
Re: MATH instruction has lost it's mind?
« Reply #2 on: March 02, 2015, 01:13:30 PM »
Mail is bouncing back from support@hosteng.com and postmaster@hosteng.com

Is there a server problem happening?

Delivery has failed to these recipients or groups:

support@hosteng.com
The email address wasn’t found at the destination domain. It might be misspelled or it might not exist any longer. Try retyping the address and resending the message.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3833
    • Host Engineering
Re: MATH instruction has lost it's mind?
« Reply #3 on: March 02, 2015, 02:55:22 PM »
Mail is bouncing back from support@hosteng.com and postmaster@hosteng.com
That's our issue (sorry about that).  It will be fixed soon.  However, I will Private Message you with an email address you can send it to.

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 702
  • Hmmm...
    • Host Engineering, Inc.
Re: MATH instruction has lost it's mind?
« Reply #4 on: March 04, 2015, 03:48:23 PM »
ERokc, I sent you a response via email.
There are two types of people in the world; those that can extrapolate from incomplete data sets.

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 702
  • Hmmm...
    • Host Engineering, Inc.
Re: MATH instruction has lost it's mind?
« Reply #5 on: March 11, 2015, 09:52:58 AM »
For the record, ERokc sent me an email and said he had proven to himself that the MATH was actually broken by using the Debug mode. But when he ran just that bit of code in a previously-cleared PLC, it worked. And then after that he could not duplicate it. So we're not exactly sure what occurred but the hypothesis is that when it was not working there was something in retentive memory that was causing this behavior. No way to know what that was at this point.

So, if you do get some kind of bizarre behavior like this, use the Debug mode in Do-more Designer to prove it to yourself. But please fully document it if you have time so we can try to duplicate (and thus, fix) the issue.

Another thing that would be useful is while it is behaving this way, create a DMLoader file: File --> Export --> Generate DMLoader image...

BobO can give the details of just exactly what would be useful to include in the DMLoader image and why. :)
There are two types of people in the world; those that can extrapolate from incomplete data sets.