Reset Count in Simulation

How does the reset count operator work in Design Pad simulation?


Versions Prior to v4.5

For version of Design Pad prior to v4.5, the reset count is always set to 1 on the start of simulation.

Versions v4.5 and higher


Design Pad v4.5 and higher will maintain the restart count between simulation runs for each controller. Every run of a simulation acts as a restart of a controller. Every module or controller has a Simulation Setup/Directory folder in its module/hardware properties dialog. This parameter defaults to C:\Temp\Ctrl1\ which causes certain runtime simulation data (reset count, remote constants, and setpoint tracking) to be shared to a common file.

You may want customize this path for each of your devices in each of your .hwi files. Once you do this you will see the runtime counts track correctly for each time you start a simulation for a particular device. Furthermore, you may zero the reset count by deleting the Params.dat file saved to this directory.

For example, set the Simulation Setup directory for each device to something like C:\Temp\MyProject\<station name>. Then when you would like to test with the reset counts set back to 1, just delete the C:\Temp\MyProject directory and all of the devices boot up with reset counts back at 1.

Fairmount Automation, Inc.
Contact techincal support at TechSupport@FairmountAutomation.com