Class Module
- Namespace
- L5Sharp.Components
- Assembly
- L5Sharp.dll
A logix Module
component. Contains the properties that comprise the L5X Module element.
public class Module : LogixComponent<Module>, ILogixSerializable
- Inheritance
-
Module
- Implements
- Inherited Members
Constructors
Module()
Creates a new default LogixElement initialized with an XElement having the L5XType name of the element.
public Module()
Module(XElement)
Initializes a new LogixElement with the provided XElement
public Module(XElement element)
Parameters
Exceptions
- ArgumentNullException
element
is null.
Properties
CatalogNumber
Specify the catalog number that uniquely identifies the module. This is a rockwell defined convention, and represents the identity of the module type.
public string? CatalogNumber { get; set; }
Property Value
Communications
public Communications? Communications { get; set; }
Property Value
Inhibited
An indication of whether the module is inhibited or disabled.
public bool Inhibited { get; set; }
Property Value
Keying
The electronic keying mode of the module.
public ElectronicKeying? Keying { get; set; }
Property Value
- ElectronicKeying
A ElectronicKeying enum value representing the mode.
MajorFault
An indication of whether the module the module will cause a major fault when faulted.
public bool MajorFault { get; set; }
Property Value
Name
The unique name of the component.
public override string Name { get; set; }
Property Value
Remarks
The name servers as a unique identifier for various types of components. In most cases, the component name should satisfy Logix naming constraints of alphanumeric and underscore ('_') characters, start with a letter, and be between 1 and 40 characters. Validation is not performed by this library, so importing components with invalid names may fail.
ParentModPortId
The port id of the parent module that the current module is connected to. This specified how the module is connected within the module tree.
public int ParentModPortId { get; set; }
Property Value
ParentModule
The name of the parent module, or module that the current module is connected to upstream. This specifies how the module is connected within the module tree.
public string? ParentModule { get; set; }
Property Value
Ports
A collection of Port elements that define the module's connection within the module tree.
public LogixContainer<Port> Ports { get; set; }
Property Value
- LogixContainer<Port>
A LogixContainer<TElement> of Port objects.
Remarks
Ports define how a module's peripherals are connected to other module's, forming the network or tree of devices used to communicated with a controller and field equipment. Ports must have a unique id, a type, and address.
ProductCode
The unique product code value of the module.
public ushort ProductCode { get; set; }
Property Value
Remarks
This is a unique value that identifies the module and is assigned by Logix.
ProductType
The product type of the module, representing a category of the module.
public ProductType? ProductType { get; set; }
Property Value
Remarks
All modules have a product type representing the product category of the module.
Revision
The revision number or hardware version of the module.
public Revision? Revision { get; set; }
Property Value
Remarks
All modules must have a specified revision number.
SafetyEnabled
An indication of whether whether the module has safety features enabled.
public bool SafetyEnabled { get; set; }
Property Value
Vendor
The vendor or manufacturer of the module.
public Vendor? Vendor { get; set; }
Property Value
Remarks
All modules have a vendor representing the manufacturer of the module.