Topic: DMD0243 Using the Do-more PID Process Simulator |
|
|
|
The Do-more Designer Simulator (DmSim) includes a PID Process simulator that can be used to demonstrate the process control abilities of the controller, or for testing potential changes to existing control solutions by working with the process control instructions in a simulation environment before deploying the control solution to a Do-more controller. The PID process simulator uses a first order filter and a dead time calculation to provide the simulated PID loop response.
The PID Process Simulator is opened by clicking 'Sim' on the toolbar of the Simulator and selecting Setup PID Process Simulator.
|
|
|
|
The PID Process Simulator will use:
There is a built-in structure for the PID Process Simulator (called $IntProcSim) that contains the following fields used to perform the simulation:
This dialog will write values for these fields or they can be set by the ladder logic in the controller.
Update Settings - click this button to write the above three values to the Simulator.
Exit PID Simulator - click this button to close the PID Process Simulator. |
|
|
|
The PID Process Simulator requires two ladder logic instructions in the Simulator before it can operate properly. These two instructions ( a PID and a SCALE ) will use the I/O in the simulator to provide space for the PID calculation and user input.
Click the What else do I need to do? button to display a dialog that details the instructions that must be added to the ladder program to make the PID process simulator work.
Note: an example project named PID1.Dmd is shipped with Do-more Designer that contains the required ladder logic components that are described below.
|
|
|
|
A Closed
Loop Controller (PID) instruction
Note:
Make sure to use floating point representations of the 0.0 and 1.0 numbers
(not 0 and 1) in the SCALE portions of the instruction. |
|
|
|
A Scale Value (SCALE) instruction to use WX1 as a user-controllable Set Point (SP).
Note: Make sure to use floating point representations of the 0.0 and 1.0 numbers (not 0 and 1) in the SCALE instruction.
|
|
|
|
See Also:
|
|
|
|
Related Topics:
|
|
|