Class COUNTER
- Namespace
- L5Sharp.Types.Predefined
- Assembly
- L5Sharp.dll
A predefined or built in data type used with counter instructions.
public sealed class COUNTER : StructureType, ILogixSerializable
- Inheritance
-
COUNTER
- Implements
- Inherited Members
Constructors
COUNTER()
Creates a new COUNTER data type instance.
public COUNTER()
COUNTER(XElement)
Creates a new StructureType initialized from the provided XElement data.
public COUNTER(XElement element)
Parameters
element
XElementThe element to parse as the new member object.
Exceptions
- ArgumentNullException
element
is null.- InvalidOperationException
element
does not have required attributes or child elements.
Properties
ACC
public DINT ACC { get; set; }
Property Value
CD
public BOOL CD { get; set; }
Property Value
CU
public BOOL CU { get; set; }
Property Value
Class
The class (atomic, predefined, user-defined) that the type belongs to.
public override DataTypeClass Class { get; }
Property Value
- DataTypeClass
A DataTypeClass option representing the class type.
DN
public BOOL DN { get; set; }
Property Value
OV
public BOOL OV { get; set; }
Property Value
PRE
public DINT PRE { get; set; }
Property Value
UN
public BOOL UN { get; set; }