OMRON CX-Supervisor User Manual

Cat No. W08E-EN-06
Software
CX-Supervisor
Software Release 4.0
Getting Started
Trademarks and copyrights Notice

Notice

The following conventions are used to classify and explain the precautions in this manual. Always heed the information provided with them.
Note: Indicates information of particular interest for efficient and convenient
operation of the product.
Caution:
Indicates information that, if not heeded, could possibly result in minor or relatively serious injury, damage to the product, or faulty operation.
Warning:
Indicates information that, if not heeded, could possibly result in serious injury or loss of life.

Trademarks and copyrights

CX-Supervisor is a registered trademark of OMRON. All other product names, company names, logos or other designations
mentioned herein are trademarks of their respective owners.

Copyright

Copyright © 2020 OMRON All rights reserved. No part of this publication may be reproduced, stored in a
retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
1
Copyright Notice
2
Table of Contents
Notice ................................................................................................1
Trademarks and copyrights.................................................................................................................. 1
Copyright.............................................................................................................................................. 1
SECTION 1
Introduction ......................................................................................5
1-1 Welcome to CX-Supervisor .................................................................................................................. 5
1-2 About this Manual ................................................................................................................................ 6
1-3 System Requirements.......................................................................................................................... 6
1-3-1 Hardware Requirements ......................................................................................................... 6
1-3-2 Operating Systems and Environments ................................................................................... 6
1-3-3 Interfaces to Hardware Communications................................................................................ 7
1-4 Copy Protection.................................................................................................................................... 7
1-4-1 Copy Protection using a USB Dongle .....................................................................................7
1-5 Starting CX-Supervisor ........................................................................................................................ 8
1-6 Customising CX-Supervisor Settings ...................................................................................................9
1-7 The CX-Supervisor Help System .........................................................................................................9
SECTION 2
Basic Tutorial .................................................................................11
2-1 Introduction ........................................................................................................................................ 11
2-2 The First Step..................................................................................................................................... 11
2-3 CX-Supervisor Projects...................................................................................................................... 12
2-4 CX-Supervisor Pages......................................................................................................................... 13
2-5 Using the Graphics Editor ..................................................................................................................13
2-5-1 Adding a Point....................................................................................................................... 15
2-5-2 Adding the toggle button ....................................................................................................... 16
2-5-3 Animation .............................................................................................................................. 17
2-5-4 Testing the Project ................................................................................................................ 18
2-6 Refining the Project............................................................................................................................18
SECTION 3
Advanced Tutorial..........................................................................21
3-1 Coffee Machine scenario ................................................................................................................... 21
3-1-1 Getting Started...................................................................................................................... 21
3-1-2 Project Editor ........................................................................................................................ 21
3-1-3 Graphics Pages .................................................................................................................... 21
3-1-4 Graphics Library.................................................................................................................... 23
3-1-5 Animation .............................................................................................................................. 24
3-1-6 Scripts ................................................................................................................................... 26
3-1-7 Recipes ................................................................................................................................. 28
3-1-8 Alarms................................................................................................................................... 29
3-1-9 Graphs and Charts................................................................................................................ 30
3-1-10 Data Logging......................................................................................................................... 31
3-1-11 File Handling ......................................................................................................................... 32
3
Table of Contents
3-1-12 Report Generation ................................................................................................................ 33
3-1-13 Database Access.................................................................................................................. 34
3-1-14 Security................................................................................................................................. 36
Appendix A
Glossary..........................................................................................39
Revision history .............................................................................43
4
Welcome to CX-Supervisor SECTION 1 Introduction
SECTION 1

Introduction

This chapter introduces the CX-Supervisor application to a new user.

1-1 Welcome to CX-Supervisor

CX-Supervisor is dedicated to the design and operation of PC based visualisation and machine control. It is not only simple to use for small supervisory and control tasks, but it also offers a wealth of power for the design of the most sophisticated applications. CX-Supervisor boasts powerful functions for a wide range of PC based HMI requirements. Simple applications can be created rapidly with the aid of a large number of predefined functions and libraries, and even very complex applications can be generated with VBScript. CX-Supervisor has an extremely simple, intuitive handling and high user friendliness. Importing ActiveX® components makes it possible to create flexible applications and extend functionality.
CX-Supervisor offers a comprehensive range of facilities for the developer and is capable of developing solutions with the following features:
Operator interface to processes
Data acquisition and monitoring
Information management
Manufacturing control
Supervisory control
Batch sequencing
Continuous process control
Alarm monitoring and reporting
Material handling (monitoring and control)
Simulation and modelling through graphic animation
Data Logging
Error logging
Project Editor and cross referencing
Multi-lingual user interfaces
Report editor
Database Connectivity
Connection to OPC Servers
Use of ActiveX objects
Use of Visual Basic script
CX-Supervisor runs on standard PC desktop computers running Microsoft Windows. CX-Supervisor is intuitive and easy to use, and allows the developer to rapidly configure, test and debug a project. CX-Supervisor comprises two separate executable Windows programs, CX-Supervisor Development environment and CX-Supervisor Runtime environment. Applications are created and tested using the development environment and then delivered as a final customer application with the runtime environment.
The runtime-only environment may only be used for executing an application previously generated using the development environment. It is not possible to generate a new runtime application using the runtime environment.
5
About this Manual SECTION 1 Introduction
Note: It is important that this copy of the CX-Supervisor software is registered on the
OMRON web site, in order to qualify for technical support and maintenance updates. OMRON will not be able to help unless this copy has been registered.

1-2 About this Manual

This manual helps a new user get started with CX-Supervisor, by describing the software installation and computer configuration, and by leading the user through the basics of CX-Supervisor application programming.
Separate OMRON manuals describe the related software products; CX­Server, CX-Programmer etc.
Some small example applications are included with the CX-Supervisor software to demonstrate some of the most useful features. These can be used to help with product familiarity.
CX-Supervisor comes with a comprehensive context-sensitive on-line help system, which is designed to complement this manual, and provide a quick reference at any point in the CX-Supervisor application when the manual is not to hand. This general help system uses a fast 'hypertext' system that allows progressively more information to be obtained about any topic by selecting keywords within the descriptive text.
Throughout this manual, it is assumed that the user has a working knowledge of Microsoft Windows, and can:
"Use the keyboard and mouse.
"Select options from Windows menus.
"Operate dialog boxes.
"Locate, open and save data files.
"Edit, cut and paste text.
"Drag and drop.
"Start programs from the "START" button.
If Windows has not been used before, spending some time working with the Microsoft documentation is recommended before using CX-Supervisor.
This introductory chapter deals with several important aspects of installing CX­Supervisor and setting it up for use. It is recommended that this entire chapter be read before installing the software.

1-3 System Requirements

CX-Supervisor operates on the following hardware and operating systems:
1-3-1 Hardware Requirements
The following configuration is the minimum system requirements for running CX-Supervisor:
IBM PC compatible 1 GHz MHz Pentium II processor or better.
1GB of RAM minimum.
2.5GB available hard disk space.
1024 x 768 XGA display.
A DVD drive is required in order to install the CX-Supervisor software.
Note: These are requirements when using minimum operating system. For other
operating systems consult your documentation.
1-3-2 Operating Systems and Environments
The operating systems on which this software should be run are:
6
Copy Protection SECTION 1 Introduction
Microsoft Windows 10 (32bit & 64bit Pro, Enterprise and IoT Enterprise editions)
Microsoft Windows 8,8.1 (32bit & 64bit)
Microsoft Windows 7 (32bit & 64bit)
Note: Windows Home, Mobile, IoT Core and IoT Mobile Enterprise editions are not
Note: This product does not install or run on Windows Vista, Windows XP, Windows
Note: CX-Supervisor is not guaranteed to be compatible with computers running
Note: Internet Explorer 5.0 or later is required to use the version of CX-Server
supported.
NT, Windows ME, Windows95, Windows 98 or Windows2000.
Windows emulation (e.g. Apple Macintosh or VMWare).
installed with this product.
1-3-3 Interfaces to Hardware Communications
CX-Supervisor utilises communications drivers CX-Server, SYSMAC Gateway and FINS Gateway for communication with OMRON factory automation equipment.
If it is intended for a PLC to be connected to the development computer for executing program code and testing, one of the following is required:
Ethernet/IP
Standard USB port
RS-232C connection via a standard serial port on the computer (COM1 etc.)
RS-422 connection to a 422 serial board
Standard Ethernet board
Standard USB port
An OMRON Network Service Board
Refer to the appropriate hardware system manuals for full information about connecting and configuring these devices for the environment.

1-4 Copy Protection

CX-Supervisor is copy protected to prevent illegal use. During installation a valid License Number must be entered. The CX-Supervisor Runtime environment has additional protection and if the protection is not installed certain features are inaccessible. To gain access to these features the USB protection must be installed.
1-4-1 Copy Protection using a USB Dongle
The Runtime copy protection method uses a "Dongle" which is plugged into a USB port. When CX-Supervisor is run the port is checked for a valid dongle and the program fails if it is not present.
1-4-1-1 Fitting a CX-Supervisor USB Dongle
Simply connect the dongle to any spare USB port of the computer noting any instructions supplied. If there are no spare sockets a "USB Hub" device may be used to add extra sockets.
Once fitted, Windows will automatically detect the new hardware and the power light on the USB Dongle will illuminate.
7
Starting CX-Supervisor SECTION 1 Introduction
Note: Old 'USB Dongles' from version 1.3 cannot be used with this version. The
Runtime can only be activated with a USB Dongle which is clearly identified as either 'Machine Edition' dongle or 'PLUS' dongle. A 'Machine Edition' dongle will only allow projects compiled for 'Machine Edition' to run. A 'PLUS' dongle will allow both 'Machine Edition' and 'PLUS' projects to run.
Feature Machine Edition PLUS
ActiveX Yes Yes
VBScript Yes Yes
Recipes Yes Yes
Alarms 300 5000
Animations Yes Yes
Max no. Devices (PLCs etc.)
OPC Connections Yes Yes
Max user defined Points 500 8000
Max Regular Interval Scripts
Max no. Pages 100 500
Supported Databases MS Access SQL, ODBC, MS Access, MS
15 256
10 100
1-4-1-2 Activating a CX-Supervisor USB Dongle
The USB Dongle should not require any additional activation. The CX­Supervisor installation process should correctly install and configure the required USB Dongle drivers, which should be automatically loaded when the USB Dongle is fitted as above.
In exceptional circumstances, the CX-Supervisor USB Dongle Drivers can be installed manually if required. The USB Dongle Driver installation shortcut can be started from the Start button, and can be found under the Omron CX­Supervisor groups.

1-5 Starting CX-Supervisor

After the software installation the All Apps/All Programs option from the Start button shows a new group window for Omron CX-Supervisor. The software is ready to run and can be started by clicking on the CX-Supervisor Developer icon.
When CX-Supervisor Developer is started and a new Project created, it displays a window similar to the one shown below. When launched automatically from the installation, the Engine demo is automatically loaded, and by default when started thereafter the last loaded project is automatically loaded. The CX-Supervisor window offers many features to ease the process of programming, using the mouse or keyboard or both. It is possible to configure the display for any size monitor so that as much or as little information is visible as required, using options from the View menu. Any display configuration changes are saved in the Windows environment, and restored next time CX-Supervisor is run.
Use this section to become familiar with the layout of the CX-Supervisor display, and to set it up as desired.
Excel, dBase, CSV
8
Customising CX-Supervisor Settings SECTION 1 Introduction
CX-Supervisor Developer

1-6 Customising CX-Supervisor Settings

By default CX-Supervisor shows the Workspace, Output view, Toolbar, Control bar and Status bar. The display of these can be selected by activating the options from the View menu.
To display a toolbar, Window or the palette toolbox, click on the menu item with the mouse. A tick next to a name indicates that it is currently displayed. CX­Supervisor saves the settings when it is exited and restores them when it is next executed.

1-7 The CX-Supervisor Help System

CX-Supervisor comes with a detailed context-sensitive help system: at any time while using the software, help can be obtained on the particular point currently being worked on, or on general aspects of CX-Supervisor. This system is intended to complement the manual, by providing on-line reference to specific functions of the software and how to use them.
There are three types of CX-Supervisor help: index, context sensitive help and status bar help. An index of help topics can be accessed at any time by clicking Index from the Help menu. Instructions on how to use help can be accessed by clicking Using Help from the Help menu.
Alternatively, help on the topic currently in use can be obtained by pressing <F1>. Some dialogs also provide a Help button.
At the bottom of the CX-Supervisor screen is a general status bar, which provides several helpful pieces of information as the mouse is moved over display components.
9
The CX-Supervisor Help System SECTION 1 Introduction
Status Bar
CX-Supervisor also includes "point and click" help. To use this facility click on the icon. The cursor changes to an arrow with a question mark next to it. Use this cursor to point at any menu item or button on the display, and then click. Context-sensitive help for that item is then displayed.
General information regarding CX-Supervisor can be obtained by selecting About CX-Supervisor from the Help menu.
10
Introduction SECTION 2 Basic Tutorial
SECTION 2

Basic Tutorial

This chapter illustrates how to create a simple application using CX­Supervisor. It should only take about 20 minutes and should explain some key concepts:
The difference between the Development and Runtime applications.
The system is wholly controlled by data in the points, whether in memory or from a PLC
Controls can set the data
Graphical controls use Animations to control how the data is displayed

2-1 Introduction

This chapter describes how a simple traffic signal is drawn using the Graphics Editor and how it is animated via the Animation Editor so that it changes colour just as if it were a real traffic signal controlling a road or rail junction.
As the first tutorial proceeds, important concepts about CX-Supervisor are introduced by this symbol.
By the end of this tutorial, sufficient understanding of CX-Supervisor should have been gained to allow progression to the second, more advanced tutorial which demonstrates some of the more popular key features.
Note: CX-Supervisor uses standard Microsoft Windows dialogs and conventions
wherever possible so that experienced Windows users should immediately feel comfortable. Inexperienced Windows users should refer to standard Windows documentation.

2-2 The First Step

Before the tutorial can be started, the development version of CX-Supervisor must be installed on a suitable machine, as described earlier in this manual. When this has been done, invoke CX-Supervisor Development from the Start button.
When CX-Supervisor has initialised, the main screen is displayed as shown (or similar):
11
CX-Supervisor Projects SECTION 2 Basic Tutorial

2-3 CX-Supervisor Projects

A project is the set of objects associated with one application. This includes Pages, Graphics, Reports, Alarms, Animations, Point configuration, Point values, Recipes and all other information.
Only one project can be opened by one application at a time. A project must be created in which to conduct the tutorial; for simplicity, a
separate sub-directory should be created for each project.
1, 2, 3… 1. From the File menu, select New Project Machine Edition project.
CX-Supervisor
12
2. Enter the project name as "Tutor".
CX-Supervisor Pages SECTION 2 Basic Tutorial
3. Use the New Project Folder: field to determine the path to the new project directory (for example, there could be a directory path similar to "C:\Program Files\Omron\CX-Supervisor" on the machine).
4. Specify the name of the new sub-directory that CX-Supervisor is to create; for example, "tutorial".
5. Click on the OK button. A project called "tutor" and the specified sub­directory is created by CX-Supervisor. The project file is actually called "tutor.scs".
A blank page is displayed on the screen. If a blank page is not displayed, click the button from the toolbar, or from the File menu, select New Page.

2-4 CX-Supervisor Pages

A CX-Supervisor project usually consists of a number of separate pages. Each page normally presents information relating to one particular topic, process, or activity. The application designer uses the facilities of the graphics editor to draw and animate objects on the page.
This tutor project consists of only one page.
1, 2, 3… 1. from the File menu, select Save As… and name the page as "tutor.pag".
2. When prompted to add the page to the project, click the Yes button An empty page is displayed.

2-5 Using the Graphics Editor

Now that the project exists with its own page, the graphic objects can be constructed and added to the page.
The graphics editor contains Graphic Object Bar, Control Bar and Palette toolbars that provide the majority of the tools needed to construct and control objects on the page. They are reflected in the following image and are very easy to use.
13
Loading...
+ 32 hidden pages