System Functions

Help Contents

Introduction

System Functions provide access to the computer running the IEC 61131-3 code. These system functions are supported:

Function Supported In Explanation
SysCreateObject 3.87 Creates an instance of a CLASS Declaration at runtime.
SysDateTimeToLocal 3.71 Converts a UTC Date and Time value to local time.
SysDateTimeToUTC 3.71 Converts a local Date and Time value to UTC.
SysGetActualLocale 3.89 Returns the actual Locale of the application running the IEC 61131-3 Code.
SysGetDate 3.19 Returns the current date as a DATE value.
SysGetDateAndTime 3.19 Returns the current date and time as a DATE_AND_TIME value.
SysGetOSLocale 3.89 Returns the Locale of the Operating System or User Session.
SysGetRandomWord 3.42 Returns a random WORD value.
SysGetRequestedLocale 3.89 Returns the requested Locale of the application running the IEC 61131-3 Code.
SysGetTimeOfDay 3.19 Returns the current time of day as a TIME_OF_DAY value.

Standards Compliance

These functions are an extension to the IEC 61131-3 standard.

Further Information

Common Elements

To learn about other common language elements.

Glossary

For the meaning of terms used in Fernhill SCADA.