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_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.GetDeviceState (METH) ¶ METHOD GetDeviceState : DED.DEVICE_STATE Returns the state of the device. InOut: Scope Name Type Comment Return GetDeviceState DED.DEVICE_STATE current device state Output xDiagnosisInfoAvailable BOOL if true: diagnostic info is available. eError DED.ERROR
INode ¶ ChildNodeCount (Property) Enable (Property) FirstChildNode (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
IoDrvSercos3_Diag.GetBusErrorAsync (METH) ¶ METHOD GetBusErrorAsync : PROC_STATE Returns the bus error of the current node. Note This is an asynchronous method. For easier handling use function block |GetBusError| . InOut: Scope Name Type Comment Return GetBusErrorAsync PROC_STATE Input eCmd PROC_CMD Inout eriBusError ERROR_INFO error information Output eError DED.ERROR
IoDrvSercos3_Diag.GetBusInfo (METH) ¶ METHOD GetBusInfo : DED.ERROR Returns the bus information of the current node. InOut: Scope Name Type Comment Return GetBusInfo DED.ERROR Inout buiInfo BUS_INFO bus information
IoDrvSercos3_Diag.GetBusState (METH) ¶ METHOD GetBusState : BUS_STATE Returns the bus state of the current node; if method returns |BUS_STATE.ERROR| further information can be read by |GetBusError| . InOut: Scope Name Type Comment Return GetBusState BUS_STATE current bus state Output xDiagnosisInfoAvailable BOOL if true, diagnosis info can be read by calling |IBus.GetBusDiagnosisInfo| (if supported) eError DED.ERROR
IoDrvSercos3_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
IoDrvSercos3_Diag.GetDeviceState (METH) ¶ METHOD GetDeviceState : DEVICE_STATE Returns the state of the device. InOut: Scope Name Type Comment Return GetDeviceState DEVICE_STATE current device state Output xDiagnosisInfoAvailable BOOL if true: diagnostic info is available. eError DED.ERROR
IoDrvSercos3_Diag.GetLogger (METH) ¶ METHOD GetLogger : ILogger Returns a logger instance (if supported). InOut: Scope Name Type Return GetLogger ILogger Output eError DED.ERROR