IMDTouchKnowledge BaseShop main store

How-to

What to Set Before an HMI Reads and Writes VFD Registers

Drives and motion Published 5 min read By IMDTouch engineering team

Short answer

Select the Modbus RTU master driver on the HMI's serial port, then program the drive's communication group with a matching node address, baud rate and parity. Take every register address, data format, access direction and scaling factor from the manual for the confirmed drive model. A clean read proves the link; only a documented write test on a safe bench proves writes.

On this page
  1. Confirm the drive model and its communication option
  2. Wire the RS-485 daisy chain
  3. Set both ends to the same communication data
  4. Take registers, access direction and scaling from the drive manual
  5. Timing the frame gap for a 19200 baud link
  6. Read first, write on a safe bench
  7. Questions asked

An MT6070iH talks to a PowerFlex 4M over RS-485 with Modbus RTU, and before the first read or write succeeds, four settings have to be in place and have to agree: the Modbus RTU master driver on the HMI's serial port, the node address, the baud rate and the parity in the drive's communication group. Every register address, access direction and scaling factor comes from the drive manual for the confirmed model. The steps below set those in order, time the frame gap the bus needs between polls, and show why a clean read is not proof that writes work.

Confirm the drive model and its communication option #

Read the drive nameplate before you configure anything. The PowerFlex 4M user manual states the drive can be multi-dropped on an RS-485 network using Modbus protocol in RTU mode, and the same manual family carries the register tables you will need later. The technical data notes that the drive requires external DSI communication kits for serial networks, so confirm the communication kit is physically fitted and identified before you open the software. If the drive on the machine turns out not to be that model, stop and pull that model's own documentation: the setup steps stay the same, but the communication group layout and register map do not, and a map borrowed from another drive model will address the wrong functions. Another drive family worked end to end makes the point; the FR-E700 Modbus RTU parameter and register addressing reference shows how model-specific the register layer is.

Wire the RS-485 daisy chain #

Run a shielded twisted pair from the HMI serial port to the drive's communication terminals, daisy chaining node to node if more than one drive shares the bus, and fit termination at the two physical ends of the line with short stubs. On the HMI side, do not assume a pin layout: pin assignments vary between panel models, and the maker's Modbus RTU connect guide gives the RS-485 pins for the MT6070iH specifically. On the drive side, the terminal section for the fitted communication kit gives the terminal pair and any termination switch. The general wiring case for this link shape, one HMI to one drive with no other masters, is walked through in the article on connecting an HMI directly to a VFD over Modbus RTU.

Set both ends to the same communication data #

Set the two ends to identical serial data and a matching station address, in this order:

  1. In the HMI project, add a Modbus RTU master connection bound to the COM port wired to the drive.
  2. Read the drive's communication group on its keypad or display and note the node address, baud rate, parity and stop bits as configured, not as you assume they left the factory.
  3. Give the drive a node address unique on the bus; Modbus RTU station addresses run from 1 to 247.
  4. Program baud, parity and stop bits into that communication group, then set the HMI driver's port settings, where baud and parity live for each serial port, to the same values.
  5. Set the HMI connection's station number to the drive's node address.
  6. Save and download the HMI project, and confirm the drive group persists through a power cycle.

Keep one master on the bus: two RTU masters on one RS-485 line will fight over the drive, and the symptoms look like random timeouts rather than a wiring error.

Take registers, access direction and scaling from the drive manual #

Open the register tables in the PowerFlex 4M manual and take each HMI tag from there: address, data format, word length, scaling, and whether the register is readable, writable or both. The manual states access per register, so a speed reference and a status value with neighboring addresses can carry opposite permissions and different scaling. Watch the address convention your HMI tool expects as well, because a long-form holding-register number does not always drop into an HMI address field unchanged; the article on Modbus 3x, 4x and 5x read types and decimal register entry covers that translation. No register numbers appear in this article because they belong to the confirmed model's manual alone.

Inputs: a link at 19200 baud, 8 data bits, even parity, 1 stop bit, so one character is 11 bits; 19200 is one of the standard rates both the drive communication group and the HMI serial driver offer. Rule: the Modbus RTU standard ends each frame with at least 3.5 character times of bus silence. Arithmetic: 11 bits divided by 19200 bits/s gives 0.000573 s, or 0.573 ms per character, and 3.5 times 0.573 ms gives 2.01 ms. Result: about 2 ms of idle line ends every frame at this rate. Decision: the gap is a floor and the drive's reply time sits on top of it, so a poll period shorter than the gap alone fails before the drive even answers; at 9600 baud the same gap doubles to 4.0 ms, and the poll period must exceed gap plus measured response at whichever rate you set.

Read first, write on a safe bench #

Begin with a read. Point one HMI numeric object at a register the manual documents as a readable status value and compare it with the drive's own display; a match confirms the driver, the port settings, the node address and the read path in a single test. Then test a write, and only on a register the manual lists as writable. One safety note belongs here: a write into a drive's command or reference register can start, stop or re-speed the motor, so bench-test writes with the load disconnected or the drive disabled before the panel goes on the machine.

A write that does nothing usually means a read-only register, a wrong address form, a data format the drive does not expect, or a value outside the documented range. The same discipline applies to writing output data to any Modbus slave; the reference on safe Modbus writes to PLC output registers from SCADA covers that pattern in depth. The pass condition is concrete: a read that matches the drive display, plus a write to a documented writable register that holds through a drive power cycle. Anything short of that stays on the bench.

Questions asked

Which connection do I select on the MT6070iH for a PowerFlex 4M?

The Modbus RTU master driver on the serial port wired to the drive, over RS-485. The drive's communication group then carries the matching node address, baud rate and parity. The HMI maker's Modbus RTU connect guide gives the RS-485 pin assignment for the MT6070iH; pin layouts differ between panel models, so use the guide for that panel rather than a generic connector assumption.

Where do the register addresses for this drive model come from?

From the register tables in that drive's own user manual, which list each address, data format, scaling and whether the register is readable or writable. Do not reuse a map from another PowerFlex model or another drive family; addresses and scaling differ, and a wrong write address can land on a command function.

The HMI reads the drive fine, so why does the write do nothing?

A successful read only proves the link, the node address and the read path. A write can still fail on a register the drive treats as read-only, a data format the drive does not expect, a value outside the documented range, or the HMI addressing the wrong station. Confirm the exact register is documented as writable, and test the write on the bench first.

Can one HMI port talk to several drives at once?

Yes. Modbus RTU is a multi-drop master-slave bus, so the drives share the RS-485 line in a daisy chain and each one needs a unique node address; the HMI polls each drive by its station number. Check bus loading and termination at both ends, and expect the update rate each drive sees to fall as the poll list grows.

Keep reading

  • How-to

    Connecting an HMI directly to a VFD over Modbus RTU

    Yes. An HMI with a Modbus RTU master driver can start, stop, set speed and read status and faults from a Modbus-ready VFD with no PLC — after the drive's run-command and frequency-reference parameters point at the serial port, and after communication loss stops the drive in a defined way. Keep the hardwired emergency stop.

    Drives and motion

  • Checklist

    How to commission an HMI to VFD control path

    Commission an HMI-to-VFD path hop by hop: verify the physical link at each segment, match communication settings at both ends, give every command exactly one writer, verify tag scaling against the drive map, set the drive command source to network, then release only after one monitoring value and one write are proven against drive diagnostics.

    Drives and motion

  • Troubleshooting

    Why a PLC Modbus Master Read Returns Nothing From an HMI

    When a PLC Modbus RTU master polls an HMI slave and gets nothing back, three faults hide behind the flashing LED: DTR direction control left at 0 instead of 2, the wrong starting address for LB0, and a one-scan enable that kills the transaction before Done. Fix them in that order.

    Industrial networks