# LGF_MergeBytesToWord (FC / 3.0.1)

Overview

Author: Siemens Digital Industry

## Short description

This function merge 2 Byte variables into one Word variable.

### Block Interface

| LGF_MergeBytesToWord (FC) |
--- | --- | ---
Byte |  |  | byte1 |  | Ret_Val |  |  | Word
Byte |  |  | byte0 |  |  |  |  |

### Input parameter

Identifier | Data type | Description
--- | --- | ---
byte1 | Byte | Input Byte 1 - MSB
byte0 | Byte | Input Byte 0 - LSB

### Output parameter

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

## Change log

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