Chapter 5. Function Block Diagram (FBD)
258
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C
Function
Description
Scales an input parameter and places the result in an output location.
For details, refer to
in Chapter 4.
Subtraction. Subtracts one or up to seven numbers from the input IN1 and places the
result in an output location.
For details, refer to
The output is calculated when the instruction is performed without
, unless an invalid
operation occurs.
5.9.1
Overflow
If an operation on integer operands results in overflow, the output value wraps around.
Examples:
▪
If the ADD operation, 32767 + 1, is performed on signed integer operands, the result is -32768
▪
If the SUB operation, -32767
–
1, is performed on signed integer operands, the result is 32767
▪
If an ADD_UINT operation is performed on 65535 + 16, the result is 15.
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...