Chapter 5. Function Block Diagram (FBD)
262 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C
5.9.5 Multiply
Multiplies two through eight operands (IN1 … IN8) of the
same data type and stores the result in the output variable
assigned to Q, also of the same data type.
The output is calculated when the function is performed
without Overflow, unless an invalid operation occurs.
If an Overflow occurs, the result wraps around.
Minimum number of
inputs = 2
Maximum number of
inputs = 8.
Q(16-bit) = IN1(16-bit) * IN2(16-
bit)
base 10 number with sign, up to 5 digits long
Q(32-bit) = IN1(32-bit) * IN2(32-
bit)
base 10 number with sign, up to 10 digits long
Q(32-bit) = IN1(32-bit) * IN2(32-
bit)
base 10 number, sign and decimals, up to 8 digits long
(excluding the decimals)
Q(16-bit) = IN1(16-bit) * IN2(16-
bit)
base 10 number, unsigned, up to 5 digits long
Calculated by the FBD editor.
The values to multiply. Must be the
same data type as Q.
The result of the multiplication.
INT, DINT, UINT, REAL
variable
All except S, SA, SB, SC
and constant