PLC, HMI, SCADA, INVERTERS, GSD PROFIBUS,
GSDML PROFINET, EDS CanOpen, INDUSTRIAL AUTOMATION

12:24
Library of General Functions (LGF) STEP 7 Basic/Professional (TIA PORTAL) / SIMATIC S7-1200 / S7-1500

Library of General Functions (LGF) STEP 7 Basic/Professional (TIA POR

109479728_LGF_DOC_V5_2_1_en.pdf - Entry ID: 109479728 | V5.2.1 | 10/2025

109479728_LGF_LIB_TIAV20_V5_2_1.zip - TIA Portal V20 Library 

Application ID: LGF

Application Name: Library of General Functions

Application Type: Global library for STEP 7 in TIA Portal

Latest version: V5.2.1

PLC Family: S7-1500(F) / S7-1200(F)

 

The LGF (Library of General Functions) for SIMATIC S7-1200 / S7-1500 is a global library for TIA Portal that provides a curated set of reusable function blocks to simplify PLC programming and enhance automation projects. It extends standard instructions of STEP 7 in TIA Portal with additional capabilities for logic, timing, counting, comparison, mathematical operations, data processing, and technology-related tasks.

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)

Last Change

LGF V5.2.1 - See changelog chapter in the documentation

Features

The LGF library is organized into functional groups:

  • Bit Logic Operations – Logical operations on bits and signals.
  • Date and Timer Operations – Functions for time-based processes and date handling.
  • Counter Operations – Blocks for event counting and cyclic processes.
  • Comparator Operations – Value comparison and condition checks.
  • Math Operations – Basic and advanced mathematical calculations.
  • Data Handling – Tools for managing and processing data structures.
  • Converter Operations – Data type conversion and scaling functions.
  • Signal Generators – Blocks for generating periodic or custom signals.
  • Technology Operations – Specialized functions for technology-specific tasks.
  • Measurement Operations – Functions for measurement and evaluation processes.
  • Legacy Functions – Compatibility blocks for older projects.

18/03/2026 Update


LGF V5.3.0 - Release update for TIA Portal V21 and V20

Manual ZIP download

LGF V5.3.0 for TIA Portal V20 (16,0 MB)

LGF V5.3.0 for TIA Portal V21 (18,4 MB)

Documentation

Documentation (V5.3.0) (14,2 MB)


Archived Versions


Documentation LGF V5.2.1 (14.4 MB)

Documentation (V5.1.0) (9,2 MB)

Download for TIA Portal V19 - TIA Portal V19 Library LGF V5.2.1 (13.4 MB)

Download for TIA Portal V18 - TIA Portal V18 Library LGF V5.2.1 (13.4 MB)

Download for TIA Portal V17 - TIA Portal V17 Library LGF V5.2.1 (15.8 MB)

Download for TIA Portal V16 - TIA Portal V16 Library LGF V5.1.0 (12.0 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)


UPDATE 23.04.026


LGF-TIA14.zip TIA PORTAL V14

Категория: SIEMENS | Просмотров: 471 | Добавил: gt7600 | Рейтинг: 5.0/2
Всего комментариев: 4
avatar
0
1 kvlad1972 • 17:37, 18.03.2026
Good afternoon. Please post the LGF for TIA Portal v16-v19.
avatar
0
2 gt7600 • 18:56, 18.03.2026
Владимир Александрович, доброго дня. Можно писать по-русски.
Вечером дополню.
avatar
0
3 gt7600 • 21:43, 18.03.2026

Archived Versions
Documentation LGF V5.2.1 (14.4 MB)
Documentation (V5.1.0) (9,2 MB)
Download for TIA Portal V19 - TIA Portal V19 Library LGF V5.2.1 (13.4 MB)
Download for TIA Portal V18 - TIA Portal V18 Library LGF V5.2.1 (13.4 MB)
Download for TIA Portal V17 - TIA Portal V17 Library LGF V5.2.1 (15.8 MB)
Download for TIA Portal V16 - TIA Portal V16 Library LGF V5.1.0 (12.0 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)
avatar
0
4 kvlad1972 • 01:35, 19.03.2026
Доброго дня, коллеги! Огромное спасибо.
avatar