DIV
Return to Introduction  Previous page  Next page

 

IEC / CEI 1131-3 Compliant

 

div

 

This function block divide (as unsigned 16 bits) the value applied to the input IN1 (DIVIDEND) by the value applied to the input IN2 (DIVISOR) and the result of the division is available on the OUT pin

       

Net plugs

 

Plug

Description



IN1

Dividend

 

 

IN2

Divisor

 

 

OUT

Result of division

 

See also : Mathematical Expressions, ADD, MUL, MOD, SUB