IMDTouchKnowledge BaseShop main store

How-to

Where an HMI Gets Modbus Addresses on a Shared RS485 Bus

HMI and touchscreens Published 5 min read

Short answer

An HMI such as a Weintek panel is the Modbus client: every address it polls comes from the server device's own register map, never from the HMI. On a shared RS485 bus, give all nodes the same baud rate and framing, assign each device a unique node number, and prefix that number to each register address in the HMI project.

On this page
  1. Why the addresses come from the device, not the panel
  2. Match one framing set across the whole bus
  3. Give every server a unique node number
  4. Enter the address in EasyBuilder Pro
  5. Reading the DTC1000R present value at node 2
  6. When the value does not arrive
  7. Questions asked

An HMI never hands you Modbus addresses, because the HMI is the client: it asks each connected device for values at the registers that device's own manual defines. On the shared RS485 bus in this case — an inverter already answering the panel, a Delta DTC1000R temperature controller joining over two-wire Modbus — the job breaks into three moves: put one framing set on every node, give each device a unique node number, and write that node number in front of each register address in the project. The steps below cover each move, then work the temperature controller case end to end, from its process-value register to the tag you enter for node 2.

Why the addresses come from the device, not the panel #

The panel initiates every read and write, so the panel needs to know each server's addressing, never the other way round. That client and server split is protocol-independent; the same roles on the Ethernet side are laid out in HMI Modbus client and server roles with no device driver.

The register numbers come from each device's own Modbus address map — one entry per externally accessible register, each entry also fixing the register area and data format. The engineering software stores only the maps you enter against each device and does not know every controller's registers, which is the same principle behind where Easy Modbus Master registers come from.

Do not carry numbers across devices either. The drive's communication parameters — FA00 and FA01 in this setup, entered in decimal — set that drive's node number and serial settings; they tell you nothing about a temperature controller's register map.

Match one framing set across the whole bus #

Every node on the segment runs the same baud rate, data bits, parity and stop bits. This bus uses 19200 baud, 8 data bits, no parity, 1 stop bit — 8N1 — one string entered in the HMI device configuration and in every server device. Use the highest rate every device on the bus documents; if the controller is the constraint, drop to 9600 baud and change it everywhere.

A framing mismatch shows up as silence, not bad data: the client gets no reply at all, which is the symptom covered step by step in HMI Modbus device no response over RS-485. Set framing before you debug anything else.

Give every server a unique node number #

Modbus RTU addresses stations from 1 to 247, and no two devices on one segment may share a number — otherwise both answer one request and the replies collide. Set the number where each device keeps it: in the drive's communication parameters, in the controller's configuration software, or on DIP switches on some external modules.

Watch the segment's capacity too. The classic RS-485 electrical limit is 32 unit loads per segment; transceivers with a fraction of a unit load, one-eighth for example, are why some buses carry counts like 64 nodes. Take the lowest node count published among the devices actually on your bus, keep drop stubs short and terminate both cable ends. Power the segment down while you add the new drop wiring.

Enter the address in EasyBuilder Pro #

  1. On the HMI serial port wired to the bus, add a MODBUS RTU device and set that port to the shared framing: baud rate, data bits, parity, stop bits.
  2. Set the device's station number to the node number you assigned in the server.
  3. Open the server's register map and note the register address, its area (coil, discrete input, holding register, input register) and its data format. Take these from that map, not from another device's parameters.
  4. Write the tag address as the node number, then the # separator, then the register. The inverter tag already in this project follows the pattern: node 1 at register 64000 reads 1#64000. A controller on node 2 keeps the pattern with 2 in front and that controller's own register behind it.
  5. Convert the register to the base the driver expects before typing it. Maps often print hexadecimal, and the decimal number with the same digits is a different register on the wire. Maps printed in the 4-series convention count from 40001 for the first holding register, which is wire address 0, so strip the 4-series base — the same convention behind decoding Modbus holding register 4500001 from PLC to HMI.
  6. If a controller accepts only short command blocks, change the driver to MODBUS RTU (Adjustable); its Add Address Range Limit button sets the maximum read and write command size per device.

Reading the DTC1000R present value at node 2 #

Worked example, inputs first:

  • Panel: Weintek MT8073iE in EasyBuilder Pro, already reading the inverter as node 1 through tag 1#64000.
  • Device added: Delta DTC1000R temperature controller on a PT100 input, two-wire Modbus only, configured with Delta Digital Controller v1.03; it takes node 2 — any free number works, 2 is the example.
  • Register: the present (process) value sits at hex 1000, from the DTC1000 series register table in the temperature controller manual.

Rule in words: the tag address is the node number, then #, then the register in the base the driver expects, so the only arithmetic is the hexadecimal-to-decimal conversion — weight each hex digit by 16 to the power of its position, counting from 0 at the right.

Arithmetic:

1000H = (1 × 16³) + (0 × 16²) + (0 × 16¹) + (0 × 16⁰) = 4096 + 0 + 0 + 0 = 4096

Result: node 2, register 4096, so the tag address for the present value is 2#4096.

Decision: enter 2#4096 on the numeric display and download. A value that tracks the sensor finishes the job. A communication error means the fault sits upstream of the address — framing, node number or wiring; fix those first. A plausible but frozen number means the register base or area is wrong; recheck the conversion and the map entry.

When the value does not arrive #

Check in this order: A and B lines not swapped with both cable ends terminated; the framing identical on every node; the node numbers unique; and only then the address entry. Each earlier fault masks the later ones, so work down the list rather than re-typing the tag first.

If a PLC already polls the controller on the same segment, two clients share one bus and their requests can overlap on the wire; the signature is timeouts on one or both, covered in HMI Modbus timeout caused by a PLC master-slave conflict.

Questions asked

How many devices can share one RS485 segment?

The classic RS-485 electrical limit is 32 unit loads per segment, and transceivers with a fraction of a unit load are why some buses carry more nodes than others. Take the lowest node count published among the devices actually on your wiring, and budget cable length alongside device count: a segment that carried a slow bus comfortably can need repeaters once a fast device joins it.

What if a PLC already polls the controller on that bus?

Keep one client per segment where you can: move the HMI onto its own serial port, or coordinate the two clients so their requests never overlap on the wire. Both must use the same framing and node numbers regardless. Timeouts that start only when the second client joins the segment are the signature of two masters colliding on one bus.

Does the EasyBuilder driver have to match the device brand?

Start with the generic MODBUS RTU driver on a mixed bus, because it speaks to any compliant server. A brand-specific driver only pre-fills addressing names and exposes that vendor's commands. The MODBUS RTU (Adjustable) variant exists for controllers that accept only short command blocks: it lets you set the maximum read and write command size. Switch drivers only when a documented function needs it.

Where do I find a device's register map?

In the device's communication or Modbus manual, normally as an address table listing every externally accessible register with its area and data format. Pull it for your exact model and firmware generation, because maps move between generations. When a vendor connection guide and the device manual disagree, treat the device manual as the authority and verify one register on the bench before wiring the whole screen.

Keep reading

  • Troubleshooting

    Fixing HMI Modbus Device No Response Over RS-485

    Device no Response means the slave never returned a valid frame to that request. When a PC polling tool reads the same scanner, the bus is probably carrying two masters: run one master at a time, then copy the known-good read's serial settings, station address, and register offset into the HMI.

    HMI and touchscreens

  • Troubleshooting

    Writing WAGO 750 PLC Digital Outputs From a Weintek HMI

    Your read at 0x 513 is already the right address: in the panel's 0x notation it is decimal bit 512, %QX0.0, inside the WAGO physical output area 512–767 (0x0200–0x02FF). The write fails because the CODESYS program assigns %QX0.0 every scan and overwrites it, so command an internal memory bit and let the logic drive the output.

    HMI and touchscreens

  • Troubleshooting

    Connecting a Delta DVP 15MC PLC to a Weintek HMI

    The DVP 15MC exposes its data to an HMI as a Modbus TCP server on the standard port 502. In EasyBuilder Pro, use a 15MC-specific driver if your editor's driver list has one, otherwise the generic Modbus TCP driver with the controller's register-to-Modbus mapping table. A 64-bit QWORD spans four holding registers, so prove one read-only tag before building screens.

    HMI and touchscreens