Reset PID loop with math channel
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.
Customer Support Engineer
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č
@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)