HMI-to-MCU Modbus RTU Control Kit for Machine Builders

Control integration where an industrial HMI panel acts as Modbus master and an embedded controller replaces discrete PLC logic over RS-485. Includes register map design, RTU slave firmware and wiring reference.

Technical specifications

HMI softwareKinco HMIStudio
Physical layerRS-485, 2-wire
Serial framing9600, 8N1, RTU
Slave address1
Register model0x / 1x / 3x / 4x
Reference machineLabeling machine control

Protocols & interfaces

Modbus RTURS-485HMI panel

Overview

For compact machines, a full PLC can be unnecessary. In this architecture the HMI panel is the Modbus master and a low-cost MCU is the RTU slave. The panel renders the operator interface and polls registers; the MCU handles I/O, timing and interlocks.

Register model

PrefixAccessTypical content
0xRead / writeCoils — outputs and command bits
1xRead onlyDiscrete inputs — sensors and limit switches
3xRead onlyInput registers — measured values, status words
4xRead / writeHolding registers — setpoints, timers, mode selection

Wiring reference

On the HMI DB9 connector, pin 9 is TX+/A and pin 8 is TX-/B; connect ground as well. Default framing is RTU at 9600 baud, 8N1, slave address 1. Terminate the bus at both ends and keep the cable away from motor wiring.

ItemValue
HMI A / TX+DB9 pin 9
HMI B / TX-DB9 pin 8
GroundCommon ground required

Deliverables

  • C firmware for the MCU slave, with Chinese inline comments for manual review
  • HMIStudio project setup steps, copied into the machine builder's own project
  • Register map table agreed before firmware work starts
  • Bench test procedure covering timeout, bus loss and output safe state

Documentation status

Register addresses and safe-state behaviour are machine-specific. Confirm the final map before release; never reuse a register map from another machine without review.

Back to catalog