OPTO 22 Mistic MMI User manual

Category
Software
Type
User manual
MMI USER’S GUIDE
Form 626-000107 — January, 2000
43044 Business Park Drive, Temecula, CA 92590-3614
Phone: 800-321-OPTO (6786) or 951-695-3000
Fax: 800-832-OPTO (6786) or 951-695-2712
www.opto22.com
Product Support Services:
800-TEK-OPTO (835-6786) or 951-695-3080
Fax: 951-695-3017
Web: support.opto22.com
Mistic MMI User’s Guideii
MMI User’s Guide
Form 626-000107— January, 2000
All rights reserved.
Printed in the United States of America.
The information in this manual has been checked carefully and is believed to be accurate; however, Opto 22 assumes
no responsibility for possible inaccuracies or omissions. Specifications are subject to change without notice.
Opto 22 warrants all of its products to be free from defects in material or workmanship for 30 months from the
manufacturing date code. This warranty is limited to the original cost of the unit only and does not cover
installation, labor, or any other contingent costs. Opto 22 I/O modules and solid-state relays with date codes of
1/96 or later are guaranteed for life. This lifetime warranty excludes reed relay, SNAP serial communication
modules, SNAP PID modules, and modules that contain mechanical contacts or switches. Opto 22 does not warrant
any product, components, or parts not manufactured by Opto 22; for these items, the warranty from the original
manufacturer applies. These products include, but are not limited to, the OptoTerminal-G70, OptoTerminal-G75,
and Sony Ericsson GT-48; see the product data sheet for specific warranty information. Refer to Opto 22 form
number 1042 for complete warranty information.
_______________________________________
Opto 22 FactoryFloor, Cyrano, Optomux, and Pamux are registered trademarks of Opto 22. Generation 4, ioControl,
ioDisplay, ioManager, ioProject, ioUtilities, mistic, Nvio, Nvio.net Web Portal, OptoConnect, OptoControl,
OptoDisplay, OptoENETSniff, OptoOPCServer, OptoScript, OptoServer, OptoTerminal, OptoUtilities, SNAP Ethernet I/O,
SNAP I/O, SNAP OEM I/O, SNAP Simple I/O, SNAP Ultimate I/O, and SNAP Wireless LAN I/O are trademarks of
Opto 22.
ActiveX, JScript, Microsoft, MS-DOS, VBScript, Visual Basic, Visual C++, and Windows are either registered
trademarks or trademarks of Microsoft Corporation in the United States and other countries. Linux is a registered
trademark of Linus Torvalds. Unicenter is a registered trademark of Computer Associates International, Inc. ARCNET
is a registered trademark of Datapoint Corporation. Modbus is a registered trademark of Schneider Electric.
Wiegand is a registered trademark of Sensor Engineering Corporation. Nokia, Nokia M2M Platform, Nokia M2M
Gateway Software, and Nokia 31 GSM Connectivity Terminal are trademarks or registered trademarks of Nokia
Corporation. Sony is a trademark of Sony Corporation. Ericsson is a trademark of Telefonaktiebolaget LM Ericsson.
All other brand or product names are trademarks or registered trademarks of their respective companies or
organizations.
Mistic MMI User’s Guide
TABLE OF CONTENTS
Chapter 1: Introduction ........................................................................... 1-1
Thank You .............................................................................................................................................. 1-1
Where Do I Start? ................................................................................................................................ 1-1
MMI Overview ...................................................................................................................................... 1-1
Conventions Used in This Manual ................................................................................................... 1-4
Chapter 2: Getting Started ...................................................................... 2-1
Overview ................................................................................................................................................ 2-1
System Requirements ......................................................................................................................... 2-1
Installation ............................................................................................................................................ 2-2
MMI Configurator Basics ................................................................................................................... 2-3
Selecting a Cyrano Strategy...................................................................................................... 2-3
Steps to Create Objects and Connect Them to Tags ............................................................ 2-3
Quick Start ............................................................................................................................................ 2-4
Verification Process ..................................................................................................................... 2-4
To Configure the Mistic MMI.................................................................................................... 2-5
To Run the Mistic MMI .............................................................................................................. 2-8
Chapter 3: Configurator Menus .............................................................. 3-1
Overview ................................................................................................................................................ 3-1
File Menu Items ................................................................................................................................... 3-1
New project (File Menu) ............................................................................................................ 3-1
Open Project (File Menu) ........................................................................................................... 3-2
Close Project (File Menu) ........................................................................................................... 3-2
Save Project (File Menu) ............................................................................................................ 3-2
Save Project As (File Menu) ....................................................................................................... 3-2
Project Path (File Menu) ............................................................................................................ 3-3
Choose Bitmap (File Menu) ....................................................................................................... 3-3
Save As Bitmap (File Menu) ...................................................................................................... 3-3
Change Printer (File Menu) ....................................................................................................... 3-3
Printer Setup (File Menu) .......................................................................................................... 3-3
Print (File Menu) .......................................................................................................................... 3-3
Exit MMI Configurator (File Menu) ......................................................................................... 3-4
iii
Mistic MMI User’s Guide
Edit Menu Items .................................................................................................................................. 3-5
Cut (Edit Menu)............................................................................................................................ 3-5
Copy (Edit Menu) ......................................................................................................................... 3-5
Paste (Edit Menu) ........................................................................................................................ 3-6
Delete (Edit Menu) ...................................................................................................................... 3-6
Duplicate (Edit Menu) ................................................................................................................ 3-6
Select All (Edit Menu) ................................................................................................................. 3-6
Bring To Front (Edit Menu) ........................................................................................................ 3-6
Send To Back (Edit Menu).......................................................................................................... 3-6
Align (Edit Menu) ........................................................................................................................ 3-7
Flip/Rotate (Edit Menu) .............................................................................................................. 3-9
Group (Edit Menu)....................................................................................................................... 3-12
Ungroup (Edit Menu) .................................................................................................................. 3-12
Copy To File (Edit Menu) ............................................................................................................ 3-13
Paste From File (Edit Menu) ...................................................................................................... 3-13
Edit Dynamic Attributes (Edit Menu) ...................................................................................... 3-13
Copy Dynamic Attributes (Edit Menu) .................................................................................... 3-13
Paste Dynamic Attributes (Edit Menu) ................................................................................... 3-13
Delete Dynamic Attributes (Edit Menu) ................................................................................. 3-14
Edit Object (Edit Menu) .............................................................................................................. 3-14
Tool Menu ............................................................................................................................................. 3-15
Select (Tool Menu) ....................................................................................................................... 3-15
Line (Tool Menu) .......................................................................................................................... 3-16
Rectangle (Tool Menu) ............................................................................................................... 3-17
Round Rectangle (Tool Menu) .................................................................................................. 3-17
Ellipse (Tool Menu) ...................................................................................................................... 3-18
Polygon (Tool Menu) ................................................................................................................... 3-19
Polyline (Tool Menu) ................................................................................................................... 3-19
Curve (Tool Menu) ....................................................................................................................... 3-20
Bitmap (Tool Menu) .................................................................................................................... 3-21
Text (Tool Menu) .......................................................................................................................... 3-21
Trend (Tool Menu Items) ............................................................................................................ 3-22
Style Menu ............................................................................................................................................ 3-23
Line Color (Style Menu).............................................................................................................. 3-23
Line Width (Style Menu) ............................................................................................................ 3-24
Line Style (Style Menu) .............................................................................................................. 3-24
Invisible .................................................................................................................................. 3-25
Fill Color (Style Menu) ................................................................................................................ 3-25
Fill Pattern (Style Menu) ............................................................................................................ 3-26
Opaque (Style Menu) .................................................................................................................. 3-27
Transparent (Style Menu)........................................................................................................... 3-27
TABLE OF CONTENTS
iv
Mistic MMI User’s Guide
View Menu Items ................................................................................................................................. 3-28
Hide Menu Bar (View Menu) .................................................................................................... 3-28
Hide\Show ToolBar (View Menu) ............................................................................................. 3-28
Hide\Show Coordinates (View Menu) ..................................................................................... 3-28
Grids (View Menu) ....................................................................................................................... 3-29
Hide\Show Grid (View Menu) ................................................................................................... 3-29
Turn Snap On\Off (View Menu) ................................................................................................ 3-29
Redraw (View Menu) .................................................................................................................. 3-29
Text Menu Items .................................................................................................................................. 3-30
Font (Text Menu) ......................................................................................................................... 3-30
Size (Text Menu) .......................................................................................................................... 3-31
Color (Text Menu) ........................................................................................................................ 3-32
Background (Text Menu) ........................................................................................................... 3-32
Text Type Face (Text Menu) ....................................................................................................... 3-33
Opaque (Text Menu) ................................................................................................................... 3-33
Transparent (Text Menu) ............................................................................................................ 3-34
Window Menu ..................................................................................................................................... 3-34
New (Window Menu) ................................................................................................................. 3-35
Open (Window Menu) ................................................................................................................ 3-35
Close (Window Menu) ................................................................................................................ 3-35
Copy (Window Menu) ................................................................................................................ 3-35
Delete (Window Menu) .............................................................................................................. 3-35
Properties (Window Menu) ....................................................................................................... 3-36
Open Window List (Window Menu) ........................................................................................ 3-36
Configure Menu Items ....................................................................................................................... 3-36
Mistic Controllers (Configure Menu) ...................................................................................... 3-36
Refresh Times (Configure Menu) ............................................................................................. 3-36
Historic Data Log (Configure Menu) ....................................................................................... 3-37
Event Log (Configure Menu) ..................................................................................................... 3-37
Applications (Configure Menu) ................................................................................................ 3-37
Sounds (Configure Menu) ......................................................................................................... 3-37
Window State (Configure Menu)............................................................................................. 3-37
Run Time (Configure Menu) ..................................................................................................... 3-37
Recipes (Configure Menu) ......................................................................................................... 3-38
Help Menu Items ................................................................................................................................. 3-38
Contents (Help Menu) ................................................................................................................ 3-38
Search for Help On (Help Menu) .............................................................................................. 3-38
How to Use Help (Help Menu) .................................................................................................. 3-38
About MMI Configurator (Help Menu) .................................................................................. 3-38
TABLE OF CONTENTS
v
Mistic MMI User’s Guide
TABLE OF CONTENTS
Chapter 4: Controller Configuration ....................................................... 4-1
Overview ................................................................................................................................................ 4-1
Controller Communication ............................................................................................................... 4-1
ARCnet ........................................................................................................................................... 4-1
RS-485 and Fiber Optics (AC37/AC42) ................................................................................... 4-3
Windows Communication Port / RS-232 .............................................................................. 4-3
Binary Serial Communications Mode ..................................................................................... 4-4
Modem ASCII Serial Communications Mode ........................................................................ 4-5
Comparing Binary with Modem ASCII Serial Communications ....................................... 4-5
MDS ................................................................................................................................................ 4-7
Dialog Boxes ......................................................................................................................................... 4-8
Controllers Dialog Box ................................................................................................................ 4-8
Controller Properties Dialog Box ............................................................................................. 4-9
ARCnet Port Dialog Box ............................................................................................................. 4-11
AC37/AC42 Port Dialog Box ...................................................................................................... 4-12
ISA Direct Dialog Box ................................................................................................................. 4-14
WIN COM PORT Dialog Box ...................................................................................................... 4-16
MDS Port Dialog Box .................................................................................................................. 4-18
Chapter 5: Scanning................................................................................. 5-1
Overview ................................................................................................................................................ 5-1
Windows ................................................................................................................................................ 5-1
Refresh Time Group ............................................................................................................................ 5-2
Scan Group ........................................................................................................................................... 5-2
Freshness ................................................................................................................................................ 5-2
Dialog Boxes ......................................................................................................................................... 5-3
Refresh Times Dialog Box .......................................................................................................... 5-3
Chapter 6: Draw Windows ....................................................................... 6-1
Overview ................................................................................................................................................ 6-1
Dialog Boxes ......................................................................................................................................... 6-1
Window Properties Dialog Box ................................................................................................ 6-1
Open Windows Dialog Box........................................................................................................ 6-3
Close Windows Dialog Box ........................................................................................................ 6-4
vi
Mistic MMI User’s Guide
Chapter 7: Graphics.................................................................................. 7-1
Overview ................................................................................................................................................ 7-1
Graphic Manipulation ........................................................................................................................ 7-1
Building Graphics ........................................................................................................................ 7-1
Selecting Graphics ....................................................................................................................... 7-1
De-selecting Graphics ................................................................................................................. 7-3
Sizing Handles .............................................................................................................................. 7-3
Moving Graphics.......................................................................................................................... 7-3
Setting Attributes ........................................................................................................................ 7-3
Grouping Objects ......................................................................................................................... 7-4
Graphic Order ............................................................................................................................... 7-4
Bitmaps .......................................................................................................................................... 7-5
Dynamic Attributes ............................................................................................................................. 7-5
CDA ................................................................................................................................................. 7-5
ODA ................................................................................................................................................. 7-5
Dialog Boxes ......................................................................................................................................... 7-6
Dynamic Attributes Dialog Box ................................................................................................ 7-6
Tag Selection Dialog Box ........................................................................................................... 7-8
Dynamic Attribute Color Dialog Box ...................................................................................... 7-10
Dynamic Attribute Position Dialog Box ................................................................................. 7-12
Dynamic Attribute Text Input Dialog Box ............................................................................. 7-14
Dynamic Attribute Width/Height Dialog Box ....................................................................... 7-15
Dynamic Attribute Visible/Blink Dialog Box .......................................................................... 7-17
Dynamic Attribute Rotate Dialog Box .................................................................................... 7-19
Dynamic Attribute Send Value Dialog Box............................................................................ 7-21
Dynamic Attribute Send Discrete Dialog Box ....................................................................... 7-22
Dynamic Attribute Send String Dialog Box .......................................................................... 7-24
Pop Window Dialog Box ............................................................................................................ 7-25
Dynamic Attribute Upload Recipe Dialog Box...................................................................... 7-27
Dynamic Attribute Download Recipe Dialog Box ................................................................ 7-30
Dynamic Attribute Launch Application Dialog Box ............................................................ 7-32
Dynamic Attribute Runtime Menu Commands Dialog Box .............................................. 7-34
Chapter 8: Trends ..................................................................................... 8-1
Overview ................................................................................................................................................ 8-1
Dialog Boxes ......................................................................................................................................... 8-2
Trend Dialog Box .......................................................................................................................... 8-2
Trend Pen Dialog Box.................................................................................................................. 8-6
TABLE OF CONTENTS
vii
Mistic MMI User’s Guide
TABLE OF CONTENTS
Chapter 9: Recipe Download and Upload................................................ 9-1
Overview ................................................................................................................................................ 9-1
Recipe File Format ............................................................................................................................... 9-2
Comment Line .............................................................................................................................. 9-2
Cyrano Tag .................................................................................................................................... 9-2
Data Values ................................................................................................................................... 9-3
Blank Line ...................................................................................................................................... 9-3
Specifying an Index .................................................................................................................... 9-3
Chart Control Instructions ........................................................................................................ 9-4
Recipe Uploading ........................................................................................................................ 9-4
Dialog Boxes ......................................................................................................................................... 9-5
How to Bring Up a Touch-based (Graphic) Recipe Action................................................. 9-5
How to Bring Up a Trigger-based Recipe Action ................................................................. 9-6
Download Recipe Dialog Boxes ................................................................................................ 9-6
Upload Recipe Dialog Boxes ..................................................................................................... 9-9
Recipe Managers ......................................................................................................................... 9-12
Recipe Download/Upload Completed Notification ............................................................. 9-13
Chapter 10: Historical Logging ................................................................ 10-1
Overview ................................................................................................................................................ 10-1
Dialog Boxes ......................................................................................................................................... 10-3
Historic Log Dialog Box .............................................................................................................. 10-3
Historic Log Configuration Dialog Box ................................................................................... 10-4
Historic Log Point Configuration ............................................................................................. 10-6
Historic Log File Configuration Dialog Box ........................................................................... 10-8
Line Format Dialog Box .............................................................................................................. 10-12
Historic Log Point Dialog Box ................................................................................................... 10-13
Tag Selection Dialog Box ........................................................................................................... 10-13
Historic Log Start/StopTrigger Dialog Box ............................................................................. 10-16
Historic Log Stop Trigger Notification Dialog Box ............................................................... 10-17
Chapter 11: Sound.................................................................................... 11-1
Overview ................................................................................................................................................ 11-1
Dialog Boxes ......................................................................................................................................... 11-1
Sounds Dialog Box ...................................................................................................................... 11-1
Sound Configuration Dialog Box............................................................................................. 11-3
Sound Start/Stop Trigger Dialog Box ...................................................................................... 11-5
Tag Selection Dialog Box ........................................................................................................... 11-6
viii
Mistic MMI User’s Guide
TABLE OF CONTENTS
Chapter 12: Draw Window State............................................................. 12-1
Overview ................................................................................................................................................ 12-1
Dialog Boxes ......................................................................................................................................... 12-1
Window Managers Dialog Box ................................................................................................. 12-1
Window Manager Configuration Dialog Box ....................................................................... 12-3
Pop Window Dialog Box ............................................................................................................ 12-4
Window Manager Start Trigger Configuration Dialog Box ............................................... 12-6
Tag Selection Dialog Box ........................................................................................................... 12-7
Chapter 13: Launching Applications ....................................................... 13-1
Overview ................................................................................................................................................ 13-1
Dialog Boxes ......................................................................................................................................... 13-2
Application Managers Dialog Box ........................................................................................... 13-2
Application Manager Dialog Box ............................................................................................. 13-3
Application Manager Trigger Selection Dialog Box ............................................................ 13-6
Tag Selection Dialog Box ........................................................................................................... 13-7
Launch Application Trigger Notification Dialog Box .......................................................... 13-9
Chapter 14: Runtime Setup ..................................................................... 14-1
Overview ................................................................................................................................................ 14-1
Preventing User Exit ........................................................................................................................... 14-1
Preventing Exit ............................................................................................................................. 14-1
Preventing Switching ................................................................................................................. 14-1
Exiting Windows .......................................................................................................................... 14-2
Dialog Boxes ......................................................................................................................................... 14-2
Runtime Setup Dialog Box ........................................................................................................ 14-2
Runtime Draw Window Initial State ............................................................................... 14-3
Keyboard Setup.................................................................................................................... 14-5
Pop Window Dialog Box ............................................................................................................ 14-5
Event Log Configuration Dialog Box ...................................................................................... 14-8
Event Log File Configuration Dialog Box ............................................................................... 14-9
Line Format Dialog Box .............................................................................................................. 14-13
Chapter 15: Runtime Menus ................................................................... 15-1
File Menu ............................................................................................................................................... 15-1
Open Project (File Menu) ........................................................................................................... 15-1
Project Path (File Menu) ............................................................................................................ 15-1
Change Printer (File Menu) ....................................................................................................... 15-1
Printer Setup (File Menu) .......................................................................................................... 15-2
Print (File Menu) .......................................................................................................................... 15-2
Exit MMI Runtime (File Menu) ................................................................................................. 15-2
ix
Mistic MMI User’s Guide
View Menu ............................................................................................................................................ 15-3
Hide Menu Bar (View Menu) .................................................................................................... 15-3
Mistic Controller(s) (View Menu) ............................................................................................. 15-3
MWDriver (View Menu) ............................................................................................................. 15-3
Event Log (View Menu) .............................................................................................................. 15-3
Window Menu ..................................................................................................................................... 15-4
Open (Window Menu) ................................................................................................................ 15-4
Close (Window Menu) ................................................................................................................ 15-4
Open Window List (Window Menu) ........................................................................................ 15-4
Help Menu............................................................................................................................................. 15-5
Contents (Help Menu) ................................................................................................................ 15-5
Search for Help On (Help Menu) .............................................................................................. 15-5
How to Use Help (Help Menu) .................................................................................................. 15-5
About MMI Runtime (Help Menu) .......................................................................................... 15-5
Chapter 16: Runtime Controller Attachment ......................................... 16-1
Overview ................................................................................................................................................ 16-1
Controller List Dialog Box .................................................................................................................. 16-1
Controller Status Dialog Box ............................................................................................................ 16-2
Controller ...................................................................................................................................... 16-2
PC Port ........................................................................................................................................... 16-3
Controller State ............................................................................................................................ 16-3
Communication ........................................................................................................................... 16-4
Appendix A: Errors and Messages............................................................ A-1
Overview ................................................................................................................................................ A-1
Controller Errors (Runtime) ............................................................................................................... A-2
File Access Errors (Runtime) .............................................................................................................. A-6
Historic Log Errors (Runtime)............................................................................................................ A-7
Launch Application Errors (Runtime) .............................................................................................. A-7
Port Errors (Runtime) .......................................................................................................................... A-8
Recipe Upload/Download Errors (Runtime) ................................................................................... A-10
Scanner Errors (Runtime)................................................................................................................... A-12
Server Messages/Errors (Runtime) ................................................................................................... A-13
System Errors (Runtime) .................................................................................................................... A-16
Appendix B: Product Support .................................................................. B-1
Appendix C: Glossary ................................................................................ C-1
Index
TABLE OF CONTENTS
x
Mistic MMI User’s Guide
INTRODUCTION
THANK YOU
Welcome and thank you for purchasing the Opto 22 Mistic MMI! The Mistic MMI (Man-Machine Interface) is
a Microsoft Windows Version 3.1 (or later) program used to develop operator interfaces for Cyrano 200 strategies
running Opto 22 Mistic control equipment. It consists of two major components: the Mistic MMI Configurator
and the Mistic MMI Runtime. The Configurator is the development environment and contains all the functions
you need to create animated graphic windows to represent and interact with your control process. The Runtime
environment displays the graphic windows you created in the Configurator and allows you to interact with
them to monitor your system.
WHERE DO I START?
If you’re new to the Mistic MMI, please read Chapter1 to understand the basics about the MMI. Then
continue with Getting Started in Chapter 2 to quickly get up and running with the MMI.
If you’re familiar with the MMI and just want to get started, turn to Chapter 2, and begin with the Quick
Start process. Refer to Chapter 3, Configurator Menu and Chapter 15 Runtime Menu, for overviews of each
command.
This book assumes you are familiar with Opto 22’s Cyrano, Microsoft Windows, and have a basic knowledge of
networking. For more information about Cyrano, refer to the
Cyrano User’s Guide
, Form 704. Consult the Microsoft
Windows manuals for more information about Windows.
MMI OVERVIEW
Features
With the Mistic MMI, you can communicate to multiple networked Mistic processors and collect and display
data from the different strategies running on various controllers. Add the MDS software application to the
Mistic MMI system for an efficient data collecting process.
Easily draw and connect graphics to Cyrano tagnames. Because the Configurator shares the same tagname
database created in Cyrano, you eliminate the duplication effort of entering names of variables and I/O normally
encountered when using other MMIs. Syntax and spelling errors are also eliminated.
1-1
CHAPTER 1
Mistic MMI User’s Guide
You can change the color, size, position, visibility, and other attributes of a graphic based on the value or state
of a tag. The value of a tag can also be modified during Runtime based on your interaction with a graphic object.
Other MMI capabilities such as real-time trending, historic data logging, and multimedia sound support are
also provided.
Control vs. Monitoring
The project you develop using the Mistic MMI, monitors the Cyrano strategy as it is running. The Mistic MMI
can be used to change the values of tags in the Cyrano strategy, but it does not contain programming or logic-
solving capabilities to actually control a process. These capabilities are part of Cyrano, an actual process
control language.
Cyrano
Cyrano is a visual flow-charting language used to create process control strategies that run on Mistic 200
processors. The Cyrano kernel, the interpretive firmware residing in the Mistic processor EPROMs, has many
advanced features such as multi-tasking, string handling, communications, and mathematical operations. You
can access these features through Cyrano using English-like commands to create a flow chart logic, and develop
your process control strategy. Use the Mistic MMI to develop an operator interface to monitor a running Cyrano
strategy.
Cyrano saves information about global data items (variables, I/O points, charts, tables, etc.) in a file with a
.GML extension. The Mistic MMI reads the .GML files and keeps track of its timestamp. If the Cyrano strategy
changes (which affects the timestamp of the .GML file), the MMI warns you so possible problems can be
detected.
Configuration vs. Runtime
The Mistic MMI consists of two separate programs, the MMI Configurator and the MMI Runtime. The
Configurator is used to develop the operator interface by defining and configuring the draw windows, graphics,
and all their attributes that make up a project. It connects these objects to the Cyrano strategy’s tagname
database. Once this is done and the MMI Runtime is started, the MMI project communicates with the Mistic
processor which is running the Cyrano strategy. The MMI Runtime animates the operator interface by updating
the graphic attributes (color, size, position, etc.) connected to Cyrano tags according to changes in their values
or states.
Project
A project is a collection of draw windows, graphics, and all their attributes developed with the MMI Configurator.
It is the database for the operator interface you develop with the Mistic MMI. When the project is saved,
several files are created. The main project file has a .MMI extension. Each draw window produces a file with
a sequentially numbered file extension (.w01, .w02, etc.) and a file with an .INI extension. The .INI file contains
startup information about the project. The
filename
.INI file has information about the project status and when
it last exited from the MMI Configurator and the MMI Runtime. These project files, together with the MMI
Runtime, present an animated graphics interface for a Mistic control system.
INTRODUCTION
1-2
Mistic MMI User’s Guide
Windows
Like most Windows applications, the Mistic MMI consists of many different windows. The most important are
the Main Window and Draw Window.
Main Window
This rectangular area of the display allows you to view your application. You can open, close, move, and resize
the main window like any Windows application. The Main Window contains a menu bar allowing you to select
various tools. The title bar displays the full project path. If the pathname is too long to fit in the title bar, only the
working project subdirectory is shown. To display the full project path, select the FileàProject Path command
from the menu bar. Refer to the Windows User’s Guide for information on using windows.
Draw Window
This window is where all graphics are drawn and edited. Each project consists of one or more draw windows
which make up the operator interface. The draw window has
static attributes
of position, size, and color. Draw
windows have
visual states
of open, closed or iconified. An open window scans and updates associated
objects. A closed window optionally scans any trends it may have, but it does not update any displays. An
iconified window scans all objects but does not update any displays.
Objects
Most things visible in the Mistic MMI are considered objects, as well as some things not visible. Objects
include draw windows, graphics, triggers, and trends.
There are two types of objects: static and dynamic. Static objects have a static appearance and do not change
while the MMI Runtime is running. They have no dynamic (changing) attributes. Dynamic objects have a changing
appearance or cause the appearance of other MMI objects to change during execution of the MMI Runtime.
Dynamic objects have dynamic attributes defined.
Tags
A tag refers to data items (such as variables, I/O points, or PID loops) from a Cyrano strategy.
To access tags in a MMI project, choose the Configure\Mistic Controller(s) menu option and select the Cyrano
strategies for the project. Now all the tags of the selected strategies are available to the MMI.
Tags animate your operator interface through connections to graphic objects and their dynamic attributes. As
the values of tags change through
Controller Driven Attributes
(input dynamic attributes, values from the controller)
or
Operator Driven Attributes
(output dynamic attributes, values sent to the controller), the appearance of the
graphics change. Tags are also used as triggers to initiate system events such as sounds, historic logging, and
window configurations.
INTRODUCTION
1-3
Mistic MMI User’s Guide
Connections
A connection occurs when a Cyrano tag is selected as the source or destination of data for an MMI dynamic
object. Some examples include:
Selecting a tag as the source of data to drive the dynamic attribute of a graphic (size, position, rotation,
etc.).
Selecting a tag as the destination of data to drive user interaction with a graphic (slider, send data,
etc.).
Selecting a tag as a trigger source.
Selecting a tag as the source of data for a trend pen.
CONVENTIONS USED IN THIS MANUAL
Before getting started with the MMI, review the following conventions used in this manual.
General Conventions
The names of menus, commands, dialog boxes, fields, and buttons are capitalized.
The names of files are set in capital letters (for example, MWDRIVER.DLL).
The names of keyboard keys are set in small capital letters (for example, CTRL, ALT, DELETE).
Window Screen Conventions
A dialog box is displayed in response to menu options and enables you to enter specifications. Pressing the TAB
key highlights the next control; pressing SHIFT+TAB highlights the previous control. The following illustrations are
typical dialog boxes.
INTRODUCTION
1-4
Mistic MMI User’s Guide
The MMI Configurator main window is used to create and setup the graphical representation of your process,
while the MMI Runtime window displays the animated results of the graphics you created.
Figure 1-1: MMI Configurator Main Window
Menus
To display a menu, click on its title in the menu bar (or press ALT and the underlined letter in the menu name).
A menu displays a list of options. Choose an option by clicking on it using the arrow keys, followed by ENTER, or
by pressing the underlined letter in the option name.
Figure 1-2: Menus
INTRODUCTION
Control Menu Box
Enables you to move,
close, resize the window,
or activate other
Windows tasks.
Border
Click and drag the
border to resize the
window.
Minimize Button
Reduces window to
an icon.
Maximize Button
Enlarges window to
its maximum size.
Checked option
Indicates the
command is
enabled.
Ellipsis
Choosing the
option
displays a
dialog box.
1-5
Mistic MMI User’s Guide
Dialog Boxes
A dialog box is displayed in response to menu options and enables you to enter specifications. Pressing the TAB
key hightlights the next control; pressing SHIFT+TAB highlights the previous control. The following illustrations are
typical dialog boxes.
Figure 1-3: Dialog Box Buttons
Some dialog boxes have drop-down lists and require you to enter specifications in field boxes.
Figure 1-4: Dialog Box Field Entries
INTRODUCTION
Cancel
Closes the
dialog box
and does not
save
changes.
Dialog box name Active button
Available for you
to choose;
opens or closes
a dialog box,
performs an
operation, or
selects an
option.
Dimmed button
Not currently
available and
cannot be
chosen.
Help
Displays
information about
the dialog box.
OK
Saves
changes and
closes the
dialog box.
Field
Enables you to enter specific information.
Ellipsis
Clicking
the
button
displays
another
dialog
box.
Drop-down list
Click the arrow to display a
list of values to choose
from.
1-6
Mistic MMI User’s Guide
GETTING STARTED
OVERVIEW
The Mistic MMI (Man-Machine Interface) is used to develop an operator interface for Cyrano 200 programs
running on Opto 22 Mistic controllers. The first step in using this program is to develop a Cyrano Strategy. Once
that’s done, you’re ready to use the MMI.
The Mistic MMI consists of two separate programs, the MMI Configurator and the MMI Runtime. The
Configurator is used to develop the operator interface by defining and configuring the draw windows, graphics,
dynamic attributes, logs, alarms, sounds, and all other objects that make up your project. It connects the objects
to the variables, I/O points, PID loops, etc. defined in your Cyrano strategy. Once this is done, the MMI Runtime
communicates with the Mistic processor that’s running the Cyrano strategy. The MMI Runtime animates the
operator interface by updating the graphic attributes (i.e. color, size, position) connected to the Cyrano tags
according to changes made in their values or states.
SYSTEM REQUIREMENTS
The following are the minimum requirements you need to run the Mistic MMI. The MMI Runtime “About” box
displays the version requirements for the MMI.
PC Hardware
IBM-compatible 386 personal computer (486 or better recommended)
Hard disk with 10 MB of free space
16 MB of RAM
Microsoft Mouse or other compatible pointing device
VGA or compatible display
Software
MS-DOS version 5.0 or later
Microsoft Windows version 3.1 or 3.11
Mistic Products
Any Mistic controller
Mistic controller kernel EPROM, version 1.43 or later
Cyrano software, version 1.3.0 or later
2-1
CHAPTER 2
Mistic MMI User’s Guide
INSTALLATION
At least 10 MB of free space must be available on your hard drive to install the MMI.
Note: The Mistic MMI does not run under Microsoft Windows 95.
1. Run Windows for Workgroups on your PC.
2. Insert the Mistic MMI disk 1, P/N 8875A, into a removable floppy drive (e.g.: b:).
3. Choose the FileàRun command from Program Manager.
4. Type b:setup in the Command Line box and click
OK
.
5. Enter the desired location for the MMI when prompted by the MMI setup and press ENTER.
The default location is: C:\MMI.
6. After the first disk is installed, remove disk 1, insert disk 2 P/N 8875B, and press ENTER.
7. When installation is complete, the program group “Opto 22” is displayed and contains two icons as
shown in Figure 2-1.
Figure 2-1: Opto 22 Program Group
GETTING STARTED
2-2
Mistic MMI User’s Guide
MMI CONFIGURATOR BASICS
Start the Mistic MMI Configurator by double-clicking on its icon. The first time you start the Configurator, a
window displays the caption “Mistic MMI Configurator – (Untitled)”. This window is known as the Main
window.
The MMI Configurator may contain other windows managed by the Main window. This Main window contains
another window captioned (Untitled). This window is called a draw window. Use this window (and others like
it) to draw the objects that make up your operator interface. Properties of this window (name, position, dimensions,
controls, colors) can be changed by selecting the WindowàProperties menu option. Create more draw windows
for the project by selecting the WindowàNew menu option.
The Toolbar is also associated with the Main window. This small window captioned Tools contains buttons
with pictures of the basic tools used for building an operator interface. When one tool is selected, it becomes
the active tool until a different one is selected, either via the Toolbar or the Tool menu. The Toolbar is not
constrained to the interior of the Main window, but “floats” on your desktop at the same level as the Main
window.
Selecting a Cyrano Strategy
To begin an MMI project, the MMI Configurator needs to know what Cyrano strategy (or strategies) will be
used for the project. This enables the connections to the appropriate Cyrano tags when assigning dynamic
attributes to your graphics. Selecting the ConfigureàMistic Controller(s) menu option displays a dialog box
window captioned Controllers. This dialog box contains an initially empty list of the Mistic controller names
used in the current MMI project. After adding one or more Controllers to this list, you are ready to continue.
Steps to Create Objects and Connect Them to Tags
To begin configuring the various objects (graphics, sounds, window configurations, etc.) of your operator interface,
start with the graphic objects. Select a tool from the Toolbar (other than the Selector) to draw objects of the
chosen type in a draw window. Once an object is drawn, connect it to a Cyrano tag by either double-clicking on
it or by selecting the EditàDynamic Attributes menu option to display the Dynamic Attributes dialog box. Here
the graphic’s input dynamic attributes and output dynamic attributes and their connection to Cyrano tags are
defined. For example, the input dynamic attributes can set up a connection when the value of a tag increases,
the size of the graphic increases. Or change the color of the graphic when an I/O point turns on and off. With
output dynamic attributes, you can setup connections that change the value of a tag as you “slide” the graphic
on the screen or change the window configuration based on which graphic you select. Many different
combinations of attributes may be applied to develop your particular solution.
In addition to graphics, there are other ways of presenting information to the users of your operator interface.
These include Historic Data Logs, Sounds, and Window States which can connect to Cyrano tags from the
strategies of the current MMI project. Select these menu options from the Configure menu.
GETTING STARTED
2-3
Mistic MMI User’s Guide
QUICK START
During installation, a directory named EXAMPLES is created in the MMI directory. This directory contains
examples that include preconfigured Cyrano strategies and MMI projects. The following sections describe how
to load the example Cyrano strategy and MMI project.
Verification Process
Before going on, you’ll want to verify the Mistic controller and Cyrano strategy are working properly. If the
Cyrano strategy is already downloaded to a Mistic
controller and is properly operating, you’re done with this
section.
If your Cyrano strategy is new or you need to check to see if its controller configuration matches your target
controller, proceed with the following steps.
1. Start Cyrano and go into the Configurator by selecting SystemàConfigurator from the Cyrano
environment.
2. Choose the FileàLoad command and select Cyrano strategy from the \mmi\examples\example1
directory (this is the default directory location).
3. Select the ConfigureàMistic command to review the controller’s configuration.
The Configure Mistic Communications dialog box appears. It displays the controller’s address,
communication mode, and its PC COM port configuration. Make any necessary changes so it matches
the controller’s settings.
4. Choose Accept to close the dialog box.
5. Save the file by selecting FileàSave.
6. Download the strategy to the controller by choosing SystemàDebugger.
Choose “Yes” when asked “Are you sure?”.
7. Once the strategy is downloaded and you’re in the Debugger, choose the RunàStop option.
8. Verify the Mistic system is operating.
Run the Cyrano strategy in Autostep mode to verify the controller is communicating with the PC. A
properly running system displays two messages in the lower left corner of the Cyrano Debugger screen
indicating the charts and program are running. You can also visually inspect your Mistic system’s
communication LEDs for communication transactions.
If you suspect your system is not operating properly, consult the controller manual’s or Cyrano manual’s
appropriate troubleshooting section.
9. Verification is complete. Exit the Debugger by choosing FileàQuit.
10. Exit the Cyrano environment by choosing CyranoàQuit.
GETTING STARTED
2-4
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244

OPTO 22 Mistic MMI User manual

Category
Software
Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI