# LGF_GrayToBinary (FC / 3.0.1)

Overview

Author: Siemens Digital Industry

## Short description

This function converts a gray coded value into a binary coded value.

### Block Interface

| LGF_GrayToBinary (FC) |
--- | --- | ---
DWord |  |  | variableGray |  | Ret_Val |  |  | DWord

### Input parameter

Identifier | Data type | Description
--- | --- | ---
variableGray | DWord | Gray coded value to convert to binary value

### Output parameter

Identifier | Data type | Description
--- | --- | ---
Ret_Val | DWord | Binary value

## Change log

Version & Date | Change description
--- | ---
| 1.0.0 | Siemens Industry Online Support
| 19.08.2015 | First released version
| 1.0.1 | Siemens Industry Online Support
| 28.10.2015 | Name changed
| 1.0.2 | Siemens Industry Online Support
| 02.01.2017 | Upgrade: TIA Portal V14 Update 1
| 1.0.3 | Siemens Industry Online Support
| 17.08.2018 | Upgrade: TIA V15 Update 2
| 1.0.4 | Siemens Industry Online Support
| 23.11.2018 | Upgrade: TIA V15.1
| 1.0.5 | Simatic Systems Support
| 11.06.2019 | Standard header, block parameters update and performance update Add ENO handling
| 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
| 23.02.2021 | Insert documentation