Running FactoryStudio Projects

The Run environment provides access to all project execution features. From the Main Menu, click on the “Run” icon. Then, click on the "Build" icon.

The Build feature compiles all of a project's displays and scripts for final verification before deploying the project for production. Build provides complete verification of an application's scripts when preparing it for final production. However, this is not necessary during the development stage since all project modifications are automatically and transparently compiled in the background while a project is edited. 

The Build selection has two information tables:


Messages show the current status of each script and display in regards to potential errors or warnings.

History shows the number times you executed a whole build for this project.

The Build command does not need to be executed after a project is edited as it happens automatically in the background. The Build command only needs to be used as a final verification before a project is deployed or for when a build number is needed. 





Test and Startup the Project

The Test feature lets you run a project in test mode. This enables protections that allow a test project to run on the same machine where the project is running in the startup mode. During test mode, the Historian and Alarm logging functions use temporary files instead of the database that is defined for project production.

You can enable diagnostic tools to help resolve any issues you may be working through. You can also decide to disable any of the FactoryStudio modules during your test. 






Running the Project

The Startup command is where you configure how your project will run in production mode. This allows the Historian and Alarm logging functions to use the databases that are defined in the project instead of the temporary files that were used in the test mode.

The Online Configuration checkbox allows you to establish an online configuration. When the project is running, you can access the project to debug or execute any modifications. 






Publishing Your Project

Click on the Publish icon.

The Publish command creates a read-only, protected version of a project that is suitable to be deployed in the field.

When the Publish command is executed, a new Project file (with extension "trun") is created with the version number selected. The Published Projects ("trun" extensions) are similar to the current project (".tproj" extension) and can be opened only in read-only mode. This provides you with a safe backup version of published applications.

Note

A project does not need to be published unless a read-only, protected version of the file is warranted. Otherwise, the project file just needs to be copied in the target computer. 

  • No labels