ModbusPilot Studio

How device profiles work

A Modbus device only sends numbers. The profile tells ModbusPilot what each address means: its name, data type, scale, unit and the text for status or error codes.

Vendor datasheet
Excel / Word / PDF
➜ Smart Import
finds table + columns
➜ Profile .json
one per device model
➜ ModbusPilot shows
Voltage 230.1 V
Raw register 40001
0x08FD = 2301
Grid voltage 230.1 V
scale 0.1, unit V
Raw register 40005
0x0002 = 2
Run status: Fault (2)
values 0=Stop; 1=Run; 2=Fault
Raw register 40006
0x0005 = 0000 0101b
Over temp, Low voltage
bits 0=Over temp; 2=Low voltage
Raw registers 30013-30014
42 48 14 7B (Float32)
Frequency 50.02 Hz
Float32, ABCD

Make the profile once per device model, then reuse it on every site. The same ModbusPilot works with any meter, inverter, PLC or sensor — only the profile changes.

Accepted files

SourceWhat is readTip
Excel .xlsx / .xlsmEvery sheet becomes a tableOld .xls: open in Excel and Save As .xlsx
CSV, TSV, TXT, MDComma, semicolon, tab, | tables or space-aligned columnsTitle lines above the table are skipped automatically
Word .docxEvery table; its name is the heading above itMulti-line cells (enum lists) are kept
PDFTables on every page; tables continued on the next page are joinedScanned PDFs (images) have no text — copy the table manually or use OCR first
Pasted textAnything copied from Excel, Word, PDF viewers or web pagesFastest way for one table in a long manual
JSONA ModbusPilot profile (opened directly) or a list of register objects

Column names the importer understands

Columns can be in any order and use any of these names (upper/lower case and extra words are fine). Only Address is required.

FieldExample column titlesExample cell
AddressAddress, Register, Reg addr, Offset, Modbus address, PDU address, Hex, 地址0x0010, 40017, 16, 0010H, 16-17
NameName, Parameter, Variable, Tag, Signal, Description, 名称Grid voltage
Function / tableFunction, FC, Register type, Object type, Area, Table03, Holding, Input register, 4x, Coil
Data typeType, Data type, Format, Data format, Value typeU16, INT16, uint32, Float, REAL, ASCII
LengthLength, Words, Size, Count, Number of registers2
ScaleScale, Factor, Multiplier, Gain, Resolution, Ratio, Coefficient, Precision0.1, x0.01, 1/10, /100
UnitUnit, Units, UOM, Eng unit, Unit / ResolutionV, 0.1 V, 0.01Hz, ℃
Offset, DecimalsValue offset, Zero offset / Decimals, Decimal places, DP-40 / 1
Value textsValues, Enum, Options, States, Value description — or texts written inside Remarks / Description / Range0=Stop; 1=Run; 2=Fault
Bit textsBits, Bit definition, Bit map, Flags — or Bit0: … texts inside RemarksBit0: Over temp; Bit3: Fan fault
AccessAccess, R/W, Read/Write, Attribute, PermissionR, RW, Read only
Low / HighMin, Max, Lower limit, Upper limit, Alarm low / high180 / 260
Byte orderByte order, Word order, Endian, SwapABCD, CDAB, word swap, little endian, low word first
GroupGroup, Category, Section, Block, ModuleMeasurements
No matching titles? Content is checked too: a column full of 0x00.. numbers becomes the address, U16/Float32 words become the data type and V/A/Hz/°C become units. You can always correct a choice in Column mapping.

Addresses

The datasheet showsMeaningImport option
40001, 30001, 10001, 00001 (5 digits) or 400001 (6 digits)Reference numbers — the first digit is the table (4 = holding, 3 = input, 1 = discrete input, 0 = coil)Auto detect
0x0000, 0000H, 1AHexadecimal protocol addressAuto, or force Hexadecimal
0, 1, 2 …Protocol (PDU) address, starts at 0Auto / 0-based
1, 2, 3 … but the manual says “register 1 = first register”Register number, starts at 1Choose 1-based
Off by one? If values look shifted by one register, switch Address base between 0-based and 1-based. 40001 and protocol address 0 are the same register.

Ranges such as 0x0010-0x0011, 16~17 or 40017..40018 define 32-bit values. Section rows such as “Input registers (FC04)” switch the function for the rows that follow.

Data types & word order

Datasheet writesModbusPilot typeRegisters
U16, UINT, WORD, unsigned shortUnsigned1
S16, INT16, INT, short, signedSigned1
U32, UINT32, DWORD, UDINT, unsigned longUInt322
S32, INT32, DINT, longInt322
FLOAT, FLOAT32, REAL, IEEE 754Float322
U64 / S64 / DOUBLE, FLOAT64, LREALUInt64 / Int64 / Float644
STRING, ASCII, CHAR[n]ASCIIlength
HEX, BCD, BITMAP / BITFIELDHex / Binary1

32/64-bit values are read in the order ABCD (big-endian) unless the table or the import option says CDAB (word swap), BADC or DCBA. If a Float32 shows nonsense like 1.2e-38, try CDAB.

Scale & units

Engineering value = raw × scale + offset. The scale may be in its own column, inside the unit (0.1V, 0.01 Hz, V/10, 1/100 kWh), or in the name (Voltage (0.1V)). Decimals are chosen from the scale automatically (0.1 → 1 decimal).

Value texts & bit texts

Value texts replace a number with a word. Bit texts name each bit of a status, alarm or error word — all set bits are shown.

Accepted writingShown in ModbusPilot
Values0=Stop; 1=Run; 2=Fault
0: Stop, 1: Run
0x10 = Standby
one entry per line in the same cell
raw 1 → Run (1)
raw 9 → Unknown (9)
BitsBit0: Over temp; Bit3: Fan fault
bit0=OV, bit1=UV
continuation rows: “Bit 4: Grid lost” under the register row
raw 0x0009 → Over temp, Fan fault (0x0009)
raw 0 → No flags (0x0000)

When writing a register that has value texts, you can type the text (Run) instead of the number.

Groups & sections

Registers are grouped into polls (one Modbus request each). Neighbouring registers are combined when the gap is ≤ Join gaps up to (default 8) and the request stays within 125 registers / 2000 bits. With One poll per group, every sheet, Word table, Group column value or section row gets its own tab. Use gap 0 for devices that reply with an exception for undocumented addresses.

Messy datasheets — checklist

  1. Pick the right Table. All matching tables imports every register table in the file.
  2. Check the Header row (highlighted blue in Source table).
  3. Fix any wrong Column mapping — click a column title in the source view to assign it.
  4. Compare two or three addresses with the datasheet (watch for off-by-one).
  5. Read the Warnings tab: skipped rows and overlaps are listed with their line number.
  6. Still unusual? Copy only the useful columns into the template CSV.

Build a profile library

  • Name files Manufacturer_Model_fwVersion.json, e.g. Acme_EM340_v2.json.
  • Fill Manufacturer, Model and the default connection (baud, parity, TCP port) so a technician only needs to pick the COM port.
  • Keep the original datasheet next to the profile; re-import when the vendor publishes a new register list.
  • Profiles are plain JSON — share them by e-mail, USB stick or a shared folder. No cloud needed.

How other tools do it (and what ModbusPilot takes from them)

ToolApproachUsed in ModbusPilot
Kepware / Ignition (SCADA)Tag import from CSV with fixed column namesTemplate CSV + many accepted column names
Modbus PollAlias + format per row, saved workspacesRow settings, profiles (.json)
evcc, ioBroker, Home AssistantCommunity device templates (YAML/CSV) per modelOne profile per device model, easy to share
SunSpecStandard register models for inverters/metersGroup/section handling, scale factors
Spreadsheet import wizardsPreview + column mapping with auto-detectSmart Import wizard & this Studio