Omron CX-DESIGNER INTRODUCTION GUIDE

General Precautions
The user must operate each product according to the performance specifications described in the operation manuals. Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative. Make sure that the ratings and performance characteristic of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms. This manual provides information for using the programmable terminal model NS12. Be sure to read this manual before attempting to use the software and keep this manual close at hand for reference during operation.
Contents
Section1. Operation Flow
Operation Flow
Section2. CX-Designer
1. Preparations and settings
2. Starting up the CX-Designer
3. Creating a new project
4. Setting project properties
5. Communications settings
6. System settings
7. Saving a project
8. Screen properties
9. Displaying a text
10.ON/OFF Button
11.Repeat function 11-1 Repeat function (Button) 11-2 Repeat function (Text)
12. Bit Lamp
13. Adding a screen
14. Frame
15. Numeral Display & Input
16. Macro
17. Alarm/Event Display
18. Alarm/Event Summary & History
19. Pop-up Screen
20. Sheet
21. Word Button/Command Button
22. Creating another language label 22-1 Creating a Dutch label 22-2 Alarm/Event settings in Dutch
23. Useful functions 23-1 Find (Address) 23-2 Find (Label) 23-3 Select Object 23-4 Reuse of screen (by copying)
24.Test function
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 48
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 63
21-1 Switch label button 21-2 Switch screen button
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 2
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 10
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 11
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 12
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 14
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 15
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 17
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 18
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 19
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 22
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 24
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 26
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 30
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 35
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 37
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 46
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 50
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 55
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 56
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 64
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 66
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 71
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 78
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 81
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 83
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 84
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 85
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 87
Section3.Transferring project data
1.Transferring project data via serial cable (RS232C)
2.Transfer project data using a memory card
•••••••••••••••••••••••••••••••••••••••••••••••••• 92
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 95
Operation Flow
CX-Designer
CX-Designer
Installing CX-Designer to a
personal computer
Starting up the CX-
Starting up the CX-
Designer
Designer
Creating a screen
Creating a screen
Setting Project
Properties
Entering project title and labels
System Setting
Allocate system memory, set communication port etc...
NS8-V1
NS8-V1
Mount NS on
the control panel
Refer to NS Setup Manual
Connecting power supply/
communication cable
Refer to NS Setup Manual
Power ON
System Menu Setting
System Menu Setting
Host side (PLC)
Host side (PLC)
Setting communication
Setting communication
port
port
Refer to NS Setup Manual
Creating Ladder program
Power ON
Creating a Screen
Data
Creating lamp, touch switch, numeral display and graph etc...
Test/ Validation
Checking errors on the CX­Designer
Transferring the screen data to NS Hardware
Transferring the screen data to NS Hardware
Start Operation
Start Operation
Maintenance and Inspection
Maintenance and Inspection
*A screen image depends on a CX-Designer system version; when you use a different system version from the one used in this manual, the screen image may not be the same.
*Certain settings depend on the hardware that you use. In this manual, NS8-V1 is used to create screens.
Start up
CX-D
1. Preparations and settings
1. Preparations and settings
Creating a
new project
Introduction
Introduction
This manual describes how to use the CX-Designer and its functions with a visual assistance in creating sample screens.
Necessary Equipment
Necessary Equipment
Item
- CX-Designer
-NS Hardware
-PLC
- NS Hardware – PC Serial communication cable
- NS Hardware – PLC Serial communication cable
-PC
Configuration &
Configuration &
Communication Settings
Communication Settings
PLC
Project
property
System
setting
NS hardware
Creating
Validation
a screen
Model
NS-CXDC1-V[]
- NS8-TV1[](B)-V1
- CS Series, CJ Series
- XW2Z-S002
- XW2Z-200T
- Widows PC on which CX-Designer performs
PC
Transferring
a project
RS232C Port
Serial
NS Hardware
- Serial Port A NT Link (1:N), No. of units: 0, Communication Speed: High-speed
Serial Port B Setting is not necessary
PLC
- Host Link Port Communication Speed: High-speed NT Link, Communication Mode: NT Link (1:N), NT Link Max. No. of units: 1 
Allocation Address
Allocation Address
The following PLC allocation addresses are used for sample screens shown in this manual.
Address
Power 1 Running / Stopped00000.00 Power 2 Running / Stopped00000.01 Power 3 Running / Stopped00000.02 Power 4 Running / Stopped00000.03 Power 5 Running / Stopped00000.04 Power 6 Running / Stopped00000.05
Address
Present valueDM100
DescriptionAllocation
DescriptionAllocation
Port A
Serial Port B
COM Port
DescriptionAllocation Address Alarm 1 Occurred / Released00001.00 Alarm 2 Occurred / Released00001.01 Alarm 3 Occurred / Released00001.02 Alarm 4 Occurred / Released00001.03 Alarm 5 Occurred / Released00001.04 Alarm 6 Occurred / Released00001.05 Alarm 7 Occurred / Released00002.00 Alarm 8 Occurred / Released00002.01 Alarm 9 Occurred / Released00002.02 Alarm 10 Occurred / Released00002.03 Alarm 11 Occurred / Released00002.04 Alarm 12 Occurred / Released00002.05
Start up
CX-D
Creating a
new project
Sample Screen
Sample Screen
Project
property
System
setting
Creating
a screen
Validation
Create 5 screens using the CX-Designer. All screens are designed to display labels in two languages (English/Dutch) with “Switch Label” function.
Screen 1
Screen 1
Here, you will create a screen that turns ON/OFF specified addresses of the PLC. On the screen 1, lamps (bit lamp) are lit/out according to the status of bits allocated to the PLC. The screen below illustrates an example of a touch panel screen used to operate a machinery.
Transferring
a project
ON/OFF Button
1. ON/OFF Button Press the button to switch ON/OFF status.
2. Operational Status Display “RUN/STOP” lamp is lit/out in linked with the status of an ON/OFF button.
Operational Status Display
Start up
CX-D
Creating a
new project
Screen 2
Screen 2
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
On Screen 2, you will create a screen with 2 functions: one is a frame where more than one small screens are displayed by switching a tab; the other is to write values to memories in the PLC.
Alarm Display
1. Alarm Display Is used to switch a Low Alarm Display and a High Alarm Display by pressing the tab of the Frame function.
Alarm lamps are respectively allocated to bits of the PLC as shown in the table on page 4.
2. Present Value / Set Value An object that displays the numeral value of an address is used to show the content of the PLC memory as a present value.
3. Set Value/Transfer Button Numeral Display & Input object lets the user to enter numeral values. In this manual, you will create a screen where values entered by the user are saved in the NS’s internal memory area and be transferred to the PLC memory areas by pressing the Transfer button.
Present Value / Set Value
Transfer Button
Start up
CX-D
Creating a
new project
Screen 3
Screen 3
Project
property
System
setting
Creating
a screen
Validation
Transferring
NS has a function that shows the ON/OFF status of a specified bit as an alarm history. On screen 3, you will generate a virtual alarm on the pop-up screen (described later) and display its history.
a project
Alarm History
Latest Alarm
1. Alarm History Displays a virtual alarm history that was occurred and cancelled on the pop-up screen.
2. Latest Alarm Displays the latest virtual alarm that has occurred on the pop-up screen.
Start up
CX-D
Creating a
new project
Sheet 1
Sheet 1
Project
property
System
setting
Creating
a screen
Validation
A sheet is a screen that contains objects commonly used on several screens. In this manual, you will create a sheet with a “Switch Label” function to switch labels between English and Dutch, a function to display a screen (to be described later) for generating a virtual alarm, and a function to switch screens.
Transferring
a project
Switch Label Button
Virtual Alarm
Screen Switch Buttons
Display Button
1. Switch Label Button Press this button to show a pop-up menu from which you can switch a label in English and Dutch.
2. Virtual Alarm Display Button Press this button to display the pop-up screen (to be described later) with a Virtual Alarm Display button.
3. Screen Switch Button Press a button to display the screen number (1 to 3) shown on the button .
Start up
CX-D
Creating a
new project
Pop-up Screen
Pop-up Screen
Project
property
System
setting
Creating
a screen
Validation
Transferring
A pop-up screen is a small screen that can be displayed as needed on top of another screen. You will create a pop-up screen that turns ON/OFF the PLC allocation addresses 00001.00 to 0001.05, and 00002.00 to 0002.05 and generate/cancel virtual alarms.
a project
Low Alarm buttons
Close button High Alarm button
1. Low Alarm button Press this button to switch ON/OFF (Occurrence/Recovery).
2. High Alarm button Press this button to switch ON/OFF (Occurrence/Recovery).
3. Close button Closes the pop-up screen.
Start up
CX-D
2. Starting up the CX-Designer
2. Starting up the CX-Designer
Select [Start]-[Program]­[Omron]-[CX-One]
-[CX-Designer]
-[CX-Designer Ver. xx] (CX-Designer Ver. 1.0 is used here.)
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
When the CX-Designer is started up, the main window will appear.
Start up
CX-D
3. Creating a new project
3. Creating a new project
Creating a
new project
Click [New project] button on the CX-Designer.
Left-click the icon
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
Set as follow: [Model name]
NS8-TS1[]-V1
[System Version]
System Ver.6.2 (* Note)
[Project Title]
Enter a title.
“Test Program” is entered here. [File Name]
Enter a file name.
“GUIDE” is entered here. [Location]
Specifies a location where the file is saved.
The file is saved in [C¥Documents and Settings¥kc¥Desktop¥Sam ple] here.
Click
* Note the following points when you enter the project name.
-A file name can be as long as 42 characters including extension (.IPP).
-A file name may use any number or letter, underscore(_), and dollar mark($).
If project name is not entered correctly( e.g. using wide size characters etc…)
the error occurs when transferring data.
It is now ready to create a screen.
Enter a title name. “Screen 1” is entered here.
Click
*System Ver.6.2 is used here. Select [System Version] according to yours
Start up
CX-D
4. Setting project properties
4. Setting project properties
Click the [System] tab in the project workspace.
Double-click [Project Property]
Creating a
new project
Making settings for a project data. In this section, you will make a project that is able to show two language labels – English and Dutch by switching them. Here, it is necessary to set a project property for a label switching function is required.
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
Click the [Switch Label] tab.
Set 2 for No. of Labels.
Set 0 to Label No. and enter English as a label name.
Set 1 to Label No. and enter Dutch as a label name.
Click
Start up
CX-D
Click [Yes]
Click [Yes to All]
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
Start up
CX-D
5 Communications settings
5 Communications settings
Click [System] in the Project Workspace.
Double-click [Comm. Setting].
Creating a
new project
Making communications settings for the NS hardware to connect with the PLC. In this manual, you will connect th e NS to the PLC thru Serial port A.
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
Click [Serial Port A] Set as follow: Serial Port
![PLC]
Host Name
![HOST1]
Protocol
![NT Link(1:N)]
Comm. Speed
![High-speed]
[Comm.-All], [Ethernet], [Controller Link] settings are not required.
Click
<Note>
You can make communication settings when creating a new project.
Click [Comm. Setting] in the New Project dialog box as described in 3 “Creating a new project”.
Start up
CX-D
6. System settings
6. System settings
Click [System] In the “Project Workspace”.
Double-click [System Setting].
Allocate a word to
Allocate a word to
the PLC for controlling
the PLC for controlling
screen No.
screen No.
Creating a
new project
Project
property
Allocating NS system memory areas to the PLC. System memory area is memory area that is used to control the NS from the host (PLC) or to notify operation status from the NS to the host. In this manual, you will allocate system memory areas to the PLC.
System
setting
Creating
a screen
Validation
Transferring
a project
Click the [Initial] tab
Click
Set as follow: Host name
! [HOST 1]
Word
! “0”
Area Type
! [Data Memory (DM)]
Set address in the same way as [Set(1)]
Complete
Host name
! [HOST 1]
Word
! “10”
Area Type
! [Data Memory (DM)]
With this setting, a present
With this setting, a present
value of DM0010CH is shown
value of DM0010CH is shown
on the PT.
on the PT.
Start up
CX-D
Creating a
new project
<Note>
You can make system settings when creating a new project.
Click [System Setting] in the New Project dialog box as described in 3 “Creating a new project”.
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
Start up
CX-D
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
7. Saving a project
7. Saving a project
Click the icon.
Saving a whole project. In this manual, you will save the project’s system settings and screens/sheets all together.
<Note>
We recommend to save projects and screens frequently.
Start up
CX-D
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
8. Screen properties
8. Screen properties
Click the [Screen/Sheet] tab in the project workspace.
Right-click the [0000: Screen Page 1] to display the menu.
Click [Screen Property] on the menu.
The screen property dialog appears.
Click the [Background/Other] tab.
Click to display the color selection dialog and select a background color.
Making basic settings when creating a new screen. In this manual, you will change the screen background color.
Click
Completed image
Start up
CX-D
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
9. Displaying a text
9. Displaying a text
Click the [Text] icon
on the list.
Drag & drop the mouse on the editing screen till you get the size you want. (The size and position of the object can be changed later.)
Creating a text object on the screen. A text object is used to display a fixed character string. In this manual, it is used for a string character that displays a screen title or item name and does not have a special function.
A new text object is created as shown on the right.
Start up
CX-D
The property list is displayed by clicking the text object to display.
Click the property list and set as follow:
Text tab [Label]
! “Screen1”
Vertical position
![Center]
Horizontal position
![Center]
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
Select a color.
Start up
CX-D
Click
to switch to the [Dutch] label.
Set the following items on the property list.
Text tab [Label]
! “Screen 1”
[Horizontal Position]
! “Center”
Click the [General] tab on the property list.
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
Click the [Background Color] and select a color.
Select the [Layout/Frame] tab.
Check “Three-dimensional Frame” check box.
Set “2” to [Size].
Click
to switch back to the [English] label.
Completed image
Start up
CX-D
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
10. ON/OFF Button
10. ON/OFF Button
Create a text object by referring to a “Display a Text”.
Click the [ON/OFF] icon
on the list.
Creating a ON/OFF button on the screen. ON/OFF Button has a function that goes ON/OFF according to the ON/OFF states of specified address (bit) by operation such as touch switch input. In this manual, a button is used as ON/OFF button and Occurred/Cancelled button of virtual alarms.
Drag and drop a mouse to make a shape, same as performed for the text object on page 19.
Select the [General] tab.
Click [Type] and se lect “Select Shape (Type 1)”.
Click “Shape 1” and
Select “Parts List”
Start up
CX-D
Click
to display the [BMPfiles] pull-down menu.
Select “Switches-Toggle&Dip” in the BMPfiles.
Select the shape. Check [Pair].
Click
Click [Action] in the ON/OFF button property list and select [Alternate].
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
Click [Write Address] and
Set as follow: Host
! [HOST1]
Area
! [Common I/O Area (CIO)] Word
! [0] Bit
! [0]
Click
Then, complete.
Completed image.
Start up
CX-D
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
11.Repeat function
11.Repeat function
11-1 Repeat function
11-1 Repeat function
(Button)
(Button)
Right-click the created button.
Select [Repeat(R)] from the pop-up menu.
Set as follow: [Qty]
Horizontal ![1]
Vertical ! [5] [Spacing]
Horizontal ! [0]
Vertical ! [0]
Using a [Repeat] function to copy a object already created. In this manual, you will copy an ON/OFF button with [Repeat] function.
Select a repeat direction. Set 1 to [Offset Address].
Start up
CX-D
You can check an allocated address of a functional object (switch) from the [Property list].
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
<Note>
You can display and edit a list of allocated addresses by selecting ON/OFF button in the Edit Properties dialog box.
See “11-2. Repeat Function (Label)” for how to use “Edit Properties”.
Start up
CX-D
Creating a
new project
Project
property
System
setting
Creating
a screen
Validation
Transferring
a project
11-2 Repeat Function
11-2 Repeat Function
(Text)
(Text)
Add two more texts as shown on the right by referring to “9 Displaying a Text”.
Upper text [Label]
! “Label” Bottom text [Label]
! “Power Supply 1”
Right-click this button,
Using [Repeat] function to copy a text object to cr eate multiple objects. In this manual, you will copy a text object using this function.
then select [Repeat] from the pull-down menu.
Enter Qty: Horizontal
! [1]
Vertical
! [5]
Select a repeat direction
Click
Loading...
+ 74 hidden pages