PlcByte Class

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

Represents a Byte value (in PLC a BYTE) its value defines a 8-bit unsigned integer value.

C#

public class PlcByte : PlcValue<byte>, IPlcValue<byte>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize


Inheritance ObjectPlcValue<Byte> › PlcByte


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

Remarks

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

Name Description
PlcByte(PlcByteType) Initializes a new instance of the PlcByte class using the specified type
PlcByte(PlcByteType, Byte) Initializes a new instance of the PlcByte class using the specified type and value.
PlcByte(PlcByteType, PlcName) Initializes a new instance of the PlcByte class using the specified type and name.
PlcByte(PlcByteType, PlcName, Byte) Initializes a new instance of the PlcByte class using the specified type, name and value.
PlcByte(PlcIdentity) Initializes a new instance of the PlcByte class using the specified identity
PlcByte(PlcIdentity, Byte) Initializes a new instance of the PlcByte class using the specified identity and value.
PlcByte(PlcIdentity, PlcName) Initializes a new instance of the PlcByte class using the specified identity and name.
PlcByte(PlcIdentity, PlcName, Byte) Initializes a new instance of the PlcByte 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, Byte) Stores the value in the IPlcDevice assigned to the connection specified.