LGF_Impulse (FB / V3.0.1)

Overview

Author: Siemens Industry Support

Short description

This function generates pulses at a given frequency. The pulse is always present for one (control) cycle.

Block Interface

LGF_Impulse (FB)
Real  frequency impulse  Bool
    
   countdown  Time
    
   

Input parameter

IdentifierData type Default value Description
frequencyReal 0.0 Clock frequency in Hz

Output parameter

IdentifierData type Description
impulseBool Impulse signal output
countdownTime Time until next pulse

Functional description

The function generates pulses at the output impulse with the frequency frequency.
The block always begins with a pulse and sets the next pulse after the period that has elapsed.

Example

LGF_Impulse

Change log

Version & DateChange description
01.00.00Siemens Industry Online Support
19.08.2015First released version
01.01.01Siemens Industry Online Support
16.06.2015LGF_Impulse calls new LGF_Frequency V1.1.1
01.01.02Siemens Industry Online Support
02.01.2017Upgrade: TIA Portal V14 Update 1
01.02.00Siemens Industry Online Support
02.02.2017Code optimization: no call of LGF_Frequency
Fix at output "countdown"
01.02.01Siemens Industry Online Support
17.08.2018Upgrade: TIA V15 Update 2
01.02.02Siemens Industry Online Support
23.11.2018Upgrade: TIA V15.1
01.02.04Simatic Systems Support
20.09.2019Code refactoring, regions and more comments added
03.00.00Simatic Systems Support
23.04.2020Set version to V3.0.0, harmonize the version of the whole library
03.00.01Simatic Systems Support
15.02.2021Insert documentation