The text of a manual · part 17 of 48
SYSMAC CJ Series CJ2H-CPU6_-EIP, CJ2H-CPU6_, CJ2M-CPU_ CJ2 CPU Unit Hardware User's Manual: Section 4 Support Software
Pages 133 to 144 of 422, from SYSMAC CJ Series CJ2H-CPU6_-EIP, CJ2H-CPU6_, CJ2M-CPU_ CJ2 CPU Unit Hardware User's Manual
The original document is the PDF (14 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Omron C200H-OD21A, Omron CQM1-ID211, Omron CQM1-ID213, Omron CQM1-OD211 and Omron CQM1-OD213
Page 133
Support Software This section describes the software that is used to program and debug a CJ2 PLC. It also describes how to connect the Programming Device and the PLC.
4-1 Support Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 4-1-1
CX-One FA Integrated Tool Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4-2 Connection Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5 4-2-1 4-2-2 4-2-3
CJ2 CPU Unit Hardware User’s Manual
Connecting by USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5 Connecting by RS-232C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7 Connecting to Ethernet (CJ2H-CPU6@-EIP and CJ2M-CPU3@ Only) . . . . . . 4-9
4-1
4
Page 134
4 Support Software
4-1
Support Software “Support Software” refers to software applications for programming and debugging OMRON Programmable Controllers.
4-1-1
CX-One FA Integrated Tool Package The CX-One provides an integrated package of Support Software for OMRON PLCs and components. It consists of software applications for PLC programming, network settings, touch-panel screen creation, servo control, inverters, temperature control, and other functions.
CX-One Integrated Tool Package Contents
CX-One
● Motion control ● Touch-panel screen creation
● Programming/simulation CX-Position CX-Motion-NCF
CX-Programmer
CX-Motion
CX-Simulator
CX-Motion-MCH
SwitchBox Utility
CX-Designer NV-Designer
PT
Loop Controller Networks between PLCs
CX-Integrator
Devices by other manufacturers
Field network
Serial
Network
CX-Process Face Plate Auto-Builder for NS
Configurator CX-Protocol
● Protocol macro creation
● Network settings
Servo
● PLC-based process control
Inverter
Temperature control CX-Thermo CX-Drive
● Temperature control settings
● Servo/Inverter settings
SSR
4-2
CJ2 CPU Unit Hardware User’s Manual
Page 135
4 Support Software
Application Programming
CX-One Software
Description
CX-Programmer
Basic software for creating and debugging PLC programs.
SwitchBox Utility
Utility software to support PLC debugging operations.
CX-Integrator
Software for starting and setting FA networks, such as Controller Link, DeviceNet, CompoWay/F, Ethernet, and CompoNet. Includes routing table components, data link components, and DeviceNet Configurator functions.
Network Configurator
Software for setting tag data links for the built-in EtherNet/IP port.
Network settings
NV-Designer
Software for creating screen data for touch panel NV-series PTs.
Protocol macro creation
CX-Protocol
Software for creating protocols (protocol macros) for exchanging data with general-purpose external devices connected to Serial Communications Boards/Units and Option Boards.
Simulation
CX-Simulator
Software for simulating PLC operations on a personal computer and debugging programs without requiring a CPU Unit.
CX-Position
Software for creating and monitoring data for Position Control Units.
CX-Motion-NCF
Software for creating and monitoring data for Position Control Units (MECHATROLINK communications models).
CX-Motion-MCH
Software for creating data for Motion Control Units (MECHATROLINK communications models), and for creating and monitoring motion programs.
CX-Motion
Software for creating data for Motion Control Units, and for creating and monitoring motion programs.
CX-Drive
Software for setting and adjusting Inverter and servo data.
CX-Process Tool
Software for creating and debugging function blocks for Loop Controllers (Loop Control Units/Boards, Process CPU Units, and Loop CPU Units).
Face Plate Auto-Builder for NS
Software for automatic generation of screen data (project files) for touch panel NS-series PTs from Loop Controller function block tag information.
Touch-panel screen creation
Motion Control
Servo/Inverter settings PLC-based process control Temperature control settings
Software for setting and adjusting Temperature Controller parameters.
CX-Thermo
CX-Programmer The CX-Programmer is a basic software application for creating and debugging PLC programs. Ladder language Programming
Tasks
Programming functions
ST language SFC language
FBs
Ladder language
ST language
Simulation
CX-Programmer
Monitoring
Debugging and maintenance functions
I/O table creation
System configuration setup
Special I/O Unit and CPU Bus Unit settings
PLC Setup
CJ2 CPU Unit Hardware User’s Manual
CPU Unit parameters
4-3
4 4-1-1 CX-One FA Integrated Tool Package
Software for making FL-net Unit system settings and performing monitoring. Software for creating screen data for touch panel NS-series PTs. 4-1 Support Software
CX-FLnet CX-Designer
Page 136
4 Support Software
CX-Integrator The CX-Integrator is a software application for setting up FA networks, such as Controller Link, DeviceNet, CompoWay/F, Ethernet, and CompoNet. Routing table settings
Network configuration reading
General network settings and monitoring
Network testing
CX-Integrator
Data link settings Controller Link Diagnosis Controller Link diagnosis
DeviceNet settings
CompoWay/F slave settings
Controller Link settings and monitoring
DeviceNet settings
CompoWay/F settings
Network Configurator The Network Configurator is software for setting tag data links using the built-in EtherNet/IP port. Tag data link settings EtherNet/IP network settings and monitoring
Network Configurator Device monitoring
4-4
CJ2 CPU Unit Hardware User’s Manual
Page 137
4 Support Software
4-2
Connection Methods A CJ2 CPU Unit can be directly connected to a personal computer running the CX-One Support Software (e.g., CX-Programmer) by using a USB cable or RS-232C cable. (The CP1W-CIF01 is required to use a RS-232C cable with the CJ2M-CPU3@.) Also, an Ethernet twisted-pair cable can be used for the CJ2H-CPU6@-EIP or CJ2M-CPU3@.
Connecting by USB
Connection Method Using commercially available USB cable, connect CX-One Support Software via a standard peripheral (USB) port at the personal computer.
4
CX-One (e.g., CX-Programmer)
4-2-1 Connecting by USB
B connector A connector
CJ2 CPU Unit
USB port
Commercially available USB cable*1 Peripheral (USB) port (conforming to USB 2.0, B connector)
*1 Commercially available USB cable: 5 m max., for USB 1.1 or 2.0.
Connecting Cable Use the following cable to connect the CJ2 CPU Unit to the computer running the Support Software. Port at Unit Peripheral (USB) port (Conforms to USB 2.0, B connector)
Port at computer
Network type (communications mode)
USB port
12 Mbps, USB 2.0
Model
Length
Commercially available USB cable (A connector - B connector)
5 m max.
Remarks ---
Before Connecting In order to connect the PLC to a personal computer by USB, a USB driver must be installed in the personal computer. The USB driver for USB connections is automatically stored in the following directory in the personal computer when CX-One is installed: C:\Program Files\OMRON\CX-Server\USB\Win2000_XP\inf When the personal computer is connected to the PLC by USB cable, the personal computer automatically recognizes the device and the USB driver installation is started. For details on how to install the USB driver, refer to A-5 Installing the USB Driver.
CJ2 CPU Unit Hardware User’s Manual
4-2 Connection Methods
4-2-1
4-5
Page 138
4 Support Software
CX-Programmer Settings The method for connecting the PLC to the personal computer is set using the CX-Programmer. For details on using the CX-Programmer to set the connection method, refer to the CJ2 CPU Unit Software User’s Manual (Cat. No. W473).
Restrictions on Connecting by USB Based on USB specifications, the following restrictions apply when connecting a personal computer and components. • Only one CJ2 CPU Unit can be connected by USB to a single personal computer. It is not possible to connect multiple CJ2 CPU Units simultaneously. • Do not remove the USB cable while connected online. The application must be offline before the cable is removed. If the cable is removed while connected online, one of the following situations will occur depending on the operating system. • Windows 2000/XP The Support Software online status will not be restored by simply re-inserting the USB cable. Once the Support Software has gone offline, the cable must be re-inserted and the Support Software online connection operation must be repeated. • Windows 98/Me If the USB cable is removed while connected online, a blue error screen may be displayed. If that occurs, the personal computer must be restarted. Additional Information The USB port on a computer can be connected to the PLC serial port (RS-232C) by using CJ1W-CIF31 USB-Serial Conversion Cable. (The USB driver for the CJ1W-CIF31 must be installed.) Refer to A-5 Installing the USB Driver for the installation procedure for the USB driver.
USB A plug connector, male CS1W-CIF31 D-sub connector (9-pin, male)
CJ2 CPU Unit D-sub connector (9-pin, male)
D-sub connector (9-pin, female)
Recommended cable: XW2Z-200S-CV/500S-CV or XW2Z-200S-V/500S-V*1
RS-232C port, D-sub connector (9-pin, female)
*1 Only a Host Link connection is possible.
4-6
CJ2 CPU Unit Hardware User’s Manual
Page 139
4 Support Software
4-2-2
Connecting by RS-232C
Connection Method Using commercially available RS-232C cable, directly connect the CX-One Support Software (e.g., CXProgrammer) via a standard serial port at the personal computer. The network type must be set to the Toolbus. A Host Link connection cannot be used. 4-2 Connection Methods
CX-One (e.g., CX-Programmer)
D-sub connector (9-pin male)
CJ2 CPU Unit
D-sub connector (9-pin male) D-sub connector (9-pin female)
4 4-2-2 Connecting by RS-232C
Recommended cable: XW2Z-200S-CV/500S-CV
Serial port (RS-232C) (9-pin female D-sub connector) or Serial Option Board (for CJ2M-CPU3@) COMM
Additional Information Connecting to the PLC by EtherNet/IP via USB or RS-232C The Support Software can be directly connected by USB or RS-232C to one CJ2 CPU Unit and access other CPU Units on the EtherNet/IP network via the built-in EtherNet/IP ports on the CJ2 CPU Units. For details, refer to the CJ2 CPU Unit Software User’s Manual (Cat. No. W473). Personal computer Access is possible.
USB
CJ2
CJ2
USB Built-in EtherNet/IP port EtherNet/IP
CJ2 CPU Unit Hardware User’s Manual
4-7
Page 140
4 Support Software
Connecting Cable Use the following cable to connect the CJ2 CPU Unit to the computer running the Support Software.
Serial port (RS-232C) (D-sub, 9-pin, female)
Network type (communications mode)
Model
Serial communications
XW2Z-200S-CV
2m
XW2Z-500S-CV
5m
Port at computer
Port at Unit
D-sub, 9-pin, male
Length
Remarks Use a static-resistant connector.
Precautions for Safe Use • When the above cable connector is connected to the PLC serial port (RS-232C), be sure to discharge static electricity by touching grounded metal before touching the cable connector. The XW2Z-@@@S-CV Cable is particularly resistant to static electricity because it uses a static-resistant connector hood (XM2S-0911-E). Even when this Cable is used, however, be sure to discharge static electricity before touching the connector. • Use the specialized cable described above for connecting cable. Using ordinary commercially available RS-232C cable for personal computers may result in damage to external devices and the CPU Unit.
Additional Information It is possible to create RS-232C cable for connecting to the serial port (RS-232C). The connectors shown in the following table are included with the CJ2 CPU Unit as standard equipment for creating cables. For details on creating cables, refer to A-4 Connecting to a Serial Port on the CPU Unit. Name
Model
Specifications
Plug
XM2A-0901
9-pin, male
Hood
XM2S-0911-E
9-pin static-resistant connector with millimeter screws
Use in combination. (One of each is provided as standard equipment with the CPU Unit.)
Setting the Communications Protocol Select the protocol for communications between the PLC and the CX-Programmer. For a SYSMAC WAY (Host Link) connection, turn OFF pin 5 of the DIP switch on the front panel. For a peripheral bus connection (faster than SYSMAC WAY), turn ON pin 5.
CX-Programmer Settings The method for connecting the PLC to the personal computer is set using the CX-Programmer. For details on using the CX-Programmer to set the connection method, refer to the CJ2 CPU Unit Software User’s Manual (Cat. No. W473).
4-8
CJ2 CPU Unit Hardware User’s Manual
Page 141
4 Support Software
4-2-3
Connecting to Ethernet (CJ2H-CPU6@-EIP and CJ2M-CPU3@ Only)
Connection Method
CX-One (e.g., CX-Programmer)
Built-in EtherNet/IP port
4-2 Connection Methods
With the CJ2H-CPU6@-EIP or CJ2M-CPU3@, use a commercially available Ethernet 100Base-TX STP twisted-pair cable (straight) to connect the CX-One Support Software (e.g., CX-Programmer) to the built-in EtherNet/IP port through the Ethernet switch. With the CJ2H-CPU6@-EIP, Ethernet twisted-pair cable can also be used to connect to a personal computer. The same type of connection can be made with the CJ2H-CPU6@ or CJ2M-CPU1@ through an EtherNet/IP Unit.
CJ2 CPU Unit
4
Ethernet switch 100Base-TX twisted-pair cable (straight)
Connecting Cable Use the following cable to connect the CJ2 CPU Unit to the computer running the Support Software. Port at Unit Built-in EtherNet/IP port
Port at computer
Network type (communications mode)
Ethernet port
100Base-TX or 10BaseT*1
Model
Length
Commercially available twisted-pair cable*2
100 m (Recommended between Ethernet switch and nodes.)
Commercially available Ethernet switch*2, *3
---
Remarks ---
*1 Use 100Base-TX when using tag data links. *2 The following table shows the devices recommended for use with the built-in EtherNet/IP port. Part
Ethernet switch
Manufacturer
Model number
Inquires
OMRON
W4S1-03B W4S1-05B W4S1-05C
---
Cisco Systems, Inc.
Consult the manufacturer.
Cisco Systems, Inc. Main Corporate HQ
Contec USA, Inc.
Consult the manufacturer.
CONTEC USA Inc.
Phoenix Contact
Consult the manufacturer.
Phoenix Contact USA Customer Service
Hirschmann Automation and Control
Consult the manufacturer.
Hirschmann Automation and Control (US)
F-LINK-E 0.5mm × 4P
Fujikura America, Inc.
100Base-TX Twisted-pair cable
Fujikura EtherNet/IP compliant cable
CJ2 CPU Unit Hardware User’s Manual
---
4-9
4-2-3 Connecting to Ethernet (CJ2H-CPU6@EIP and CJ2M-CPU3@ Only)
100Base-TX twisted-pair cable (straight)
Page 142
4 Support Software
Part
Manufacturer
Model number
Inquires
Connectors (Modular plug)
STP Plug Panduit Corporation
MPS588
Panduit Corporation US Headquarters
Boots
Tsuko Company
MK boot (IV) LV
Tsuko Company Japan Headquarters
*3 Always use an Ethernet switch when using tag data links in the network. If a repeater hub is used for EtherNet/IP tag data links (cyclic communications), the network's communications load will increase, data collisions will occur frequently, and stable communications will be impossible.
Before Connecting To connect using Ethernet, first set the IP address and subnet mask of the computer in advance as shown in the following example. • IP Addresses Example: 192.168.250.2 User-set value (1 to 254) Value for same segment as IP address of built-in EtherNet/IP port
• Subnet Mask Example: 255.255.255.0.200 User-set value (0 to 252) Class C mask
CX-Programmer Settings The method for connecting the PLC to the personal computer is set using the CX-Programmer. For details on using the CX-Programmer to set the connection method, refer to the CJ2 CPU Unit Software User’s Manual (Cat. No. W473).
4-10
CJ2 CPU Unit Hardware User’s Manual
Page 143
4 Support Software
Additional Information • The CX-Programmer can be used for remote programming and monitoring. It can be used to program and monitor not only the PLC to which it is directly connected, but also to program and monitor any PLC connected through a Controller Link or Ethernet network to which the PLC that the CX-Programmer is connected to is a part of. All programming and monitoring functionality for the directly connected PLC is supported for remote programming and monitoring. For details, refer to 11-2 Serial Communications and 11-3 Communications Networks in the CJ2 CPU Unit Software User’s Manual (Cat. No. W473). Peripheral (USB) port or RS-232C port
Peripheral bus or Host Link
Remote programming and monitoring
4-2 Connection Methods
CX-Programmer
FINS
Controller Link or Ethernet Network
CX-Programmer
4 Bridge
Ethernet Network
Controller Link Network Controller Link Network Gateway
Precautions for Correct Use Connecting to a Programming Device through the built-in EtherNet/IP port will not be possible if the following errors occur: • I/O bus error • Too many I/O points error • Unit number duplication error • Rack number duplication error • I/O setting error If any of the above errors occurs and connecting to the Programming Device through the built-in EtherNet/IP port is not possible, connect through the USB port.
CJ2 CPU Unit Hardware User’s Manual
4-11
4-2-3 Connecting to Ethernet (CJ2H-CPU6@EIP and CJ2M-CPU3@ Only)
Peripheral bus or Host Link
Page 144
4 Support Software
4-12
CJ2 CPU Unit Hardware User’s Manual