Import-Filter

Top  Previous  Next

 

Testing bigger programs it can happen that only parts of the machine of a simulation are accessable with TrySim. In these cases there are blocks in your program that is written in the STEP ®7 system that are needed in TrySim in a modified form. You can define an import filter that avoids an import of these blocks so that these blocks are not overwritten while importing the whole program.

 

Select Project|Import|Blocks|Edit Import Filter.

 

A typical example is a PLC with a counter module for position detecting. Here there are standard blocks by Siemens which handle the communication with the module. In the end these blocks have only got the job to save the position of the moved part at a specific position in the data memory. The (modified) block has to do exactly the same in TrySim as well so that the rest of the program works.

In this case you have to proceed like this:

 

1.) Import the standard block once, so that the interface is known in TrySim.

 

2.) Modify the code in the block so that it has got the desired functionality. Normally no code exists after the import because the blocks are declared as know-how-protected.

 

3.) Include the block into the import filter so that your changes are not overwritten by mistake at the next import of the program.

 

If you have got problems modifying such a block please contact us.

 

If you need the changed block in the following projects as well you will be able to add it with Project|Add Files to the new program.

 

See also:

Import the Program

 

STEP®7 is a registered trademark of the Siemens AG.