Modbus Discovery & Decoder

Scan Modbus.
Read it in every decoding.

ModEye26 finds Modbus devices on the network and on the bus and shows every value instantly in all possible decodings at once — big/little endian, byte swap, word swap, INT & Float. You spot the right interpretation at a glance, no guesswork. The tool for the whole industry — KNX integrators, PV, charging stations or building control. And for EisBaer users, the recognised device moves straight into the EisBaer profile with one click.

Modbus TCP · UDP · RTU · ASCII Network & bus scan Every byte & word order Vendor-independent EisBaer integration Annual license Windows
ModEye26 LightDE
FC03 – Holding Registers (0x03) ▾
1+
100+
4+
Decode Polling Stop
1000
Raw: 0x41AC 0x0000 0x0000 0x0000

32-Bit

ABCD(Big-Endian)BADC(Byte-Swap) CDAB(Word-Swap)DCBA(Little-Endian)
Int321101529088-14050918401681244097
UInt32110152908828898754561681244097
Float3221.5-2.75e-122.36e-416.18e-41
Hex0x41AC00000xAC4100000x000041AC0x0000AC41

64-Bit

ABCDEFGH(Big-Endian)BADCFEHG(Byte-Swap) CDABGHEF(Word-Swap)DCBAHGFE(Byte+Word)
Int644732157308459548672-603421960257486848072206990180352189401005850624
UInt6447321573084595486721241252447113468313672206990180352189401005850624
Float64234881024.0-1.4e-953.6e-3109.4e-310
Hex0x41AC0000000000000xAC410000000000000x000041AC000000000x0000AC4100000000
Ready.Modbus TCP/UDP/RTU/ASCII · Master + Slave · v2026.09.02.17

The same raw value in every decoding — only ABCD · Float32 = 21.5 yields a sensible value.

Features

Everything Modbus commissioning needs

From the network and bus scan through the decoder with every decoding to a clean device list — vendor-independent, for any installation.

Network scan

Searches the IP network for Modbus devices and gateways — ping and port connection at the same time, plus the ARP cache for devices that stay silent behind a firewall. Per hit: response time, name, manufacturer and MAC address; result as CSV.

Modbus scan & discovery

Searches the bus for unit IDs and lists the devices found. From every hit the “Continue with” column leads straight into Decoder, Master or Monitor — the unit ID comes along.

Decoder: every decoding

Shows the same raw value simultaneously in all decodings — big/little endian, byte swap, word swap, INT16/32, Float … You instantly see which interpretation yields a sensible value.

Live value history

In the Monitor a small curve next to every value shows the history of the last 60 polls. Hovering it opens the curve large — with minimum, maximum and average.

Device library — vendor-independent

358 ready-made device drivers from 123 manufacturers are built in, sorted into meters, inverters, heat pumps, air conditioning, ventilation, charging stations, SunSpec and other — see the full list. Search by device or manufacturer — spelling does not matter. And whether BMS, PLC, energy meter or inverter: ModEye talks to any device that is not included, too.

Export & templates

Save the configuration as .modbus (EisBaer SCADA XML), .xml or .csv and reload it any time as a device template.

Master, slave & monitor

Read/write registers manually, poll values continuously or run ModEye itself as a Modbus device to test a control station.

Decimal or hexadecimal

Register addresses are shown and entered either decimally (default) or hexadecimally — in Decoder, Monitor, Master and Slave. Any input prefixed with 0x always counts as hex.

Secure & offline

Runs entirely locally in the plant network. No cloud, no telemetry — and the Trace/Log shows every telegram for troubleshooting.

Use cases

If you work with Modbus, ModEye26 is for you

Modbus is everywhere today — from KNX gateways and PV to charging stations and building control. ModEye26 makes every one of them readable instantly.

KNX system integrators

Connect Modbus-KNX gateways cleanly: find registers, decode them correctly and hand them to the KNX project as data points — no more byte-order guessing.

PV inverters

Read yield, power and status of inverters directly over Modbus — across manufacturers.

EV charging stations

Integrate charge points and load management via Modbus and verify them right on site.

Energy & heat meters

Read consumption and meter values — no matter the manufacturer.

Building management / BMS

Capture field devices and provide clean data points for the control system.

PLC & industry

Test controllers, read/write registers and simulate devices with slave mode.

EisBaer integration

Built in for EisBaer users

The big plus for EisBaer users: ModEye26 connects directly — in both directions — and can keep its device library right inside EisBaer.

Click → EisBaer profile

  • Click the correct decoding in the Decoder — the data point moves with address, data type and byte order straight into your EisBaer profile.
  • The finished list can be used directly in EisBaer — no retyping, no transcription errors.

EisBaer profile → test on site

  • Already have an EisBaer profile for this device type? Just load it and test the device on site right away.
  • Ideal for commissioning and troubleshooting — load the profile, read the live values.

Device library right inside EisBaer

  • The device library folder is freely selectable — for example \Devices inside the EisBaer installation directory.
  • The Modbus device drivers created with ModEye26 are then available directly in the EisBaer editor — no copying, no intermediate step.
  • The built-in device drivers get there too: open one via “Load device”, save it — done.
  • When you switch, existing device files are copied into the new folder; whatever is already there stays untouched.
Quick Start

From the network scan to a ready-made device list

Create a reusable device list in just a few steps. The tabs are arranged in exactly this order — simply work your way down.

1

Find the device on the network

The network scan takes the address range from the selected network adapter and checks the port (502 by default). Every hit shows response time, name, manufacturer and MAC address — “Apply” enters IP and port straight into the Connection tab. Serial devices on RS-485 skip this step.

2

Connect

In the Connection tab choose the transport (Modbus TCP/UDP, serial RTU/ASCII, or RTU/ASCII over TCP/UDP as a gateway) and connect.

3

Determine the unit ID

The Modbus scan searches the bus for unit IDs: choose start and end ID plus timeout, then start. In the “Continue with” column a single click carries the unit ID straight into the Decoder.

4

Explore values

In the Decoder read a register range. It shows the same raw value simultaneously in every data type and byte order (UInt16, Int32, Float32 …) so you immediately see the sensible interpretation.

5

Take over with a click

Click the cell with the matching interpretation and enter a label (e.g. “Flow temperature”). The entry moves automatically into the Monitor — including address, data type and byte order.

6

Collect in the Monitor

The Monitor shows all transferred entries with live values plus a small history curve of the last 60 polls for each of them. You can also add more entries directly via the form at the top.

7

Save the list

Use “Save list” to store it as .modbus, .xml or .csv and reopen it any time with “Load device” — ideal for a template per device type. Often it is even quicker: “Load device” opens the built-in library of 358 device drivers — sorted into categories and searchable by device or manufacturer. Once loaded and saved, the driver is available as your own file; and if the device library sits in the EisBaer directory, immediately in the EisBaer editor as well.

Work areas

The tabs at a glance

ModEye26 is organised into work areas — each with a clear purpose, arranged in the order of the workflow.

Start

Network scan

Searches the IP network for Modbus devices and gateways — with no existing connection. Address range from the network adapter, freely selectable port (502 by default); every address is checked by ping and port connection at once, and the ARP cache finds silent devices. Hits with response time, name, manufacturer and MAC address, CSV export.

Search

Modbus scan

Searches the bus for connected devices (unit IDs). Choose start and end ID plus timeout, “Start scan” — found devices are listed. The “Continue with” column moves the unit ID straight into Decoder, Master or Monitor.

Setup

Connection

The central place to establish the connection: choose the transport (TCP/UDP with host/IP + port — TCP optionally TLS-encrypted —, RTU/ASCII with COM port, baud rate, parity, stop bits, or RTU/ASCII over TCP/UDP as a serial server/gateway), then “Connect”. Only afterwards do Modbus scan, Decoder, Monitor and Master work.

Analysis

Decoder

Reads a register range and shows the raw value simultaneously in every data type and byte order. A click on a cell transfers the interpretation into the Monitor.

Live

Monitor

Continuously polls several registers with live values, each with a small history curve of the last 60 polls (hover it for a large view with minimum, maximum and average). Add entries via form or Decoder click, set the polling interval, Start/Stop. Save/load lists, device image on the right — the template per device type.

Client

Master

Manual reading and writing of individual registers/coils: choose unit ID, function, address and quantity; enter the values when writing. The result appears in the table.

Server

Slave

ModEye itself acts like a Modbus device and answers requests — ideal for testing a control station or PLC without real hardware. Set the unit ID and start values, then “Start”.

Diagnostics

Trace / Log

Logs all sent and received telegrams as well as notices and errors — the first place to look when troubleshooting (e.g. Modbus exception codes or timeouts). Optionally recorded to files, decoded or as a raw hex dump.

Options

Settings

Storage locations and display format: the data folder for settings, connection profiles and logs, a separate folder for the device library (for example \Devices inside the EisBaer directory), and register addresses in decimal or hexadecimal.

0
unit IDs per scan
0
transport modes (TCP · UDP · RTU · ASCII + gateway)
0
local · no cloud
0
to import
Basics

Modbus in brief

A simple master/slave protocol (today also client/server): the master polls actively, the slave — the field device — answers.

Transport & addressing

  • RTU and ASCII run over a serial line (RS-485, rarely RS-232), TCP and UDP over Ethernet/IP (port 502) — the content is identical, only the transport differs.
  • RTU/ASCII over TCP or UDP: for serial servers / RS485-Ethernet gateways — the same framing, only the transport runs over the network instead of a COM port.
  • Modbus/TCP Security: TCP connections can optionally be established TLS-encrypted.
  • Unit ID: with RTU the unique device address 1–247, with TCP often 1 or 255.
  • Register = 16 bits (one “word”). Larger values span several registers: 32-bit (Int32/Float32) = 2, 64-bit = 4 registers.
  • Byte/word order: ABCD is the Modbus standard (big-endian); CDAB (word swap) is common on many PLCs for floats. Wrong order → nonsense values. The Decoder helps you find the right one.

The four data areas

  • Coils (FC01): individual, writable bits — e.g. relays.
  • Discrete Inputs (FC02): individual, read-only bits — e.g. switch states.
  • Holding Registers (FC03): 16-bit registers, read & write — set points, parameters.
  • Input Registers (FC04): 16-bit registers, read-only — measured values.
Function code Name Type Description
FC01Read CoilsReadRead several coils (writable bits).
FC02Read Discrete InputsReadRead several input bits (read-only).
FC03Read Holding RegistersReadRead holding registers — the most common read code.
FC04Read Input RegistersReadRead input registers (measured values).
FC05Write Single CoilWriteSet or clear a single bit.
FC06Write Single RegisterWriteWrite a single 16-bit register.
FC15Write Multiple CoilsWriteWrite several coils in one telegram.
FC16Write Multiple RegistersWriteWrite several registers in one telegram — e.g. a 32-bit value across 2 registers.
FC23Read/Write MultipleBothRead and write in a single telegram (saves one round trip).
FC43Read Device IdentificationReadRead vendor, product name and version as plain text.

Note: not every device supports every FC. If a device answers with a Modbus exception, ModEye shows the exception code in the Trace / Log tab.

Practice

RS-485 wiring (Modbus RTU)

RS-485 is a differential 2-wire bus system. Clean wiring is essential for stable operation.

GND / Common 120 Ω 120 Ω A (D−) B (D+) Master RTU Slave 1 Unit ID 1 Slave 2 Unit ID 2 Slave 3 Unit ID 3
A (D−)   B (D+)  ·  RS-485 bus in line topology — daisy-chained, a 120 Ω termination at each end, a common GND reference.
  • Two data wires A (often D−) and B (often D+). Caution: the A/B labels are not consistent across manufacturers — when in doubt compare the data sheets.
  • Line topology (daisy chain): loop the bus from device to device. No stars, no long stubs.
  • Termination resistors: 120 Ω between A and B at both ends. Mandatory on long runs or at high baud rates.
  • Common ground (GND): a common reference avoids potential differences. On galvanically isolated devices use the common terminal.
  • Bias / fail-safe resistors keep the bus at a defined level when idle. Many devices and USB converters have them built in.
  • Cable: twisted, paired data cable (A/B as one pair) with a shield. Connect the shield to earth at one end only.
  • Identical parameters: baud rate, data bits (8), parity and stop bits must be the same on all devices.
Device library

358 devices from 123 manufacturers

Included are 358 device files with 54,194 register points — energy meters, inverters, heat pumps, air conditioning, ventilation, charging stations and the SunSpec standard profiles. Search by device or manufacturer, spelling does not matter.

Category Typical devices Devices Register points
MetersEnergy meters, power analysers, submeters, CT meters11133.558
InvertersPV inverters, hybrid inverters, battery storage, BMS335.122
Heat pumpsHeat pumps, heating controllers, instantaneous water heaters, heating elements386.816
Air conditioningChillers, VRF gateways, air-conditioning interfaces102.040
VentilationAir-handling units, residential ventilation, EC fans, volume-flow controllers191.408
Charging stationsWallboxes, charging posts, charge controllers331.223
SunSpecSunSpec standard profiles — vendor-independent for PV, storage and meters1063.592
OtherWeather stations, UPS, sensors, gateways8435
Manufacturer Categories Devices Included devices
A. EberleMeters2PQI DA 200ms · PQI DA 10ms
ABBMetersCharging stationsOther18SCU100 · CMS700 · D1M 20 int · CMS660 · eOVR · D11 15M 40 · B23 · D13 15 M 65 · M2M DMTME · B21 · USV CS141 · a b serie · Terra AC · ARBus for F ATI F ARI · D1M 20 kompakt
ABLCharging stations2em4 · emh1
AforeInverters1bntxxxktl
AlfenCharging stations1Modbus
AlphatecCharging stations1wallbox
AmperfiedCharging stations1connect
AskomaHeat pumps1askoheat openems
B+G e-techMeters3UBN309 · ds100 · ws100
BelimoHeat pumpsVentilation2Energy Valve DN 15 50 · Airwater Actuators
BenderCharging stations1cc612 cc613
BerneckerMeters1mpm3pm
Camille BauerMeters1aplus
Carlo GavazziMeters8EM271 · EM270 · EM210 · EM24 · EM21 · em et330 340 · em24 e1
cFosCharging stations1powerbrain
ChintMeters1dtsu666
ClageHeat pumps2V1 · Minimal
CM485Other1R Z4 R VA
CompleoCharging stations1wallbox
CoolautomationAir conditioning1coolmasternet modbus ip
CS121Other1Modbus
DaikinHeat pumpsAir conditioning6Interface · ewat chiller · ekrhh altherma4 · altherma 4 · ekrhh altherma3 · ekrhh air to air
DanthermVentilation1hcv hcc rcv
DDMMeters1ddm18sd
DeltaCharging stations1ac max
DeyeInverters2hybrid 1ph · sun 8 12k sg04lp3
DimplexHeat pumps1DHW 300plus
DZG MeteringMeters1dvh4013
E3/DCInverters2SunSpec Mode · Normal Mode
EastronMeters11sdm630 · sdm54 · smart x96 1a · sdm72 v2 · sdm230 · sdm120ct · sdm220 · sdm120 · sdm72d · sdm einstellregister · sdm72
EbeeCharging stations2Wallbox
ebm-papstVentilation2ec ventilator modbus · Luftguetesensor
EconMeters1sens3
EDMIMeters1MK10H TypeS
ElsnerOther1Wetterstation P033
EMUMeters2Professional2 · Professional2 Short
ESolutionsCharging stations1Wallbox
EtrelCharging stations1inch
FinecoMeters1EM737CT
FlexitVentilation1cs60 cu60
FoxESSInverters6h3 pro · h3 smart 1komma5 enpal · h1 g1 ac1 aio h1 · h3 ac3 aio h3 · h1 g2 ac1 g2 p1 · kh
FroniusInverters2Inverter
FränkischeVentilation1profi air flex
GeoclimaAir conditioning1geouch50
GoodWeInverters2et eh bt bh · dt ms xs
HagerMeters3ECR312D · SM103E · SM101C
Heidelberg / AmperfiedCharging stations1energy control
HeliothermHeat pumps1rcg x
HeltecInverters1smart bms
HisenseAir conditioning1i modkit hcpc h2m1c
HovalHeat pumps1TopTronic
HuaweiInverters1sun2000
HymesCharging stations1wallbox
IAMeters120D
IDMHeat pumps1navigator
IMEMeters2Nemo96HD · Nemo72LE
IneproMeters1pro380
IntesisAir conditioning1inmbstos001r000 toshiba carrier
IskraMeters1MT440
JanitzaMeters9B24 312 · UMG507 ab0 · UMG507 ab40k · b serie · umg104 · umg96rm e · umg511 · umg604 · umg801
KamstrupHeat pumps1multical
KebaCharging stations1kecontact p30 p40
KermiHeat pumps3x center speichersystemmodul · x center waermepumpe · x center universalmodul
KomfoventVentilation1c6
KostalMetersInverters2InterfaceV3 · KSEM
KSTARInverters1hybrid
LambdaHeat pumps1eu l serie
LGHeat pumps1therma v
LovatoMeters1dmg610
LTGVentilation1ConnectedIntelligence
MaicoVentilation1kwl
MehitsAir conditioning2w3000 mehp ib · w3000 nx ln
MeltemVentilation1m wrg
MennekesCharging stations3ECU BRx BBx · amtron bender · amtron hcc3
MercsMeters1ME PM DD
Mitsubishi ElectricHeat pumpsAir conditioning2ecodan ftc · melcobems mini a1m
my-PVHeat pumps1heizstab openems
NemoMeters196HD
NibeHeat pumps6vvm s320 s325 · vvm s325 · f750 · f730 · f370 f470 · smo20
NilanVentilation1cts602
OBOCharging stations1bettermann
OrnoMeters4we 516 517 · we 525 526 · we 514 515 · we 504
PanasonicHeat pumps1pa aw mbs 1
Phoenix ContactMeters1eem mb370 24dc
PhoenixcontactCharging stations3EV CC · ev cc eth · em cp pp eth
PluggitVentilation1ap serie
Pq PlusMeters3Plus CMD68 · umd97 · umd96
RemehaHeat pumps1gtw 08
RenogyInverters1smart battery
Saia BurgessMeters1ale3
SamsungHeat pumps1ehs mim b19n
SchneiderMetersCharging stations14PM5500 · PM2230 · PM2130 · PM5320 · PM2220 · EM6400NG · PM2120 · PM3000 · EVlink · PM32xx · iem3000
SeplosInverters1bms v3
SiemensMetersHeat pumps5PAC2200 · 7KT166x · 7KT165x · rvd145
SMAInverters6SC COM Gateway · SunnyIsland · SunnyBoy1.5 · SC COM Geraete · Fuel Save Controller · SC COM Anlagenparameter
SocomecMeters10Diris A40 · Countis E33 · countis e23 e24 e27 e28 · countis e34 e44 · countis e47 e48 · diris a10 · diris a14 · diris b30 · countis e14
SofarInverters1hyd 5 20ktl 3ph
SolarEdgeMeters1se mtr 3y
SolarfocusHeat pumps1Heizung
SolisInverters1rhi 3 6k 48es 5g
SonnenCharging stations1charger
StarChargeCharging stations1Ladestation
StiebelHeat pumps2Eltron WPM3 · Eltron WPM3i
Stiebel EltronHeat pumps3wpm · lwz · wpm 3i
StoehrCharging stations1SNGC
SungrowInverters2sh hybrid · sbr battery
SunSpecSunSpec106SunSpec standard profiles, model 1 to model 809 — vendor-independent for inverters, storage and meters
SwegonVentilation2casa r15 · casa r4
SystemairVentilation2save · V1
ThiesOther2WSC11 · WTC11
TQ SystemsMetersCharging stations4SU100 · EM420 · em300 · dm100
TroxVentilation1tve
VaillantHeat pumps1arotherm sv2
VestelCharging stations1evc04
VictronInverters2venus battery · venus solarcharger
ViessmannHeat pumpsVentilation2vitocal 250 a pro · vitovent 300 w
WallbeCharging stations1eco pro
WattNodeMeters1WNC
WebastoCharging stations1next
WeidmüllerMeters1525
WeishauptHeat pumps1wcm com
WolfVentilation1cwl 2 325
ZiehlMeters1efr4001ip

The library grows with every release. The device files are templates, not a replacement for the manual: some are derived from open sources and have not been verified on real hardware — register addresses may differ between firmware versions. And a device that is not listed here reads just as well: read the registers, spot the right decoding in the Decoder, save it as your own device file.

FAQ

Frequently asked questions

About ModEye26 — and about Modbus in general, straight from day-to-day commissioning.

Questions about ModEye26
What is ModEye26 and what do I need it for?

ModEye26 is a Modbus tool for Windows for commissioning and troubleshooting. It finds Modbus devices on the IP network and on the serial bus, reads their registers and shows every raw value in all data types and byte orders at once — so you see immediately which interpretation is correct instead of guessing. On top of that: a live monitor, a master for reading and writing, a slave for simulation and a telegram trace.

Do I need EisBaer to use ModEye26?

No. ModEye26 is a standalone tool and works with any Modbus device, regardless of manufacturer or control system. If you do use EisBaer, you get a bonus: recognised devices can be exported as a .modbus profile and imported directly, and the device library can live right inside the EisBaer directory.

What are the system requirements? Do I have to install anything?

ModEye26 is a single EXE for Windows (64-bit). Download it, run it — no installation, no administrator rights, no separate .NET: everything needed is inside the file. Settings, connection profiles and logs go to Documents\ModEye by default; you can choose that folder freely in the settings. For Modbus RTU you also need a serial port or a USB-to-RS485 converter.

What does ModEye26 cost and how do I try it?

There is a free, time-limited trial license with the full feature set: in the app's license dialog, the “Request trial license” link takes you straight to the form and you enter the code in the same dialog. For professional use ModEye26 is available as an annual license (single workstation) via the busbaer.de shop — see licensing & pricing.

Which Modbus variants does ModEye26 support?
  • Modbus TCP and Modbus UDP over Ethernet/IP, freely selectable port (502 by default), TCP optionally TLS-encrypted.
  • Modbus RTU and Modbus ASCII over a COM port with adjustable baud rate, parity and stop bits.
  • RTU/ASCII over TCP or UDP — for serial servers and RS485-to-Ethernet gateways: same framing, only the transport runs over the network.
My device is not in the library — will it still work?

Yes. The library saves you work, it is not a prerequisite. ModEye26 talks to any device that speaks Modbus: read a register range in the Decoder, click the matching decoding in the table, name the points and save them as your own device file. That gives you your own template — and you are welcome to send it to us, so it makes it into one of the next releases.

Can ModEye26 write registers as well?

Yes, in the Master tab: choose unit ID, function, address and quantity, enter the values, send (FC05, FC06, FC15, FC16). A note from practice: writing takes effect on the plant immediately — set points, operating modes or enables change real states. Before your first write attempt, practise against a simulation using the Slave tab.

Can ModEye26 simulate a Modbus device?

Yes. In the Slave tab ModEye26 itself behaves like a field device and answers requests: set the unit ID and start values, hit “Start”. That lets you test a control station, a PLC or a visualisation before the real hardware is on the bus — and narrow down faults when it is unclear whether the master or the slave is the problem.

Which export formats are there — and how does the device get into EisBaer?

You can save as .modbus (EisBaer SCADA XML), as .xml or as .csv. For EisBaer the route is: describe the device fully in Decoder/Monitor → save as .modbus → import in EisBaer. The other way round, ModEye26 reads existing EisBaer profiles, so you can check and extend an existing configuration.

Does ModEye26 send data to the internet?

No. Scans, measured values, profiles and logs stay on your machine — no cloud, no telemetry. The only outbound traffic is what you trigger yourself: the license check and the update check against our server. That makes ModEye26 suitable for isolated plant networks, too.

How do I get updates — and is the download signed?

ModEye26 checks for a newer version at startup and updates itself on request — without an installer and without admin rights. The download is signed with an EV code-signing certificate of Alexander Maier GmbH; Windows shows the publisher when it starts. Updates are included in the annual license.

I know neither the IP address nor the unit ID. How do I find the device?
  1. Network scan: take the address range from the network adapter, leave port 502, start. Every address is checked by ping and port connection at once; the ARP cache reveals silent devices. The hit list shows response time, name, manufacturer (from the MAC) and MAC address.
  2. Connect: take the address you found into the Connection tab.
  3. Modbus scan: sweep unit IDs 1 to 247 — this also finds devices behind a gateway. “Continue with” moves the unit ID straight into Decoder, Master or Monitor.
Questions about Modbus in general
What is Modbus?

Modbus is an open fieldbus protocol from 1979, today maintained by the Modbus Organization — and despite its age it is the lowest common denominator in building and energy technology. The principle is deliberately simple: a master (today: client) asks, a slave (server) answers; a slave never sends on its own. Only numbers are transferred — 16-bit registers and single bits, with no units, no names, no type information. What a value means is documented only in the device manual. That gap is exactly what a decoder closes.

What is the difference between Modbus RTU and Modbus TCP?

The content is identical — only the packaging differs.

  • RTU runs serially over RS-485 (rarely RS-232): binary, with a CRC checksum and pauses as frame boundaries. One bus, many devices, a single master.
  • ASCII is the same serial world in readable hex characters — slower, but easier to debug; rare today.
  • TCP runs over Ethernet/IP on port 502: no CRC (TCP handles that), instead an MBAP header with a transaction number. Several clients can access it in parallel.
  • Gateways translate between the two worlds — TCP on the network side, RTU on the bus side.
What is a unit ID or slave address?

The unit ID distinguishes devices on one bus. Valid values are 1 to 247; 0 is the broadcast (all devices, write commands only, no answer). Each ID may exist only once on the bus — duplicate addresses cause collisions and sporadic timeouts rather than a clear error message.

With Modbus TCP the IP already addresses the device; the unit ID is then often 1 or 255 (some devices accept both, others exactly one). Behind a gateway it regains its original meaning: there it selects the serial device.

Coils, discrete inputs, holding and input registers — what is what?

Modbus has four separate data areas. Each has its own address count starting at 0 — address 12 in the holding registers has nothing to do with address 12 in the input registers.

  • Coils (FC01/05/15): single bits, read and write — relays, enables.
  • Discrete inputs (FC02): single bits, read-only — switch and fault signals.
  • Holding registers (FC03/06/16): 16-bit registers, read and write — set points, parameters. By far the most common area.
  • Input registers (FC04): 16-bit registers, read-only — measured values.
The manual says 40001, the tool says 0 — which address is right?

Both. The manual uses the old “4x” notation: 40001 is the first holding register, which travels in the telegram as address 0. Rule of thumb: manual value minus 40001 gives the protocol address. The same offset applies to 30001 (input registers), 10001 (discrete inputs) and 00001 (coils).

It gets annoying because some manufacturers already print the protocol-level count from 0 while others start at 1. Test: if the expected value is exactly one register off, this offset is the reason. ModEye26 shows addresses in decimal or hexadecimal — an input prefixed with 0x always counts as hex.

I read nonsense instead of measured values — what is byte order or word swap?

A Modbus register holds 16 bits. Larger values span several registers, and the order of the four bytes is not standardised in practice:

  • ABCD — big-endian, the Modbus standard.
  • CDAB — word swap: registers exchanged. The normal case for float values on many PLCs and meters.
  • BADC — byte swap within the registers.
  • DCBA — little-endian, everything reversed.

A wrong order does not produce an “error” but plausible numbers that are wrong — 3.4·10³⁸ instead of 230.5 V, or a sign that jumps around. That is what the Decoder is for: it shows the same raw value in all variants at once, and the single sensible number tells you which one is right.

How are 32-bit values, floats and text transferred?

Always as a sequence of 16-bit registers: 32 bits (Int32, UInt32, Float32 per IEEE 754) = 2 registers, 64 bits (Int64, Double) = 4 registers. Strings are stored as two ASCII characters per register. Also very common is the scaled integer: the device delivers 2305 and the manual says “×0.1 V” — which makes 230.5 V. Some devices send the factor in a register of its own (SunSpec calls this a scale factor).

Which serial parameters does Modbus RTU need?

Baud rate, data bits, parity and stop bits must be identical on all nodes. Common are 9600 or 19200 baud, 8 data bits, and depending on the device 8E1 (even parity, one stop bit — the specification's default) or 8N1 (no parity, then properly with two stop bits). If the baud rate is fixed on the device, everything else has to follow. If you do not know the setting, work through the common combinations — start with 9600/8N1 and 9600/8E1.

How many devices and how much cable can an RS-485 bus take?
  • Nodes: classically 32 unit loads per segment; modern transceivers with ⅛ unit load allow up to 256 — the address range still ends at 247. More is possible with repeaters that split the bus into segments.
  • Length: up to about 1200 m at 9600 baud. The higher the baud rate, the shorter: length × baud rate is the rule of thumb.
  • Topology: a line, daisy-chained from device to device. Stars and long stubs are the most common cause of erratic faults — keep stubs below 30 cm.
  • One master per segment. Two masters on the same bus interfere with each other.
Do I really need termination resistors?

Yes — 120 Ω between A and B at exactly the two ends of the bus, not in the middle and not at every device. Without termination, signal reflections travel along the line; with a short bus at 9600 baud it often works anyway, which is why the mistake gets overlooked — and comes back later as a “sporadic failure” with more devices or a higher baud rate. Too many terminations are just as harmful: the level collapses because the drivers work against too little resistance.

On top of that come bias / fail-safe resistors that hold the bus at a defined level when idle. Many devices and most USB-to-RS485 converters have them built in — exactly once per bus is right.

What is a Modbus gateway or a serial server?

A device that brings the serial bus onto the network. Two designs that are easily confused:

  • True gateway (TCP → RTU): it speaks Modbus TCP on the network side and Modbus RTU on the bus side and converts the telegrams. The unit ID selects the serial device.
  • Serial server (RTU over TCP): it tunnels the serial telegrams unchanged. The master then has to speak RTU over TCP/UDP — exactly what that transport mode in ModEye26 is for. Set plain Modbus TCP here by mistake and you get no answer at all, even though the wiring is perfect.
What do the Modbus exception codes mean?

An exception is an answer — the device is reachable and tells you why it rejects the request. That is good news: wiring, address and parameters are already correct.

  • 01 Illegal Function — the device does not know this function code (many meters only do FC03 or FC04).
  • 02 Illegal Data Address — address or quantity is outside the register range. Most common cause: the 40001 offset, or too many registers at once.
  • 03 Illegal Data Value — the value does not fit the register (range, step size, invalid operating mode).
  • 04 Server Device Failure — internal device error.
  • 05 Acknowledge / 06 Server Device Busy — request accepted, or device busy: ask again later.
  • 0A Gateway Path Unavailable / 0B Gateway Target Device Failed To Respond — the answer comes from the gateway, not from the target device: wrong unit ID, silent serial side or wrong baud rate.

ModEye26 shows the code together with plain text in the Trace / Log tab.

The device does not answer at all — what now?

A timeout means: the request went out, nothing came back. The list, by frequency:

  1. A and B swapped. The labelling is not consistent across manufacturers (A/B, D−/D+, ±). Just swap them — nothing gets damaged.
  2. Wrong unit ID. Sweep 1–247 with the Modbus scan instead of guessing.
  3. Wrong baud rate or parity. Both sides must match exactly.
  4. No common GND reference or missing termination resistors.
  5. Two masters on the same bus — for instance the control station still polling while you measure.
  6. Firewall or wrong port with TCP; port 502 is the default, but not mandatory.
  7. Serial server instead of a true gateway — then choose RTU over TCP, not Modbus TCP.
  8. Timeout too tight. Some meters and heat pumps need 500 ms and more.

The Trace / Log tab shows every telegram sent and received — you can see straight away whether nothing, something incomplete or an exception comes back.

How fast may I poll?

More slowly than you would think. On RS-485 all devices share one line: every request costs send and response time plus device processing, and a meter often refreshes its values only once per second anyway. 1 to 5 seconds per device works well; over TCP it can be faster. Two levers help more than a shorter interval: read contiguous registers in one telegram instead of one by one, and poll only what you actually need. Poll too fast and answers get out of sync or the device reports “busy”.

Is Modbus secure? Can it be encrypted?

Classic Modbus has neither authentication nor encryption — whoever reaches the network or the bus may read and write. That is why Modbus devices belong in a dedicated plant network or VLAN, behind a firewall, and never unprotected on the internet (port 502 is a popular scanning target).

Since 2018 there is Modbus/TCP Security: Modbus inside a TLS tunnel with certificates, officially on port 802. So far only a few devices support it. ModEye26 can establish TCP connections TLS-encrypted on request.

What is SunSpec?

SunSpec is a vendor-independent register standard on top of Modbus, mainly for PV inverters, battery storage and meters. Instead of a separate register table per device there are numbered “models” (e.g. model 103 for a three-phase inverter, model 203 for a meter) with fixed fields and scale factors. A SunSpec-capable device identifies itself with the marker SunS from register 40000 — find that and you no longer have to hunt for the register layout. ModEye26 ships the 106 common SunSpec profiles.

How does Modbus differ from KNX, BACnet and M-Bus?
  • Modbus polls, transfers bare numbers and has no self-description — but practically every device speaks it, from a €30 meter to a chiller.
  • KNX is event-driven: devices send on group addresses by themselves and data types (DPT) are standardised. Strong in room automation, weak with large amounts of measured data.
  • BACnet brings named, self-describing objects with units, alarms and trends — more powerful and more effort, typical in the control systems of large buildings.
  • M-Bus is designed specifically for consumption meters and delivers unit and scaling along with the value, but is limited to that purpose.

In practice you meet all four in the same building — which is exactly why EisBaer brings them together in a single interface.

Licensing & pricing

Try first, license later

Download ModEye26 and test the full feature set. For professional use there is ModEye26 as an annual license.

Trial license
freetime-limited
  • Full feature set
  • Network scan, Modbus scan, Decoder, Master, Monitor & Slave
  • Modbus TCP · UDP · RTU · ASCII (+ TLS) as well as RTU/ASCII over TCP/UDP (gateway)
  • Test without commitment
ModEye26
annual license12-month term
  • Single-workstation license – valid for one seat
  • All features without trial limit
  • EisBaer import & export included
  • Updates included
  • Support by e-mail

Purchase & payment run securely via the busbaer.de shop. The free trial license is obtained directly from within the app. The annual license is a single-workstation license, valid for one seat.

Ready for the first scan?

Download ModEye26 and decode your Modbus devices in minutes — vendor-independent, with EisBaer integration.

Contact

Get in touch

Contact

Fax
+49 (0) 6271 – 91 94 79
Address
Alexander Maier GmbH
Beckstraße 3
D-69412 Eberbach

Imprint

Alexander Maier GmbH
Beckstraße 3
D-69412 Eberbach

Managing director: Alexander Maier
Registered office: Eberbach
Register court: Mannheim
Commercial register: HRB 335404
VAT ID: DE177682654

Phone: +49 (0) 6271 – 91 94 70
Fax: +49 (0) 6271 – 91 94 79
E-Mail: info@busbaer.de