An online modification (online write) changes part of the program inside the PLC while it stays in RUN and the machine keeps working. GX Works2/3 both support it, on the condition that the offline project matches the program inside the PLC and that you understand the risk of "write during RUN" taking effect instantly. The sections below cover the preconditions, the procedure and the risks.
| Condition | Requirement | If not met |
|---|---|---|
| Project consistency | The offline project must match the PLC program exactly (or read the PLC program out first) | The software reports a mismatch; you are pushed into a full write or a forced merge and may overwrite a colleague's changes |
| Compiled / converted | Run conversion (F4) after editing until there are no errors | The write is refused, or old compiled results go in |
| Model support | FX3U and above, iQ-F / iQ-R support write during RUN | Older models require STOP, so the machine stops anyway |
Before touching someone else's program: use "Read from PLC" first (program + parameters + device comments), confirm the read-back project compiles, and only then edit. That is the first rule of online modification.
① Connect: Online menu → Current Connection Target, confirm the transfer setup (Ethernet uses the PLC's IP, USB selects the COM port), press "Communication test". ② Read: read the PLC program and compare with the local project. ③ Edit: change only the target network, add comments, convert (F4). ④ Write: Online → Monitor write mode (or tick "write program only / write during RUN" in the write dialog), and in the confirmation dialog tick only the modified step ranges. ⑤ Observe: monitor the edited network and confirm the outputs behave as expected.
GX Works3's monitor-write mode is the smoothest: monitor and edit at once, and after conversion the write range automatically targets the change.
Read the range-confirmation dialog item by item: tick only the modified step ranges; if parameters were not touched, do not tick parameters. Ticking a whole segment equals a full overwrite — the parts a colleague changed online but has not archived yet will be gone. Immediately after writing, read the PLC program back and archive it (see the backup article) so that local project = live program.
| Type of change | Recommended timing | Reason |
|---|---|---|
| Adding monitoring, comments, alarm logic | Any time during RUN | No outputs are driven, no risk |
| Changing timer/counter setpoints | During RUN, then verify the motion once | Values take effect instantly; confirm the new rhythm |
| Changing output interlock logic | Machine idle or in manual mode | New logic takes effect the instant it lands; a missing interlock beat may cause false motion |
| Changing parameters (device settings, I/O assignment) | STOP or machine down; most need a PLC restart | Parameters only take effect reliably after reset |
| Major restructuring | Full write with machine stopped | Long writes during RUN are slow and risky |
"PLC and offline project do not match": read out and compare the differences first (project → difference list), and write only after confirming every difference is yours. "Write failed / communication error": check the cable and IP, and whether the USB driver is installed. "Write during RUN not supported": older A-series or some compact models — switch to STOP. "Key word / password protected": ask the program owner for the password; never bypass it.
The biggest risk of online editing is not technical, it is losing control of versions. Set three rules: ① whoever edits must read the PLC program back and archive it with a date and a change summary in the filename; ② only the latest version lives on the project server, local copies do not circulate; ③ any change touching a safety interlock must be followed by an E-stop and reset verification run.
Online modification is essentially "differential writing": the software compares the offline project with the PLC program by step range and writes only what differs. Once you see that, the reason "project consistency" is a precondition becomes obvious — with the wrong baseline, the wrong content gets written.
Operation follows the Mitsubishi GX Works3 Operating Manual and the MELSEC iQ-F FX5 User's Manual (Program Design) sections on write during RUN (SWriting); safety during commissioning follows GB 5226.1 / IEC 60204-1.
Any change involving safety interlocks is done with the machine stopped and the mode switch on "manual"; run an empty cycle before returning to automatic.