Explainer
Why a Do-more serial port cannot switch between Modbus and programming
Short answer
A Do-more serial port carries exactly one protocol, fixed when the port is configured: Modbus, or the programming protocol that Do-more Designer uses. No ladder bit, Modbus write or timeout rebinds it at runtime, and one RS-485 network cannot carry both protocols anyway. Two services mean two separately wired serial networks, or both moved to Ethernet on the H2-DM1E built-in port or an ECOM100.

On this page
A Do-more serial port runs exactly one protocol, and the choice is fixed when the port is configured: Modbus, or the programming protocol that Do-more Designer and matching HMIs speak. Nothing rebinds it while the PLC runs — no ladder bit, no Modbus write, no timeout, no command from the programming PC. So the scheme of setting a bit over Modbus to get program mode, then reverting remotely, has no mechanism to stand on, and the RS-485 network behind the radio could not carry both protocols anyway. One port is one job. Two jobs — an office HMI polling Modbus while Designer troubleshoots over the same radio system — mean two separately wired serial networks or a move to Ethernet.
Where the protocol gets bound #
Do-more Designer assigns serial ports before the project ever runs. CPU Configuration covers the ports on the CPU itself, Module Configuration covers serial ports on option modules, and the documentation states the reason plainly: modules with serial ports must have those ports configured so the necessary resources can be allocated. The programming-protocol entry is described for two uses, a port serving Do-more Designer sessions and a port serving an HMI that speaks the same protocol; Modbus is a separate selection.
That assignment is a property of the running system, not a variable inside it. No documented memory bit, ladder instruction, Modbus register, or Designer operation selects a port's protocol while the controller runs, and the documented answer to the toggle question is that the protocol must be fixed to a specific serial port. Treat the binding as permanent between configuration downloads and design around it.
Why the set-a-bit scheme has no mechanism #
The idea reads well on paper: the office HMI writes a Modbus register, the port flips into programming mode, Designer connects, and a timeout or a Designer-written value flips it back. Neither half exists in the documentation. No instruction rebinds a port at runtime, and Designer has no documented operation that hands a port back to Modbus.
The scheme would defeat itself even if it did exist. The instant the port leaves Modbus, the HMI's master has nothing to talk to; the only client that can speak to the PLC is a Designer session, so the revert depends on the same radio link that a dropped session has just proved unreliable. One lost packet mid-session and the port sits in the wrong mode until someone drives to the site — the exact outcome the scheme was meant to avoid. The engineering answer is to stop designing around a switch the platform does not offer: bind each port once, correctly, and spend the effort on a second network or on Ethernet.
Why one RS-485 wire cannot carry both protocols #
Even a port that could switch would not rescue one shared wire. TIA/EIA-485 multidrop puts many nodes on one pair with only one driver active at a time, and the Modbus serial-line specification allows exactly one master on that pair; slaves answer only when addressed. The address byte in a request selects a slave — it does not declare which protocol the frame speaks. A Modbus RTU request and a Designer programming packet are unrelated frame formats, so each receiver treats the other's traffic as noise: broken framing, failed CRC checks, bytes discarded.
Daisy-chaining two ports onto one radio changes nothing. Connect a Modbus-configured port and a programming-configured port to the same radio and both still transmit onto one channel, so the office HMI and the office Designer become two masters on one wire with no arbitration. It is the same reason why an S7-200 cannot share one RS-485 port with a PC and Modbus: port count, not willingness to share, decides what a serial network can carry.
Port count for one radio link with Modbus and remote programming #
Inputs #
- One serial radio modem between the remote PLC cabinet and the office, from the remote-site application in question.
- One PC-based HMI at the office, polling the PLC as a Modbus slave over that radio, from the same application.
- One programming need: Do-more Designer online from the office, from the same application.
- The PLC is an H2-DM1E, whose built-in Ethernet port is an RJ-45 on the CPU, per the H2 Series hardware user manual.
Rule #
One serial port binds one protocol. One RS-485 network carries one master, and therefore one protocol. One radio channel carries one network. An Ethernet link carries any number of TCP services.
Arithmetic #
- Protocols that must reach the PLC: Modbus RTU for the HMI + Do-more programming for Designer = 1 + 1 = 2.
- Serial ports required: one per protocol = 2.
- Radio channels required if both stay serial: one per network = 2.
- Ethernet links required if both move to Ethernet: both services ride TCP sessions on 1 link.
Result #
Staying serial doubles the ports and the radio channels. Moving to Ethernet needs one link and the RJ-45 port the H2-DM1E already has.
Decision #
If an Ethernet-capable radio is acceptable, replace the serial radio and run both services over the built-in Ethernet port: one link, no second serial port, no converter. Only a radio that cannot be replaced justifies the fallback of a second RS-485 port plus a second radio channel — and even then, the two ports never share one channel.
Wiring the two-network fallback #
The fallback needs extra parts but it works. Bind port 1 to Modbus RTU, wire its RS-485 pair to radio 1, and let the office HMI be that network's only master. Bind port 2 to the programming protocol, wire its pair to radio 2, and let a Designer session be its only client. The extra port comes from a serial option module in the base, and where a port is RS-232, a converter to RS-485 sits in front of its radio. Count the pieces before choosing this route — a serial module, a converter and a second radio, against one Ethernet radio for the other design.
Two ports and two wires obey the same rule as how a PLC runs two Modbus networks at the same time: one port per network, one master per port, no exceptions. Prove it by running a Modbus poll and a Designer online session at the same time; neither should stutter, and pulling either radio should disturb only its own network.
Ethernet carries both services on one port #
The H2-DM1E already owns the exit: the built-in Ethernet port, an RJ-45 on the CPU. Designer connects through it, and the office HMI's polling moves from Modbus RTU on serial to Modbus TCP over the same port — one link, two TCP services, no port doubling and no second radio. The port is no programming-only compromise either; the hardware manual documents it as an Ethernet Expansion I/O master for up to 16 slave devices, so remote I/O can share it later.
Test the path with the instructions the Do-more 1.1 release added: PING, to confirm an Ethernet device answers, and DNSLOOKUP, when the connection is made by host name instead of address. Where the link leaves the plant, forward a TCP port to the PLC's address and connect Designer as for any remote client. On a CPU without built-in Ethernet, an ECOM100 in the base provides the same path, and sharing that module with another client proves nothing about the client talking to the PLC, as why sharing an ECOM-100 does not prove a logger will talk to Do-more shows. One caution belongs here: a Designer session from the office changes code on a running machine, so keep remote edits under the same permit and check practice as an edit made at the cabinet.
Questions asked
Can I rebind a Do-more serial port without visiting the site?
Only through a connection that already works. The binding lives in the port configuration inside the project, so changing it means editing that configuration and downloading the project from Do-more Designer. A port set to Modbus gives Designer no path in over that radio, which is exactly why the binding has to be chosen correctly on day one rather than toggled later.
Can an HMI share the programming port instead of using Modbus?
Yes, when it speaks the same protocol. The CPU port configuration describes the programming protocol as the one used by Designer sessions and by HMIs that speak it, so such an HMI and Designer use the same binding and choosing between them needs no reconfiguration. That does not make them two simultaneous masters on one RS-485 wire: only one master transmits on a serial network.
What should I check first when the office cannot reach the PLC to program it?
Check the port's configured protocol before touching the radio. A serial port bound to Modbus will never answer Designer however good the wiring is, so open the port configuration and confirm the binding first. Over Ethernet, confirm the PLC answers on its address before opening a Designer session.
Can I keep the serial radio for Modbus and use Ethernet only for programming?
Yes, and it is a clean split. Leave the serial port bound to Modbus RTU so the office HMI keeps its radio link unchanged, and give Designer the built-in Ethernet port of the H2-DM1E over any IP path you can reach, such as an Internet connection using port forwarding. Each port keeps one protocol, and no second radio or serial module is needed.


