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)
Sercos3Slave (FB) ¶ FUNCTION_BLOCK Sercos3Slave For each Sercos slave an instance of POU Sercos3Slave is created. The properties may be accessed respecting the syntax “<Instance name>.<Property name”. InOut: Scope Name Type Initial Comment Output xError BOOL FALSE This output is set to true if an error occured and no realtime data is exchanged Properties: IOControlStatusUsed IsConfigAsOptional LastInstance NextInstance SercosAddress SercosIndex SercosTopologyAddress SlaveActive SlaveOptional StatusWord Structure: IOControlStatusUsed (Property) IsConfigAsOptional (Property) LastInstance (Property) NextInstance (Property) SercosAddress (Property) SercosIndex (Property) SercosTopologyAddress (Property) SlaveActive (Property) SlaveOptional (Property) StatusWord (Property)
Sercos3Slave.IOControlStatusUsed (PROP) ¶ PROPERTY IOControlStatusUsed : BOOL get or set if Control status word is used in connection
Sercos3Slave.IsConfigAsOptional (PROP) ¶ PROPERTY IsConfigAsOptional : BOOL Returns true if optional flag is set in configuration