You are on page 1of 1

support.industry.siemens.

com | Product Support | Wednesday, 12. May 2021
 Print this page   Generate PDF

Entry type: Application example, Entry ID: 109479728, Entry date: 05/11/2020

Library of general functions (LGF) for SIMATIC STEP 7 (TIA Portal) and SIMATIC S7-1200 / S7-
1500
The library "LGF (Library of general functions)" contains additional functions for STEP 7 (TIA Portal).

STEP 7 in TIA Portal already has an extensive number of instructions for PLC programming (mathematical functions,
times, counters, etc.). In addition, there are other useful basic functions that are often required in automation projects.
 

Such general-purpose functions are provided as "Library of General Functions". This library can be used unrestricted
and contains features such as FIFO, search function, matrix calculations, astro timer, ....
These functions
are immediately usable by parameterization
can be used universally
are not protected and therefore customizable
are best documented including interface description
All blocks in the library can be universally used with the following controller:
SIMATIC S7-1200 and S7-1200F product family (from firmware V4.2)
SIMATIC S7-1500 and S7-1500F product family (from firmware V2.0)
Simulation with SIMATIC S7-PLCSIM (as of V14)
Download for TIA Portal V16
  Documentation LGF V5.0.0 (5,2 MB)
    TIA Portal V16 Library LGF V5.0.0 (20,4 MB)
Download for TIA Portal V15.1 Update 3
    TIA Portal V15.1 Library LGF V5.0.0 (22,8 MB)

Note for FB LGF_TimerSwitch
Concerns only users, who use the FB LGF_TimerSwitch from the library V 4.0.0 for TIA portal V14 SP1 or the library V
4.0.1 for TIA portal V15 in a project.
  Note for FB LGF_TimerSwitch (560,7 KB)

Further Information
 The LGF was created with the programming styleguide.  
 Library with program examples for TIA Portal instructions
 Library with PLC data types (LPD) for STEP 7 (TIA Portal) and S7-1200 / S7-1500

Last change
LGF V5.0.0
See chapter history in the documentation

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic,
state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.

Entry belongs to product tree folder(s):
This entry is associated to 288 product(s).
 Show/Hide picture 1

© Siemens AG 2009-2021 - Imprint Privacy policy Cookie policy Terms of use Digital ID 0.0.0.0


t t

You might also like