IoDrvSercos3_Diag.ChildNodeCount (PROP) ¶ PROPERTY ChildNodeCount : CAA.Count Returns the number of childs below the current node
IoDrvSercos3_Diag.Enable (PROP) ¶ PROPERTY Enable : BOOL Set: This property is used for enabling/disabling a node. Changes will take effect after doing a Reconfigure (see |Reconfigure| ). Get: Returns the current Enable value
IoDrvSercos3_Diag.FirstChildNode (PROP) ¶ PROPERTY FirstChildNode : INode Returns the first child node below the current one
IoDrvSercos3_Diag.IsRootNode (PROP) ¶ PROPERTY IsRootNode : BOOL returns true, if the current node is the root (plc) node, otherwise false
IoDrvSercos3_Diag.NextSiblingNode (PROP) ¶ PROPERTY NextSiblingNode : INode returns the next sibling node at the same level used for step through all nodes
IoDrvSercos3_Diag.ParentNode (PROP) ¶ PROPERTY ParentNode : INode Returns the parent node or zero if the root node is already reached.
IoDrvSercos3_Diag.SiblingNodeCount (PROP) ¶ PROPERTY SiblingNodeCount : CAA.Count Returns the number of sibling (same level) nodes
IoDrvSercos3_Diag.SetCommunicationState (METH) ¶ METHOD SetCommunicationState : DED.ERROR Starts, stops or resets a device Note Use |IDevice2.CheckSupportedCommunicationState| and |IDevice2.CheckCurrentSupportedCommunicationState| to check which transitions are possible! InOut: Scope Name Type Comment Return SetCommunicationState DED.ERROR Input eRequestedState DED.DEVICE_TRANSITION_STATE desired transition
Sercos3Slave_Diag.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR Returns the device information of the current node InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR Inout deiInfo DEVICE_INFO device information
Sercos3Slave_Diag (FB) ¶ FUNCTION_BLOCK Sercos3Slave_Diag EXTENDS Sercos3Slave IMPLEMENTS IDevice InOut: Scope Name Type Initial Comment Inherited from Output xError BOOL FALSE This output is set to true if an error occured and no realtime data is exchanged Sercos3Slave Properties: ChildNodeCount Enable FirstChildNode IOControlStatusUsed , inherited from Sercos3Slave IsConfigAsOptional , inherited from Sercos3Slave IsRootNode LastInstance , inherited from Sercos3Slave NextInstance , inherited from Sercos3Slave NextSiblingNode ParentNode SercosAddress , inherited from Sercos3Slave SercosIndex , inherited from Sercos3Slave SercosTopologyAddress , inherited from Sercos3Slave SiblingNodeCount SlaveActive , inherited from Sercos3Slave SlaveOptional , inherited from Sercos3Slave StatusWord , inherited from Sercos3Slave Methods: GetDeviceInfo GetDeviceState SetCommunicationState Structure: GetDeviceInfo (Method) GetDeviceState (Method) INode ChildNodeCount (Property) Enable (Property) FirstChildNode (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) SetCommunicationState (Method)