Problems with the Import

Top  Previous  Next

 

If you have seen to it that you have clicked ‘Operands Absolute’ while ‘Generating Source’ in STEP ®7 errors are usually attributed to the use of special function blocks and -functions. Sometimes incompatibilities with already existing blocks can be the cause of errors as well. Recursive block calls lead to errors which you cannot get rid of. Some constructions are not implemented in TrySim in this version and causes errors and warnings while importing. Finally an error can be in TrySim itself.

 

The importer of TrySim is only tested with sources that were generated by the Siemens SIMATIC ® -Manager. If you use another system and errors will occur, please mail us the error creating source code so that we can correct TrySim correspondingly.

 

Symbolical Representation of the Operands

If you have kept the default ‘Addresses: Symbolic’ while ‘Generate Source’ TrySim will not be able to import the source. Do this process again with ‘Addresses: Absolute’. But you should import the symbol table first in every case.

 

Special Function Blocks and –functions and Know-How-Protected

These blocks that are used in STEP ®7 to head for function modules and for special tasks will not be exported by STEP ®7. In the directory special blocks the declarations of all SFBs and SFCs are saved. They will be copied into your project automatically if you call them.

You should not export blocks that are declared as Know-How-Protected to TrySim. To avoid this you can use the import filter.

 

Incompatibilities with available Blocks

If there are already blocks existing in your project which have got a differing declaration to the imported ones import errors may occur sometimes. Try to identify the error causing blocks by the help of the import log which is displayed automatically. In this cases delete the corresponding blocks and repeat this process.

 

Recursive Block Calls

You can program FBs in STEP ®7 which call themselves directly or by another block. A source that is created by such a program often cannot be retranslated. So avoid recursions please.

 

Not implemented Operations and Constructions

See: Not implemented features.

 

Error in TrySim

If none of the other error sources is there it will be possible that a programming error by us is the cause of the problem. In this case you can only try to change the program parts that cause the import error so that TrySim understands the source. Please contact us in such cases so that we can get rid of the errors. Here is our e-mail-address.

 

See also:

Import the Program

Import the Symbol Table

Problems with Export

Import and Export in General

 

STEP®7 and SIMATIC® are registered trademarks of the Siemens AG.