IoDrvSercos3_Diag
(FB)
FUNCTION_BLOCK IoDrvSercos3_Diag EXTENDS IoDrvSercos3 IMPLEMENTS IBus, IStack
- InOut:
Scope
Name
Type
Comment
Inherited from
Input
xRestart
BOOL
A rising edge at this input will restart the master. All configuration data will be reloaded.
wRequiredTopology
The required topology (Ring, L1, L2 etc)
xRecoverRingTopology
BOOL
If a ring topology is required and a ring break was detected then it is possible to recover the ring topology with this input.
Output
xConfigFinished
BOOL
If the output is TRUE, the transmission of all configuration data has been executed properly. The communication on the bus is in process.
wState
WORD
The 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.
wTopology
The current topology of the Sercos III bus.
xTopologyError
BOOL
IF wRequiredTopologiy is not equal to wTopology there is an error.
xBusError
BOOL
If 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)INode
IoDrvSercos3_Diag.SetCommunicationState
(METH)