CANopenManager_Diag.SetCommunicationState (METH) ¶ METHOD SetCommunicationState : DED.ERROR Starts, stops or resets the device. Following table defines the mapping between CAA Device Diagnosis DED.DEVICE_TRANSITION_STATE and CANopen NMT command: CAA Device Diagnosis CANopen NMT command DED.DEVICE_TRANSITION_STATE.START NMT Start DED.DEVICE_TRANSITION_STATE.STOP NMT Stop DED.DEVICE_TRANSITION_STATE.RESET NMT Reset; leads to reset of all slaves Note Use CANopenManager_Diag.CheckCurrentSupportedCommunicationState to check which transitions are possible in the current state! InOut: Scope Name Type Comment Return SetCommunicationState DED.ERROR DED.ERROR.NO_ERROR if device transition was successful. Input eRequestedState DED.DEVICE_TRANSITION_STATE desired transition
INode ¶ ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
CANopenManager_Diag.ChildNodeCount (PROP) ¶ PROPERTY ChildNodeCount : CAA.COUNT Returns the number of children below the current node
CANopenManager_Diag.Connector (PROP) ¶ PROPERTY Connector : POINTER TO IoStandard.IoConfigConnector Returns the associated connector.
CANopenManager_Diag.Enable (PROP) ¶ PROPERTY Enable : BOOL Set: This property is used for enabling/disabling a node. Note Changes will take effect after reconfiguring (see DED.Reconfigure ). Get: Returns the current value
CANopenManager_Diag.FirstChildNode (PROP) ¶ PROPERTY FirstChildNode : DED.INode Returns the first child node below the current one
CANopenManager_Diag.Index (PROP) ¶ PROPERTY Index : UDINT
CANopenManager_Diag.IsRootNode (PROP) ¶ PROPERTY IsRootNode : BOOL returns TRUE , if the current node is the root (plc) node, otherwise FALSE
CANopenManager_Diag.NextSiblingNode (PROP) ¶ PROPERTY NextSiblingNode : DED.INode returns the next sibling node at the same level used for step through all nodes
CANopenManager_Diag.ParentNode (PROP) ¶ PROPERTY ParentNode : DED.INode Returns the parent node or zero if the root node is already reached.