LGF_MergeBitsToByte (FC / V3.0.1)


Autor: Siemens Digital Industry

Kurzbeschreibung

Diese Funktion führt 8 Bit / 8 Boolsche Variablen in einer Byte Variable zusammen.

Baustein Schnittstelle

LGF_MergeBitsToByte (FC)
Bool  bit7 Ret_Val  Byte
    
Bool  bit6   
    
Bool  bit5   
    
Bool  bit4   
    
Bool  bit3   
    
Bool  bit2   
    
Bool  bit1   
    
Bool  bit0   
    
   

Input Parameter

BezeichnerDatentypBeschreibung
bit7BoolInput Bit 7 - MSB
bit6BoolInput Bit 6
bit5BoolInput Bit 5
bit4BoolInput Bit 4
bit3BoolInput Bit 3
bit2BoolInput Bit 2
bit1BoolInput Bit 1
bit0BoolInput Bit 0 - LSB

Output Parameter

BezeichnerDatentypBeschreibung
Ret_ValByteZusammengefügte Bitfolge, gespeichert in einer Byte Variable

Änderungshistorie

Version & DatumÄnderungsbeschreibung
01.00.00Simatic Systems Support
20.06.2019First release
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
22.02.2021Insert documentation