PLC Device Tag with RTC

Help Contents

Introduction

The PLC Device Tag with RTC represents a PLC with a Real Time Clock.

Configuration Properties

The PLC Device Tag with RTC supports the configuration properties of the PLC Scanned Device Tag, plus these properties:

Property Type Version Description
SetClockEnable BOOL 2.4 Whether Fernhill SCADA will attempt to set the real time clock of the PLC Device.
SetClockInterval TIME 2.4 The interval between each attempt to automatically set the PLC clock. See Interval and Offset for information on how Intervals and Offsets define the time of activities.
SetClockOffset TIME 2.4 The offset added to the SetClockInterval to get the actual set clock time. See Interval and Offset for information on how Intervals and Offsets define the time of activities.
SetClockTimeZone USINT 2.4 The time zone of the date and time sent to the PLC. 0 = UTC, 1 = Local Time.

Data Properties

The PLC Device Tag with RTC supports the data properties of the PLC Scanned Device Tag, plus these properties:

Property Type Version Description
SetClockTimer TimerStatus 2.4 The status of the set clock timer. This includes:
  • The number of set clock attempts.
  • The number of missed set clock attempts.
  • The timestamp of the next set clock attempt.
SetClockStatus USINT 2.4 The status of the last set clock operation

The SetClockStatus property can have these values:

StateDescription
0Initial state before the driver starts
1The PLC is offline
2Set clock operations are disabled (SetClockEnable is False)
3The last set clock operation failed
15The PLC real time clock is synchronized

Tag Commands

A tag command is an action you can trigger on a tag.

The PLC Device Tag with RTC supports the tag commands of the PLC Scanned Device Tag plus these commands:

Tag Command Version Description
SetClock 2.4 Sends a set clock request to the PLC.

Relationships to Other Tag Types

The PLC Device Tag with RTC builds on the features of these tag types:

The PLC Device Tag with RTC is used as a building block for these tag types:

Further Information

PLC Scanned Device Tag

To learn about PLC Scanned Device Tags.

PLC Device Tag

To learn about PLC Device Tags.

Alarm Conditions

To learn about abnormal conditions in SCADA applications.

Glossary

For the meaning of terms used in Fernhill SCADA.