Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcUInt64 type exposes the following members.
Initializes a new instance of the PlcUInt64 class using the specified identity
C#
public PlcUInt64(PlcIdentity identity)
Parameters
identity
PlcIdentity
The PlcIdentity of the new PlcUInt64 to which the PLC value belongs.
Exceptions
The identity
does not refer to the LWord.
The identity
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the PlcUInt64 class using the specified identity
and name
.
C#
public PlcUInt64(PlcIdentity identity, PlcName name)
Parameters
identity
PlcIdentity
The PlcIdentity of the new PlcUInt64 to which the PLC value belongs.
name
PlcName
The name of the value.
Exceptions
The identity
does not refer to the LWord.
The identity
or name
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the PlcUInt64 class using the specified identity
, name
and value
.
C#
public PlcUInt64(PlcIdentity identity, PlcName name, ulong value)
Parameters
identity
PlcIdentity
The PlcIdentity of the new PlcUInt64 to which the PLC value belongs.
name
PlcName
The name of the value.
value
UInt64
The initial value of the new PlcUInt64.
Exceptions
The identity
does not refer to the LWord.
The identity
or name
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the PlcUInt64 class using the specified identity
and value
.
C#
public PlcUInt64(PlcIdentity identity, ulong value)
Parameters
identity
PlcIdentity
The PlcIdentity of the new PlcUInt64 to which the PLC value belongs.
value
UInt64
The initial value of the new PlcUInt64.
Exceptions
The identity
does not refer to the LWord.
The identity
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the PlcUInt64 class using the specified type
C#
public PlcUInt64(PlcUInt64Type type)
Parameters
type
PlcUInt64Type
The PlcUInt64Type of the new PlcUInt64 to which the PLC value belongs.
Exceptions
The type
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the PlcUInt64 class using the specified type
and name
.
C#
public PlcUInt64(PlcUInt64Type type, PlcName name)
Parameters
type
PlcUInt64Type
The PlcUInt64Type of the new PlcUInt64 to which the PLC value belongs.
name
PlcName
The name of the value.
Exceptions
The type
or name
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the PlcUInt64 class using the specified type
, name
and value
.
C#
public PlcUInt64(PlcUInt64Type type, PlcName name, ulong value)
Parameters
type
PlcUInt64Type
The PlcUInt64Type of the new PlcUInt64 to which the PLC value belongs.
name
PlcName
The name of the value.
value
UInt64
The initial value of the new PlcUInt64.
Exceptions
The type
or name
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the PlcUInt64 class using the specified type
and value
.
C#
public PlcUInt64(PlcUInt64Type type, ulong value)
Parameters
type
PlcUInt64Type
The PlcUInt64Type of the new PlcUInt64 to which the PLC value belongs.
value
UInt64
The initial value of the new PlcUInt64.
Exceptions
The type
is a null reference (Nothing in Visual Basic).
Retrieves the current value of the PLC value from a IPlcDevice using the connection
specified.
C#
protected override ulong GetValueCore(PlcDeviceConnection connection)
Parameters
connection
PlcDeviceConnection
The PlcDeviceConnection from that the data is to be retrieved.
Returns
The current value of the PLC value.
Exceptions
The connection
is in Faulted state and cannot longer be opened.
The connection
has been disposed of.
Relocates the value to the address
specified.
C#
protected override IPlcValue RelocateCore(PlcAddress address)
Parameters
address
PlcAddress
The PlcAddress to that the value is to be relocated.
Returns
A new instance of the same type as this PLC value instance relocated to the address
specified.
Stores the value
in the IPlcDevice assigned to the connection
specified.
C#
protected override void SetValueCore(PlcDeviceConnection connection, ulong value)
Parameters
connection
PlcDeviceConnection
The PlcDeviceConnection to use to store the value
.
value
UInt64
The value to be stored.
Exceptions
The connection
is in Faulted state and cannot longer be opened.
The connection
has been disposed of.