LGF_SplitByteToBits (FC / V3.0.1)

Übersicht

Autor: Siemens Digital Industry

Kurzbeschreibung

Diese Funktion zerlegt eine Byte Variable in 8 Bool / 8 Bit Variablen.

Baustein Schnittstelle

LGF_SplitByteToBits (FC)
Byte  byte Ret_Val  Void
    
   bit7  Bool
    
   bit6  Bool
    
   bit5  Bool
    
   bit4  Bool
    
   bit3  Bool
    
   bit2  Bool
    
   bit1  Bool
    
   bit0  Bool
    
   

Input Parameter

BezeichnerDatentyp Beschreibung
byteByte Bitfolge die zerlegt wird

Output Parameter

BezeichnerDatentyp Beschreibung
Ret_ValVoid Void - Funktion hat keinen Rückgabewert
bit7Bool Output Bit 7 - MSB
bit6Bool Output Bit 6
bit5Bool Output Bit 5
bit4Bool Output Bit 4
bit3Bool Output Bit 3
bit2Bool Output Bit 2
bit1Bool Output Bit 1
bit0Bool Output Bit 0 - LSB

Ä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