Operands
For
WX
s
-
d
Error flags
No.
IEC address
%MX0.900.11
R900B
%MX0.900.9
R9009
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 changes from FALSE to TRUE, the function is carried out.
LD
ST
IF
start
THEN
F40_BADD(summand, output_value);
END_IF;
Relay
T/C
WY
WR
WL
SV
WY
WR
WL
SV
Set
for an instant
for an instant
Register
EV
DT
LD
FL
EV
DT
LD
FL
If
the calculated result is 0.
the result exceeds the range of 4-digit
BCD data (overflow).
Arithmetic instructions
Constant
dec. or hex.
-
351