get_communication_statistics
Retrieve and optionally reset communication error counters for a servomotor, including CRC32, packet decode, framing, overrun, noise errors, to assess RS485 link reliability.
Instructions
Get and optionally reset the CRC32 error counter [Firmware command "Get communication statistics", group: Status & Monitoring.] Parameters:
resetCounter: Reset flag (1 to reset the counter after reading, 0 to just read) Returns:
crc32ErrorCount: Number of CRC32 errors detected
packetDecodeErrorCount: Number of packet decode errors detected
firstBitErrorCount: Number of times that the first bit in the first byte of a packet was not 1 as expected
framingErrorCount: Number of framing errors detected during reception from the RS485 interface
overrunErrorCount: Number of overrun errors detected during reception from the RS485 interface
noiseErrorCount: Number of noise errors detected during reception from the RS485 interface motor: an alias number (e.g. 88), a 16-hex-digit unique ID (e.g. "0123456789ABCDEF"), or "all" to broadcast to every motor on the bus (broadcasts get no responses back).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| motor | Yes | ||
| resetCounter | Yes |