The document discusses connecting a computer running CX-Programmer support software to OMRON CP-series PLCs using either a USB or serial port connection. It provides instructions for installing the necessary USB driver and describes the connection configuration options for serial port communication. Restrictions for USB connections and required components for both connection types are also outlined.
The document discusses connecting a computer running CX-Programmer support software to OMRON CP-series PLCs using either a USB or serial port connection. It provides instructions for installing the necessary USB driver and describes the connection configuration options for serial port communication. Restrictions for USB connections and required components for both connection types are also outlined.
The document discusses connecting a computer running CX-Programmer support software to OMRON CP-series PLCs using either a USB or serial port connection. It provides instructions for installing the necessary USB driver and describes the connection configuration options for serial port communication. Restrictions for USB connections and required components for both connection types are also outlined.
The document discusses connecting a computer running CX-Programmer support software to OMRON CP-series PLCs using either a USB or serial port connection. It provides instructions for installing the necessary USB driver and describes the connection configuration options for serial port communication. Restrictions for USB connections and required components for both connection types are also outlined.
1-3 Connecting the CX-Programmer The CX-Programmer (version 7.1 or higher), which runs on Windows, can be used with CP-series CP1L L or M model PLCs. The CX-Programmer (Version 7.22 or higher), which runs on Windows, can be used with CP-series CP1L J model PLCs. Computers running Support Software (e.g., the CX-Program- mer) can be connected to the USB port or to a serial port. Note A Programming Console cannot be used with CP1L PLCs. 1-3-1 Connecting with a Commercially Available USB Cable Connect the computer running the CX-One Support Software (e.g., the CX- Programmer) using a commercially available USB cable to the peripheral USB port on the CPU Unit. Restrictions when Connecting by USB In conformity with USB specifications, the following restrictions apply when connecting a computer running Support Software. A USB connection is possible for only one CP-series PLC from a single computer. It is not possible to connect multiple PLCs simultaneously. Do not disconnect the USB cable while the Support Software is con- nected online. Before disconnecting the USB cable, be sure to place the application in offline status. If the USB cable is disconnected while online, the situations described below will occur as a result of OS error. Windows Me, 2000, or XP: The Support Software cannot be returned to online status by simply re- connecting the USB cable. First return the Support Software to offline status, and then reconnect the USB cable. Then perform the online connection procedure for the Support Software. Windows 98: If the USB cable is disconnected while online, an error message may be displayed on a blue screen. If that occurs, it will be necessary to re- boot the computer. The peripheral USB port (conforming to USB 1.1, B connector) is a dedicated port for connecting Support Software, such as the CX-Programmer. Items Required for USB Connection Personal computer CX-One (CX-Programmer, etc.) USB port USB cable Peripheral USB port
Operating system Windows 98, Me, 2000, or XP Support Software CX-Programmer Ver. 6.1 (CX-One Ver. 1.1) USB driver Included with above Support Software. USB cable USB 1.1(or 2.0) cable (A connector-B connector), 5 m max. 21 Connecting the CX-Programmer Section 1-3 Installing the USB Driver The procedure for first connecting a computer to the CP1L peripheral USB port is described below. It is assumed that the Support Software has already been installed in the computer. Windows XP Turn ON the power supply to the CP1L, and connect USB cable between the USB port of the computer and the peripheral USB port of the CP1L. After the cable has been connected, the computer will automatically recognize the device and the following message will be displayed. 1,2,3... 1. If the following window appears, select the No, not this time Option and then click the Next Button. This window is not always displayed. 2. The following window will be displayed. Select the Install from a list of spe- cific location Option and then click the Next Button. 22 Connecting the CX-Programmer Section 1-3 3. The following window will be displayed. Click the Browse Button for the In- clude this location in the search Field, specify C:\Program Files\ OMRON\CX-Server\USB\win2000_XP\Inf, and then click the Next Button. The driver will be installed. (C:\ indicates the installation drive and may be different on your computer.) 4. Ignore the following window if it is displayed and click the Continue Any- way Button. 23 Connecting the CX-Programmer Section 1-3 5. The following window will be displayed if the installation is completed nor- mally. Click the Finish Button. Windows 2000 Turn ON the power supply to the CP1L, and connect USB cable between the USB port of the computer and the peripheral USB port of the CP1L. After the cable has been connected, the computer will automatically recognize the device and the following message will be displayed. 1,2,3... 1. The following message will be displayed. Click the Next Button. 24 Connecting the CX-Programmer Section 1-3 2. The following window will be displayed. 3. Select the Search for a suitable driver for the device (recommended) Op- tion and then click the Next Button. The following window will be displayed. From the list in the window, select the Specify location Checkbox and then click the Next Button. 4. Click the Browse Button, specify C:\Program Files\OMRON\CX-Serv- er\USB\win2000_XP\Inf, and then click the Next Button. (C:\ indicates the installation drive and may be different on your computer.) 25 Connecting the CX-Programmer Section 1-3 5. A search will be made for the driver and the following window will be dis- played. Click the Next Button. The driver will be installed. 6. After the driver has been successfully installed, the following window will be displayed. Click the Finish Button. Connection Setup Using the CX-Programmer 1,2,3... 1. Select CP1L as the device type in the Change PLC Dialog Box and confirm that USB is displayed in the Network Type Field. 26 Connecting the CX-Programmer Section 1-3 2. Click the OK Button to finish setting the PLC model. Then connect to the CP1L by executing the CX-Programmer's online connection command. Checking after Installation 1,2,3... 1. Display the Device Manager at the computer. 2. Click USB (Universal Serial Bus) Controller, and confirm that OMRON SYSMAC PLC Device is displayed. Re-installing the USB Driver If the USB driver installation fails for some reason or is cancelled in progress, the USB driver must be reinstalled. Checking USB Driver Status 1,2,3... 1. Display the Device Manager on the computer. 2. If USB Device is displayed for Other devices, it means that the USB driver installation has failed. 27 Connecting the CX-Programmer Section 1-3 Reinstalling the USB Driver 1,2,3... 1. Right-click USB Device and select Delete from the pop-up menu to delete the driver. 2. Reconnect the USB cable. The USB Driver Installation Window will be dis- played. 3. Reinstall the USB driver. 1-3-2 Connecting to a Serial Port Mounting a CP1W-CIF01 RS-232C Option Board in a CP1L Option Board slot makes it possible to connect Support Software with serial communications, just as with previous models. Connect the CX-Programmer to the RS-232C port of the CP1W-CIF01 Option Board by XW2Z-200S-CV/500S-CV RS-232C cable. Connection Method Connect the Programming Device using the Connecting Cable that is appro- priate for the serial communications mode of the computer and CPU Unit. Personal computer CX-One (e.g., CX-Programmer) D-Sub connector (9-pin, female) D-Sub connector (9-pin, male) Recommended cable XW2Z-200S-CV (2 m) or XW2Z-500S-CV (5 m) CP1W-CIF01 RS-232C Option Board
Computer Connecting Cable CP1L CPU Unit Model Connector Model Length Connector Serial communications mode IBM PC/AT or compatible D-Sub 9 pin, male XW2Z-200S-CV 2 m D-Sub 9 pin, female (With a CP1W-CIF01 RS- 232C Option Board mounted in Option Board Slot 1 or 2.) Peripheral bus or Host Link (SYSWAY) XW2Z-500S-CV 5 m 28 Connecting the CX-Programmer Section 1-3 Serial Communications Mode Note When a Serial Communications Option Board is mounted in Option Board Slot 1, it is called Serial Port 1. When mounted in Option Board Slot 2, it is called Serial Port 2. Serial communications mode Features CPU Unit setting method Peripheral bus (toolbus) This is the faster mode, so it is generally used for CX-Pro- grammer connections. Only 1: 1 connections are possible. When a CP1L CPU Unit is used, the baud rate is auto- matically detected by the Sup- port Software. Turn ON pins SW4 (Serial Port 1) and SW5 (Serial Port 2) on the DIP switch on the front panel of the CPU Unit. These settings enable connection by peripheral bus regardless of the serial port settings in the PLC Setup. Host Link (SYSWAY) A standard protocol for host computers with either 1: 1 or 1: N connections. Slower than the peripheral bus mode. Allows modem or optical adapter connections, or long- distance or 1: N connections using RS-422A/485. Turn OFF pins SW4 (Serial Port 1) and SW5 (Serial Port 2) on the DIP switch on the front panel of the CPU Unit. The mode will then be deter- mined by the serial port set- tings in the PLC Setup. The default settings are for Host Link with a baud rate of 9,600 bits/s, 1 start bit, data length of 7 bits, even parity, and 2 stop bits.