Bitwise Boolean instructions
527
Part III FP Instructions
For Relay T/C Register Constant
s1, s2, s3 WX WY WR WL SV EV DT LD FL dec. or hex.
d - WY WR WL SV EV DT LD FL -
No. IEC address Set If
R900B %MX0.900.11 for an instant the result calculated is 0.
Operands
Error flags
Example
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
In this example the input variables input_value_1, input_value _2 and selection are declared.
However, you can write constants directly at the input contact of the function instead.
Body
When the variable start is set to TRUE, the function is carried out.
LD
ST
When programming with structured text, enter the following:
IF start THEN
F69_WUNI( s1:= input_value1,
s2:= input_value2,
s3_Mask:= selection,
d=> output_value);
END_IF;