Table of Contents

Class WatchTag

Namespace
L5Sharp.Elements
Assembly
L5Sharp.dll

A tag element within a WatchList component.

public sealed class WatchTag : LogixElement, ILogixSerializable
Inheritance
WatchTag
Implements
Inherited Members

Constructors

WatchTag()

Creates a new WatchTag with default values.

public WatchTag()

WatchTag(XElement)

Creates a new WatchTag initialized with the provided XElement.

public WatchTag(XElement element)

Parameters

element XElement

The XElement to initialize the type with.

Exceptions

ArgumentNullException

element is null.

Properties

Scope

Specify the name of program, equipment phase, or Add-On Instruction that contains the watch tag.

public string Scope { get; set; }

Property Value

string

A string representing the scope of the tag. If controller scope set to empty.

Specifier

Specify the tag or part of a tag to watch.

public TagName Specifier { get; set; }

Property Value

TagName

A string representing the tag specifier.