Troubleshooting
Why a converted PLC program misbehaves after a brand swap
Short answer
A brand-converted program that runs but misbehaves fails in predictable layers: communication setup, HMI address and data-type mapping, I/O assignment against the rewired field, or timer and state behavior. Trace one failed function from its physical input through the converted logic to the HMI point and output, repair the layer the trace ends in, and rewrite only the functions the conversion could not carry.

On this page
- Read one failure before you open the program
- Prove or clear the communication link first
- Five places a conversion hides a fault
- Build the cross-reference that proves the mapping
- Tracing one fault: a register of -40 shows 65496 on the HMI
- Repair in place or rebuild: the decision
- Prove it dry before a loaded cycle
- Questions asked
Your converted program is probably not lost, and rebuilding the whole machine's logic is the wrong first move. In your case, Delta logic and a Delta HMI replaced the Mitsubishi control on an autoclave, and the conversion runs but misbehaves; that pattern fails in a handful of predictable layers: the communication setup, the HMI address and data-type mapping, the I/O assignment against the rewired field, or timer and state behavior the new engine handles differently. Take one failed function and trace it from the physical input through the converted logic to the HMI point and the output. The trace ends in the broken layer, you repair that layer, and only a function whose behavior the conversion could not carry gets rewritten. Here is the order to test, one fault worked through to a decision, and the repair-or-rebuild rule.
Read one failure before you open the program #
"Not working well" cannot be traced, so record what actually happens:
- The exact screen text and the displayed value, copied as shown.
- What the operator commanded and what the machine did in the same moment.
- The PLC's online state at that moment: input bits, step number, timer values.
- When it appears: at power-up, at one sequence step, or only after an operator action.
Then pick one function, such as the fill step or one setpoint entry, and watch three things at once: the HMI point, the PLC's online value for it, and the physical I/O. Watching a variable against its physical channel is the same discipline in every engineering environment; one controller platform's write-up of tracing variables and physical I/O shows the method. A traced failure replaces guessing from the screen.
Prove or clear the communication link first #
If every HMI point is dead or stale, test communication before touching logic:
- Confirm the HMI project's device selection names the actual PLC model, at both ends.
- On a serial link, compare baud rate, parity and stop bits on both devices.
- On Ethernet, every node needs its own address in the same subnet and mask; Delta's guidance for networked HMIs sets the main unit at 192.168.0.1 and the next node at a different address on that same subnet.
The decision: values that track a live sensor change prove the link, so a single wrong point with the link alive is a mapping or type fault, not communication. Read one value on the HMI and compare it with the PLC's online monitor; write one point only where a write is safe and permitted, and confirm the PLC receives it.
Five places a conversion hides a fault #
With the link proven, work these layers in order on the one failed function:
- Address mapping. The HMI object must point at the register the converted logic actually uses. Device numbers that matched on the old platform mean nothing after re-addressing, so check every point against the PLC's cross-reference, not the screen captions; alarm words deserve the same care as what an HMI alarm Modbus address maps to in the PLC.
- Data type and width. Signed or unsigned, 16-bit or 32-bit, BCD or binary: a numeric object whose type does not match the register is a documented failure mode on HMIs, displaying and accepting incorrect values while the link stays healthy. Fix the object's type, not the logic.
- I/O assignment against the rewired field. Channel numbers on the new hardware are not the old ones. Trace each conductor to its real terminal, drive the field device safely and watch the input online; command the output and watch both output status and field device. An input that never changes is field side; an input that changes but does not advance the step is logic.
- Timers and counters. A converted timer whose timebase or accumulation differs runs for the wrong time or jumps in value; other migrations show the same signature, as in converted timer ACC values jumping after an SLC migration. Compare each converted preset against the original's elapsed time, preset and timebase together, and confirm that retentive devices stayed retentive.
- Command and state semantics. Edge instructions, one-shots, latches and power-cycle retention behave differently across engines, and an HMI command may not arrive in the form the converted rung tests for. Write the point and watch the logic's acceptance conditions online.
Build the cross-reference that proves the mapping #
The original Mitsubishi program is your specification of intent: phases, interlocks, setpoints and alarms. It is not source code for the new platform. You cannot import a PLC project into another platform, so every function in the converted program was re-entered by hand, and hand-carried code keeps its shape while losing details. The old device numbers will not guide you either: the FX platform labels timers, counters and other devices with decimal numbers, so a device number identifies a device, not an address you can reproduce on the new hardware.
For each function the HMI or the sequence uses, fill one row:
- original device and what it means in the machine;
- new address or tag;
- data type and width;
- read or write direction;
- scaling, units or limits;
- retained or cleared at power-up.
Confirm each row in both projects. A row counts as proven only when a change at one end appears at the other, in the right type and the right units.
Tracing one fault: a register of -40 shows 65496 on the HMI #
Inputs, and where each comes from:
- The PLC's online monitor shows -40 in the register: an example value, such as a chamber pressure transmitter resting slightly below its zero in mbar. Substitute your own reading.
- The HMI numeric display for that point shows 65496, and the number moves when the transmitter is vented, so the link carries data: an observation you make on the machine.
- The object reads the register as an unsigned 16-bit integer, which is the width the common Modbus addressing convention reads from holding registers with function code 3.
The rule in words: one register pattern, two readings. Unsigned covers 0 to 65535; signed splits the range, and any pattern with the top bit set equals the pattern minus 65536.
The arithmetic:
- Signed interpretation: 65496 - 65536 = -40, exactly the online value.
- Difference the operator sees: 65496 - (-40) = 65536.
Result: the register and the link are correct; the HMI object's data type is wrong.
Decision: when the HMI value exceeds the PLC's online value by exactly 65536, the register is signed and the object is unsigned. Set the object to signed 16-bit and recheck, and leave the communication settings alone. A difference of exactly 4294967296 across a 32-bit pair is the same fault one word up. Any other difference is a wrong address or a scaling error: go back to the mapping rows.
Repair in place or rebuild: the decision #
Commit to the trace's verdict:
- The trace ends in a mapping, type, assignment or parameter layer: repair in place. These corrections cost minutes, and each one removes suspects from the next fault.
- A function's cross-reference row cannot be filled with an equivalent, because the original leaned on a device-specific instruction or retentive behavior the new engine lacks: rebuild that one function from the original program plus the machine's requirements, then test it dry.
- A phase-by-phase walk of the original program finds converted steps that no longer match the machine's phases, such as fill, heat, sterilize and exhaust: rewrite the sequence, deciding from the walk rather than from fatigue after an afternoon of tracing.
Rebuilding the entire PLC and HMI program is the last resort and rarely right, because a conversion that runs has already carried the structure; what it drops is exactly the layers above.
Prove it dry before a loaded cycle #
Test the repaired function with the chamber empty: drive the inputs from their field devices or force them from the programming tool with the machine in a safe state, verify each phase transition against the original program's timings, and exercise every HMI command and display you touched. Then run one full dry cycle with the door and overpressure protections active. Do not run a loaded sterilization cycle until the control sequence and the machine's safety functions have been checked and validated; a conversion does not carry a validation across, and the safety functions must stand on their own, not in converted logic.
Questions asked
Do I have to rebuild the entire PLC and HMI program?
No. Trace three faults before you decide. If all three end in mapping, type, assignment or parameter layers, keep repairing, because those corrections cost minutes each and every fix removes suspects from the next fault. If two of the three end in converted logic that contradicts the original program's intent, plan a rewrite of that sequence, using the original phases as the specification.
Why does a converted timer run for the wrong time?
A timer preset is a count of timebase ticks, not a duration. Multiply each converted preset by the old timer's timebase and by the new timer's timebase; where the two products differ, the timer runs long or short by that ratio. Rescale the preset or pick a timebase that reproduces the original elapsed time, then re-verify the phase timing with the chamber empty.
The HMI button responds but the machine will not start. Is the link broken?
Usually not, if other HMI values track the process. The fault is in what the button writes or what the logic waits for: a momentary pulse where the converted rung tests a maintained level, a write to the wrong register, or a permissive such as door closed that the converted logic evaluates differently. Monitor the target register and the permissive bits online while pressing the button; the one that fails to change names the fault.
What can a conversion tool actually carry to the new platform?
Contacts, coils and simple rungs translate. Device-specific instructions, retentive memory ranges, timer and counter timebases, analog scaling conventions and HMI address tables do not, and must be re-entered and demonstrated row by row. Treat every function the tool flagged or skipped as unverified until you have watched it work on the machine in a safe state.
Does using one brand for both PLC and HMI remove the mapping risk?
No. The HMI driver still maps screen objects to controller memory by address format and data type, and an object set to the wrong type displays wrong values over a healthy link. Build the point list from both project files even on a single brand, then compare every entry and display against the PLC's online values before the first cycle.

