SUB

SUB

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

Subtracts the input variables, OUT = IN1 - IN2.

InputType Description
IN1 ANY_MAGNITUDEInput value
IN2 ANY_MAGNITUDEInput value
OutputType Description
ANY_MAGNITUDEOutput value

  • © Energocentrum Plus, s.r.o. 2017 - 2024