Troubleshooting
Fixing command 66 port error response timeout after a PC swap
Short answer
The error means the replaced PC's serial path no longer matches the configured one. Set the host port (COM1 to COM4 or Board) and interrupt level (IRQ 3, 4, 5 or 7) under F6 > F3 System Type and File Loads, keep 9600 8-N-1 on a null-modem cable, and run program transfers from a DOS 6.22 or Windows 9x station.
On this page
- Why does the software show Command 66 port error response timeout after a PC swap?
- How do you set the COM port and interrupt level in the 623-60 configuration?
- Why does Board and IRQ 7 work when the PC reports COM1 at IRQ 4?
- Which operating systems can run 623-60 serial transfers safely?
- What else should you check when the port settings are correct?
- How do you protect the PLC program during a transfer?
- Questions asked
After a PC swap, the "Command 66 - Port Error Response Timeout" message almost always means the new machine's serial path no longer matches what the 623-60 software was configured to use: a different COM number, a different interrupt level, or an operating system whose serial timing cannot serve a 16-bit DOS-era driver. The fault is on the host side, not in the PLC. Work through the port configuration first, then the platform, then the cable.
Why does the software show Command 66 port error response timeout after a PC swap? #
The 623-60 package sent its periodic status poll to the controller and got no valid acknowledgement inside the polling window, so it halts further requests until you clear it. The poll goes out through a COM port the software stored at install time, and a new PC often exposes the wired port under a different number or interrupt.
Command 66 is the status poll frame of the package's polled master/slave protocol. Three host-side causes cover nearly every case after a workstation change:
- The configured COM index no longer points at the physical port wired to the controller, because the new machine assigned that port a different number or a USB-to-serial adapter took it over.
- The interrupt level configured in the software does not match the interrupt the UART actually uses, so the driver misses characters inside its timing window.
- The new host runs Windows NT, 2000 or XP, where the scheduler can deliver the response character by character after the application's timeout has expired.
The controller keeps running throughout; this is a link fault. Do not chase a Windows dial-up error that shares the number 623 — the string in this message is the software package's own identifier, not a Windows code.
How do you set the COM port and interrupt level in the 623-60 configuration? #
Reconfigure the communication path from the main menu: press F6 for 623-60 Software Configuration, then F3 for System Type and File Loads. F2 cycles the host port through COM1, COM2, COM3, COM4 and Board; the interrupt-selection key cycles the Interrupt Request Level through IRQ 3, 4, 5 and 7. That is the whole fix for the configuration half of the fault.
Steps in order:
- Start the application from its install directory.
- From the main menu select F6 623-60 Software Configuration, then F3 System Type and File Loads.
- With F2, cycle the host port and stop on the port physically wired to the IPC 620 — COM1 through COM4, or Board to address the UART directly.
- Cycle the Interrupt Request Level and set the level the port's UART actually uses.
- Save and exit the configuration screen.
- Return to the main menu and reconnect; power-cycle the controller first only if the link needs a reset.
Why does Board and IRQ 7 work when the PC reports COM1 at IRQ 4? #
Because the driver addresses the UART directly rather than through the operating system's COM abstraction, its configured interrupt does not have to agree with what the OS reports for the port. The setting that delivers characters inside the polling window is the one to keep, even when it looks wrong on paper.
The worked example is a laptop swap that behaved exactly this way. Windows reported the wired port as COM1 at IRQ 4, yet every poll timed out with the matching configuration. Setting the host port to Board with the Interrupt Request Level at IRQ 7 made the link stable. The lesson is not that IRQ 7 is universally right — it is that on a machine where the OS-reported pairing fails, cycling through Board plus each of IRQ 3, 4, 5 and 7 until a poll succeeds is faster than replacing hardware. Test one combination at a time and note which one connects.
Which operating systems can run 623-60 serial transfers safely? #
A plain MS-DOS 6.22 machine is the safe platform for uploads and downloads; Windows 95 or 98 is acceptable, and NT, 2000 and XP are monitoring-only at best. Under the NT family the scheduler can split the response stream so parts of a program are missed or doubled mid-transfer, even when live monitoring looks fine.
The decision per case:
- Native DOS PC: use it for everything — monitoring, uploads and downloads.
- Windows 9x PC: fine for monitoring and generally acceptable for transfers, but verify a download completes cleanly the first time.
- Windows NT, 2000 or XP: restrict the session to read-only monitoring and tether a DOS laptop for the transfer window.
- Windows 7 or later, or a USB-to-serial adapter: treat as a test bench only, never the engineering station for this package.
If the retired DOS machine needs a replacement, a fanless industrial mini PC with a native RS-232 port makes a stable dedicated engineering station for a package like this, without USB-adapter timing in the path. For the broader pattern of keeping DOS-era machine software alive on newer hosts, see running legacy DOS machine software on XP or Windows 7.
What else should you check when the port settings are correct? #
Check the physical layer before blaming the software: the cable and serial settings for this link are listed in the questions below, and getting either one wrong reproduces the identical timeout on any host. A straight-through cable where a crossover is needed, or a controller whose baud was changed locally at the CPU, produces the same fault with the port settings perfectly configured.
A fault that survives being moved to a known-good DOS machine is in the cable or the controller port settings, not in the PC. Swap the cable first — it is the cheapest variable. If the link is otherwise healthy but drops only under load, isolate it the same way: a healthy poll on the DOS machine points at the new PC's serial timing, a timeout on both machines points at the cable or the controller's port settings.
How do you protect the PLC program during a transfer? #
Export the controller's user program to a .LAD file before any upload or download. A transfer that times out partway can leave the controller in stop with a partially overwritten program database, and that export is the only copy of the original logic.
This matters most on the marginal platforms: monitoring on an NT-family machine can look perfectly healthy right up to the moment a download starts shedding characters. Keep the transfer window short, tether the DOS station directly to the controller for it, and verify the running program afterwards before returning the line to production. The same 16-bit-runtime limits apply to the PLC-adjacent faults described in legacy PLC times out over a VMware serial port, where a virtualized COM port adds its own timing delays to an old driver.
Questions asked
Can I run the 623-60 serial link on Windows XP?
Monitoring may work, but the package is a 16-bit DOS-era program and serial uploads and downloads under NT, 2000 or XP can miss or duplicate parts of the program mid-transfer. Field reports range from working but slower response to not working at all. Do transfers from a DOS 6.22 or Windows 95/98 machine and use the XP box only to watch live values.
Why does Board and IRQ 7 work when the PC reports COM1 at IRQ 4?
The 623-60 driver addresses the UART directly instead of going through the operating system's COM abstraction, so its configured interrupt does not have to match what the OS reports for the port. On some laptops only a specific board-plus-interrupt combination delivers characters inside the polling window; a reported COM1/IRQ 4 does not guarantee it.
What cable and serial settings does the IPC 620 link use?
A point-to-point RS-232 null-modem cable between the PC port and the controller's service port, at 9600 bps, 8 data bits, no parity, one stop bit. If the controller's baud was changed locally at the CPU, or a straight-through cable is used where a crossover is needed, every poll times out and the fault looks exactly like a port misconfiguration.
What should I do before attempting a download after this error?
Export the current controller user program to a .LAD file first. A transfer that times out partway can leave the controller stopped with a partially overwritten program database, and the export is the only way to restore the original logic if the aborted transfer corrupts it.