SYS_GET_TOD - Return the current time of day

Help Contents

Introduction

Returns the current time of day as a TIME_OF_DAY value.

Informal and Formal Syntax:

SYS_GET_TOD()

Parameters

None

Return Value

The value returned is the current time of day as a TIME_OF_DAY value.

Examples

ExampleReturn Value
SYS_GET_TOD()TOD#12:00:00.000

Standards Compliance

The function SYS_GET_TOD is an extension to the IEC 61131-3 standard.

Further Information

System Functions

To learn about other system functions.

Elementary Data Types

To learn about the different types supported by Fernhill SCADA.

Common Elements

To learn about other IEC 61131-3 Common Elements.

Glossary

For the meaning of terms used in Fernhill SCADA.