Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
%MX0.900.11
R900B
In this example, the same POU header is used for all programming languages. For an example
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.
LD
ST
IF
start
THEN
F34_MULW(input_value_1, 5, output_value);
END_IF;
Set
If
permanently
the result calculated exceeds the 16-bit
area specified at output b.
for an instant
for an instant
the result calculated is 0.
Arithmetic instructions
395