Multiply

Operator - Performs a multiplication of all inputs.

Inputs

Input

Data Type

Range

Unit

Default

Description

IN1

ANY_NUM

 

 

 

First input.

IN2

ANY_NUM

 

 

 

Second input.

Outputs

Output

Data Type

Range

Unit

Description

Q

ANY_NUM

 

 

Result: IN1 * IN2.

Remarks

  • All inputs and the output must have the same type.

FBD Language Example

  • In the FBD Language, the block can have a maximum of 32 inputs.

FFLD Language Example

  • The multiplication is executed only if EN is TRUE.
  • In the FFLD Language, the input rung (EN) enables the operation.
    • The output rung (ENO) keeps the same value as the input rung.
  • ENO is equal to EN.

IL Language Example

Not available.

ST Language Example

Q := IN1 * IN2;

See Also