← Open WebModbus · 한국어

Modbus function codes and frame formats

Quick reference · Operator: GyeongSeop Kim

This page summarizes what a Modbus master sends and receives. You can try each function against a real device with WebModbus, a free online Modbus tool; see also Modbus online.

Data model

Addresses on the wire start at 0. Many device manuals list them as 00001, 10001, 30001, or 40001 plus a one-based offset, so register 40001 is address 0 in the request.

Function codes

Exception codes

A device that cannot perform a request replies with the function code plus 0x80 and one exception code:

Frame formats

Try it

Open WebModbus, create a request window, press F8, and set the Slave ID, function code, address, and quantity. The Test Center lets you send raw frames; the CRC or LRC is added for you. See the guide for details.

← Open WebModbus · Modbus online · Guide · Privacy