Troubleshooting
Fix CPM2A going online with CX-Programmer on Windows Vista
Short answer
Move the CPM2A communications switch beside the peripheral port to ON, power-cycle the PLC so the port takes its default settings, and run a CX-One release that documents Windows Vista. If the same cable already connects from an XP laptop with CX-Programmer v7.03, the PLC and cable are proven good and the switch state and the Vista host are what remain.

On this page
Three things put a CPM2A online from a Windows Vista laptop: the communications switch beside the peripheral port set to ON (up), a power cycle so the port takes the default settings, and a CX-One release that documents Vista. If the same cable and PLC already connect from a Windows XP machine running CX-Programmer v7.03, the PLC, cable and converter are proven good and the switch state plus the Vista host are the only variables left. Work the checks in that order; the first one fixes most cases.
Set the communications switch up and power-cycle first #
The CPM2A carries one slide switch next to the peripheral port, the small programming connector under the cover rather than the 9-pin RS-232C port. The CPM1/CPM1A/CPM2A/CPM2C/SRM1 programming manual (W353-E1-06) states that with the switch ON, communications through the peripheral port are governed by the default settings (all zeros) regardless of the PLC Setup. With the switch OFF (down), the port reads its parameters from the PLC Setup area, and a setup that was changed, cleared or half-entered for a fieldbus or HMI link leaves the port at values CX-Programmer cannot match.
So: set the switch ON, then power the CPM2A down and back up. The PLC reads the switch at power-up, not live, so moving it while running does nothing. Then run AutoOnline in CX-Programmer.
Match the network type, COM port and serial format #
In the Change PLC dialog, set the Device Type to CPM2A and the Network Type to Toolbus. The all-zero defaults the switch forces give a fixed profile of 9600 bps, 7 data bits, Even parity, 2 stop bits on the peripheral port, which is what the Toolbus setting expects. In the network settings, pick the COM number Windows actually assigned to your USB/RS-232 converter, for example COM3; guessing the number makes the scan fail even with everything else right.
Worked example (illustrative): check why a format mismatch is fatal rather than merely slow. One serial character at that profile is 1 start bit + 7 data bits + 1 parity bit + 2 stop bits = 11 bits. At 9600 bps the port moves 9600 รท 11 โ 872 characters per second. The AutoOnline identification exchange is a few dozen characters, so a correct link answers in roughly 50 ms. With a stop-bit or parity count wrong, the CPM2A discards every frame and CX-Programmer reports a timeout within seconds. A timeout that fast means switch or format, never a marginal cable.
Run a CX-One release that documents Windows Vista #
The operating system matters as much as the switch. The supported-OS list published for the early CX-One releases names Windows XP, Windows Me, Windows 2000 and Windows NT 4, and states the suite is not guaranteed on Windows Vista SP1 or later. That clause explains the classic failure: the laptop connected last month, an update moved it to SP1, and nothing on the bench changed. The upgrade route for this work is CX-One v3, which carries CX-Programmer v8; if you only program CPM-series PLCs, ask your Omron distributor about CX-Programmer Jr. or CX-Programmer Lite, which cover the CPM device types without the full suite install.
Before installing, turn User Account Control off under Control Panel and User Accounts, and use a USB/RS-232 converter with a Vista driver installed from the converter maker. The converter driver, not CX-Programmer, owns the COM port; an unsigned or XP-era driver is the most common reason a converter that works on XP enumerates badly on Vista. The Windows Vista in industrial PCs: driver signing, UAC and migration page covers the OS-side details in depth.
If it still will not go online: the remaining checks #
- Move the cable back to the XP laptop with CX-Programmer v7.03. If it connects there, the PLC and cable are good and every remaining fault lives on the Vista host.
- Open Device Manager under Ports (COM & LPT) and confirm the converter appears without a warning icon; note the COM number it was assigned and select exactly that number in CX-Programmer.
- Confirm you are on the peripheral port. The switch-and-defaults behavior documented in W353-E1-06 is the peripheral port's; connecting through a 9-pin RS-232C port follows a different cable and dialog path, as in the article on fixing an Omron CJ1M serial connection that will not go online.
- Watch the COM lamp on the CPM2A CPU during AutoOnline. No flicker means the frames never reach the PLC, so the converter driver, COM number or cable is at fault. Flicker followed by a timeout means format, so go back to the switch and the parity and stop-bit counts.
- If this CPM2A also runs Modbus RTU communications, its port setup may have been changed for that link; the CPM2A Modbus RTU CRC16 ladder article shows what such a configuration looks like and why it collides with a programming connection.
The decision for each case #
A CPM2A that connects from XP but not from Vista: the PLC and cable are proven good, so set the communications switch ON, power-cycle, and put CX-One v3 with CX-Programmer v8 on the Vista host with UAC off and a Vista-signed converter driver. A CPM2A that connects from neither machine: fix the switch and profile first, and if the COM lamp stays dark while the profile is correct, suspect the cable or the converter. A CPM2A whose port was reconfigured for a fieldbus link: connect through the peripheral port with the switch ON, which leaves the application's port setup untouched.
Questions asked
Why did the connection stop working after the laptop updated itself?
Early CX-One releases publish Windows XP, Me, 2000 and NT 4 as their supported operating systems and state the suite is not guaranteed on Windows Vista SP1 or later. A laptop that moved to Vista SP1 or a later service pack is therefore running an OS the installed suite does not document. Move that host to CX-One v3 with CX-Programmer v8, or keep a legacy host for CPM2A work.
Does the communications switch also change the 9-pin RS-232C port?
The documented switch behavior in the CPM-series programming manual governs the peripheral port: ON forces the default settings there regardless of the PLC Setup. Treat the 9-pin RS-232C port as configured by its own setup words and match those in the dialog instead. For a first connection, use the peripheral port with the switch ON and power-cycled, which is the combination AutoOnline and the Toolbus network type expect.
Can I leave the communications switch ON permanently?
Yes for programming work. ON makes the peripheral port take the fixed default profile at every power-up: 9600 bps, 7 data bits, Even parity, 2 stop bits, which is what CX-Programmer's Toolbus network type expects. Only put the switch OFF when the application needs settings that differ from that profile, and then enter them in the PLC Setup and match them in the Change PLC dialog.


