Multiply Function Block

This function block multiplies one input with the other. Out = In A multiplied by In B.

If the result overflows the range of a single precision floating point number, the result becomes invalid.

Figure 1: Multiply - Function Block

Figure 2: Multiply - Property Sheet

Error occurs, if there is an overflow.

Figure 3: Multiply - Logic Diagram

Inputs

Input Name

Description

In A

These are 32-bit floating point input slots.

In B

(In & Par)

These are 32-bit floating point input slots.

Table 1:Inputs of Multiply Function

Outputs

Output Name

Description

Out

Output is the In A multiply by In B.

Table 2:Outputs of Multiply Function


Parameters

Parameter Name

Description

In B Par

(In & Par)

If In B is "null", In B Par is used as parameter.

If In B Par is set to "nan", it is treated like invalid.

Ignore Inv In

If this option is set to "true", function block considers only valid inputs while determining the addition of the inputs.

If this option is set to "false" and any input becomes "null", output becomes invalid.

Default is "true"

Out Save

Master Sync Enabled: If you set it to "true" the last output will be set as output for one cycle after the controller restarts. The application can use it to return to the same state before the controller restart.

Out: To enable or disable the Out feature.

Table 3:Parameters of Multiply Function

Examples

1.       Multiply InA and InB to get the output.

Figure 4:Example - Multiply Function Block

Refer to General Description for general information about IRMN4 Function Blocks.