top of page
Search
Writer's pictureIvaylo Fiziev

POUs in Process Simulate


Now that you know what the basic SCL building blocks are, it is time to make use of them in Process Simulate. FB, FC and UDT definitions are provided in a special folder known as the SCL Vault. It is located under your Tecnomatix installation folder. e.g. <install path>\eMPower\Scripting\SCL\Vault.

Each POU is defined in a separate .scl file. These are UTF-8 encoded text files. It is important that the name of the file matches the name of the POU. This allows Process Simulate to do lazy POU loading during simulation. If the names don't match you may get errors related to missing data types ...

The SCL Vault contains several .scl files provided by our team. These can be used as reference when you implement yours.

Once you create a new .scl file under the SCL Vault you must restart Process Simulate in order to use it in scripting. It is a limitation that we must solve someday.

If you however edit an existing .scl file, the changes are reflected in the next simulation.

Q: But wait! How do I consume these definitions in the first place?

A: Good question. All POUs are available in the 'SCL Editor'. A special tool that creates the main FB for each of your resources.

Q: Why 'main'?

A: We call it 'main' because it is the entry point to your creativity :)



30 views0 comments

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page