LGF_SplitWordToBits (FC / V3.0.1)

Overview

Author: Siemens Digital Industry

Short description

This function splits a Word variable into 16 Boolean / 16 Bit variables.

Block Interface

LGF_SplitWordToBits (FC)
Word  word Ret_Val  Void
    
   bit15  Bool
    
   bit14  Bool
    
   bit13  Bool
    
   bit12  Bool
    
   bit11  Bool
    
   bit10  Bool
    
   bit9  Bool
    
   bit8  Bool
    
   bit7  Bool
    
   bit6  Bool
    
   bit5  Bool
    
   bit4  Bool
    
   bit3  Bool
    
   bit2  Bool
    
   bit1  Bool
    
   bit0  Bool
    
   

Input parameter

IdentifierData type Description
wordWord Bit sequence to be split

Output parameter

IdentifierData type Description
Ret_ValVoid Void - Function has no return value
bit15Bool Output Bit 15 - MSB
bit14Bool Output Bit 14
bit13Bool Output Bit 13
bit12Bool Output Bit 12
bit11Bool Output Bit 11
bit10Bool Output Bit 10
bit9Bool Output Bit 9
bit8Bool Output Bit 8
bit7Bool Output Bit 7
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

Change log

Version & DateChange description
01.00.00Siemens Industry Online Support
09.02.2017First released version
01.00.01Siemens Industry Online Support
17.08.2018Upgrade: TIA V15 Update 2
01.00.02Industry Online Support
23.11.2018Upgrade: TIA V15.1
01.00.03Simatic Systems Support
26.07.2019Standard header, style guide
01.00.04Simatic Systems Support
30.07.2019add ENO handling
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