PlcDateInfo Class

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

Represents a DateTime value member (in PLC a DATE) its value defines an instant in time, where only the date of day is expressed.

C#

public class PlcDateInfo : PlcValueInfo<DateTime>, IPlcValueInfo, IPlcMemberInfo, IPlcRelocatable<IPlcMemberInfo>, IPlcRelocatable


Inheritance ObjectPlcMemberInfoPlcValueInfo<DateTime> › PlcDateInfo


Implements IPlcValueInfo, IPlcMemberInfo, IPlcRelocatable<IPlcMemberInfo>, IPlcRelocatable

Remarks

While a PLC value of this type represents a DateTime value, all PLC operations performed using this class are done using the Word. A PLC developer knows a value of this type as DATE.

Name Description
PlcDateInfo(PlcDateType, PlcName) Initializes a new instance of the PlcDateInfo class using the specified type and name.
PlcDateInfo(PlcDateType, PlcName, DateTime) Initializes a new instance of the PlcDateInfo class using the specified type, name and initialValue.
PlcDateInfo(PlcIdentity, PlcName) Initializes a new instance of the PlcDateInfo class using the specified identity and name.
PlcDateInfo(PlcIdentity, PlcName, DateTime) Initializes a new instance of the PlcDateInfo class using the specified identity, name and initialValue.
PlcDateInfo(PlcName) Initializes a new instance of the PlcDateInfo class using the specified name
PlcDateInfo(PlcName, DateTime) Initializes a new instance of the PlcDateInfo class using the specified name and initialValue.
Name Description
Name Gets the name of the member.
(Inherited from PlcMemberInfo)
Type Gets the PlcType of the member.
(Inherited from PlcMemberInfo)
Name Description
MakeAbsoluteMember(PlcIdentity) Retrieves the PlcDateInfo as an absolute addressable PLC data member.
MakeAbsoluteMember(PlcIdentity) When implemented in a derived class, retrieves the IPlcMemberInfo as an absolute addressable PLC data member.
(Inherited from PlcMemberInfo)
Relocate(Int32) Relocates the PlcMemberInfo using the specified offset.
(Inherited from PlcMemberInfo)
Relocate(Int32, Int32) Relocates the PlcMemberInfo using the specified offset.
(Inherited from PlcMemberInfo)
Relocate(Int32, Int32, Int32) Relocates the PlcMemberInfo using the specified offset.
(Inherited from PlcMemberInfo)
Relocate(PlcAddress) Relocates the PlcMemberInfo using the specified address.
(Inherited from PlcMemberInfo)
RelocateCore(PlcType) Relocates the member to the type specified.
RelocateCore(PlcType) When implemented in a derived class, relocates the member to the type specified.
(Inherited from PlcMemberInfo)
ToString Retrieves the string representation of the PlcMemberInfo.
(Inherited from PlcMemberInfo)