All logic crammed into OB1
The main program spans hundreds of networks with no functional separation; any change requires reading the whole thing to judge its impact.
A line that has run for eight years, through four engineers' hands: the same action implemented in three places, timer numbers remembered by rote, an alarm list of nothing but abbreviations, and a single parameter change requiring three line stops to test. Refactoring isn't a rewrite — it's organizing the program into a form someone else can take over, without changing process behavior.
What kind of program needs refactoring: not one that "looks poorly written," but one that has started generating real costs — change one thing and three others break, new hires take three months to become productive, line-down troubleshooting comes down to guessing, the same fault keeps recurring, or there's no obvious place to add a new feature. If three or more of these apply, refactoring usually pays for itself within a year through reduced downtime and labor.
The main program spans hundreds of networks with no functional separation; any change requires reading the whole thing to judge its impact.
M10.3, DB2.DBD14, VW100 written directly into logic — no symbolic names, no units, no range documentation.
The same process written separately at each station; fix one place and miss three, and the versions start to drift.
Alarm messages like "E-07" and "Fault 3" that operators can't read; troubleshooting relies entirely on veteran employees' memory.
Process parameters scattered across DBs, the HMI, and paper records; changeovers are done by hand-copying, which invites errors.
The program lives on a single laptop, with filenames like "final-rev3-really-final."
Six stages, each with a verifiable output; no requirement to do it in a single line shutdown.
Determined by line count, number of stations, and coupling; the final written quote after assessment is authoritative.
| Tier | Applies to | Reference price |
|---|---|---|
| Small | Single machine, ≤3,000 lines, ≤2 stations | ¥28,000–45,000 (≈US$3,900–6,300) |
| Medium | Single line, 3,000–10,000 lines, 3–8 stations | ¥45,000–120,000 (≈US$6,300–16,900) |
| Large | Entire line or workshop, >10,000 lines, multi-unit coordination | ¥120,000–300,000 (≈US$16,900–42,300) |