Table of Contents

Class SafetyInfo

Namespace
L5Sharp.Elements
Assembly
L5Sharp.dll

A sub element of the Controller component that contains properties or configuration related to the controller safety.

public class SafetyInfo : LogixElement, ILogixSerializable
Inheritance
SafetyInfo
Implements
Inherited Members

Constructors

SafetyInfo()

Creates a new SafetyInfo with default values.

public SafetyInfo()

SafetyInfo(XElement)

Creates a new SafetyInfo initialized with the provided XElement.

public SafetyInfo(XElement element)

Parameters

element XElement

The XElement to initialize the type with.

Exceptions

ArgumentNullException

element is null.

Properties

ConfigureSafetyIOAlways

Specify whether to configure safety I/O when replacing safety I/O.

public bool ConfigureSafetyIOAlways { get; set; }

Property Value

bool

true if the setting is enabled; Otherwise, false.

SafetyLockPassword

Specifies the lock password in the controller. This value is encrypted on export.

public string? SafetyLockPassword { get; set; }

Property Value

string

A string representing the encrypted password.

SafetyLocked

Displays whether the safety controller is locked or not.

public bool SafetyLocked { get; set; }

Property Value

bool

true if the setting is enabled; Otherwise, false.

Remarks

This value is exported only; it is ignored on import.

SafetySignature

Specifies the safety signature control as defined in the controller properties

public string? SafetySignature { get; set; }

Property Value

string

A string representing the safety signature.

Remarks

This value is exported only; it is ignored on import.

SafetyUnlockPassword

Specifies the unlock password in the controller. This value is encrypted on export.

public string? SafetyUnlockPassword { get; set; }

Property Value

string

A string representing the encrypted password.

SignatureRunModeProtect

Indicates whether you can modify the safety signature when in Run mode.

public bool SignatureRunModeProtect { get; set; }

Property Value

bool

true if the setting is enabled; Otherwise, false.