PlcChar Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Represents a Char value (in PLC a CHAR) its value defines a single character.

C#

public class PlcChar : PlcValue<char>, IPlcValue<char>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize


Inheritance ObjectPlcValue<Char> › PlcChar


Implements IPlcValue<Char>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize

Remarks

A PLC value of this type will be directly used by all PLC operations performed through interpreting the Char as a Byte value using the Byte A PLC developer knows a value of this type as CHAR.

Name Description
PlcChar(PlcCharType) Initializes a new instance of the PlcChar class using the specified type
PlcChar(PlcCharType, Char) Initializes a new instance of the PlcChar class using the specified type and value.
PlcChar(PlcCharType, PlcName) Initializes a new instance of the PlcChar class using the specified type and name.
PlcChar(PlcCharType, PlcName, Char) Initializes a new instance of the PlcChar class using the specified type, name and value.
PlcChar(PlcIdentity) Initializes a new instance of the PlcChar class using the specified identity
PlcChar(PlcIdentity, Char) Initializes a new instance of the PlcChar class using the specified identity and value.
PlcChar(PlcIdentity, PlcName) Initializes a new instance of the PlcChar class using the specified identity and name.
PlcChar(PlcIdentity, PlcName, Char) Initializes a new instance of the PlcChar class using the specified identity, name and value.
Name Description
GetValueCore(PlcDeviceConnection) Retrieves the current value of the PLC value from a IPlcDevice using the connection specified.
RelocateCore(PlcAddress) Relocates the value to the address specified.
SetValueCore(PlcDeviceConnection, Char) Stores the value in the IPlcDevice assigned to the connection specified.
ToString Retrieves the string representation of the PlcChar.