Skip to main content

FB_MUL

Description Function Block

The FB_MUL function block is used to multiply the AnalogIn1 input with the AnalogIn2 input and pass the result to the AnalogOut output.

Then the AnalogOut output is set to 0 and the bError output is set to 1.

EL6900

The FB_MUL function block is not supported by the EL6900.

EL6900_MUL.png
Table 48. VAR_INPUT

Name

Data Type

Initial Value

Description, Parameter Values

AnalogIn1

LINT

0

1st analog signal for multiplication

Permitted data types: UINT, INT, UDINT, DINT

AnalogIn2

LINT

0

2nd analog signal for multiplication

Permitted data types: UINT, INT, UDINT, DINT



Table 49. VAR_OUTPUT

Name

Data Type

Initial Value

Description, Parameter Values

AnalogOut

SAFEUSINT

0

Analog output which contains the result of the multiplication.

Permitted data types: UINT, INT, UDINT, DINT. The data type must be selected according to the input data types.

bError

SAFEBOOL

FALSE

TRUE: The AnalogOut output has an overflow or underflow.

FALSE: No error has occurred.