Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll
Represents a DateTime value member (in PLC a DATE_AND_TIME) its value defines an instant in time, typically expressed as a date and time of day.
C#
public class PlcDateTimeInfo : PlcValueInfo<DateTime>, IPlcValueInfo, IPlcMemberInfo, IPlcRelocatable<IPlcMemberInfo>, IPlcRelocatable
Inheritance Object › PlcMemberInfo › PlcValueInfo<DateTime> › PlcDateTimeInfo
Implements IPlcValueInfo, IPlcMemberInfo, IPlcRelocatable<IPlcMemberInfo>, IPlcRelocatable
While a PLC value of this type represents a DateTime value, all PLC operations performed using this class are done using the Byte. A PLC developer knows a value of this type as DATE_AND_TIME.
Name | Description |
---|---|
PlcDateTimeInfo(PlcDateTimeType, PlcName) | Initializes a new instance of the PlcDateTimeInfo class using the specified type and name . |
PlcDateTimeInfo(PlcDateTimeType, PlcName, DateTime) | Initializes a new instance of the PlcDateTimeInfo class using the specified type , name and initialValue . |
PlcDateTimeInfo(PlcIdentity, PlcName) | Initializes a new instance of the PlcDateTimeInfo class using the specified identity and name . |
PlcDateTimeInfo(PlcIdentity, PlcName, DateTime) | Initializes a new instance of the PlcDateTimeInfo class using the specified identity , name and initialValue . |
PlcDateTimeInfo(PlcName) | Initializes a new instance of the PlcDateTimeInfo class using the specified name |
PlcDateTimeInfo(PlcName, DateTime) | Initializes a new instance of the PlcDateTimeInfo 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 PlcDateTimeInfo 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) |