FoundryNet / Error codes / Modbus Exception 03
Modbus error code

Exception 03 (0x03) — Illegal Data Value

A value in the request body is outside what the server allows. This is about the contents of the request — commonly the quantity field — and NOT about whether the value you are writing is sensible for the process.

Start free Modbus → canonical

Diagnosis

When you hit this


Resolution

How to fix it

  1. Cap the quantity
    Keep reads at or below 125 registers and 2000 coils. Some devices cap lower; the manual states it.
  2. Check scaling before writing
    A register documented in tenths wants 235 for 23.5. Sending 23.5 scaled wrong is a legitimate 03.
  3. Verify the byte count field
    For FC16, byte count must equal register count times two. Log the raw frame if you are unsure.

Normalization

What Forge does about it

This is a configuration or addressing mistake on the wire, upstream of anything Forge sees. Where Forge helps is the step after you fix it: once the point returns data, its vendor tag name maps to a canonical field automatically, so you do not also have to hand-maintain a name table for every point you just re-addressed.


Connect

Normalize Modbus telemetry

One MCP endpoint serves every protocol adapter. 16,908 curated mappings, 366 canonical fields.

# normalize telemetry from Modbus — and 13 other protocols
claude mcp add --transport http forge https://mcp.foundrynet.io/mcp \
  --header 'Authorization: Bearer YOUR_FORGE_KEY'
✓ forge connected — 32 tools available

Related

Keep reading

Other Modbus codes: Exception 01 Exception 02 Exception 04 Exception 06 Exception 0B

Equipment that speaks Modbus: Fanuc Haas Universal Robots Chemical process Food & beverage process Pharma process (GMP) Bridgeport Brother Doosan Robotics Epson Robots

Modbus protocol hub

Other protocols: OPC UA MQTT / Sparkplug B FANUC FOCAS EtherNet/IP PROFINET / S7 BACnet/IP J1939 (CAN) MTConnect ROS 2 (DDS) SNMP MAVLink HTTP / REST CSV ingest

All error codes · All OEMs · All protocols

Industrial AI fails at the data layer. The Machine Agent explains why, weekly. Read it →
Get the thesis behind this infrastructure — The Machine Agent, weekly.