# LGF_IsParityOdd (FC / 3.0.1)

Overview

Author: Siemens SIMATIC Systems Support

## Short description

The function checks whether the parity of the input variable of type DWord is odd. The return value is set to `TRUE` if the number of bits that are assigned `TRUE` in the sequence is odd.

### Block Interface

| LGF_IsParityOdd (FC) |
--- | --- | ---
DWord |  |  | doubleWord |  | Ret_Val |  |  | Bool

### Input parameter

Identifier | Data type | Description
--- | --- | ---
doubleWord | DWord | Variable for which the parity is to be determined.

### Output parameter

Identifier | Data type | Description
--- | --- | ---
Ret_Val | Bool | TRUE: When the number of bits that are assigned `TRUE` is odd

## Change log

Version & Date | Change description
--- | ---
| 1.0.0 | Simatic Systems Support
| 2019.11.28 | First released version
| 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
| 12.11.2020 | Insert documentation