Class AddOnInstruction
- Namespace
- L5Sharp.Components
- Assembly
- L5Sharp.dll
A logix AddOnInstruction
component. Contains the properties that comprise the L5X
AddOnInstructionDefinition element.
public class AddOnInstruction : LogixComponent<AddOnInstruction>, ILogixSerializable
- Inheritance
-
AddOnInstruction
- Implements
- Inherited Members
Constructors
AddOnInstruction()
Creates a new AddOnInstruction with default values.
public AddOnInstruction()
AddOnInstruction(XElement)
Creates a new AddOnInstruction initialized with the provided XElement.
public AddOnInstruction(XElement element)
Parameters
Exceptions
- ArgumentNullException
element
is null.
Properties
AdditionalHelpText
The help text specific to the Add-On Instruction.
public string? AdditionalHelpText { get; set; }
Property Value
CreatedBy
The name of the user that created the instruction.
public string? CreatedBy { get; set; }
Property Value
CreatedDate
The date and time that the instruction was created.
public DateTime? CreatedDate { get; set; }
Property Value
EditedBy
The name of the user that last edited the instruction.
public string? EditedBy { get; set; }
Property Value
EditedDate
The date and time that the instruction was last edited.
public DateTime? EditedDate { get; set; }
Property Value
ExecuteEnableInFalse
Indicates that the instruction has and executes a enable in false routine.
public bool ExecuteEnableInFalse { get; set; }
Property Value
ExecutePostScan
Indicates that the instruction has and executes a post scan routine.
public bool ExecutePostScan { get; set; }
Property Value
- bool
true
if the instruction executes a post scan routine; otherwise,false
.
ExecutePreScan
Indicates that the instruction has and executes a pre scan routine.
public bool ExecutePreScan { get; set; }
Property Value
- bool
true
if the instruction executes a pre scan routine; otherwise,false
.
IsEncrypted
Indicates whether the Add-On Instruction is protected with license-based Source Protection and locked
public bool IsEncrypted { get; set; }
Property Value
- bool
true
if the instruction is encrypted; otherwise,false
.
LocalTags
The collection of local Tag objects used within the AOI logic.
public LogixContainer<LocalTag> LocalTags { get; set; }
Property Value
Parameters
The collection of Parameter that make up the structure of the instruction component.
public LogixContainer<Parameter> Parameters { get; set; }
Property Value
Revision
The revision of the instruction.
public Revision? Revision { get; set; }
Property Value
Remarks
Specify the revision of the Add-On Instruction, in the form of MajorRevision.MinorRevision. Each revision number can be 1...65,535. If there is no period, the number is treated as a major revision only
RevisionExtension
Additional text indicating or identifying the revision of the instruction.
public string? RevisionExtension { get; set; }
Property Value
RevisionNote
Additional text describing release information or changes with the current revision(s).
public string? RevisionNote { get; set; }
Property Value
Routines
The collection of local Routine objects that contain the logic for the instruction.
public LogixContainer<Routine> Routines { get; set; }
Property Value
SoftwareRevision
Specify the revision of the application last used to edit the Add-On Instruction. The default is the currently open version of the application.
public Revision? SoftwareRevision { get; set; }
Property Value
Vendor
The vendor or creator of the instruction.
public string? Vendor { get; set; }