IoDrvSercos3_Diag (FB)
FUNCTION_BLOCK IoDrvSercos3_Diag EXTENDS IoDrvSercos3 IMPLEMENTS IBus, IStack
- InOut:
Scope
Name
Type
Comment
Inherited from
Input
xRestartBOOLA rising edge at this input will restart the master. All configuration data will be reloaded.
wRequiredTopologyThe required topology (Ring, L1, L2 etc)
xRecoverRingTopologyBOOLIf a ring topology is required and a ring break was detected then it is possible to recover the ring topology with this input.
Output
xConfigFinishedBOOLIf the output is TRUE, the transmission of all configuration data has been executed properly. The communication on the bus is in process.
wStateWORDThe parameter wState has a value between 0 and 100 telling about the state of the initialization phase; the greater the value, the more the initialization process is advanced.
wTopologyThe current topology of the Sercos III bus.
xTopologyErrorBOOLIF wRequiredTopologiy is not equal to wTopology there is an error.
xBusErrorBOOLIf the bus is not working then this output is set to true
IoDrvSercos3_Diag.GetBusDiagnosisInfo(METH)IoDrvSercos3_Diag.GetBusErrorAsync(METH)IoDrvSercos3_Diag.GetBusInfo(METH)IoDrvSercos3_Diag.GetBusState(METH)IoDrvSercos3_Diag.GetDeviceInfo(METH)IoDrvSercos3_Diag.GetDeviceState(METH)IoDrvSercos3_Diag.GetLogger(METH)IoDrvSercos3_Diag.GetQoS(METH)IoDrvSercos3_Diag.GetSpecificBusState(METH)INodeIoDrvSercos3_Diag.SetCommunicationState(METH)