Documentation

DIVTIME

Function name

DIVTIME

ST call

PROGRAM DIVTIME_DEMO
VAR
TIME1,TIME2: TIME;
REAL1: REAL;
END_VAR
TIME2:= DIVTIME(IN1:=TIME1, IN2:=REAL1);
END_PROGRAM

Description

Returns value of input time divided by the IN2 value.

Inputs

Input Type Description
IN1 TIME Input value
IN2 ANY_NUM Input value

Outputs

Output Type Description
=> TIME Output value

Application example