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
01.00.00
Simatic Systems Support
2019.11.28
First released version
03.00.00
Simatic Systems Support
23.04.2020
Set version to V3.0.0 harmonize the version of the whole library