Bit Test
Function name | QTSTB_010 |
---|---|
Function version | 1.0 |
Function state | stable |
Compatibility with IEC61131-3 | not compatible |
Graphic symbol :
Input / Output :
Name | Belonging Group | Access | Types of data | Description |
---|---|---|---|---|
Data | Normal | R , RW | F , B , W , L | Data in which to test the bit |
Bit | Normal | R , RW | F , B , W , L | Data with the number of bits to test |
Q | Right Power Flow | Resulting state of the elaboration function |
Description :
The function bit Test, combines through AND the corresponding bits of the variable Data with the bits of the variable maschera and load the Boolean result in the variable Q.
Where the variable maschera is: maschera = 2 Bit
Error conditions that sets ENO = 0: none.