Click or drag to resize

CIPObjectSetAttributeValue Method

Set one attribute to the value read from requestData.

Namespace:  Demo3D.PLC.Comms.CIP.Nodes
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
protected virtual bool SetAttributeValue(
	MessageContext context,
	IPacketWriter? responseData,
	IPacketReader requestData,
	uint attributeId
)

Parameters

context
Type: Demo3D.PLC.Comms.CIP.NodesMessageContext
Information about the message.
responseData
Type: Demo3D.IOIPacketWriter
The packet to place the response (if any), or null if no response is allowed.
requestData
Type: Demo3D.IOIPacketReader
The data packet to get the attribute value.
attributeId
Type: SystemUInt32
The attribute ID.

Return Value

Type: Boolean
False if the attribute value could not be set.
See Also