По роду своей деятельности, а вернее, по какой-то прихоти судьбы, мне на объектах чаще всего попадаются в качестве «клиентов» контроллеры японской фирмы Omron. И, соответственно, чаще всего мне приходится заниматься программированием именно контроллеров Omron.
В этой статье, а может быть даже и цикле статей, я и хочу поделиться своим опытом программирования контроллеров Omron.
У Omron есть несколько линеек промышленных контроллеров.
Компактная серия CP, которая, в свою очередь, делится на 3 линейки:
— CP1E – компактный экономичный контроллер, представленный двумя контроллерами: самый дешёвый CP1E-E и CP1E-N с чуть более широкими функциями. Один раз мне приходилось программировать такой. Возможности у него конечно здорово ограничены, но со своей задачей он справился хорошо.
— CP1L – компактный контроллер с функциями модульного ПЛК. Здесь некоторые модели уже могут быть даже оснащены портом Ethernet. И, при необходимости, контроллер расширяется с помощью дополнительных модулей ввода/вывода (максимум до 180 входов/выходов), соединенных по последовательному порту.
-CP1H – компактный высокоскоростной ПЛК. Поддерживает максимум 320 входов/выходов. Поддерживает коммуникационные модули (до 2-х штук), совместимые с популярными промышленными сетями (Ethernet, Modbus, Profibus).
Модульная серия CJ, имеющая в своем составе также 3 линейки:
— CJ1M – быстрый и гибкий контроллер для небольших прикладных задач.
— CJ2M и CJ2H – фактически, улучшенные и расширенные варианты CJ1M с поддержкой до 400К шагов.
Вся эта серия мне очень понравилась. И по скорости и удобству разработки, и по быстродействию.
И последняя серия CS1 для стоечного монтажа. Самая мощная серия Omron’овских контроллеров для серьёзного промышленного применения с большим выбором модулей и широкой линейкой процессоров. Есть модели с возможностью резервирования. Хорошие, мощные контроллеры, но, как ни странно, в большинстве своем поддерживают программирование только на языке релейной логики LD, что жутко бесит, т.к. на них разрабатываются большие системы управления и, соответственно, уходит много времени на разработку.
К чему я описываю здесь модели контроллеров? К тому, что в зависимости от линейки различаются возможности не только по железу, но и возможности по программированию этих контроллеров.
Например, в резервированных контроллерах линейки CS1, как я уже писал, не поддерживаются функциональные блоки, а только язык LD. Хорошо, что поддерживаются подпрограммы. Хотя, в 2020 году появились в продаже процессорные модули этой серии, которые поддерживают функциональные блоки на языке LD и ST (структурированный текст).
А в линейке CJ2 появились, наконец-то, нормальные структуры данных, что ускоряет разработку в разы.
Все контроллеры Omron программируются с помощью единого пакета программного обеспечения CX-One. Это целый комбайн, который включает в себя средства для программирования контроллеров Omron, панелей оператора, частотных преобразователей, систем управления движением, регуляторов, промышленных сетей из различных устройств Omron и т.п.
Но в разрезе нашей темы, нас интересует только часть, которая касается программирования именно контроллеров.
За это в CX-One отвечает пакет CX-Programmer. Ну, и ещё, CX-Integrator для конфигурирования сетей.
Как устанавливается пакет CX-One я описывать не буду. Сложного ничего в этом нет. Можно все оставлять по умолчанию и в результате вы получите работоспособный комплект ПО.
Конечно же, лучше один раз увидеть, чем сто раз услышать. Поэтому, как программировать контроллер Omron я покажу в небольшом видео на примере управления двигателем.
Итак, наши исходные данные:
— контроллер Omron CJ1M с процессором CPU12;
— один модуль ввода дискретных сигналов и один модуль вывода дискретных сигналов;
— один модуль аналогового ввода;
— двигатель, включаемый и отключаемый через контактор;
— состояние двигателя приходит 2-мя сигналами – Включён (адрес CIO 0.00) и Отключён (адрес CIO 0.01);
— управление двигателем осуществляется одним дискретным выходом (адрес CIO 1.00). Пока выходной контакт замкнут – идет команда на включение контактора двигателя. Как только контакт разомкнулся – команда с контактора снимается, контактор отключается и, соответственно, должен отключить двигатель;
— команды на включение/отключение двигателя поступают от панели оператора на адреса W0.00 и W0.01 соответственно;
— ну, и давайте, раз у нас есть модуль аналогового ввода, обработаем сигнал «Ток двигателя» для приведения его в форму, понятную оператору. Пусть максимальный ток, выдаваемый измерительным прибором – 600А и получаем мы его как токовый сигнал 4-20мА.
Да, и для простоты понимания будем все делать на языке релейной логики LD. Итак, запускаем CX-Programmer и поехали.
На этом пока все. Удачи.
P.S.: Комментируйте, делитесь с друзьями, задавайте вопросы.
P.S.P.S.: Желающие могут скачать файл с примером программы показанной в видео здесь.
Похожие статьи:
File Specifications:593/593910-cxone__introduction_guide.pdf file (06 Jun 2023) |
Accompanying Data:
Omron CX-ONE — INTRODUCTION GUIDE Other PDF Introduction Manual (Updated: Tuesday 6th of June 2023 02:01:16 AM)
Rating: 4.7 (rated by 78 users)
Compatible devices: L7Z -, WD30, G7S, 61F-GPN-BC, NT2S-SF123B-E -, SENSOR ACCESSORIES, CS1W-MCH71, H7BX -.
Recommended Documentation:
Introduction Manual (Text Version):
(Ocr-Read Summary of Contents of some pages of the Omron CX-ONE — INTRODUCTION GUIDE Document (Main Content), UPD: 06 June 2023)
-
66, 3. Comparison of Functions Between Conventional Support Software and CX-One (1/2) 3. Comparison of Functions Between Conventional Support Software and CX-One (1/2) Controller Link network connection device can be monitored by CX-Integrator. Controller Link diagnosis tool can be started as well (By selecting [Tools] > [Controller Link Tool] > [Network Diagnosis] from online CX-Integrator). No tool for monitoring Co…
-
12, The [Installation Folder Selection] dialog box and [Setup Type] dialog box are displayed. Select an installation folder, then click [Next] The [Program Folder Selection], [Choose Destination Location of OMRON FB Library], [Select Program Folder], and [Ready to Install the Program] dialog boxes are displayed. Read the message and click [Next] Click [Install] CX-One installation is starts. Insert CX-One Disks 2 and 3 then click the [OK] button. Click [Finish] A dialog box (right) is displayed.…
-
48, Right-click on the Master Unit icon and select [Monitor] to display the device monitor screen. Select [Status] tab (4) Check the error on the device monitor screen. You can check the Slave status on the device monitor screen as well. Slave Unit (#02) is recognized, while the other Slave Unit (03) is not recognized. (5) Wire Slave Unit (#03) correctly. (6) Re-upload the network configuration information of DeviceNet. Perform the step (2) fr…
-
45, Omron CX-ONE — INTRODUCTION GUIDE The I/O Table is created and Unit configuration is displayed. The I/O Table is created and Unit configuration is displayed. NT Link Start-Up Controller Link Start-Up PLC Network Start-Up Saving System Config. System Config. Verification Controller Link Diagnosis Equipment Disass’y / Reass’y CompoWay /F Start-Up PLC Start-Up DeviceNet Start-Up • To change the Unit number, change the rotar…
-
27, Offline Debug Offline Debug This section describes how to debug a program using CX-Simulator, a ladder simulation tool, without the PLC. Additionally, Switch Box Utility is used as a virtual input tool. Click [OK] Click [OK] Click Program transfer starts. Screen when online (Simulator connection button) Switch Box Utility It is useful not only for virtual input by simulator but also for debugging while checking the PLC�…
-
28, Omron CX-ONE — INTRODUCTION GUIDE Saving a Project Saving a Project Unit setting, Unit parameter setting, and programs using the CX-Programmer can be saved all at once. Save it with a name. In this example save as “Sample1”. Saving a CX-Programmer file Saving CX-Designer and CX-Motion-NCF/MCH files Created data can be saved for CX-Designer and CX-Motion-NCF/MCH. Save CX-Motion-NCF as “Sample2.mnf” (CX-Motion-MCH as “Sample5.mnh”), and CX- Designer as “Sample3.ipp”. Saving screen for CX-Motion…
-
30, Omron CX-ONE — INTRODUCTION GUIDE Online Connection to PLC Online Connection to PLC (Automatic online connection button) Verify that PLC model and communications setting created offline and the actual PLC are correct. (Online connection button) Double-click PLC Check PLC model. Check communications setting. Click Serial Port Selection Check: [PLC] > [Automatic online connection ] > [Serial Port Selection] Reading a Project Online Connection to PLC Transferring to a M…
-
56, Save the system configuration for inspection after delivery. (1) Connect online to a PLC on a network. The online connection information window is displayed. Select [Serial Port] > [NT Link] Saving System Configuration (1) Saving System Configuration (1) All communications Units and ports of a connected PLC are automatically displayed in the online connection information window. From this window, connect to each network and save the configuration …
-
24, Register basic I/O Unit Check I/O assignment Checking I/O Assignment Checking I/O Assignment As with Analog Unit registration, register the IN and OUT Units. In this example, CJ1W-ID211 and CJ1W-OD211 are selected as IN and OUT Units respectively. By registering Units to the I/O Table, you can check I/O assignment status. This I/O assignment information can also be checked by IQ indication (IN:I, OUT:Q) during ladder p…
-
7, 3. Integrated Simulation – New Function in Version 2.0 3. Integrated Simulation – New Function in Version 2.0 Provides an interoperability check between the ladder program and touch panel screens. Operation can be verified before actual devices such as the PLC and PT (touch panel) are installed and wired, so software quality can be improved in the design stage. Time can be saved by eliminating the tasks up to downloading the sc…
-
50, Click [OK] Click [Yes] Click [OK] (5) Screen message Connecting . . . is now cleared. (4) Check the CPU DIP switch. • Follow the on screen instructions to change the DIP switch. (6) Next, upload the network configuration information of NT Link. (7) After the transfer is confirmed, connected devices on the current NT Link network are displayed as shown below. Select [Transfer [Network to PC]] NT Link Start-Up Controller Link Start-Up PLC Network S…
-
42, System Configuration System Configuration Example of PLC Network System Construction by CX-One Example of PLC Network System Construction by CX-One Workflow in This Chapter Workflow in This Chapter This chapter describes an example of PLC network System construction from start-up to reassembly and on-site adjustment as shown below. This chapter mainly describes how to start up the System using CX-Integrator, an integrated start-up Support Software for various PLC netwo…
-
61, Right-click on 3G3MV- PDRT2 and select [Start Special Application] Setup Drives on DeviceNet and start CX-Drive on CX-Integrator window. An example of 3G3MV-PDRT2 is shown below. Starting CX-Drive via DeviceNet Starting CX-Drive via DeviceNet Select [Start with Setting Inherited] DeviceNet Connection RS232C Connection Servo/Inverter Settings When opening a stored data file after starting the dedicated tool, select [Start Only]. If [Start with Setti…
-
3, 4-1 4-2 4-3 3-1 3-2 3-6 3-8 3-10 3-12 3-15 3-17 3-19 3-20 3-21 �…
-
Omron CX-ONE — INTRODUCTION GUIDE User Manual
-
Omron CX-ONE — INTRODUCTION GUIDE User Guide
-
Omron CX-ONE — INTRODUCTION GUIDE PDF Manual
-
Omron CX-ONE — INTRODUCTION GUIDE Owner’s Manuals
Recommended: KDL-46HX750, VPC-S500 — 5-Megapixel Digital Camera, IntelliPeak, M2NPV-VM
Links & Tools
Operating Impressions, Questions and Answers:
-Please be sure to read and understand Precautions and Introductions in CX-One Setup Manual (W463-E1),
CX-Programmer Operation Manual(W446-E1) and CX-Integrator Operation Manual (W464-E1) before using the
product.
— This Guide describes the basic operation procedure of CX-Programmer. Refer to the Help or the Operation Manual of the PDF file for detailed descriptions.
— To read the PDF files, you need Adobe Reader, a free application distributed by Adobe Systems.
— The screen views used in this guide may be different from the actual view, and be subject to change without notice.
— The product names, service names, function names, and logos described in this guide are trademarks or registered trademarks of their respective companies.
— The symbols (R) and TM are not marked with trademarks and registered trademarks in this guide respectively
-The product names of the other companies may be abbreviated in this guide.
— Microsoft product screen shots reprinted with permission from Microsoft Corporation.
Introduction
3-1
3-2
3-6
3-8
3-10
3-12
3-15
3-17
3-19
3-20
3-22
3-23
2-1
2-2
2-3
2-5
2-9
2-10
2-12
2-13
2-14
2-15
2-16
2-21
2-23
2-25
1-1
1-1
1-2
1-4
Chapter 1 Overview and Installation of CX-One 1. What is CX-One?
2. Features of CX-One
3. Integrated Simulation
4. CX-One Installation Procedure
Chapter 2 Example of PLC System Construction by CX-One Workflow in This Chapter
1. Design
1-1. Starting CX-Programmer
1-2. Creating Unit Configuration
1-3. Setting CPU Bus Units and Special I/O Units
1-4. Checking I/O Assignment
1-5. Programming
1-6. Offline Debug
1-7. Saving a Project
2. Online Debug on a Machine
2-1. Reading a Project
2-2. Online Connection to PLC
2-3. Transferring to a Machine
2-4. Program Debug
3. Start-Up / Adjustment On-site
3-1. Program Modification
3-2. Unit Parameter Change
Chapter 3 Example of PLC Network System Construction by CX-One Workflow in This Chapter
1. PLC Network Start-Up
1-1. PLC Start-Up
1-2. DeviceNet Start-Up
1-3. NT Link Start-Up
1-4. Controller Link Start-Up
1-5. CompoWay/F Start-Up
1-6. Saving System Configuration
2. Adjustment On-site
2-1. System Configuration Verification
2-2. Controller Link Diagnosis
2-3. Checking CompoNet Network
3. Servo/Inverter Settings
3-1. DeviceNet Connection
3-2. RS232C Connection
Table of Contents
CX-One is an FA Integrated Tool Package that integrates Support Software for OMRON’s PLC and other
Components.
To construct an FA System based mainly on PLC, traditionally it was necessary to purchase and install
individual Support Software compatible with each Unit, start the software individually, and then connect
to PLC and individual Components.
Installation of this FA Integrated Tool Package «CX-One» on a personal computer allows integrated
operation from setup of OMRON’s CPU Bus Units and Special I/O Units (SIOU) and Components to
network start-up/monitoring and improving efficiency of PLC System start-up.
1. What is CX-One?. t i —
2. Features of CX-One. t r f —
CX-One allows integrated management of Support Software for OMRON’s PLC/Components.
Installation on only one personal computer allows a user to handle Support Software for OMRON’s
products.
Only one licensing key is required to install all Support Software.
It allows integrated management of one save location for files created by Support Software.
Support Software dedicated to CPU Bus Units and Special I/O Units can be started on the I/O Table.
The appropriate dedicated Support Software can be automatically started by specifying a
registered Unit in the I/O Table (Unit configuration table attached to a PLC). In addition, setup
information such as PLC model can be passed to the dedicated Support Software at start-up,
allowing easier switching between Support Software.
The following functions are available by the introduction of the ID information file (CPS) for OMRON
Components.
Setup of CPU Bus Units and Special I/O Units without manual setting and address recognition.
(Parameter and selection item names as well as available range of setup are automatically
displayed)
CPU Bus Units and Special I/O Units setting on personal computer and data on actual PLC (CPU
Unit ) can be verified online, and unmatched item/readout data is displayed graphically.
Unit configuration is displayed on the I/O Table based on Unit model.
Device type on the network can be checked for its Unit model, allowing exact verification of
network configuration.
What is CPS? CPS (Component and network Profile Sheet) is definition information of CS/CJ series Unit/Components in CX-One. It is provided as a CPS file (XML format file). CX-One recognizes CS/CJ series Unit by information in this CPS file. CPU Bus Units and Special I/O Units setting is created based on this CPS file.
1-1
3. Integrated Simulation. I t r t i l ti
Provides an interoperability check between the ladder program and touch panel screens.
Operation can be verified before actual devices such as the PLC and PT (touch panel) are installed and wired, so software quality can be improved in the design stage.
Time can be saved by eliminating the tasks up to downloading the screen data from the computer to the PT.
The operation of both the PLC and PT (touch panel) can be verified simultaneously in the computer, which greatly reduces the time required for debugging and equipment downtime during improvements.
Earlier Versions: Operation checks had to be performed separately on the ladder program and PT (touch panel) screens. In addition, the program had to be downloaded to the devices.
Integrated Simulation is a function of CX-One that simultaneously tests interoperability between the ladder program and PT (touch panel) and checks screen operation on the computer.
Integrated Simulation Overview:
Using Integrated Simulation:
Simulation of the PLC PT (touch panel) system can be started easily, with one click of an icon.
CX-Programmer CX-Designer
One click
Linked and simulation started.
Ladder program Touch panel screen
1-2
Integrated Simulation Procedure
Use the following procedure to execute an integrated simulation of the ladder program and PT (touch panel) screen. For details, refer to the CX-Designer Operation Manual and CX- Programmer Operation Manual.
1. Create the screen data in the CX-Designer.
2. Click the Icon or select Tools Integrated Simulation. The PLC-PT Integrated Simulation Dialog Box will be displayed.
3. Click the Browse Button and select the desired ladder program (CXP) file.
4. Click the Start Button. The PLC-PT Integrated Simulation will start automatically.
5. The test window will be displayed.
The Test Tool Window will list all of the communications addresses being used in the displayed screen. For example, when Host SERIAL A is connected to the CX-Simulator, the CX- Simulator value is reflected in the SERIAL A communications address. (The values can also be changed.)
Test Tool
Test Window
1-3
Before installing the CX-One, you must:
Terminate all Windows programs
Uninstall previous versions of Support Software (such as CX-Programmer) if already installed.
Installation takes about 15 to 45 minutes depending on your personal computer.
To change/modify/delete CX-One after installation, refer to the PDF manual CX-One Setup Manual, Chapter 2 Installation and Uninstallation.
efore installing the — ne, you ust:
Ter inate all indo s progra s
ninstall previous versions of upport oft are (such as — rogra er) if already installed.
Installation takes about 15 to 45 inutes depending on your personal co puter.
To change/ odify/delete — ne after installation, refer to the F anual — ne etup anual, hapter 2 Installation and ninstallation.
4. CX-One Installation Procedure4. — ne Installation rocedure
Installing CX-OneInstalling — ne
In case of the installing procedure by DVD-ROM: Insert CX-One installation disk (DVD-ROM) into your personal computers DVD-ROM drive. [Choose Setup Language] dialog box is displayed. By default the OS language installed on your personal computer is automatically selected. Check if the language is appropriate, then click the [OK] button.
Click [OK]
The CX-One splash screen is displayed and CX-One installation starts.
Uninstall older version of tools such as PLC Tools (PLC System setting and I/O Table), CX-Server, and CX-Programmer if they have been installed.
Uninstalling CX-Programmer Uninstalling CX-Server
Always click [OK]
1-4
Click [Next]
CX-One setup wizard starts.
The [License Agreement] dialog box is displayed. Read the software license agreement carefully. If you agree with all items, select the [I accept the terms of the license agreement] radio button and click the [Next] button.
Select the radio button
The [User information] dialog box is displayed.
Enter [User], [Company], [License] (product serial number of CX-One)
Click [Next]
Click [Next]
The [Regional Information] dialog box is displayed.
Select the [region] in which the software was purchased
Click [Next]
1-5
The [Installation Folder Selection] dialog box and [Setup Type] dialog box are displayed. Select an installation folder, then click [Next]
The [Choose Destination Location of OMRON FB Library], [Select Program Folder], and [Ready to Install the Program] dialog boxes are displayed.
Read the message and click [Next]
Click [Install]
CX-One installation is starts. During the installation, the [OMRON USB driver Installation Wizard], [WinPcap Setup Wizard], and [Direct Ethernet Connection: Network Card Selection] dialog boxes are displayed. Continue with the installation procedure according to the messages displayed by the Installation Wizard.
Click [Finish]
A dialog box (right) is displayed. Click the [Finish] button to finish the installation wizard.
Installation is complete. (When it is necessary to restart the personal computer, a restart confirmation dialog box appears.)
Select the radio button [Complete]
Click [Next]
By selecting [Custom], you can individually select and install Support Software.
1-6
Online Registrationnline egistration
If the personal computer that the software has been installed on has an Internet connection, you can proceed to online user registration.
After installation has been completed the [Online Registration] dialog box is displayed.
If you click the [Register] button, your Web browser connects to OMRONs CX-One Web site.(*1) (*2)
*1: If you click the [Exit] button to cancel online registration, the [Online Registration] dialog box is displayed every time the CX-One Support Software is started.
*2: If you do not have an Internet connection, or you do not want to register online, fill out and send the user registration card that comes with the product.
1-7
This chapter describes an example of PLC System construction from design, online debugging on the actual machine, and start-up/adjustment on-site as shown below. CX-Programmer is used for ladder program creation and CPU Bus Units and Special I/O Units (SIOU) setting, while CX-Designer is used for indicator screen generation. Also, a program simulation Support Software CX- Simulator is used as a debugging example.
Example of PLC System Construction by CX-Onexa ple of L yste onstruction by — ne
Reading Project
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving Project
Online Connection
to PLC
Transferring to Machine
Program Debug
Program Modification
Unit Parameter
Change
System ConfigurationSyste Configuration Unit Name Model Specifications
Power Unit CJ1W-PA202
CPU Unit CJ1M-CPU13 640 points, 20K steps
DC Input Unit CJ1W-ID211
Transistor Output Unit CJ1W-OC211
Analog Input Unit CJ1W-AD081-V1 4 analog inputs (Each point selectable from 1~5V, 0~5V, 0~10V, -10~10V, 4~20mA)
Position Control Unit Motion Control Unit
CJ1W-NCF71 CJ1W-MCH71
Maximum control: 16 axis Maximum control: 30 axis
DeviceNet Master Unit CJ1W-DRM21
ControllerLink Unit CJ1W-CLK21
Serial Communications Unit CJ1W-SCU41-V1
Servo Driver R88D-WN01L-ML2
NS Series PT NS8-TV00B-V2 8 inches TFT
Workflow in This Chapterorkflo in This Chapter
Below is an example of a System that has CJ1M CPU Unit with basic input/output Unit as well as analog input Unit and NCF Unit to perform the following functions:
4~20mA input from a sensor
Configure a servo driver connected to the NFC Unit.
Designesign Online Debug of the Machinenline ebug of the achine Start-Up/Adjustment On-Sitetart- p/ djust ent n- ite
CJ1W-AD081-V1 Unit No.= 21
CJ1W-CLK21-V1 Unit No.= 1Hex Node Address= 01 Termination Resistance Setting= ON
CJ1W-DRM21 Unit No.= 0Hex Node Address= 01
CJ1W-NCF71 (CJ1W-MCH71)
Unit No.= 2Hex
CJ1W-SCU41-V1 Unit No.= 3Hex
CJ1W-ID211
CJ1W-OC211
Servo Driver R88D-WN01L-ML2
CJ Series PLC CJ1M
4 ~ 20mA
Sensor
Connection Cable CS1W-CN226(2m)
CX-One
PLC1
NS Series PT NS8-TV00B-V2 System Version 6.0 or later
Connection Cable XW2Z-200T(2m)
2-1
Starting CX-ProgrammerStarting CX-Progra er
Click .
Left-click
Select a PLC model from the following to use Function Blocks. CJ2H, CJ2M, CJ1H-H, CJ1G-H, CJ1M, CS1H-H, CS1G-H, CP1H, CP1L, CP1L-E
Click this button to create a new CX-Programmer project.
Click and select PLC model.
Click and select CPU type.
Click [OK] and determine CPU type.
From the [Start] menu, select [Programs] > [OMRON] > [CX-One] > [CX-Programmer] > [CX- Programmer] to start CX-Programmer. (Or select [All Programs] > [OMRON] > [CX-One] > [CX-Programmer] > [CX-Programmer])
Starting CX-Programmer
Creating a New Project
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a ProjectDesign
Dedicated Support Software for each Unit can be started, succeeding communications settings from CX-Programmer. You will not have to set up communications using dedicated Support Software if you set up communications here.
2-2
Creating Unit ConfigurationCreating Unit Configuration
Start the I/O Table/Unit setup function.
Right-click Empty Slot, select [Add Unit] and determine CPU type. Then select [General Purpose Analog I/O] from Unit selection window.
Double-click [ I/O Table and Unit Setup]
Right-click
Click + symbol on analog I/O
Select [Add Unit]
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a Project
When you select [Option] > [Consumption(mA)] from the menu, you can check the width and current consumption after PLC Unit configuration. (Width indication is available only for SYSMAC CJ Series, CP1H Series.)
Double-click [ I/O Table and Unit Setup].
Design
2-3
Click
Enter Unit number.
Select Unit and Number.
Select Unit Type.
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a Project
Click
Design
2-4
Double-click the analog Unit
The Analog Unit is registered to the I/O Table as shown below. Set up the next analog Units parameter.
The Analog Unit Setup Screen is displayed.
CPU Bus Units and Special I/O Units Setting Function Traditionally, initial CPU Bus Unit and Special I/O Unit settings were made by referring to documentation to calculate DM address from the Unit number and entering a hexadecimal number. Now you can set it using the pull-down menu in the CX-Programmers I/O Table. Easy setup/transfer/verification operations are available from the integrated parameter settings screen as shown below, without recognizing addresses (this function uses CPS function of CX-One previously described).
For example, specify input number designation and range.
Unit parameter setting
Setting CPU Bus Units and Special I/O UnitsSetting CPU Bus Units and Special I/ Units
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a Project
Select [Enable] for input No.1 usage designation.
Select [1~5V/4~20mA] for input No.1 range setting.
Click the [OK] button.
Design
2-5
Right-click NCF Unit
As with Analog Unit registration, register the NCF Unit (CJ1W-NCF71). The NCF Unit resides within a position control Unit. Nest, start CX-Motion-NCF using [Start with Settings Inherited].
Register a servo driver.
NCF Unit and Servo Driver Connected to the NCF Unit SetupNCF Unit and Servo Driver Connected to the NCF Unit Setup
Point [Start Special Application]
Click [Start with Settings Inherited]
Double-click NCF Unit
Click
Double-click NCF Unit. Click
Displayed with NCF Unit registered.
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a Project
Click
Select OMRON W series (with communications function).
Select R88D-WN01L-ML2.
When opening a stored project file after starting the dedicated tool, select [Start Only]. If [Start with Setting Inherited] is selected, a new project is created.
Design
2-6
Double-click NCF Unit
Edit NCF Unit parameters.
Edit servo parameters.
Double-click the servo driver
Click
Set output relay area to CIO100 and input relay area to CIO500.
Select [Communications Setting]
Select [Axis 01].
Set servo parameters for axis 01 as shown below. Pn50A(input signal selection 1): 2881 Pn50B(input signal selection 2): 8883 Pn511(input signal selection 5): 6541
Click
Set axis parameters for axis 01.
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a Project
Click
Double-click NCF Unit.
Save the project Refer to Page 2-13 Saving Project for details.
Design
2-7
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a Project
Right-click MCH Unit
When using the MCH Unit (CJ1W-MCH71) instead of the NCF Unit, use the following settings.
As with Analog Unit, register the MC Unit to the I/O table. The MCH resides within the Motion Controller. Then start CX-Motion-MCH using [Start with Settings Inherited].
Using the MCH UnitUsing the CH Unit
Point [Start Special Application]
Select [Start with Setting Inherited]
Add task, axis, program, and CAM data
Start the MCH Unit as registered.
When opening a stored project file after starting the dedicated tool, select [Start Only]. If [Start with Setting Inherited] is selected, a new project is created.
Click to add task, axis,
program, and CAM data.
Open the editing screen to edit data by double-clicking position data, parameter, program, or CAM data on the project tree.
Edit position data, parameters, program, and CAM data
Save the project Click and save the project to file.
Design
2-8
Register basic I/O Unit
Check I/O assignment
Checking I/O AssignmentChecking I/ Assign ent
As with Analog Unit registration, register the IN and OUT Units.
In this example, CJ1W-ID211 and CJ1W-OD211 are selected as IN and OUT Units respectively.
By registering Units to the I/O Table, you can check I/O assignment status.
This I/O assignment information can also be checked by IQ indication (IN:I, OUT:Q) during ladder programming.
In addition, you can check addresses assigned to actual I/O with a print out.
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a ProjectDesign
2-9
ProgrammingProgra ing
This section describes programming with Library (OMRON Standard Libraries) that allows easier connection to OMRONs Components. OMRON Standard Libraries is a group of Components provided by OMRON, which can be categorized into two types; FB Components (OMRON FB Library) to be used for a ladder program and SAP Components (Smart Active Parts Library) to be used for an indicator.
NCF Unit Programming with OMRON FB Library Servo motor (axis 1) connected to Unit number 0 NCF is moved to position 2000 (command Unit) with speed of 2000 (command Unit/s) by relative move command.
Right-click from Function Blocks
Select OMRON FB Library «_NCF021_MoveRelative_ DINT12.cxf «
Select a folder from [Omronlib] > [Position Controller] > [NCF]
Call the selected OMRON FB Library on the ladder, then enter its name (instance name) (in this example, MoveRelative). Then create a ladder program as shown below.
Enter MoveRelative for instance name. Then create a ladder program
OMRON FB Library is a collection of Components that OMRON provides as a Function Block to use functions of OMRONs Units for PLC and FA Components much easier on a PLC program. * For details, see FunctionBlock StructuredText Introduction Guide, Chapter 1.
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a Project
Servo Motor No.1 (Axis 1)
NCFCPU
Servo Motor (Axis 1)
Unit No.: 0&0
Unit No. &0
Axis No. Axis 1 &1
Start No.2 W10.02
Position Command 2000 Command Unit &2000
Velocity Command
2000 Command Unit/s &2000
Positioning is completed W10.03 Command is aborted W10.04 Error Flag W10.05 (Omitted)
P_On (Normally ON) _NCF021_MoveRelative_DINT EN (BOOL)
(BOOL) ENO
UnitNo (INT)
(BOOL) Done
Axis (INT)
(BOOL) Command Aborted
Execute (BOOL)
(BOOL) Error
Position (DINT)
(WORD) ErrorID
Velocity (DINT)
ENO
W10.00
Start Trigger
W10.02
Start No.2
W10.02
Start No.2
W10.01
(ENO)
W10.03
Done
W10.05
Error
W10.04
Command Aborted
Design
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a Project
How to use Smart Active Parts t rt ti rt
This section describes how to use Smart Active Parts. In this example, NCF Smart Active Parts Adjust Operation is used.
See Libraryee Library
Place Smart Active Parts on the screen.
lace art ctive arts on the screen.
Select [Library] from the [Tools] menu
4. The selected Smart Active Parts are displayed on the screen.
Setup Smart Active Parts
etup art ctive arts
1. Double-click
2. Set 4 to the Destination Unit No.
3. Click [OK]
Smart Active Parts Setting is complete
art ctive arts etting is co plete
4. Communication address is automatically calculated according to the corresponding Unit.
Setup is completed at 100%
1. Select SAP — SmartActiveParts_E — Motion — NCF —
OutCIO_InCIO folder
2. Select _NCF001_xx _Adjust Operation (Check the Title)
From [Start] menu, select [Programs] > [OMRON] > [CX-One] > [CX-Designer] > [CX-Designer Ver.] to start CX-Designer. (Or select [All Programs] > [OMRON] > [CX-One] > [CX-Designer] > [CX-Designer Ver.].) Select [NS8-TV0[]-V2] and [System Version 6.0] or later.
Refer to Page 2-13 Saving Project for details.Save the Project.ave the roject.
Design
3. Drag & drop it on the screen.
2-11
Offline Debugffline Debug
This section describes how to debug a program using CX-Simulator, a ladder simulation tool, without the PLC. Additionally, Switch Box Utility is used as a virtual input tool.
Click
Program transfer starts.
Screen when online
(Simulator connection button)
Switch Box Utility It is useful not only for virtual input by simulator but also for debugging while checking the PLCs wiring or setting the DM and other initial values.
Starting Switch Box Utility Select [Tools] > [SwitchBox Utility]
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a Project
Run PLC
CX-Simulator debug console is starts
Design
2-12
Saving a ProjectSaving a Project
Unit setting, Unit parameter setting, and programs using the CX-Programmer can be saved all at once.
Save it with a name. In this example save as Sample1.
Saving a CX-Programmer file
Saving CX-Designer and CX-Motion-NCF/MCH files
Created data can be saved for CX-Designer and CX-Motion-NCF/MCH. Save CX-Motion-NCF as Sample2.mnf (CX-Motion-MCH as Sample5.mnh), and CX- Designer as Sample3.ipp.
Saving screen for CX-Motion-NCF Saving screen for CX-Designer
Starting CX- Programmer
Creating Unit Configuration
Checking I/O Assignment
Setting CPU Bus
Units/SIOU Programming Offline Debug
Saving a Project
Click
If you run a dedicated Support Software such as CX-Motion-NCF or CX-Designer when CX- Programmer is started, the same default folder location as that of CX-Programmer is used for reading and saving files. It allows easier CX-One Support Software file management.
If you run a dedicated upport oft are such as — otion- F or — esigner hen — rogra er is started, the sa e default folder location as that of — rogra er is used for
reading and saving files. It allo s easier — ne upport oft are file anage ent.
From the [File] menu, select [Save As]
Design
2-13
Reading a ProjectReading a Project
Use CX-Programmer to read the project Sample1 saved in the previous section.
Ladder program Sample1 is retrieved.
Reading a Project
Online Connection
to PLC
Transferring to a
Machine
Program Debug
Online Debug on a Machine
This section describes connection to the machine, transfer of programs, creating Unit settings offline, and how to debug.
From [File] > [Open], select the file name Sample1
In I/O Table Unit setting function, the Unit parameter setting configured in the previous section is also retrieved.
Double-click the I/O Table Unit setting
Click
or
2-14
Online Connection to PLCnline Connection to PLC
(Automatic online connection button)
Verify that PLC model and communications setting created offline and the actual PLC are correct.
(Online connection button)
Double-click PLC
Check PLC model. Check communications setting.
Click
Reading a Project
Online Connection
to PLC
Transferring to a
Machine
Program Debug
Confirm that automatic communication speed recognition is checked.
fir t t t ti i ti r iti
i .
If a connection cannot be established with the PLC, you can use the automatic online connection function. Save your current project data before using this function because it clears project data being edited. When USB conversion cable (CS1W-CIF31) is used for connection, specify the COM port number of the USB port used.
If a connection cannot be established ith the L , you can use the auto atic online connection function.
ave your current project data before using this function because it clears project data being edited.
hen conversion cable ( 1 — IF31) is used for connection, specify the port nu ber of the
port used.
Online Debug on a Machine
2-15
Click [Transfer All]
Program transfer starts.
Transferring to the MachineTransferring to the achine
Click [OK].
Select [PLC] > [Transfer] > [To PLC]
Transfer programs and Unit setting parameters created by offline project to the PLC. In this example, data is sent at the same time to various Units using the batch transfer function. [Data to be sent] CPU Unit: Ladder program and PLC System setting data, I/O Table data CPU Bus Units and Special I/O Units:
AD Unit: Range setting of inputs (1~5v / 4~20mA mode)
Program and configuration data are transferred at the same time to CPU Bus Units and Special I/O Units.
Program and configuration data are transferred at the same time to CPU Bus Units and Special I/O Units.
Reading a Project
Online Connection
to PLC
Transferring to a
Machine
Program Debug
Online Debug on a Machine
Next Page
Click [Yes].
CJ1W-AD081-V1 Unit No.= 21
CJ1W-CLK21-V1 Unit No.= 1Hex Node Address= 01 Termination Resistance Setting= ON
CJ1W-DRM21 Unit No.= 0Hex Node Address= 01
CJ1W-NCF71 (CJ1W-MCH71)
Unit No.= 2Hex
CJ1W-SCU41-V1 Unit No.= 3Hex
CJ1W-ID211
CJ1W-OC211
Servo Driver R88D-WN01L-ML2
CJ Series PLC CJ1M
4 ~ 20mA
Sensor
Connection Cable CS1W-CN226(2m)
CX-One
PLC1
NS Series PT NS8-TV00B-V2 System Version 6.0 or later
Connection Cable XW2Z-200T(2m)
2-16
Then data is sent at the same time to NCF Unit and the servo driver connected to NCF Unit.
[Data to be sent] NCF Unit: Common parameters, axis parameters Servo Driver: Servo parameters
Right-click NCF Unit
Point [Start Special Application]
Click [Start Only]
From CX-Programmer, display the I/O Table, then start CX-Motion-NCF by [Start Only].
Open a saved project and transfer all NCF Unit and servo driver parameters.
Click
Select Sample2.mnf
Double-click NCF Unit
If it does not go online, click
and check the communications
setting between the personal
computer and PLC.
Reading Project
Online Connection
to PLC
Transferring to a
Machine
Program Debug
Online Debug on a Machine
To prevent a servo driver operation using a ladder program, you must set the PLC to PROGRAM mode.
Click
Click
2-17
Next, perform jog operation. Carefully read the displayed cautions, then perform the operation. To perform jog operation, it is required to establish a connection, servo lock, and jog setting.
When parameter transfer is completed, confirm that communications is performed normally and has not resulted in an error. Monitor the NCF Unit. Confirm consistent scan list (axis configuration) and communications status and that no axis or common Unit error has resulted.
Click
Click
Click [Online] > [Test Run]
Reading Project
Online Connection
to PLC
Transferring to a
Machine
Program Debug
The Unit restart confirmation screen will be displayed during data transfer. Click the [OK] button after confirming safety. Also, in the case of communication was not established between the NCF Unit and the servo driver, confirm the axis number and restore power to the NCF Unit and servo driver.
Terminate Unit monitoring.
Online Debug on a Machine
2-18
Reading Project
Online Connection
to PLC
Transferring to a
Machine
Program Debug
Online Debug on a Machine
When using the MCH Unit, transfer data from the CX-Motion-MCH to the MCH Unit and servo driver connected to the MCH Unit. [Data to be transferred] MCH Unit: parameter, position data, program, CAM data. Servo driver: servo parameter
Display the I/O table from CX-Programmer and start CX-Motion-MCH with [Start Only]. (Refer to NCF Unit for starting from the I/O table.)
Select file .mnh
Select [All Data]
Click [Open]
If it does not go online, double- click PLC in the project tree and check the communication settings between the personal computer and PLC.
To prevent a servo driver operation using a ladder program, you must set the PLC to PROGRAM mode.
Select [With Servo Parameter]
Click [OK]
The Unit restart confirmation screen will be displayed during data transfer. Click the [OK] button after confirming safety. Also, in the case of communication was not established between the MCH Unit and the servo driver, confirm the axis number and restore power to the MCH Unit and servo driver.
Open the saved project and transfer Unit parameter, position data, program, CAM data, and servo driver parameters to the MCH Unit.
Click
Click
Click
2-19
Reading Project
Online Connection
to PLC
Transferring to a
Machine
Program Debug
Online Debug on a Machine
Transferring NS screen datar f rri r t
This section describes how to transfer screen data to the NS through PLC without changing cables.Start NS transfer
program
tart transfer progra
Check Pass thru PLC in the Comm. Method window
Check Pass thru PLC to activate the PC PLC NS route setting.
Select PC PLC NS.
Select Serial(Toolbus)
Select NT Link Press each setting button.
Set the serial port COM No. for PC PLC connection. Then, press OK.
Enter NS Unit No. Then, press OK.
Setup Data transfer to the NS through PLC.
Click OK to start transfer
Setup communication route
etup co unication route
Transfer screen dataTransfer screen data
Screen data transfer is complete at 100%.
creen data transfer is co plete at 100 .
*Communication between the NS and the PLC must be established before transferring screen data through PLC without changing cables.
If Connecting is displayed at the right bottom of the screen, use Auto Connection (See Chapter 3 1-3 Setup NT Link) to connect the NS and the PLC before starting the following procedure.
If the communication between the NS and the PLC has already been established, you do not need to perform the operation described above.
Click on
Select [Transfer]-[Transfer[To PT]] from the [PT] menu.
From [Start] menu, select [Programs] > [OMRON] > [CX-One] > [CX-Designer] > [CX-Designer Ver.] to start CX-Designer. (Or select [All Programs] > [OMRON] > [CX-One] > [CX-Designer] > [CX-Designer Ver.].) Open a project saved in the previous section.
2-20
Frame color changes to a specified color during Function Block execution.
Fra e color changes to a specified color during Function Block execution.
Current parameter value is displayed.
Current para eter value is displayed.
Program DebugProgra Debug
Transfer programs and Unit setting parameters created by an offline project to the PLC. In this example, data is sent at the same time to various Units using the batch transfer function.
Online Debug on a Machine
Reading Project
Online Connection
to PLC
Transferring to a
Machine
Program Debug
Monitoring
Monitor ON/OFF status of contacts and coils.
Click
Click [Yes]
. . . ON/OFF of monitoring
2-21
Change current value of the input parameter.
Ensure to add «#» (hexadecimal/BCD) or «&» (decimal) to the left of the value.
Click
Online Debug on a Machine
Reading Project
Online Connection
to PLC
Transferring to a
Machine
Program Debug
Monitoring -2 Changing the Current Parameter Valueonitoring -2 Changing the Current Para eter Value
Change the current value of contact or channel through conductive monitoring.
Move the cursor to D100 of input parameters
Right-click, then select [Set/Reset (S)] > [Value (V)] from the pull-down menu
or
ENT
Or
Double-click
2-22
Select [Program] > [Online Edit] > [Start]
Enter the contact number you want to modify (W20.01 in a circuit example).
Select [Program] > [Online Edit] > [Transfer Change]
Double-clickl — li
Start-Up / Adjustment On-
site
Program Modification
Unit Parameter
Change
Online Program Modification (Online Edit)nline Progra odification ( nline Edit)
Move the cursor on the circuit you want to modify
You can use drag-and- drop to specify more than one circuit at the same time
Shortcut [Ctrl]+[E]
Move the cursor on the contact you want to modify and double-click
Shortcut [Ctrl]+[Shift]+[E]
2-23
Start-Up / Adjustment On-
site
Program Modification
Unit Parameter
Change
After modification on-site, you can verify it with the designed program and display the differences graphically. This allows for easier checking of the parts modified on-site.
1. Read the designed program. In this example, read Sample1. Then connect online.
2. Select verification.
3. Display the verification result.
Verifying ProgramVerifying Progra
Select [PLC] > [Transfer] > [Compare with PLC]
Click [OK]
(Online connection button)
Click
Click [OK]
Select [Section1] and click [Detail View]
You can check ladder contact address differences.
You can check ladder contact address differences.
You can check FB parameter differences.
You can check FB parameter differences.
In addition, you can check add, delete, and move contacts, coils, and apply instructions.
In addition, you can check add, delete, and move contacts, coils, and apply instructions. 2-24
Start-Up / Adjustment On-
site
Program Modification
Unit Parameter
Change
After modification on-site, you can verify it with the designed Unit parameter and display the differences graphically. This allows for easier checking of the parts modified on-site.
1. Read the designed program. In this example, read Sample1. Then connect online. (If you have already read it in the previous sections operation, this is not required) Open the I/O Table/ Unit setting, then double-click the AD Unit.
Unit Parameter Change and VerificationUnit Para eter Change and Verification
Click [I/O Table/Unit Setting]
Double-click the registered AD Unit
Click [Compare] button
Click
2. Click the [Compare] button. Now you can see the difference between the designed Unit parameters and the configured parameters in the machine.
You have now completed Chapter 2: Example of PLC System Construction by CX-One. The next chapter describes PLC network construction flow.
3. Unmatched detail differences can also be checked.
You can check the number of unmatched items.
You can check the number of unmatched items.
Unmatched items are shown in orange.
Unmatched items are shown in orange.
After checking the unmatched details, Unit parameters can be easily modified.
After checking the unmatched details, Unit parameters can be easily modified.
2-25
System ConfigurationSyste Configuration
Servo Driver R88D-WN01L-ML2
CJ1W-CLK21-V1 Unit No. =1Hex Node Address =03 Termination Resistance
Setting =ON
Connection Cable XW2Z-200T
(2m)
CX-One
PLC1 CJ Series PLC CJ1M-CPU13
CJ1W-CLK21-V1 Unit No. =1Hex Node Address =02 Termination Resistance Setting =OFF
PLC2 CJ1G- CPU45H
PLC3 CJ1G- CPU45H
CJ1W-CLK21-V1 Unit No. =1Hex Node Address =01 Termination Resistance Setting =OFF
CJ1W-DRM21 Unit No. =0Hex Node Address =01 Other Settings = Default
CJ1W-SCU41-V1 Unit No. =3Hex
CJ1W-DRM21 Unit No. =0Hex Node Address =05
CJ1W-DRM21 Unit No. =0Hex Node Address =04
CJ1W-ID211
CJ1W-AD081-V1 Unit No. =21
CJ1W-NCF71 Unit No. =2Hex
NS Series PT NS8-TV00B-V2 System Version 6.0 or later
E5CN-CQ203T-FLK Unit No. =1
E5CN-CQ203T-FLK Unit No. =2CompoWay/F Network
Connection Cable CS1W-CN226
(2m)
Routing Table (Local Network Table )
Note) The Local Network Table is required in order to attach more than one network communications Units.
CJ1W-OC211
Setting
Unit No. Network Address
1 1
2 2
Controller Link (Wire) Network Address =1
DeviceNet Network Address = 4
Use at 125K bits/sec
I/O Relay Terminal
I/O Relay Terminal
CJ1W-CRM21
DeviceNet Network Address = 3
DeviceNet Network Address = 2 I/O Relay
Terminal I/O Relay Terminal
I/O Relay Terminal
I/O Relay Terminal
Use at 125K bits/sec
Use at 125K bits/sec CompoNet Network Communications Mode No. 1
Word Slave Word Slave
Example of PLC Network System Construction by CX-Onexa ple of L et ork yste onstruction by — ne
Workflow in This Chapterorkflo in This Chapter
This chapter describes an example of PLC network System construction from start-up to reassembly and on-site adjustment as shown below. This chapter mainly describes how to start up the System using CX-Integrator, an integrated start-up Support Software for various PLC networks.
Start-Up
Describes details from assembly and wiring of PLC System to program download for a trial run.
Target of Start-Up Aims at removing the cause of errors from a PLC and to turn off all of red LEDs that indicate errors for any component of the PLC System.
Saving the entire system configuration after completing start-up is recommended. You can utilize it for system adjustment on-site after delivery to reduce the adjustment period.
Adj. On-site
Describes details from disassembly of a system for which the trial run, delivery, and reassembly on-site as well as operation check have been completed.
Target of Adjustment On-site 1) Confirm that no error will occur in its electrical system in the same system configuration as that before delivery.
2) Confirm that no discrepancy will be found in Controller Link network settings by connecting to a network on-site.
3) Though CompoNet network is characterized by tool-less easy start-up, using the tool can shorten the time required to check the wiring.
Start-Up Delivery Adj. On-site
PLC Start-Up
NT Link Start-Up
DeviceNet Start-Up
Controller Link
Start-Up
CompoWa y
/F Start-Up
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
Saving System Config.
Checking CompoNet
Network
3-1
Select a serial port. When USB conversion cable (CS1W-CIF31) is used for connection, specify the COM port number of the USB port used.
All communications Units and ports of a connected PLC are automatically displayed in the online connection information window.
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
PLC Network Start-UpL et ork tart- p
Online Connection to PLC (Automatic Online Connection)nline Connection to PLC (Auto atic nline Connection)
1. From the [Start] menu, select [Programs] > [OMRON] > [CX-One] > [CX-Integrator] > [CX- Integrator] to start CX-Integrator. (Or select [All Programs] > [OMRON] > [CX-One] > [CX- Integrator] > [CX-Integrator])
CX-Integrator starts and automatically connects online.
(Important) This operation is used for online connection to any PLC hereinafter. Unless described otherwise, use this operation to connect online.
(Important) This operation is used for online connection to any PLC hereinafter. Unless described otherwise, use this operation to connect online.
Starting CX-Integrator
Click
Select a serial port, then click [Connect]
3-2
Checking PLC ErrorChecking PLC Error
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
Move the cursor on the PLC and right-click
(1) Remove the cause of the PLC error, then make it available to run.
Select [Error Log]
(2) Check the PLC error. Examples of IO settings error and CPU Bus Units and Special I/O Units number overlap error are shown below.
You can check an error in a CPU Unit and error history. (You can use the same function in the error history of CX-Programmers online screen)
You can check an error in a CPU Unit and error history. (You can use the same function in the error history of CX-Programmers online screen)
(3) Solve the cause of error.
You must solve the problem through the following procedure: — Set the PLC to PROGRAM mode (in which you can change settings). — Change the rotary switch of the CPU Bus Units and Special I/O Units (make sure
that it does not overlap). — Create the I/O Table.
You must solve the problem through the following procedure: — Set the PLC to PROGRAM mode (in which you can change settings). — Change the rotary switch of the CPU Bus Units and Special I/O Units (make sure
that it does not overlap). — Create the I/O Table.
Set the PLC to PROGRAM mode. From step (1) above, select [Mode Setting] then [Program] mode, and click the [Set] button.
Click [Yes].
3-3
The I/O Table is created and Unit configuration is displayed.
The I/O Table is created and Unit configuration is displayed.
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
To change the Unit number, change the rotary switch of CPU Bus Units and Special I/O Units and restart power.
Create the I/O Table.
Check if any error occurs in the PLC (CPU Bus Units and Special I/O Units number overlap error should be solved).
Click [Yes].
Check if any error occurs in the PLC (all errors should be solved).
3-4
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
Confirming the Routing Table is not ConfiguredConfir ing the Routing Table is not Configured
(1) Check that Routing Table is not configured.
Check Routing Table presence. If the Routing Table is not configured, create one.
Check Routing Table presence. If the Routing Table is not configured, create one.
Select [Start Routing Table]
Move the cursor on the PLC and right-click
Re-connect to a PLC with CX-Integrator
(2) Configure the Routing Table.
(3) Edit the Routing Table and transfer to [PLC].Right-click and select local network (Unit) [Insert CPU SIOU] or local network (port) [Insert PORT]
Enter its local network number, then click [OK]
Reconnecting CX-Integrator
Set the Routing Table as shown below:
Assign a network number to a Unit number.
A Unit number can be checked on the online information window.
Assign a network number to each network. The Controller Link network number is same for other PLCs.
et the outing Table as sho n belo : ssign a net ork nu ber to a nit nu ber. nit nu ber can be checked on the online infor ation indo . ssign a net ork nu ber to each net ork. The ontroller Link net ork nu ber is sa e for other L s.
(4) Check if the error is solved. Re-connect to the PLC. All errors should be solved and no error messages should be displayed. The network number is displayed on the communications Unit.3-5
DeviceNet Start-UpDeviceNet Start-Up
Remove DeviceNet communications errors and establish communications.
Check DeviceNet Units 7SEG indication and ON state of MS/NS LED.
Check Slave Unit configuration trough CX-Integrator. Create a scan list of DeviceNet and determine the memory map.
Remove DeviceNet communications errors and establish communications.
Check DeviceNet Units 7SEG indication and ON state of MS/NS LED.
Check Slave Unit configuration trough CX-Integrator. Create a scan list of DeviceNet and determine the memory map.
(1) Connect to PLC online, then connect to DeviceNet through the online connection information window.Right-click a DeviceNet
Unit under Target PLC in the online connection information window, then select [Connect]
(2) Next, upload the network configuration information of DeviceNet.
(3) After transfer is confirmed, connected devices on the current DeviceNet network are displayed as shown below.
In this example, although one Master Unit (node number #01) and two Slave Units (node number #02, #03) are actually connected, assume in this start-up example that one Slave Unit (#03) is not connected due to disconnection.
Check if a Slave device on the remote I/O communications actually wired is recognized. Master Unit (#01) and Slave Unit (#02) are recognized, while another Slave Unit (03) is not recognized.
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-6
Right-click on the Master Unit icon and select [Monitor] to display the device monitor screen. Select [Status] tab
(4) Check the error on the device monitor screen.
You can check the Slave status on the device monitor screen as well.
Slave Unit (#02) is recognized, while the other Slave Unit (03) is not recognized.
(5) Wire Slave Unit (#03) correctly.
(6) Re-upload the network configuration information of DeviceNet.
Perform the step (2) from the previous page Now it can be confirmed that Slave
devices on the remote I/O communications have been recognized and communications have been established.
(7) Configure DeviceNet remote I/O communications (free assignment) and register the Slave to the Master.
Double-click a Master Unit (CJ1W-DRM21) icon
Click twice
Click the [OK] button
Two Slaves are now registered to the Master.
(8) Configure assignment of Slaves to areas of a CPU Unit. If necessary, configure the Slave parameters as well.
(9) Start remote I/O communication.
Right-click the Master Unit and select [Parameters] > [Edit]
Select [Network] > [Transfer [PC to Network]]
Edit the parameters, then click the [OK] button
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-7
NT Link Start-UpNT Link Start-Up
Remove NT Link communication errors and establish communications.
Release NS Connecting . . . message.
Check NS configuration through CX-Integrator.
Remove NT Link communication errors and establish communications.
Release NS Connecting . . . message.
Check NS configuration through CX-Integrator.
(1) Connect to PLC online, then connect to a CPU Unit through the online connection information window.
(2) Select in the order from upper link port to NT link.
Right-click a CPU Unit under a connection target PLC in the online connection information window, then select [Connect]
(3) Next, select [NT Link Tool] > [NTLink Auto Online Setting] from the CPU Unit.
Automatic NT Link connection function is used to automatically connect NS series PT and PLC via serial connection (NT Link). Connection is automatically performed by overwriting the PLC serial communication port settings by adjusting to NS series PT settings.
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-8
Click [OK]
Click [Yes]
Click [OK]
(5) Screen message Connecting . . . is now cleared.
(4) Check the CPU DIP switch.
Follow the on screen instructions to change the DIP switch.
(6) Next, upload the network configuration information of NT Link.
(7) After the transfer is confirmed, connected devices on the current NT Link network are displayed as shown below.
Select [Transfer [Network to PC]]
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-9
Controller Link Start-UpController Link Start-Up
(1) Connect to PLC online, then connect to Controller Link Unit through the online connection information window.
Remove Controller Link communications errors and establish communications.
ON state of Controller Link Master Units INS LED
Check Controller Link configuration through CX-Integrator.
e ove ontroller Link co unications errors and establish co unications.
state of ontroller Link aster nits I L
heck ontroller Link configuration through -Integrator.
(2) Next, upload the Controller Link network configuration information.
Right-click a Controller Link Unit in the online connection information window, then select [Connect]
Select [Transfer [Network to PC]]
Click [Transfer]
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-10
Click [Transfer]
Select [Transfer [Network to PC]]
In this example, although three PLCs are actually connected through the Controller Link, in this start-up example explanation assume that only two PLCs are displayed. (One PLC did not join the communications due to incorrect Routing Table settings)
(3) After the transfer is confirmed, connected devices on the current Controller Link network are displayed as shown below.
(4) Check the Routing Table and configure it correctly. See Confirming the Routing Table is not Configured for configuration details.
(5) Re-upload the Controller Link network configuration information.
(6) Send the network configuration from the network to the personal computer.
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-11
This example explains the start-up of a serial communications Unit with two temperature controllers (E5CN) connected via CompoWay/F. Two temperature controllers (E5CN) are connected to serial communications Unit
(CS1W-SCU41-V1) port no. 1 via RS485. Communication Unit numbers are #001 and #002.
Communication settings of the serial communications Unit and the two temperature controllers are unmatched. Communication settings between the two temperature controllers are unmatched as well.
CompoWay/F Start-UpCo po ay/F Start-Up
Remove CompoWay/F communications errors and establish communications.
Check CompoWay/F configuration through CX-Integrator.
Configure serial communications Unit parameters.
Configure temperature controller communications.
Remove CompoWay/F communications errors and establish communications.
Check CompoWay/F configuration through CX-Integrator.
Configure serial communications Unit parameters.
Configure temperature controller communications.
(1) Connect to PLC online, then connect to a CPU Unit through the online connection information window.
Right-click an SCU port in the online connection information window, then select [Connect]
Click
(2) Upload the CompoWay/F network configuration information.
Select SCU port (140)
Select CompoWay/F
Click Click
Select [Selection], enter 1 for minimum and 2 for maximum values, then click the [OK] button
Right-click an SCU port in the online connection information window, then select [Transfer [Network to PC]]
Click [Yes] in the message dialog box
Click
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-12
Click [OK]
Click the reset button to enable settings. Click [OK] in the reset confirmation message dialog box.
(a) (b)
(c)
This dialog box is displayed because communication is not established between the serial communications Unit and temperature controllers.
Then click the [OK] button in the dialog box indicating completion of transmission
(3) Adjust the serial communications board parameters settings to those of the CompoWay/F.
Place the cursor on CJ1M- CPU in the [Network Structure] window and double-click
The [Network Structure] window shows a CPU Unit (CJ1M-CPU13) that has a serial communications Unit, but neither of the two temperature controllers.
Right-click a Target PLC in the online connection information window, then select [Mode Setting]. (a) Select [Program] for
operation mode (b) Click [Set] (c) Click [Close] after
changing
From the [Display Parameter] pull-down menu, select [Port1: Serial Gateway Settings]
Configure [Port1: Port settings] to [Manual] and [Port1: Serial communications mode] to [Serial Gateway]. Check other settings as well, and change if necessary.
Confirm that settings are correct, then select the [Transfer [PC to Unit]] button. Click [OK] in the transmission confirmation message dialog box.
Click
Select [HOSTLINK1] and click [OK] button.
(4) Re-upload the network configuration information of CompoWay/F. Perform the step (2) from the previous page.
Only the Units for which connection is established are displayed in the [Network Structure] window, as shown on the next page.
Click [OK] button in a dialog box indicating completion of transmission
Perform the step (2) in the previous page
Click [OK] in the [Edit Parameters] dialog box and close the dialog box
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-13
The [Network Structure] window shows only the Units for which connection is established, and Units with incorrect communications setting are not displayed.
Check the temperature controller that is not displayed properly and configure it correctly
(5) Check the settings of the temperature controller that is not displayed in the [Network Structure] window (baud rate, data length, stop bit, parity, Unit number), configure it correctly, then re-upload (Perform step (2) from two pages ago). The [Network Structure] window is updated.
Now the correctly configured Unit is displayed and you can confirm that communications settings are correct.
Perform step (2) from two pages ago
(6) Move the cursor on E5CN of communications Unit number #002, then select [Start Special Application] > [Start with Setting Inherited].
Right-click on the communications Unit number #002 icon in the [Network Structure] window, then select [Start Special Application] > [Start with Setting Inherited]
(6) Dedicated Support Software CX-Thermo is started with the same model and setting as that of the temperature controller. After parameter settings are finished, download the settings to the E5CN of communications Unit number #002.
After parameter settings are finished, select [Communications] > [Download to Device], then select either [Download all], [Download Changed Parameters], or [Download Changed from Default]
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-14
Save the system configuration for inspection after delivery.
(1) Connect online to a PLC on a network. The online connection information window is displayed.
Select [Serial Port] > [NT Link]
Saving System Configuration (1)Saving Syste Configuration (1)
All communications Units and ports of a connected PLC are automatically displayed in the online connection information window. From this window, connect to each network and save the configuration to a project file.
All communications Units and ports of a connected PLC are automatically displayed in the online connection information window. From this window, connect to each network and save the configuration to a project file.
(2) Send the network Structure of DeviceNet to the personal computer. Connect to DeviceNet from the online connection information window. After connection is established, send the network Structure of DeviceNet to the personal computer.Move the cursor on the
DeviceNet and right-click
Select [Transfer [Network to PC]]
Select [Connect]
(3) Send the network configuration of NT Link to the personal computer. Select the connection menu on the CPU port, then select upper link port and NT Link. Next, select the transmission menu on the CPU port.
Select [Transfer [Network to PC]]
Select [Connect]
(4) Send the Controller Link network configuration to the personal computer. Connect to the Controller Link network. After connection is established, send the network configuration to the personal computer.
Select [Transfer [Network to PC]]
Select [Connect]
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-15
Select [Change connection to this PLC]
Select [Save As]
Saving System Configuration (2)Saving Syste Configuration (2)
(5) Connect to a PLC on the Controller Link network.
Select a remote PLC on the Controller Link network configuration screen (a PLC without a square symbol) to switch the connection destination to the PLC. Destination PLC communication device configuration is displayed in the online connection information window.
A Green frame is displayed on the specified remote PLC.
A Green frame is displayed on the specified remote PLC.
Select [Transfer [Network to PC]]
Select [Connect]
All communications Units and ports are also displayed in the online connection information window.
All communications Units and ports are also displayed in the online connection information window.
(6) Send the DeviceNet network configuration on the remote PLC.
Connect to DeviceNet from the online connection information window and send the network configuration to the personal computer.
(7) Send the DeviceNet network configuration on another remote PLC.
Repeat the steps from (6) and (7). After transmission, all the networks sent to the workspace are displayed.
(8) Save all the configurations.
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-16
Select [Compare]
Click [Close]
Click [OK]
System Configuration Verification (1)Syste Configuration Verification (1)
Confirm that the System has the same wiring and settings as before disassembly.
CX-Integrator verification is complete.
Confirm that the System has the same wiring and settings as before disassembly.
CX-Integrator verification is complete.
(1) Connect online to a PLC on a network.
The online connection information window is displayed.
All communications Units and ports of a connected PLC are automatically displayed in the online connection information window.
All communications Units and ports of a connected PLC are automatically displayed in the online connection information window.
(2) Verify the DeviceNet network configuration.
Connect to a target DeviceNet from the workspace and verify the network Structure.
(3) Any error found in the configuration verification will be displayed in the verification result dialog box.
If you find a Slave that is not on the network, you may have incorrect wiring in the network.
If you find a Slave that is not on the network, you may have incorrect wiring in the network.
(4) After solving the error, verify the configuration again.
A message is displayed indicating verification matching and now it can be confirmed that the configuration is the same as that before disassembly.
A message is displayed indicating verification matching and now it can be confirmed that the configuration is the same as that before disassembly.
Select [Connect]
PLC Network Start-Up
NT Link Start-Up
Controller Link
Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-17
Select [Connect]
Select [Change connection to this PLC]
System Configuration Verification (2)Syste Configuration Verification (2)
(5) Verify the NT Link network. Connect to the NT Link from the workspace and verify the network configuration. Confirm that the same verification matching message is displayed as in step (4).
(6) Verify the Controller Link network. Connect to DeviceNet from the online connection information window and verify the network Structure. Confirm that the same verification matching message is displayed as in step (4).
(7) Connect to a PLC on the Controller Link network. Connect to a remote PLC using the same procedure as the step (5) for saving a System configuration. Use steps from (2) to (4) to verify the DeviceNet network.
(8) Verify the DeviceNet configuration on another remote PLC. Use the same procedure as step (2) for Network N4 to verify the network Structure.
Select [Compare]
Select [Connect]
Select [Compare]
Select [Connect]
Select [Compare]
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-18
Controller Link DiagnosisController Link Diagnosis
Confirm that the Controller Link connection is correct with an upper level System.
Diagnosis result check OK
Confirm that the Controller Link connection is correct with an upper level System.
Diagnosis result check OK
(1) Connect to PLC online, then connect to Controller Link Unit through the online connection information window.
(2) Next, select the Controller Link network tool.
Right-click a Controller Link Unit under Target PLC in the online connection information window, then select [Connect]
NT Link Start-Up
Controller Link
Start-Up
PLC Network Start-Up
Saving System Config.
System Config.
Verification
Controller Link
Diagnosis
Equipment Disassy / Reassy
CompoWay /F Start-Up
PLC Start-Up
DeviceNet Start-Up
3-19
Right-click a CompoNet Master Unit under a connection target PLC in the online connection information window, then select [Connect]
Checking CompoNet NetworkChecking Co poNet Net ork
Checking CompoNet
Network
On-site Network Check
(1) Connect to PLC online, then connect to a CompoNet through the online connection information window.
Remove CompoNet communications errors and establish communications. Check the Slave status monitor from Master Unit.
(2) Transfer the CompoNet network configuration to the personal computer.
(3) Select [Master only (including parameters)], then click [Transfer] button.
The Master Unit is displayed in the network configuration window.
3-20
Right-click on the Master Unit icon and select [Monitor] to display the device monitor screen. Select [Status] tab
Checking CompoNet
Network
If any unit is missing or communication errors are detected, check the wiring and DIP switch settings of the applicable units to solve the problems.
(6) Repeat the steps (2) and (3) to confirm that the CompoNet network is functioning properly.
(4) Monitor a component.
The monitor window is displayed.
(5) Click [Slave Status] tab to check the status of Slave Units.
An error is detected in the Slave Units indicated in red.
On-site Network Check
3-21
Right-click on 3G3MV- PDRT2 and select [Start Special Application]
Setup Drives on DeviceNet and start CX-Drive on CX-Integrator window. An example of 3G3MV-PDRT2 is shown below.
Starting CX-Drive via DeviceNetStarting CX-Drive via DeviceNet
Select [Start with Setting Inherited]
DeviceNet Connection
RS232C Connection
Servo/Inverter Settings
When opening a stored data file after starting the dedicated tool, select [Start Only]. If [Start with Setting Inherited] is selected, new data is created.
Select Settings to set detailed Inverter specifications.
CX-Drive starts and Inverter property settings are shown
Save data
If more than one drive setting data is edited, drive data is saved by drive type and a total overview is saved in a work file.
Click and save the data.
3-22
From the [Start] menu, select [Programs] > [OMRON] > [CX-One] > [CX-Drive] > [CX-Drive] to start CX-Drive when you connect Servo or Inverter with serial connection to your computer.
Connecting a Servo or Inverter to a Personal Computer Serially.Connecting a Servo or Inverter to a Personal Co puter Serially.
Set communication Specifications
DeviceNet Connection
RS232C Connection
Servo/Inverter Settings
To execute Autodetect, select [Settings] and define the search conditions
Save data
Select [File] > [New] to create new data if the drive specifications are known. If the drive is already connected, select [Driver] > [A