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
, unless an invalid operation occurs.
If an
occurs, the result wraps around.
Minimum number of
inputs = 2
Maximum number of
inputs = 8.
Mnemonic
Operation
Displays as
INT
Q(16-bit) = IN1(16-bit) * IN2(16-
bit)
base 10 number with sign, up to 5 digits long
DINT
Q(32-bit) = IN1(32-bit) * IN2(32-
bit)
base 10 number with sign, up to 10 digits long
REAL
Q(32-bit) = IN1(32-bit) * IN2(32-
bit)
base 10 number, sign and decimals, up to 8 digits long
(excluding the decimals)
UINT
Q(16-bit) = IN1(16-bit) * IN2(16-
bit)
base 10 number, unsigned, up to 5 digits long
Operands for Multiply
Parameter Description
Allowed Types
Allowed Operands
Optional
Solve Order Calculated by the FBD editor.
NA
NA
No
IN1 … IN8
The values to multiply. Must be the
same data type as Q.
INT, DINT, UINT, REAL All except S, SA, SB, SC No
Q
The result of the multiplication.
INT, DINT, UINT, REAL
variable
All except S, SA, SB, SC
and constant
No
Properties for Multiply
Property
Valid Range
Number of Inputs 2 to 8
Summary of Contents for PACSystems RSTi-EP
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451 ...