Create Blocks From External Sources - Siemens SINUMERIK 840D sl Configuration Manual

Sinumerik step 7 toolbox v15.1
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Programming the PLC

4.9 Create blocks from external sources

4.9
Create blocks from external sources
You do not manage external source files (e.g. *.STL or *.SCL) in TIA Portal in the "Program
blocks" folder, but in the "External sources" folder, e.g. under "CNC_1 > PLC_1 > External
sources". You can then generate blocks from the sources maintained there. These are saved
in the "Program blocks" folder.
You do not edit the files in the "External sources" folder using a TIA Portal editor, but with any
external editor, which you define under Windows.
Requirement
● An external source is available in STL or SCL format.
● The mnemonic set in the TIA Portal corresponds to the setting used in the external source.
These settings are found in the menu bar of the TIA Portal as follows: "Extras > Settings >
General > General settings > Mnemonic".
Note
Use of German mnemonics in external source files of the basic PLC program
The mnemonic setting "German" is required in all external source files contained in the copy
templates of the basic PLC program. This affects the files "bhg_db_awl", "diagnose.awl",
"gpob840d.awl" and "mdeclist.awl".
The process fails if the setting does not correspond to the setting of the source file when the
block is generated.
Procedure
1. In the project tree, select the "Add new external file" command in the "CNC_1 > PLC_1 >
External sources" folder.
2. Select the external file (*.STL or *.SCL) that you want to add in the "Open" dialog.
The external file is copied to the "External sources" folder in the project tree.
Note
Displaying external sources (e.g. STL files) using an external editor
The internal editor of the TIA Portal does not display external sources.
If you add and open an external source in the TIA Portal, the file will be opened with the
application linked with the associated file type (e.g. STL) in Windows (e.g. Microsoft Editor).
See also: TIA Portal online help, search term "Using external source files"
3. Right-click the external source, then select the "Generate blocks from source" command in
the shortcut menu.
Result
You have successfully generated blocks from an external source.
Further information about external sources of the PLC basic program system library can be
found in the SINUMERIK 840D sl Basic Functions Manual.
84
SINUMERIK STEP 7 Toolbox V15.1
Configuration Manual, 12/2018, A5E46279635B AA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents