Table of Contents

DIV

Function name

DIV

ST call

PROGRAM DIV_DEMO
   VAR
     REAL1,REAL2,REAL3: REAL;
    END_VAR
 REAL3:= DIV(IN1:=REAL1, IN2:=REAL1);
END_PROGRAM

Description

Returns the division of input values, IN1/IN2.

Inputs

InputType Description
IN1 ANY_NUMInput value
IN2 ANY_NUMInput value

Outputs

OutputType Description
ANY_NUMOutput value

Application example