LGF_SplitDWordToBytes (FC / V3.0.1)

Overview

Author: Siemens Digital Industry

Short description

This function splits a DWord variable into 4 Byte variables.

Block Interface

LGF_SplitDWordToBytes (FC)
DWord  doubleWord Ret_Val  Void
    
   byte3  Byte
    
   byte2  Byte
    
   byte1  Byte
    
   byte0  Byte
    
   

Input parameter

IdentifierData type Description
doubleWordDWord Bit sequence to be split

Output parameter

IdentifierData type Description
Ret_ValVoid Void - Function has no return value
byte3Byte Output Byte 3 - MSB
byte2Byte Output Byte 2
byte1Byte Output Byte 1
byte0Byte Output Byte 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