An edit goes in and the machine starts doing strange things. Freeze the scope, diff the blocks, roll back without ego - and build the change discipline that makes the next edit boring.
First move is scoping, not more editing. List every block and logic point touched, and check each against the intention - nine of ten post-edit misbehaviours come from a slip: wrong address, NO where NC belonged, a call order changed. Monitor online, watch which rungs execute when the odd action fires, and confirm whether the new logic or something it dragged in is responsible. A block compare against the pre-edit backup finds every difference, including edits someone made earlier without recording.
Rollback is the safety net: before any edit, back up the running program with a dated version and prove the previous backup loads. If the fault resists quick diagnosis, download the pre-edit version, restart production, and analyse off-shift - downtime costs more than pride. Verify the rollback too: confirm the version number, or an older release walks in with new differences. Long term, run change discipline: an application note with scope and rollback plan, edits off-production, a test checklist - jog, single step, dry cycle, every interlock - signed before handover, versions and authors in the register, and a second pair of eyes on any safety-related logic.
| Step | Action | Tool or method | Goal |
|---|---|---|---|
| Lock the change scope | List blocks and logic points | Block compare | Every difference found |
| Verify online | Watch the rungs firing | Monitoring, watch tables | Locate the culprit edit |
| Roll back if needed | Download the pre-edit version | Dated backup | Production first, analysis later |
| Record and plan | Log symptom and suspicion | Change note | No vanishing problems |
| Test before handover | Jog, dry cycle, interlocks | Test checklist | Signed, verified release |
Back up, edit, compare, roll back when wrong, verify before handover. Edits go wrong sometimes - that is human; editing without a rollback chain is the real fault.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: PLC programming languages and verification per GB/T 15969.3 (IEC 61131-3), safety-related control logic per GB/T 5226.1 clause 9. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.