LGF_SplitByteToBits (FC / V3.0.1)


Author: Siemens Digital Industry

Short description

This function splits a Byte variable into 8 Boolean / 8 Bit variables.

Block Interface

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

IdentifierData typeDescription
byteByteBit sequence to be split

Output parameter

IdentifierData typeDescription
Ret_ValVoidVoid - Function has no return value
bit7BoolOutput Bit 7 - MSB
bit6BoolOutput Bit 6
bit5BoolOutput Bit 5
bit4BoolOutput Bit 4
bit3BoolOutput Bit 3
bit2BoolOutput Bit 2
bit1BoolOutput Bit 1
bit0BoolOutput Bit 0 - LSB

Change log

Version & DateChange description
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