PACFramework

Program for Simulating an Installation with Dosing Vessels

General Description of the Simulated Installation

To create and test library blocks, you can use an object simulator that can be deployed on the same PLC, a PLC emulator where the framework is deployed, or as external software. The simulated installation is shown in Fig. 1.

img

Fig. 1. Image of the simulated installation for testing PACFramework blocks.

The process preparation installation consists of the following elements (Fig. 1):

  1. Tanks T1 and T2, in which products are prepared according to different recipes; the tanks are equipped with the following instrumentation and control devices:
  1. Dosing Vessels (measuring vessels) D1 and D2, which provide the dosing of components; the vessels are equipped with the following instrumentation and control devices:
  1. A 3-way valve for switching the supply pipeline from the dosing vessels to tanks T1 and T2; in the default position, it is set to “to T1” and has “T1” and “T2” limit switches.

General Principles of Simulation Modeling

The modeling principles used here are described in the textbook “Programming Industrial Controllers in the Unity PRO Environment,” with the relevant section also available at this link). This section highlights only the principles used in this model.

The parameter d_t defines the call period for correct dynamic calculations and can be used to adjust the simulation speed.

Model Components

Model Implementation on Platforms

There are export project variants implemented on different platforms: