# LGF_MergeBytesToDWord (FC / V3.0.1)

Author: Siemens Digital Industry

## Short description

This function merge 4 Byte variables into one DWord variable.

### Block Interface

| LGF_MergeBytesToDWord (FC) |
--- | --- | ---
Byte |  |  | byte3 |  | Ret_Val |  |  | DWord
Byte |  |  | byte2 |  |  |  |  |
Byte |  |  | byte1 |  |  |  |  |
Byte |  |  | byte0 |  |  |  |  |

### Input parameter

Identifier | Data type | Description
--- | --- | ---
byte3 | Byte | Input Byte 3 - MSB
byte2 | Byte | Input Byte 2
byte1 | Byte | Input Byte 1
byte0 | Byte | Input Byte 0 - LSB

### Output parameter

Identifier | Data type | Description
--- | --- | ---
Ret_Val | DWord | Composite Byte sequence stored as DWord variable

## Change log

Version & Date | Change description
--- | ---
| 01.00.00 | Simatic Systems Support
| 20.06.2019 | First release
| 03.00.00 | Simatic Systems Support
| 23.04.2020 | Set version to V3.0.0 harmonize the version of the whole library
| 03.00.01 | Simatic Systems Support
| 22.02.2021 | Insert documentation