Click or drag to resize

CIPObject Class

Represents one CIP object.
Inheritance Hierarchy

Namespace:  Demo3D.PLC.Comms.CIP.Nodes
Assembly:  PLC (in PLC.dll) Version: 14.0.0.10531
Syntax
C#
public abstract class CIPObject : CIPServices

The CIPObject type exposes the following members.

Properties
  NameDescription
Public propertyClassId
The class id of an object.
Public propertyInstanceId
The instance id of an object.
Public propertyNode
The associated node in the CIP node hierarchy.
Public propertyNodeName
Override to provide a name for the node.
Public propertyNotImplementedPaths
A list of paths that we know we'll get asked for but are deliberately not implemented.
Public propertyNumLinks
Returns the number of links.
Public propertyRouter
The message router instance.
Top
Methods
  NameDescription
Public methodAllObjects
Returns all linked nodes.
Protected methodConstructNode
Initialize object properties.
Public methodDescendants
Return all descendants of this node.
Protected methodGetAttributeList
Service GetAttributeList CIP request.
(Inherited from CIPServices.)
Public methodGetAttributeProperties
Returns all attribute properties (in GetAttributeAll order, ie not necessarily numerical order).
(Inherited from CIPServices.)
Public methodGetAttributeProperties(UInt32)
Return the attribute properties for one attribute.
(Inherited from CIPServices.)
Protected methodGetAttributesAll
Service GetAttributesAll CIP request.
(Inherited from CIPServices.)
Protected methodGetAttributeSingle
Service GetAttributeSingle CIP request.
(Inherited from CIPServices.)
Public methodGetAttributeValue
Read the value of one attribute and write it into the responseData.
(Inherited from CIPServices.)
Public methodInitialize
Initialize the object.
Public methodMissingNodeFirstChance
First chance to intercept a missing node. Return true to indicate that we added a node.
Public methodNotifyAddedHierarchy
Initialize object after its has been added to the hierarchy.
Public methodNotifyAllChildrenRemoved
Called to notify when all removable children have been removed.
Public methodNotifyAttributesSet
Callback to indicate that an attribute value has been set. Only called at the end of the protocol request after all attributes in the packet have been set.
(Inherited from CIPServices.)
Public methodNotifyChildAdded
Called to notify when a child object is added.
Public methodNotifyChildRemoved
Called to notify when a child object has been removed.
Public methodNotifyRemovedHierarchy
Called to notify when this object has been removed from the hierarchy.
Protected methodOverrideNodePropertyBag
Return the property bag for this node.
Public methodRequestRemoveChild
Called to request permission to remove a child.
Public methodServiceErrorStatus
Return error code for a service that's not supported by this node.
(Inherited from CIPServices.)
Public methodServiceRequest(MessageContext, OutgoingResponseContainer, IncomingRequest)
Service a request.
(Inherited from CIPServices.)
Public methodServiceRequest(MessageContext, OutgoingResponseContainer, IncomingRequest, EPATHLogicalPath, ServiceRequestHandler)
Try to service a request where we couldn't traverse the entire logical EPATH. Route will contain the remaining elements of the path that need to be resolved.
(Inherited from CIPServices.)
Protected methodSetAttributeList
Service SetAttributeList CIP request.
(Inherited from CIPServices.)
Protected methodSetAttributesAll
Service SetAttributesAll CIP request.
(Inherited from CIPServices.)
Protected methodSetAttributeSingle
Service SetAttributeSingle CIP request.
(Inherited from CIPServices.)
Public methodSetAttributeValue
Set one attribute to the value read from requestData.
(Inherited from CIPServices.)
Public methodSetInstance
Set the node id.
Public methodSetupBus
Setup the bus configuration.
Top
Events
  NameDescription
Public eventOnChildAdded
Occurs when a child object has been added.
Public eventOnChildRemoved
Occurs when a child object has been removed.
Top
See Also