Slave statistics are read out of the slaves EtherCat chip and represented in the data layer. See some more description of the function/interpretation by clicking the link in the slave statistics page: ctrlX OS - web UI - EtherCat slave statistics
When using version 2.6 of the system you will get an example when opening an data layer address including an object: ctrlX OS - data layer viewer - access EtherCat slave telegram error counter.png Please always check the data type mentioned in the metadata of a node. There in generell you can see which data is needed.
fieldbuses/ethercat/master/instances/ethercatmaster/admin/fieldbus_statistic/slave/counters: e.g. {"request": {"addressType": "fixedphysical", "address": 1001}}
fieldbuses/ethercat/master/instances/ethercatmaster/admin/fieldbus_statistic/slave/reset: an empty PUT is needed
Description about the status word bits can be found in the data type reference:
ctrlX OS - data layer viewer - EtherCat master status {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"definitions": {
"comm_ethercat_master_fbs_MasterStatus": {
"type": "object",
"description": "This node delivers a summary of diagnosis information from the EtherCAT Master.",
"properties": {
"response": {
"$ref": "#/definitions/comm_ethercat_master_fbs_MasterStatusResponse"
}
},
"additionalProperties": false
},
"comm_ethercat_master_fbs_MasterStatusResponse": {
"type": "object",
"description": "EtherCAT status",
"properties": {
"status": {
"type": "integer",
"minimum": 0,
"maximum": 4294967295,
"description": "Is 0 if master and all slaves are in state \"Operational\" without any errors\nBit 0: No master ethernet link\nBit 1: Master not in state \"Operational\"\nBit 2: Master not in requested state\nBit 3: Reserved\nBit 4: Master in state \"Init\"\nBit 5: Master in state \"Pre-Operational\"\nBit 6: Master in state \"Safe-Operational\"\nBit 7: Reserved\nBit 8: Topology not OK (the configured slaves do not match to the online slaves)\nBit 9: One or more slaves not in master state\nBit 10: One or more slaves indicate error\nBit 11: Reserved\nBit 12: Distributed Clock (DC) is not within configured limits (only when DC is enabled)\nBit 13: Reserved\nBit 14: Invalid or inconsistent settings\nBit 15: Port not found\nBit 16: No license available\nBit 17 - 31: Reserved",
"default": 0
}
},
"additionalProperties": false
}
},
"$ref": "#/definitions/comm_ethercat_master_fbs_MasterStatus"
}
In the official online documentation.
General information about different windows in the ctrlX OS web UI of the EtherCat master can be found in the online documentation.
I hope I could make your points clear. If there are further questions feel free to add them here below.
... View more