SubsystemDiagnostics
Displays the diagnostics information of KINGSTAR Runtime. For further details, see KINGSTAR Analysis Console > Diagnostic Tool.
NOTE: Below APIs are only available in certain states, please refer to the Available State(s) column to see its availability.
Name | Type | Meaning |
Available State(s) |
---|---|---|---|
VendorId | UINT | The vendor ID of KINGSTAR Runtime. |
>= Offline |
ProductCode | UINT | The product code of KINGSTAR Runtime. |
>= Offline |
RevisionNo | UINT | The version of KINGSTAR Runtime. |
>= Offline |
SerialNo | UINT | The customer ID you got when you purchase KINGSTAR. |
>= Offline |
CyclicPacketLost | UINT | The number of the packets containing cyclic data (PDO) lost. |
OP |
AcyclicPacketLost | UINT | The number of the lost acyclic frames. |
OP |
SlaveCount | int | The number of EtherCAT slaves. If a drive is connected to more than one motors, only the drive will be counted. |
>= Init |
Slaves[256] | SlaveDiagnostics | The array containing the diagnostics information for each slave. |
>= Init |
NOTE: All the EtherCAT states and their transition order are listed below:
-
Offline → Init → Pre-Operational (PreOP) → Safe-Operational(SafeOP) → Operational (OP)
-
Offline → Init → Boot
For more information about all the states, please refer to EthercatState.