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