LGF_IsParityEven (FC / V3.0.1)


Author: Siemens SIMATIC Systems Support

Short description

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

Block Interface

LGF_IsParityEven (FC)
DWord  doubleWord Ret_Val  Bool
    
   

Input parameter

IdentifierData typeDescription
doubleWordDWordVariable for which the parity is to be determined.

Output parameter

IdentifierData typeDescription
Ret_ValBoolTRUE: When the number of bits that are assigned `TRUE` is even

Change log

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