-

MUL / MUL_S

Type Function

Available as standard (non-safety-related) and safety-related type (*_S). For the safety-related type, the safety-related data types (SAFE*) are expected at the formal parameters.
Description Multiplies the operands connected to the inputs.
Notes
  • When the multiplication result exceeds the permissible range of the output value, an overflow occurs.
  • Multiplication of a TIME value by a larger data type (type casting): Before the multiplication operation is performed, the larger data type (e.g., LINT, ULINT, LREAL) connected to IN2 is converted (casted) to the smaller TIME data type.
  • Overloaded function. The function can operate on various input data types.
  • The function provides implicit data type conversion at its input and output parameters according to the rules defined by the IEC 61131 standard.
  • Further inputs can be added.
Parameters Inputs

IN1

IN2

Output

OUT
Error behaviorError behavior
Additional information EN/ENO behavior