Function CodesModbus Term
FC08 — Diagnostics (Loopback)
Diagnostic function to test communication with a slave, including echo (sub-function 0x0000).
Definition
Function Code 08 provides diagnostic utilities. The most common sub-function is 0x0000 (Return Query Data / Loopback Echo), which asks the slave to echo back the data bytes unchanged — confirming the slave is alive and the communication path is functional. Other sub-functions reset counters, clear queues, or report bus statistics.
Quick Facts
Related Terms
Was this definition helpful?