Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Henryp on August 28, 2013, 12:10:59 PM

Title: DoMore and PID loops
Post by: Henryp on August 28, 2013, 12:10:59 PM
Where can I find information on how to setup, program and troubleshoot a Do More PID loop? 
Title: Re: DoMore and PID loops
Post by: plcnut on August 28, 2013, 12:56:50 PM
In DMD press F1 for help, then in the left pane click Contents>>Project Development Tools>>PID Loops.
Title: Re: DoMore and PID loops
Post by: BobO on August 28, 2013, 02:04:52 PM
The Do-more Simulator provides a great way to play with the tools too...

To set up a PID simulation:
1. Run the Sim
2. Select "Setup PID Process Simulator" from the "Sim" menu
3. Select "What else do I need to do?" to pop up a list of instructions to get the minimal PID implementation running. This involves creating a PID instruction and a single SCALE box.
4. Leave the defaults on the process simulator and select enabled.
5. Make sure the Sim is in RUN mode and there is power flow to the PID and SCALE instructions. You now have a functional simulation running.

Next, you'll need a PID view. Once you have entered a PID instruction, you can right-click it and select "Trend Instruction", or you can access the PID view from the toolbar.

From the PID view, you can auto-tune your Sim loop by selecting Auto-tune. Put your SP (the WX1 Sim slider) to about mid scale and hit Start Tuning. It'll tune, then present some options...select "Return Control to Ladder". You have now tuned a loop. Drag the SP around and observe.

That will cover the high points. Fee free to ask more questions here.