I might see a little bit of something...
That line: PumpDC = (MathSet * CurrentStepl + PumpDcSet)
Maybe it needs another set of parenthesis? Maybe like this instead:
PumpDC = ( ( MathSet * CurrentStepl ) + PumpDcSet ) or
PumpDC = ( MathSet * ( CurrentStepl + PumpDcSet ) )
I'm just guessing though since info is a bit sparse...
Bookmarks