
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.
|