Operator ‘MUL’¶
This IEC operator is used for multiplying variables.
Permitted data types: BYTE
, WORD
, DWORD
, LWORD
, SINT
, USINT
, INT
, UINT
, DINT
, UDINT
, LINT
, ULINT
, REAL
, LREAL
, TIME
Feature in the FBD/LD editor: You can extend the MUL
operator to additional function block inputs. The number of additional function block inputs is limited.
Examples
ST:
var1 := 7*2*4*7;
FBD: