Attention

IronPLC implements many parts of the IEC 61131-3 standard and is working toward full Structured Text support. Key features still missing include structures and user defined function blocks.

DIV_TIME

Divides a time duration by a numeric value.

IEC 61131-3

Section 2.5.1.5.8

Support

Supported

Signatures

#

Input (IN1)

Input (IN2)

Return Type

Support

1

TIME

ANY_NUM

TIME

Supported

Description

Returns IN1 divided by the numeric value IN2. The result is a TIME value. When IN2 is a floating-point type (REAL or LREAL), the result is truncated to whole milliseconds.

Example

See Also