Class Program
- Namespace
- L5Sharp.Components
- Assembly
- L5Sharp.dll
A logix Program
component. Contains the properties that comprise the L5X Program element.
public class Program : LogixComponent<Program>, ILogixSerializable
- Inheritance
-
Program
- Implements
- Inherited Members
Constructors
Program()
Creates a new Program with default values.
public Program()
Program(XElement)
public Program(XElement element)
Parameters
Exceptions
- ArgumentNullException
element
is null.
Properties
Disabled
The value indicating whether the program is disabled (or inhibited).
public bool Disabled { get; set; }
Property Value
FaultRoutineName
The name of the routine that serves as the fault routine for the program.
public string? FaultRoutineName { get; set; }
Property Value
MainRoutineName
The name of the routine that serves as the entry point for the program (i.e. main routine).
public string? MainRoutineName { get; set; }
Property Value
Routines
The collection of Routine objects for the program component.
public LogixContainer<Routine> Routines { get; set; }
Property Value
Tags
The collection of Tag objects for the program component.
public LogixContainer<Tag> Tags { get; set; }
Property Value
TestEdits
The value indicating whether the program has current test edits pending.
public bool TestEdits { get; set; }
Property Value
Type
Gets the type of the program (Normal, Equipment Phase).
public ProgramType Type { get; set; }
Property Value
- ProgramType
A ProgramType enum representing the type of the program.
UseAsFolder
A flag indicating whether the program is used as a folder or container for other programs, as opposed to a container of tags and logix.
public bool UseAsFolder { get; set; }