IMDTouchKnowledge BaseShop main store

Checklist

How to commission an HMI to VFD control path

Drives and motion Published 6 min read

Short answer

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.

On this page
  1. Give every command exactly one writer
  2. Check the physical link segment by segment
  3. Match the communication settings at both ends
  4. Budget the poll cycle before trusting response time
  5. Map and scale every tag against the drive data map
  6. Set the drive command source and run the release test
  7. Questions asked

Commission an HMI-to-VFD path hop by hop, and release it only after two proofs: one monitoring value that matches the drive's own diagnostic display, and one write that visibly changes a value at the drive and reads back correctly. Work the path in this order — command ownership, physical link, matching communication settings, poll timing, tag mapping, drive command source — because each stage hides the failures of the stage after it. The first concrete numbers you will hit: the serial format must read 8E1 — 8 data bits, even parity, 1 stop bit — at the same baud rate at every node, and at 9600 baud each two-register Modbus RTU poll has a 27.5 ms wire floor including both frame gaps. A link indicator proves nothing about scaling, and a perfectly scaled tag does nothing while the drive still takes its commands from the local keypad. The numbers below are for a Modbus RTU serial link, the most common HMI-to-drive path; the sequence is identical over an industrial Ethernet network, with addresses replacing serial settings.

Give every command exactly one writer #

A drive obeys one command source at a time. Before touching a parameter, list every command and name its single writer:

  • Start/stop — the HMI in a direct link, or the PLC in an integrated one, never both.
  • Speed reference — one writer; a second writer makes the output depend on scan and retry timing.
  • Direction, mode select, fault reset — one writer each.
  • Status word, output frequency, current, temperature, alarms — read-only at the HMI.

Trace one start command from its HMI object through the configured path to the drive and confirm no second controller or tag writes the same function. If two writers exist, remove one before commissioning continues. Hand-off between the drive keypad and the network must be a designed mode change, not a race.

An HMI start/stop is operational control, not a safety function: the machine's safe stop must act through its own safety-rated circuit, independent of the link.

  • Direct link: inspect the interface at both ends. Connecting an HMI directly to a VFD over Modbus RTU covers that single-link arrangement end to end.
  • Integrated link: check the HMI-to-PLC and PLC-to-drive segments independently — a healthy HMI-to-PLC link does not prove the PLC reaches the drive.
  • RS-485 trunk: daisy-chain only, no stubs, 120 Ω termination at both physical ends of the trunk, biasing per the master interface's requirement.
  • Terminals seated, shield landed as the manuals specify, communication cable routed away from motor and power wiring.
  • For point-to-point serial, building the RS-232 Modbus cable between an HMI and a controller to the drawings comes before any software suspicion.

Confirm the link or physical-layer diagnostic is healthy at each segment before changing application tags. A link indication proves the physical port — not protocol agreement, and not command data.

Match the communication settings at both ends #

  • Addresses: every slave unique, inside the documented Modbus server range 1–247; 0 is broadcast and must not be assigned to a device.
  • Serial format: baud rate, data bits, parity and stop bits identical at every node. The Modbus serial convention is 8 data bits, even parity, 1 stop bit (8E1); where a device offers no parity, use 2 stop bits (8N2).
  • Port and node assignment: read the configured values from the devices and the project; never infer a baud rate, port or node number from the protocol name.
  • Ethernet path: unique addresses and reachable routes instead — same rule: read, record, compare.

Any mismatch at any node is a stop-work condition. Record the as-found values at both ends; that record is what you diff after a fault.

Budget the poll cycle before trusting response time #

The wire has a floor. Illustrative calculation for one Modbus RTU read of two holding registers at 9600 baud, 8E1 — 11 bits per character (start, 8 data, parity, stop):

  • One character: 11 / 9600 s = 1.146 ms.
  • Silent interval: the Modbus over Serial Line specification sets it at 3.5 character times — 4.01 ms at this baud — and fixes it at 1.750 ms for rates above 19200.
  • Request, 8 bytes: 8 × 1.146 ms = 9.17 ms.
  • Response, 9 bytes: 9 × 1.146 ms = 10.31 ms.
  • Both frame gaps: 2 × 4.01 ms = 8.02 ms.
  • Wire minimum per poll: 27.5 ms.

That 27.5 ms excludes the drive's response time, the driver's poll scheduling and retries; measure those separately with the driver's diagnostics or a scope. Budget about 30 ms of wire time per two-register poll at 9600 baud: a scan polling three register groups consumes 3 × 27.5 = 82.5 ms of wire, which fits a 250 ms scan with margin. Moving to 19200 baud halves the same cycle to about 13.7 ms. When several drives share one trunk behind a gateway, sequence them one at a time — how to commission five VFD drives on one Modbus gateway works the same arithmetic per slave.

Map and scale every tag against the drive data map #

A healthy link still delivers wrong control when the two ends disagree about meaning. For each HMI object, record:

  • Register or parameter number, and read versus write.
  • Data type and signedness.
  • Word order for 32-bit values — scaling a 32-bit float Modbus value in an HMI script shows the failure when it is wrong.
  • Units and scaling factor, taken from the drive's own communication map, not from a copied project.

Worked example: if the drive stores frequency in 0.1 Hz steps, entering 37.4 Hz must write 374 (37.4 / 0.1 = 374). An entry of 37.4 that reaches the drive as 37 runs the motor at 3.7 Hz — the factor is missing, and the keypad will show it. Validate one monitoring value with the drive stopped or in a safe state, comparing the HMI display against the drive's keypad display, units included, before any write is enabled.

Set the drive command source and run the release test #

  • Set the drive's command source and reference source to the network port. The setting's name and menu location vary by drive family; find it in the drive's configuration. A writable register does not mean the drive acts on the network.
  • Verify motor nameplate data and the acceleration and deceleration ramps in the drive before any motion.
  • Release test, in order:
    1. Write the speed reference from the HMI; confirm the new value on the drive's own display.
    2. Start from the HMI at minimum speed; confirm the status word and measured speed return to the HMI.
    3. Stop from the HMI; confirm run status clears.
    4. Test fault reset if the design includes one.

Release when one monitoring value and one write are proven end to end with the drive's own display agreeing at each end, every command has exactly one writer, and the keypad-to-network hand-off is locked down or explicitly designed.

Questions asked

How many drives can share one Modbus RTU trunk with an HMI?

The protocol allows server addresses 1 to 247, but wire time sets the real limit: at 9600 baud, 8E1, each two-register poll costs about 27.5 ms including both frame gaps. Ten drives polled once per 500 ms scan consume about 275 ms, over half the scan with nothing left for retries. Keep calculated wire loading under roughly half the scan, and verify trunk biasing and termination before trusting any maximum device count.

The HMI shows healthy values but the motor ignores commands. What do I check first?

Check the drive's command source first. A drive obeys only its configured command and reference source, so while it is set to the local keypad, network writes update the register and nothing moves. Confirm that setting, then confirm no second controller or HMI tag is writing the same command word.

Is the HMI stop button enough for an emergency stop?

No. A network stop depends on the screen, the driver and the link staying alive, so it is operational control only. Emergency stop and safe stop must act through a safety-rated circuit that removes drive energy independently of the HMI path.

Why compare the drive keypad during commissioning instead of trusting the HMI screen?

Because the keypad is the authoritative diagnostic. It shows the register value the drive actually received, which separates a scaling error, where the HMI displays the wrong number, from a path error, where the HMI displays the right number but a different register changed. Both must be proven before release.

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

  • How-to

    Setting Up DOPSoft Modbus RTU for an HMI to Drive Link

    Select Modbus as the manufacturer in DOPSoft, choose RTU Hex Address Master (ASCII Hex Address Master only on a drive set to ASCII), copy the drive's serial parameters into the COM port — the factory frame is 9600, 8/Even/1 in RTU at station 1 — and prove the link with one read at a hex address such as 2000 (= 8192 decimal).

    HMI and touchscreens

  • Troubleshooting

    Displaying Negative Drive Values and Script Writes in Vijeo Designer

    The reverse readings failed because the Vijeo Designer variables were typed UINT, which cannot show a value below zero; set them to INT and the same drive words display negative. The script write is a separate fault: point the script's write at the setpoint variable the keypad uses, clamp the result to the drive's documented setpoint range, and verify the write on the connected panel, not in the simulator.

    HMI and touchscreens