Item | Name | Description |
---|---|---|
Ⓐ | Test Operand | Any value, variable or function that evaluates to Boolean TRUE or Boolean FALSE |
Ⓑ | TRUE Operation | Value returned as an operand if the result of Ⓐ is Boolean TRUE |
Ⓒ | FALSE Operation | Value returned as an operand if the result of Ⓐ is Boolean FALSE |
Example
For this example, we want to check the Local Digital Inputs 1 and 2. If both of these inputs are ON, then we want to take the value of a variable we created named “MyPreset” and put its value into a variable we created named “MyResult”. If either of these inputs are OFF, we want to put a constant value of 7500 into our “MyResult” variable.
Item | Group | Details |
---|---|---|
Ⓐ | Logic | Boolean Test |
Ⓑ | Variables | Set Variable |
Ⓒ | Logic | AND OR |
Ⓓ | I/O | Get Input State |
Ⓔ | Variables | Get Variable |
Ⓕ | Variables | Get Value |