Export of the Program

Top  Previous  Next

 

For the export of the program you have to generate a source. A text file that contains the program is called ‘Source’. You can edit a source with every text-editor.

Select Project|Export|Blocks.
Shift the blocks that are to be exported with the arrow buttons into the right list in the selection mask. You can also shift all blocks at the same time. You do not have to think about the order of the blocks, it is specified automatically. You should not export special function blocks and -functions. The files in the export filter (Machine|Export|Edit Export Filter) can be shifted to the right side but they do not create a source.
Select ‘Entire File’, that is how you achieve that all blocks are written in one source. This file gets the name of your project with the extension ‘STL’. The ‘*.STL’ files are saved in the directory of your project. If there are already files with the same name these will be overwritten without warning.
Start STEP ®7 and create a new project. Which steps are necessary for that is described in the documentation to STEP ®7. Open the box
        Project|Station|CPU|S7-Program|Sources.
Select the menu item Insert|External Source.
Now you have to find the source file that you have created before.
The complete path is named (if you have accepted the defaults at installation)
C:\Programs\TrySim\Project\Your project.
Having inserted you find the new source in the box that is named like your project. Open this source with a double click.
Select the menu item File|Translate or Insert|Translate. If there are already blocks with the same name like the imported ones in the STEP ®7-project they will be overwritten without warning.
If all goes well the message ‘Compiler Result: 0 Errors, 0 Warnings’ will be displayed in the lower window and your program is successfully exported to STEP ®7. If you get warnings these will mostly refer to the use of data words and they are normally harmless. In case you got error messages the translation had not been successful. For that please read the section problems with export.

 

See also:

Export the Symbol Table

Import the Program

Import the Symbol Table

Import and Export in General

 

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