Switch for PID


Recommended Posts

I am using a switch to toggle a PID controller on and off. I have it set so that the set channel is a dummy channel named PID_Switch that has an event that will turn other PID on or off. However, that is not the only place I turn the controller on and off, as sometimes it is toggled during sequences or somewhere else.

When I toggle the controller from somewhere other than the switch, the switch will not update and will still appear as what I last set the switch to, regardless of the actual status of the PID loop.

Is there a better way for the PID to be toggled with a switch?

Link to comment
Share on other sites

There is nothing wrong with what you did with the switch, however, any place else you turn the controller on and off (i.e. other sequences) you should do so with the same channel that the switch references and not directly.  That way the switch status will update appropriately.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.