Simulating a control program
In simulation mode you can specify microblock properties and define an operating environment to see how a control program will operate.

 
To simulate control program operation
- Select Control Program > Simulate.
- Select the file you want to simulate.
- Click Setup to define the simulation environment.
- Do one of the following:
Click Run to start the simulation and run it continuously.
Click Step to pause the simulation each time the control program is calculated.
- Select File > Exit or press Esc to stop and exit the simulation mode.
NOTE To simulate another control program at the same time, first open a new window using the Window > New Window command. Then open another control program. You can view multiple windows at once using the Window > Tile Horizontally and Window > Tile Vertically commands.
Field
|
Notes
|
Time
|
Starting time for simulation
|
Date
|
Starting date for simulation
|
Communications
|
Select communication normal or communication lost
|
Step every
|
Define how often the control program should be calculated
|
One step
|
Define how much time should pass between steps.
For example, if the Step Every field is set to one minute and One Step is set to ten minutes, then the simulation will be calculated every minute; but every time the simulation is calculated, it is calculated as though ten minutes have passed.
|
To change microblock properties in simulation mode
You can change a microblock's properties in simulation mode to see what effect a change will have on the control program's operation.
- Click the microblock in the simulation window.
- Make the changes in the microblock's dialog box. (The simulation pauses while the dialog box is open.)
- To save the changes made to a microblock's properties during simulation, select File > Save before exiting simulation mode.
|