Reset PID loop with math channel

  • Software
  • Reset PID loop with math channel
Klas Sundberg

Posted on 24.06.2019 17:10

I'm running DEWESoft X3 on a SIRIUS with the analog and function generator out options.


I've got an application where I want an automatic reset of the PID loop, using a math channel (I see a slope or an if() is satisfied then...).


I can do a reset using a user input panel, but I'm confused over how to do so with a regular math chanel (in order to get it automated).


Sorry for the dumb question.

Rok Kmetič
Customer Support Engineer
Posted on 27.06.2019 14:09

Dear Klas,


this can be automated with the sequencer. 

You first need to use the if block to check your condition.



And then set the reset to 1 with the calculation block.



If you have any addition question feel free to ask.


Best regards,

Rok Kmetič

Jacob Fern

Posted on 02.12.2021 20:28

@Klas Sundberg

I may be a couple of years late but I have another solution that does not use a sequencer. This may no longer help you but may help the next person.


I was able to use Control Channel Writer under the Math tab



I used a user-defined input, I would assume that you could use any math channel that returns a 0 or 1 value, to act as the input channel (trigger), to control the output (Reset PID)




Login to reply to this topic. If you don't have account yet, you can signup for free account .