Function CodesModbus Term
FC05 — Write Single Coil
Set a single output coil to ON (0xFF00) or OFF (0x0000).
Definition
Function Code 05 forces a single coil to a specified state. The data value must be exactly 0xFF00 (ON) or 0x0000 (OFF) — any other value causes an exception 03 response. The slave echoes back the entire request as confirmation. Only one coil can be written per request; use FC15 to write multiple.
Quick Facts
Related Terms
Was this definition helpful?