LGF_BitCount (FC / V3.0.2)


Autor: SiemensSIMATICSystemsSupport

Baustein Schnittstelle

LGF_BitCount (FC)
DWord  value Ret_Val  Void
    
USInt  numberOfBits countBitsFalse  USInt
    
   countBitsTrue  USInt
    
   

Input Parameter

BezeichnerDatentypBeschreibung
valueDWordVariable aus der die Bit States akkumuliert werden
numberOfBitsUSIntAnzahl der Bits in eingangs variable `value` (Bitgröße des Datentyps), Byte=8, Word=16, DWord=32

Output Parameter

BezeichnerDatentypBeschreibung
Ret_ValVoidVoid - Funktion hat keinen Rückgabewert
countBitsFalseUSIntAnzahl der Bits die FALSE sind in Eingangsparameter `value`
countBitsTrueUSIntAnzahl der Bits die TRUE sind im Eingangsparameter `value`

Änderungshistorie

Version & DatumÄnderungsbeschreibung
01.00.00Siemens Industry Support
06.06.2015first release
03.00.00Siemens Industry Support
23.04.2020Set version to V3.0.0
harmonize the version of the whole library
03.00.02Simatic Systems Support
19.01.2021Insert documentation