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
Sercos3Slave.LastInstance (PROP) ¶ PROPERTY LastInstance : POINTER TO Sercos3Slave Pointer to previous slave instance
Sercos3Slave.NextInstance (PROP) ¶ PROPERTY NextInstance : POINTER TO Sercos3Slave Pointer to next slave instance
Sercos3Slave.SercosAddress (PROP) ¶ PROPERTY SercosAddress : WORD get or set the current sercos address
Sercos3Slave.SercosIndex (PROP) ¶ PROPERTY SercosIndex : WORD get or set the index of that slave
Sercos3Slave.SercosTopologyAddress (PROP) ¶ PROPERTY SercosTopologyAddress : WORD get or set the topology address of that slave
Sercos3Slave.SlaveActive (PROP) ¶ PROPERTY SlaveActive : BOOL get or set if the slave should be enabled