EasyManua.ls Logo

Siemens Simatic S7 Series

Siemens Simatic S7 Series
726 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
411
Libraries
9
9.1
Creating a user-defined library of instructions
STEP 7-Micro/WIN SMART allows you either to create a custom library of instructions, or to
use a library created by someone else.
Creating a library
To create a user-defined library of instructions, you create standard
STEP 7-Micro/WIN SMART subroutines and group them together. By grouping these
subroutines into a library, you can hide the code to prevent unwanted changes and to protect
the technology (know-how) of the author.
To create a user-defined library, perform the following tasks:
1. Write the program as a standard project and put the function to be included in the library
into subroutines.
2. Ensure that you have assigned a symbolic name to all V memory locations in the
subroutines or interrupt routines. To minimize the amount of V memory that the library
requires, use sequential V memory locations.
3. Rename the subroutines to the names that you want to appear in the instruction library.
4. Click the Create button
from the Libraries area of the File menu ribbon strip to
compile and create the new library from the subroutines you selected. If the subroutine
references interrupts, STEP 7-Micro/WIN SMART also includes the interrupt routines in
the library.

Table of Contents

Other manuals for Siemens Simatic S7 Series

Related product manuals