PlcS5TimeInfo Class

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

Represents a TimeSpan value member (in PLC a S5TIME) its value defines an time interval.

C#

public class PlcS5TimeInfo : PlcValueInfo<TimeSpan>, IPlcValueInfo, IPlcMemberInfo, IPlcRelocatable<IPlcMemberInfo>, IPlcRelocatable


Inheritance ObjectPlcMemberInfoPlcValueInfo<TimeSpan> › PlcS5TimeInfo


Implements IPlcValueInfo, IPlcMemberInfo, IPlcRelocatable<IPlcMemberInfo>, IPlcRelocatable

Remarks

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

Name Description
PlcS5TimeInfo(PlcIdentity, PlcName) Initializes a new instance of the PlcS5TimeInfo class using the specified identity and name.
PlcS5TimeInfo(PlcIdentity, PlcName, TimeSpan) Initializes a new instance of the PlcS5TimeInfo class using the specified identity, name and initialValue.
PlcS5TimeInfo(PlcName) Initializes a new instance of the PlcS5TimeInfo class using the specified name
PlcS5TimeInfo(PlcName, TimeSpan) Initializes a new instance of the PlcS5TimeInfo class using the specified name and initialValue.
PlcS5TimeInfo(PlcS5TimeType, PlcName) Initializes a new instance of the PlcS5TimeInfo class using the specified type and name.
PlcS5TimeInfo(PlcS5TimeType, PlcName, TimeSpan) Initializes a new instance of the PlcS5TimeInfo 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 PlcS5TimeInfo 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)