Function blocks
Function blocks for TwinSAFE logic components 131
3.18 The function block MUL
3.18.1 Functional description
The FB MUL is used to multiply the AnalogIn1 input with the AnalogIn2 input and transfer the result to the
AnalogOut output. The input data types INT16, INT32, UINT16 and UINT32 are permitted. The output
must be selected to match the input types.
If an overflow or underflow occurs during the multiplication, the ERROR state is assumed. The AnalogOut
output is then set to 0, the Error output is set to 1.
Figure 3-76: Function block MUL