Bitwise Boolean instructions
548
Part III FP Instructions
No. IEC address Set If
R9007 %MX0.900.7 permanently
R9008 %MX0.900.8 for an instant
the area specified using the index
modifier exceeds the limit
the value at n 5
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.
Body
When the variable start is set to TRUE, the function is carried out. The binary values in the
illustration on the main help page serve as the array values in data_input. In this example,
variables are declared in the POU header. However, you may assign constants directly at the input
function’s contact pins instead.
LD
In this example, (Monitoring) was activated so you can see the results immediately.