MULTIME - Multiply an interval by a number

Help Contents

Introduction

Returns an interval multiplied by a numeric value.

Syntax

Informal Syntax:

MULTIME( In1, In2 )

Formal Syntax:

MULTIME( In1:=expression, In2:=expression )

Parameters

ParameterTypeDescription
In1TIMEThe interval.
In2ANY_NUMThe number to multiply the interval by.

In1 can be any interval values, positive or negative. In2 can be any integer or real value.

Return Value

The function MULTIME returns In1 multiplied by In2 as an interval.

Examples

ExampleReturn Value
MULTIME( T#5s, 3 )TIME#15s
MULTIME( T#-4h, 1.5 )TIME#-6h
MULTIME( T#1d, -0.5 )TIME#-12h

Standards Compliance

IEC 61131-3 Second Edition: Table 30.10b.

IEC 61131-3 Third Edition: Table 35.10b.

Further Information

Date and Time Functions

For other date and time functions.

Glossary

For the meaning of terms used in Fernhill SCADA.