0% found this document useful (0 votes)
46 views125 pages

GFK1868E

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views125 pages

GFK1868E

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 125

Getting Started

CIMPLICITY®
Machine Edition

Version 4.00
May 2003
GFK-1868E
All rights reserved. No part of this publication may be reproduced in any form or by
any electronic or mechanical means, including photocopying and recording,
without permission in writing from GE Fanuc Automation North America, Inc.
Disclaimer of Warranties and Liability
The information contained in this manual is believed to be accurate and reliable.
However, GE Fanuc Automation North America, Inc. assumes no responsibilities for
any errors, omissions or inaccuracies whatsoever. Without limiting the forgoing, GE
Fanuc Automation North America, Inc. disclaims any and all warranties, expressed
or implied, including the warranty of merchantability and fitness for a particular
purpose, with respect to the information contained in this manual and the software
described herein. The entire risk as to the quality and performance of such
information and software is upon the buyer or user. GE Fanuc Automation North
America, Inc. shall not be liable for any damages, including special or
consequential damages, arising out of the use of such information or software, even
if GE Fanuc Automation North America, Inc. has been advised in advance of the
possibility of such damages. The use of the information contained in the manual and
software described herein is subject to GE Fanuc Automation North America, Inc.
standard license agreement, which must be executed by the buyer or user before the
use of such information or software.
Notice
GE Fanuc Automation North America, Inc. reserves the right to make improvements
to the product described in this publication at any time and without notice.
© 1999, 2000, 2001, 2002 GE Fanuc Automation North America, Inc. All rights
reserved. CIMPLICITY is a registered trademark of GE Fanuc Automation. Any other
trademarks referenced herein are used solely for purposes of identifying
compatibility with the products of GE Fanuc Automation North America, Inc.

We want to hear from you. If you have any comments, questions, or suggestions
about our documentation, send them to the following e-mail address:
[email protected]
Contents
1 Welcome 1
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Product Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
North America . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
South America . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Europe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6

2 Machine Edition 7
Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
The Machine Edition Environment . . . . . . . . . . . . . . . . . . . . . . . .10
Getting to Know Machine Edition . . . . . . . . . . . . . . . . . . . . . . . . .11
Right-click, right-click, right-click . . . . . . . . . . . . . . . . . . . . . .11
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Accessing the Right Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Projects and the Navigator . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Properties and the Inspector . . . . . . . . . . . . . . . . . . . . . . . . . .16
Data Watch Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Smart Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
The Toolchest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
The Feedback Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
Managing Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Machine Edition Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Running a Sample Project (View/Logic Developer - PC) . . . . .23
Developing a Machine Edition Project . . . . . . . . . . . . . . . . . . .25
Validating and Downloading a Project . . . . . . . . . . . . . . . . . .28
Testing a View Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31

3 Logic Developer - PC 33
SFC Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35

GFK-1868E Getting Started i


Contents

Sequential Function Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35


Working with the SFC editor - Offline . . . . . . . . . . . . . . . . . . . 36
Working with the SFC editor - Online . . . . . . . . . . . . . . . . . . . 38
Ladder Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Ladder Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Working with the ladder editor - Offline . . . . . . . . . . . . . . . . . 40
Working with the ladder editor - Online . . . . . . . . . . . . . . . . . 41
Instruction List Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Instruction List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Working with the IL editor - Offline . . . . . . . . . . . . . . . . . . . . 44
Working with the IL editor - Online . . . . . . . . . . . . . . . . . . . . 45
Structured Text Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Structured Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Working with the ST editor - Offline . . . . . . . . . . . . . . . . . . . . 47
Working with the ST editor - Online . . . . . . . . . . . . . . . . . . . . 48
PC Web Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Control I/O Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
I/O Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Control I/O Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Working with Control I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Working with the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Warm Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Working with Warm Standby . . . . . . . . . . . . . . . . . . . . . . . . . 58
Hot Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Working with Hot Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
OPC Servers, Warm Standby and Hot Standby . . . . . . . . . . . . 60

4 View 61
Panel Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Working with the Panel Editor . . . . . . . . . . . . . . . . . . . . . . . . 63
Message Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Script Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

ii Getting Started GFK-1868E

ii Getting Started first draft


Contents

Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
Scripting Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
VBScript Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Active Scripting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Working with the Script Editor . . . . . . . . . . . . . . . . . . . . . . . . .68
Grid Editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
Alarm Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
Alarm Display Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
Logging data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
PLC Access I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
OPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
OPC Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
Machine Edition OPC Servers . . . . . . . . . . . . . . . . . . . . . . . . .75
View Web Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Languages folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Working with the Languages editor . . . . . . . . . . . . . . . . . . . . .79
View Runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
Networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
QuickPanel Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
External Keypad Assignment . . . . . . . . . . . . . . . . . . . . . . . . . .83
Scripts on QuickPanel Targets . . . . . . . . . . . . . . . . . . . . . . . . .84
QPScript Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84

5 Motion Developer 87
About Motion Developer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88
Supported motion control devices . . . . . . . . . . . . . . . . . . . . . .88
Motion Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
Motion targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89
Motion configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
Motion programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
Motion blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
Motion Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92

GFK-1868E
GFK-1868E Getting Started iii

first draft Getting Started iii


Contents

Motion wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Special Wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Application Builder flowchart editor . . . . . . . . . . . . . . . . . . . . 95
Motion Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
CAM Profile Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99

6 Local Manager 101


Local Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Version Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Creating and Adding Projects to Local Manager . . . . . . . . . . 104
Access Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
The Access Control Database . . . . . . . . . . . . . . . . . . . . . . . . 108
Access Control of Projects . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Audit Trails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
The Audit Trail Database . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Audit Trail Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

iv Getting Started GFK-1868E

iv Getting Started first draft


1 Welcome
Congratulations on your purchase of a CIMPLICITY® Machine Edition product. This
package provides all the tools necessary to create powerful control and HMI
applications for a variety of run-time targets; a truly scalable solution. Machine
Edition provides the following features:

A fully-integrated environment. Every tool and editor works with the others.

Logic Developer - PC, a scalable, computer based control software that includes
a complete set of IEC standard editors (available with Control Station products).
■ Logic Developer - PLC, a software tool for programming the full line of GE Fanuc
PLCs (See GFK-1918 Getting Started Logic Developer - PLC).

View, a complete system for creating HMIs (human machine interfaces) for
Windows NT, Windows CE, and QuickPanel units.

Motion Developer, for developing Whedco motion control applications.

Web Access features that access real-time HMI data any time, from anywhere.

Local Manager, a version control, security and audit trail system for your
automation and control development process.

Local Logic Logic


View Motion
Manager Developer Developer
Developer
PC PLC

Machine Edition Environment


(Development Tools)
Build & Download Build & Download Build & Download Build & Download Build & Download
Runtime Files Runtime Files Runtime Files Runtime Files Runtime Files

ControlStation NT/CE QuickPanel ViewStation CE GE Fanuc PLCs Motion Controllers

Remote I/O

I/O Modules
Motors/Drives
Internet/Intranet
Web Access

GFK-1868E Getting Started 1


We lco me
1 System Requirements

SYSTEM REQUIREMENTS
To use Machine Edition and its tools, you require the following:

Development Environment ■
Windows® NT version 4.0 with service pack 6 or later OR
Windows 2000 Professional OR
Windows XP Professional OR
Windows ME OR
Windows 98 SE OR.
■ Internet Explorer version 5.5 Service Pack 2 or later.

500 MHz Pentium-based workstation (1 GHz recommended).

128 MB RAM (256 MB recommended).
■ TCP/IP network protocol-based workstation.

150-750 MB hard disk space, depending on the selected products.

200 MB hard disk space for sample projects (optional).
■ Additional hard disk space for projects and temporary files.

Windows ® NT Runtime ■
Windows® NT version 4.0 with service pack 4 or later OR
Windows 2000 Professional OR
Windows XP Professional.

233 MHz Pentium-based workstation; 300 MHz on Windows 2000 or XP
(500 MHz recommended in both cases).

64 MB RAM (128 MB recommended).
■ 200 MB free hard disk space.

HRT Runtime ■
Windows® NT version 4.0 with service pack 4 or later.

VentureCom RTX version 4.3 or 5.0.
■ 200 MHz Pentium-based workstation .

64 MB RAM .

200 MB free hard disk space.

Windows ® CE Runtime ■
For HMI and Logic components: GE Fanuc ControlStation CE, ControlStation CE
II, or ControlStation CE IIx.

For HMI only: GE Fanuc ViewStation CE, ViewStation CE II, or ViewStation CE
IIx.

2 Getting Started GFK-1868E


Welcome
Installation

INSTALLATION
For last-minute information, release notes, and supported hardware lists for
Machine Edition products, see the Important Product Information (IPI) document
on the CD. There are several ways to view this document

When installing Machine Edition, select Important Product Information on the
initial Launcher screen.

From the Machine Editioh Help menu, choose Important Product Information.

When running Machine Edition, click the InfoView tab in the Navigator, then
double-click the Important Product Information page under Getting Started in
the Table of Contents.

When running Machine Edition, click the Home button on the InfoViewer
toolbar, then click the What’s New link under Get Started on the left hand side.
If a previous version of Machine Edition is installed on your workstation, you must
uninstall it before installating the latest version. You can do so by selecting the
“Uninstall CIMPLICITY Machine Edition” option from the CIMPLICITY Machine
Edition Start menu group. All projects, settings, and authorizations will remain
intact during an uninstall operation.
If you have any problems installing CIMPLICITY Machine Edition, please call
Customer Support.

T o i n s ta ll t h e f u l l C I M P L I C IT Y M a c h i n e E d i t i o n d e v el o p m ent e n v i r o n me n t f r o m a C D
1. Insert the CIMPLICITY Machine Edition CD into your CD-ROM drive.
Windows will automatically start the setup program. If the setup program does not
automatically start, run Setup.exe in the root directory of the CD.
2. Click Install to start the install process.
3. Follow the instructions as they appear on the screen.

T o i n s ta ll o n ly t h e C IM P L IC I TY V i e w a n d L o g i c D e v el o p e r - P C r u n ti me s f r o m a C D
1. Insert the CIMPLICITY Machine Edition CD into your CD-ROM drive.
If Windows automatically starts the setup program, cancel it by clicking Exit.
2. In a Windows Explorer window, navigate to the Install\CIMPLICITY Machine Edition Runtime Install\Disk1 folder on
the CIMPLICITY Machine Edition CD.
3. Double-click the “Setup.exe” file in that folder.
4. Follow the instructions as they appear on the screen.

GFK-1868E Getting Started 3


We lco me
1 Product Authorization

PRODUCT AUTHORIZATION
Before you can start developing projects in Machine Edition, you must authorize
the software with a program called Product Authorization. If you don’t authorize
the software, you will only be able to use it for a four-day trial period. This
procedure will take only a few moments and will allow you to take advantage of
any product support for which you qualify. You will need to contact us by
telephone, fax, or e-mail as part of the authorization process.

To a utho r ize a c o py o f Mac hine Ed it io n


1. Have your serial number(s) ready. The serial numbers can be found on the License Key sheet that came with your
product.
2. Run the Product Authorization program from the Start menu/Programs/CIMPLICITY Machine Edition/Product
Authorization.
The Product Authorization dialog box appears.
3. Click Software, and then click Add.
4. Select the medium with which you are authorizing: Internet, Phone/Fax/E-mail or Floppy Disk Transfer. Click Next.
If you choose the Internet option, proceed to step 5.
If you choose the Phone/ Fax/ Email option, proceed to step 5.
If you choose the Floppy Disk Transfer option, ensure you have an authorization
disk to proceed.
5. Fill in the fields in the dialog box. Fields that are identified with an asterisk (*) must be filled in.
If authorizing online click Submit Authorization once the form is completed.
If authorizing via phone/fax, click the Phone/Fax button once the form is
completed and call the number on the screen to receive a new key code(s).
If authorizing via e-mail, click the Send E-mail button once the form is complete.
■ Phone. Phone the number listed on the screen to receive a new key code(s).

Fax. Click Print FAX and fax the Product Authorization Request to us (our fax
number will be on the print out). We will then reply by fax with your new key
code(s).

Internet. From the Authorization web page, click Submit Authorization. We
will then reply by e-mail with your new key code(s).
■ E-mail. Click Authorize to e-mail us. We will then reply by e-mail with your
new key code(s).

4 Getting Started GFK-1868E


Welcome
Product Authorization

Product Authorization is complete once you enter the new key code and it has
been accepted. Depending on the product you have purchased, you may need to
run the Product Authorization program a number of times. For example, if you
bought ControlStation NT, you will need to authorize both Runtime and
Development.

T o m o v e the a u t h o ri z a t i o n t o a n o th e r co m p u t er
You can run the software only on the computer that the Product Authorization was
run on. If you want to develop your projects on a different computer, you will need
to complete the following steps to move the authorization from one computer to
another.
1. Install Machine Edition on the computer that the authorization will be moved to. Run the Product Authorization
program from the Start menu/Programs/CIMPLICITY Machine Edition/Product Authorization.
The Product Authorization dialog box appears.
2. Click Move and then click OK.
There is a Target Site Code on the top right hand side of the screen. Write down
this site code carefully. It must be accurate for the move to work. You will need the
Target Site Code when you move the authorized software from the source
computer.
3. Click Authorize by disk.
At this point, you need to go to the source computer that has the authorized
software, and move the authorization to a disk.
4. From the source computer, run the Product Authorization program.
5. Click Move, and then click OK. Enter the Target Site Code that you wrote down from Step 3 and click Next. Verify that
the site code is correct and click OK.
6. Insert a blank formatted floppy disk into the floppy drive and click Next. The authorization code will be moved to
the disk and a dialog box should appear telling you it was successful. Click OK.
7. Go back to the computer to which you are moving the authorization and insert the floppy disk. (The screen that is
asking for an authorization disk should be displayed.) Click Next.
8. Click Finish. A screen should appear telling you the move was successful. Click OK.
The authorization has now been moved to the new computer.

GFK-1868E Getting Started 5


We lco me
1 Technical Support

TECHNICAL SUPPORT
Support is available to registered users at no charge for 90 days after purchase. A
Support and Free Enhancements (SaFE) subscription can be purchased from your
local GE Fanuc distributor if extended support is required.
If problems arise that can’t be solved using the information in your product
manual, online Help system, or the GE Fanuc Technical Advisor knowledge base,
contact us by telephone, fax, or mail.
When contacting us, call from a telephone near your computer and have your
CIMPLICITY Machine Edition software running. Have the following information
handy to help us assist you as quickly as possible:

The serial number from your installation CD case, and the Product name and
version number from the Help>About dialog box.

The brand and model of any hardware in your system.
■ Operating system and version number.

The steps you performed prior to the problem occurring.

North America
Support Hotline: 1-800-GEFANUC (1-800-433-2682) Fax: (780) 420-2049
Internet: http://www.gefanuc.com Email: [email protected]
Comments about our manuals and help: [email protected]
Mailing Address: GE Fanuc
2700 Oxford Tower, 10235 - 101 St.
Edmonton, AB, Canada, T5J 3G1

South America
Telephone: +58 (261) 760 2862 Fax: +58 (261) 765 0909
Internet: http://www.gefanuc.com (visit our Portuguese web site at www.gefanuc.com.br)
E-Mail: [email protected]
Mailing Address: GE Fanuc Automation Latin America
Calle 120 con Av. 17, Los Haticos -GE Turbimeca
Maracaibo, Venezuela

Europe
Internet: For up-to-date contact information, visit www.gefanuc-europe.com and click on “Offices and Services”.
For up-to-date technical information visit www.gefanuc.com/support.
E-mail: [email protected]

6 Getting Started GFK-1868E


2 Machine Edition
Machine Edition offers you a complete solution for the development of automation
applications under one roof. With Machine Edition’s integrated development
environment and tools, you’ll spend more time building applications and less time
learning the software.
Machine Edition products are fully integrated with the environment and with each
other:

They share the same project database. No more wasted time synchronizing data
points between applications!

They share the same set of tools, providing a consistent user interface
throughout the development process.

They feature full drag-and-drop capabilities between tools and editors.

They feature a true scalable solution. You have the choice of what type of
machine your projects are downloaded to and run on.
The first part of this chapter provides an overview of the Machine Edition
Environment. The second part provides some key Machine Edition concepts you
need to know before you begin. The third part shows how to open and explore
some of the sample projects included with a new Machine Edition installation.
When you’ve finished, you’ll have a solid foundation for building your own
automation projects.

For more help getting started, see the Tutorials in the online help (look in the
InfoView tab of the Navigator).

GFK-1868E Getting Started 7


Machine Edition
2 Quick Start

QUICK START
Machine Edition makes it easy to get started developing a project.

To s t ar t Mac hin e Ed it io n
1. Click Start, point to Programs, then CIMPLICITY Machine Edition and then click CIMPLICITY Machine Edition.
(See also page 23.)
When Machine Edition initializes for the first time following installation, the
Environment Themes dialog box appears.

You can open the Environment Themes dialog box later to choose a different theme
by clicking the Window menu and choosing Apply Theme.
2. Choose the environment theme you want to work in.
3. Click OK.
When you open a project the appearance of your Machine Edition screen will
match the preview in the Environment Themes dialog box. As you work you will
probably modify the environment, open and close windows, change the selected
toolbars and so on. Any changes you make will be retained in your default
environment setup.

8 Getting Started GFK-1868E


Machine Edition
Quick Start

The CIMPLICITY Machine Edition dialog box appears.

Select this option to create a new,


empty project.

Select this option to create a new


project based on a Machine Edition
project template.

Select this option to work on an


existing project

Select this option to select from Select this option to select from all
those projects that have been existing projects
used recently.

Select this option if you do not want


to see this dialog box again.

4. Select the appropriate option to open a project. The Open an existing project option is selected by default.

Notes:

If you select either the Empty project option or the Machine Edition template
option, the New Project dialog box appears to let you create a new project.

If you select the Open an existing project option, you can also choose from
Recent Projects or All Projects. Recent Projects is selected by default.
5. If you selected the Open an existing project option, select the project that you want to open from the list.

Existing projects include samples and tutorials that you can open and use to
familiarize yourself with Machine Edition.
6. If desired, select the Don’t show this dialog box on startup option.
7. Click OK.

Your project opens in the Machine Edition environment that you specified in the
Environment Themes dialog box. See also, Machine Edition Projects page 23.

GFK-1868E Getting Started 9


Machine Edition
2 The Machine Edition Environment

THE MACHINE EDITION ENVIRONMENT


All Machine Edition tools and editors appear in the Machine Edition window. The
run-time programs are separate Windows applications, so that you can run a
finished application without starting Machine Edition.
The following illustration shows a possible layout of the tools and a couple of the
editors available to you. Most of the time, you’ll be using only a few of these at
once—you can open and close tools and editors as you need them. Many tools are
also available only when editing a project. We’ll look at some of the tools in the
following section; for more details on the others, see the online Help.

Toolchest:
Navigator:
organizes and displays contains
project information in preconfigured objects
a tree structure. that can be dragged
into Machine Edition
projects.

Navigator tabs: InfoViewer:


conveniently layers an embedded
information about your browser used to
projects. display reports and
comprehensive help.
Inspector:
displays the properties
of a selected object.
Feedback
Companion: Zone: displays
a dynamic help window output information
that provides
generated by
information based on
what you’re doing. Machine Edition
components.

Editor window: Editor window tabs: Data Watch:


one of many windows lets you switch between open editors Common Machine Edition Tools displays the current status
where you create and edit with the click of a mouse. of your project’s variables.
your application.

10 Getting Started GFK-1868E


Machine Edition
Getting to Know Machine Edition

GETTING TO KNOW MACHINE EDITION


The following are some key features of the Machine Edition environment. Learning
about them will make your first few hours with Machine Edition a breeze.

Right-click, right-click, right-click


No matter what object appears on your screen while using Machine Edition, you
can right-click it to perform operations on it. In fact, this is probably the most
common way you’ll get things done. Machine Edition tailors the menu of
commands depending on the current status of your project.

Getting Help
There are many ways to access the Machine Edition online help system.

Press F1 on any selected item for context-sensitive help.

Browse through the table of contents in the InfoView tab of the Navigator.
■ Search for keywords using the index: on the Help menu, select Index.

Use the Companion to dynamically display a brief description about
whatever item you have selected.
You can also access additional help on the web. In Machine Edition on the Help
menu, point to GE Fanuc on the Web, and then choose:
■ Technical Advisor.

GE Fanuc Home Page.

GFK-1868E Getting Started 11


Machine Edition
2 Getting to Know Machine Edition

Machine Edition provides two kinds of Help windows to display help information:
the Companion and the InfoViewer.
For detailed context-sensitive help, select any item (in this
case, a button on a graphical panel) and press F1.

Use the InfoViewer


toolbar to navigate
the HTML help.
To access the online
Help index, on the
Help menu, choose
Index.
The InfoViewer
window is a browser
that displays the
comprehensive HTML-
based online help.

The InfoView Tab Click this button to


contains the table of open the InfoViewer
contents for the online with more detailed
help. Double-click a
information on the
page to view it.
topic in the Companion.

The Companion is a
dynamic help window
that displays snippets
of information on
any selected item.

Getting Help

Companion The Companion window displays brief information about whatever item you
happen to be working with, anywhere in Machine Edition. Whether you need the
meaning of a property, the purpose of a node in the Navigator, or an explanation of
errors generated during validation, the Companion is always there for you.
By default, the Companion is open while editing projects. If it’s been turned off,
click on the Tools toolbar to open it again.

InfoViewer The InfoViewer window is an embedded HTML browser that provides more
detailed and procedural help. It is launched whenever you access help topics from
the InfoView Tab, the help index, or by pressing F1 on a selected item.
Want to know more? In the Help Index, look up Help and choose “Finding information in the
Help”.

12 Getting Started GFK-1868E


Machine Edition
Getting to Know Machine Edition

Accessing the Right Tool


Often, Machine Edition Help will direct you to a specific tool window. If the tool
isn't visible, there are two ways to open it:

On the Tools menu, choose the tool's name.

On the Tools toolbar, click the tool's icon. To display the Tools toolbar, on the
Tools menu, choose Toolbars and select the Tools check box.

InfoViewer
Navigator Companion
Control I/O Toolchest
Feedback Zone Data Watch
Inspector

Tools Toolbar
If you are not sure of the name of a tool within a toolbar, hover the mouse pointer
over the tool’s button to display its name in a tool tip.
Want to know more? In the Help Index, look up “Toolbars: an Overview”.

GFK-1868E Getting Started 13


Machine Edition
2 Getting to Know Machine Edition

Projects and the Navigator

Navigator The Navigator window organizes and manages your projects.



Use the Navigator to create and manage projects, add targets and components
to your project, set your environment preferences, create scripts, open editors,
create variables, and more.

The Navigator is organized into several tabs. The available tabs depend on
which Machine Edition products are installed and whether a Machine Edition
project is open. For example, the Project and Variables tabs only appear if a
Machine Edition project is open.

Within each tab, items are displayed in a tree of nodes or folders. You can
expand and collapse the tree, just like folders in Windows Explorer™.
The following picture illustrates the Navigator prior to any projects being opened.
All the files listed under My Computer are projects that you have access to on your
computer. The Samples folder contains sample projects and tutorials.
Want to know more? In the Help Index, look up Navigator and choose “Navigator tool
window”.

To add a new project, right-click on


My Computer and select New.
or
Select Restore to add an existing or
The Manager tab lists all the backed-up Machine Edition project to
projects located on your hard drive your computer.
and (if you’re using Manager) the
Manager Server. Use it to create and A Machine Edition project must be
open projects, and to manage backed up before it can be moved to
projects on an Manager Server. another computer. To do this, right-click
on a project listed under My Computer
and choose Back Up.

The Utilities tab contains useful


tools for working on your projects.
Available utilities depend on which The InfoView tab contains the
Machine Edition products are
table of contents for the Help.
installed.

Navigator Window with Local Project List

14 Getting Started GFK-1868E


Machine Edition
Getting to Know Machine Edition

T o o p e n a p r oj e ct i n th e N a vi g a t or
1. In the Manager tab of the Navigator, right-click an existing project listed under My Computer and choose
Open.
The project is opened in Machine Edition. The Variables and Project tabs are
added to the Navigator and the nodes change to reflect those components that
make up the project you just opened.

Targets are the hardware devices and


computers that your finished project will run These nodes represent the
on. A project can have multiple targets. different parts of your project.
They appear when you add
components to a target.

For example, the Control I/O


Drivers, Ladder_Program, Logic
and SFC folders appeared when a
Logic component was added to
Target1.

The Options tab contains option and


preference settings for the Machine
Edition environment.

The Project tab organizes your project. Use it The Variables tab contains all the variables
to navigate around your project, and add, in your project. Use it to add, delete, move,
delete, and configure the items that make up and otherwise manipulate variables.
your project.

Navigator Window with an Open Project

GFK-1868E Getting Started 15


Machine Edition
2 Getting to Know Machine Edition

Properties and the Inspector

Inspector In Machine Edition, practically every object has properties. Properties are simply
attributes and information about that object. For example, the properties of a box
on an HMI graphical panel include Height, Width, Fill Color, and Outline Color.
The properties of an object are edited in the Inspector window:

To edit an object’s properties, select it with the Inspector open. The Inspector
will show all those properties associated with the selected object.

When a property changes an object’s appearance, you’ll see the results of the
change immediately in the object’s editor.
■ To see more properties for an object, select a tab at the bottom of the Inspector.

If you’re ever unsure of the valid range for a property,


hover the mouse over its current value and look at the
This is the kind of
status bar at the bottom of the Machine Edition window.
object you selected.

To edit this property, type


the new value in the box.

To edit this property, select the


new value from the list box.

To edit this property, click


the button.

Properties are organized


much like Windows folders.
Click + to expand
the list of subproperties. Select a tab for more
properties.
Click - to collapse
the list of subproperties.
Inspector Window
As you select the various properties within the Inspector, the Companion will
display a brief description of the selected property.
Want to know more? In the Help Index, look up Inspector and choose “Inspector Window”.

16 Getting Started GFK-1868E


Machine Edition
Getting to Know Machine Edition

Data Watch Lists


The Data Watch (only available while editing a project) is a debugging tool that
lets you monitor and edit the real-time values of variables defined in your project.
This is useful while working online with a runtime target. With the Data Watch tool
you can monitor individual variables or user-defined lists of variables. You can
change variable values and force the state of discrete (BOOL) variables. Watch lists
can be imported, exported, or saved with a project.
There are three tabs in the Data Watch tool:

The Static tab shows variables added to the Data Watch tool.

The Auto tab contains variables selected in the variable list or associated with
the currently-selected instruction in ladder logic.

The Watch List tab contains all variables in the currently selected watch list. A
watch list lets you create and save a separate list of variables to monitor. You
can define more than one watch list, but only one watch list can be monitored
Navigator: Project tab
in the Data Watch tool at a time.
Data Watch nodes
Want to know more? In the Help Index, choose “Data Watch List”.

The IEC or Reference address of


variables mapped to I/O terminals or
PLC memory.

The name and value of each element


of the structure variable Robot1 is
The structure variable shown here, even when not
Robot1 has been expanded
expanded.
to show all of its elements.
Double-click a value to change it.

The Static tab contains The Auto tab displays variables A Watch_List tab contains all variables in your
variables that you add to the associated with the item currently project which have been added to the currently-
Data Watch tool. selected in an editor or tool. selected Watch list.

Data Watch Window


To d ef ine a Watch Li st:
1. Right-click the Data Watch Lists folder and select New.
2. Double-click the new Watch List to open it in the Data Watch tool.
3. Add variables to the Data Watch as desired.
The changes to the watch list are automatically saved for later use.

GFK-1868E Getting Started 17


Machine Edition
2 Getting to Know Machine Edition

Smart Lists
While working in Machine Edition editors, you are frequently required to input
variable names, instruction mnemonics and other data items. In many cases, when
text entry is required, a Smart List will appear to speed your progress.

This tells you what you need to enter or select.


This text changes color based on
whether the entry is valid or invalid.
For example, invalid entries are red. As you type in the input box, the list selection
Valid entries in the list are black.
jumps to the item that is closest to what you
Valid typed entries that are not in the
list appear green; accepting this typed. Press ENTER to create a new item based
entry creates a new item (in this on what is typed, or use the Down arrow to
case, a new variable). use the selected item.

Smart List Display For example, if you typed “fill” in the Smart
List, the FillLevel variable would be
highlighted. If you want to use an existing
variable (in this case, “FillLevel”), use the
Down arrow to select the highlighted item,
then press ENTER. To create a new variable
called “fill”, simply press ENTER without using
the Down arrow.

18 Getting Started GFK-1868E


Machine Edition
Getting to Know Machine Edition

The Toolchest

Toolchest The Toolchest (only available while editing a project) is a repository of


preconfigured object templates you can drag into your project. These objects can
be as simple as a single ladder logic instruction, or as complex as a robotic arm
with fully-configured ladder logic and HMI animation.
While Machine Edition comes with a set of preconfigured object templates, you
can create your own—and since you can add as many copies of them as you want,
this can save you hours of development time.
Want to know more? In the Help Index, look up toolchest and choose “Toolchest”.

Toolchest items are grouped


into drawers. Select the drawer
you want with this list box.

Within a drawer, Toolchest items


are organized into folders. You can drag these logic
instructions directly into
your ladder program.

The Ladder, HMI, and SFC


drawers contain simple
instructions and functions.

Other drawers contain


fxClasses—definitions for
fully-configured objects
that you can also drag into
your project.

Toolchest Window

Definitions of all preconfigured objects within the Toolchest are displayed in the
Companion.

GFK-1868E Getting Started 19


Machine Edition
2 Getting to Know Machine Edition

The Feedback Zone

Feedback Zone The Feedback Zone (only available while editing a project) is an interactive
window that displays output information generated by Machine Edition-enabled
components. Using the Feedback Zone, you can keep track of project information,
locate validity errors within your project, display generated reports, and more. It is
organized into several tabs. Click on a message to display more information about
the error in the Companion Window.
Want to know more? In the Help Index, look up Feedback and choose “Feedback Zone Tool
Window”.

Press F4 to cycle through


entries in the Feedback Zone.
In the Build Tab (shown),
Reports Tab, and References
Tab, pressing F4 also jumps
you to the location of the
selected item in the project.

The Build tab displays the status and


results of a validate or download The References tab displays a list of all the places a variable is used in a project.
operation. Use this tab to discover and fix To do so, click the Reference tab and then select a variable from the Variable List.
any errors you may have in your project. You will see a list of all the places the variable is referenced in your project.

The Import tab displays a list of errors and warnings The Reports tab displays a list of all reports
from an import operation (eg., errors/warnings will generated during the current session. Double-click
be listed when you import variables from a PLC into a a report in the list to redisplay it in the InfoViewer.
Machine Edition project).

The Messages tab tracks and displays operations that


have been completed within Machine Edition (eg., a
message is added everytime you open a project).

Feedback Zone

20 Getting Started GFK-1868E


Machine Edition
Getting to Know Machine Edition

Managing Variables
Variables are named storage spaces for data values defined in Machine Edition
projects. A variable could store the current velocity of a motion controller motor,
the height of a robotic arm, or any other value that an application needs to keep
track of. Most variables in a project can be shared among various components and
targets, such as View panels and Logic Developer - PC’s ladder logic.
You manage variables in the Variables tab of the Navigator, also called the
Variable List. Like most items in Machine Edition, you configure variables by
editing their properties in the Inspector.
The values a variable can store depends on its data type. For example, a DINT data
type indicates that the variable can store “Double Integers”, 32-bit values. The
location where a variable’s value is stored is indicated by its data source. Typically,
a variable’s value is either stored internally in the target’s memory or is retrieved
(and sent) to external PLC hardware, via an I/O terminal or other connection.
Available data types and data sources depend on the target type and (if applicable)
components added to the target.
You can also use arrays and structure data types in Machine Edition projects. An
array is a series of variable elements with identical data types, referenced by a 0-
based index (as in “MyArray[3]”). A structure data type is a group of variable
elements that may or may not have the same data type, referenced by the name of
each element (as in “MyStructure.MyElement”). Custom structure data types are
created with fxClasses in the Toolchest.
Want to know more? In the Help Index, look up “Arrays” and “STRUCTURE data types”.

Property Columns In addition to the Inspector, the three buttons at the top of the Navigator let you
edit variable properties in a spreadsheet-like column view.

Click to open and close the property column display. This button is only available in the Variables tab.

Click to dock and undock the Navigator window. Undocking the Navigator (that is, making it work like
an Editor window) can make it easier to work with properties in the column view.

Click to display a list of available property columns. Double-click a property to add it to the current set.

GFK-1868E Getting Started 21


Machine Edition
2 Getting to Know Machine Edition

When opened, the Navigator’s property columns view consists of a grid of cells:

This grey box indicates the item whose


property you are editing.

This black box indicates that the column


supports “incremental dragging”. Click and
drag the box downwards to fill in the cells
underneath with consecutive values, based
on the value of the starting cell.

Cells for properties that don’t apply to an


item are grayed out.
The Navigator’s Property Columns view

Variable Reports While you can generate reports on many things in Machine Edition, they are
especially useful for the Variable List. Among the available reports are:

All variables by name, filtered or unfiltered.

Cross-references to variables (that is, the places they are used in the project).

All forced variables (Logic Developer - PC only).

Unused variables (that is, variables with no references anywhere in the project).
The unused variables report also has a link that lets you delete all unused
variables from the project at once.
Reports are displayed as HTML pages in the InfoViewer. To generate a report, click
anywhere in the Variables tab then, on the File menu, select Report.
Want to know more about Variables? Look up the following in the Help Index.

For information on variables in general, choose “Variables: an Overview”.
■ For information on variables in View, choose “Variables in View”.

For information on variables in QuickPanel projects, choose “Variable support in
QuickPanel applications”.
■ For information on variables in Logic Developer - PC, choose “Variables in Logic
Developer - PC”.

For information on variables in Logic Developer - PLC, choose “Variable support for GE
Fanuc PLC targets”.

For information on variables in Motion Developer, choose “Variables in Motion
Developer”.
■ For information on importing variables from other applications or database files, choose
one of the “Importing Variables...” topics.

22 Getting Started GFK-1868E


Machine Edition
Machine Edition Projects

MACHINE EDITION PROJECTS


During development, your automation application is called a project. Each
Machine Edition project is made up of targets and (sometimes) components. A
target represents the hardware platform where the finished project runs, such as a
Windows NT computer, a ControlStation/ViewStation CE unit, a motion controller,
or a QuickPanel unit. Different Machine Edition products support different target
types. Targets are often further subdivided into models, such as the ViewStation
and ControlStation versions of CE targets. Components add specific capabilities to
a target. Available components depend on the target type, model, and what
Machine Edition products you have installed.
For example, View lets you add an HMI component to NT and CE targets, used for
creating human-machine interfaces. Logic Developer - PC lets you add a Logic
component to NT and CE targets. This lets you create ladder logic to make a PC act
as a Controller. ViewStation CEs do not support logic; therefore you cannot
download a project that contains logic to a ViewStation CE.
Motion Developer lets you program motion controllers from your PC. Each motion
device programmed by Motion Developer is represented by a separate Motion
target. Since motion targets have no additional capabilities, adding additional
components is not necessary.
Want to know more? In the Help Index, look up projects and choose “Machine Edition
Projects: an Overview”.

Running a Sample Project (View/Logic Developer - PC)


If you’re using View or Logic Developer - PC, we’ve provided some sample
projects that show basic operations of Machine Edition. Take a few minutes to
complete the following steps and learn the basics of project development in
Machine Edition.
■ For a more detailed example of creating projects, in the Help Index, look up
Tutorial and choose one of the topics listed there.

To r un a sa mp le pr oject
1. Run CIMPLICITY Machine Edition from the Start menu/Programs/CIMPLICITY Machine Edition.
2. In the Manager tab of the Navigator, double-click one of the sample applications listed under the
My Computer folder.
Sample applications include

Alarm Trends: an HMI application that demonstrates alarms and charts.

GFK-1868E Getting Started 23


Machine Edition
2 Machine Edition Projects


Animation Features: an HMI application that depicts the various types of
animation available in View.

Brewery: an HMI and logic brewery application that runs on a Windows NT
target.

Car Wash: an HMI and logic application that runs on a Windows NT target.
This application is built in an SFC document.

ControlStation HMI Features: an HMI and logic application that runs on a
Windows NT target. This application also shows some web documents.

FC2000 Brewery: an HMI and logic brewery application that runs on a
ControlStation/ViewStation CE. (Projects containing a logic component cannot
be downloaded to a ViewStation, as ViewStation CEs do not support logic.)

FC2000 Zone Control: an HMI and logic application that runs on a
ControlStation/ViewStation CE. This application runs a four-zone ventilation
logic system. It is to be used with the ControlStation/ViewStation CE Tutorial.
(Projects containing a logic component cannot be downloaded to a
ViewStation, as ViewStation CEs do not support logic.)
■ ST - Lunar Lander: an HMI and logic application that runs on a Windows NT
target. This project demonstrates the Structured Text (ST) language and its
interaction with UDFBs (User Defined Function Blocks).
Tutorials include

Animation: an HMI application that illustrates and provides details on the
various animations that you can use in your HMI.
■ AppExec: an HMI application that demonstrates the AppExec Script function.

Keystrokes: an HMI application that displays the analog values associated with
the keys on your keyboard.

Logging: an HMI application that demonstrates how to log production data to
an ASCII text file.

Recipes: an HMI application that shows how one would load and modify
recipes.

Scripting: an HMI application that demonstrates some of View Developer’s
scripting capabilities.
3. Browse through the project in Machine Edition.
Open the project’s graphical panels, ladder logic, and SFCs (if they exist) in their
respective editors. To open an editor, right-click the appropriate node in the
Project tab of the Navigator and select Open.

24 Getting Started GFK-1868E


Machine Edition
Machine Edition Projects

Also, take a look at the properties of the various nodes and objects. To view an
object’s properties, open the Inspector window, and then select an object.
4. In the newly opened project, press F9 to validate, download, and run the sample application.
The F9 key is a shortcut for the Run command which automatically starts View
Runtime and the Controller.
The sample application should now be running in both View Runtime and the
Controller. View Runtime appears, displaying the first panel of the project’s HMI.
You can see the real-time status of the logic by going online to the Controller. For
information about going online to the Controller, see “To go online to the
Controller” on page 25.

T o g o o n li n e t o the C o n tr o ll er
If you have chosen a project that contains ladder logic and/or an SFC document,
you can go online to the application and watch the logic being executed.
1. Minimize the Runtime window (but don’t close it) and return to Machine Edition.
2. In the Project tab of the Navigator, right-click the Target node and choose Go Online.
You are now online to the Controller (that is, you are working with the application
while it is running). The Controller is the part of the Runtime that solves ladder
logic and SFCs.
3. In the Project tab of the Navigator, open the Ladder Editor by double-clicking the Ladder Program node or
open the SFC Editor by double-clicking the SFC node.
In the editor, you can watch the logic being solved as the Controller operates. You
can start and stop Runtime and the Controller by right-clicking the target,
pointing to Online Commands, and selecting Start/Stop Runtimes from the
submenu. To go offline from the Controller, right-click the target and select Go
Offline.

Developing a Machine Edition Project


The first thing you have to decide when you create a Machine Edition project is
where the project will run after it is developed. That is, what type of target it will
have.
For View and Logic Developer - PC, your targets can be a Windows NT computer
(either the one you’re developing the project on, or a remote one that you connect
to through a network), or a Windows CE device (a ControlStation/ViewStation CE,
CE II, CE IIx, or QuickPanel CE).
For View alone, your target can also be a conventional QuickPanel unit.

GFK-1868E Getting Started 25


Machine Edition
2 Machine Edition Projects

For Logic Developer - PLC and Logic Developer - State, your target is a GE Fanuc
PLC. You can also configure remote I/O targets that represent a variety of remote
I/O adapters and their associated I/O modules.
If you’re using Motion Developer, the choice is easy—simply determine whether
your motion hardware is a motion controller/drive or a drive-only device (see page
89).
After you’ve decided on the target, you need to determine which components your
project will include: HMI (with View), and/or Logic (with Logic Developer - PC).
Note that ViewStations do not support Logic components. A project can have
multiple targets of different types with various components running on each target.
Want to know more? In the Help Index, look up “Targets: an Overview”.

To c r ea te and develop a pr oj ec t
The following procedure introduces the general steps involved in creating a project
using a template, and downloading a project to a target computer.
1. Start CIMPLICITY Machine Edition from the Start menu/Programs/CIMPLICITY Machine Edition.
2. Create a project using a template.
In the Manager tab of the Navigator, right-click My Computer (if using
Manager—right-click Machine Edition) and select New. The New Project dialog
box appears.
3. In the New Project dialog box, type a name for the new project, select a template, and click OK.
A description of the template appears below your selection. You can click
hypertext links in the description for details on the template components.
At this point, you need to know the type of target hardware to which your project
will download, as this will determine which template you choose. In some project
templates (such as the “View/Control” template), you can select this as one of
several parameters within an HTML page on the template dialog box.
The project is opened in Machine Edition and the Navigator changes to reflect
those components that make up the project you just created.
Want to know more? In the Help Index, look up templates and choose “Creating a New
Machine Edition Project” or “Creating a Project with CIMPLICITY Manager”.

4. In the Variable List, create variables for your application.


In the Variables tab of the Navigator, right-click the Variable List node, point to
New Variable, and choose the type of variable you want to create.
By default, the Variable List node filters out all system variables. System
variables are created automatically when you add components to Windows NT, CE

26 Getting Started GFK-1868E


Machine Edition
Machine Edition Projects

, QuickPanel or PLC targets. To display all variables including system variables,


right-click the Variable List node, point to Filter By, and choose No Filter.
Want to know more? In the Help Index, look up variables and choose “Variables: an
Overview”.

5. Create your application.


With Logic Developer - PC, add logic (Ladder, Il, ST, SFC) to your project and
configure a control I/O driver to model your hardware. If the template you chose
did not include a Logic component, add one now—right-click the target, select
Add Component, and choose Logic. (ViewStation doesn’t support logic.)
■ In the Project tab of the Navigator, under the Logic folder, open the Ladder
Editor by double-clicking the Ladder Program node.

Drag ladder instructions from the Toolchest into the editor. You can find
ladder instructions in the Ladder drawer of the Toolchest.
■ Assign variables to instructions. You can do this with the Smart List, which
appears when you insert or double-click an instruction. Or, drag a variable from
the Variables tab of the Navigator and drop it on the instruction you want it
mapped to.

You can add additional logic blocks (IL, ST) and organize your logic with SFC.
Want to know more? In the Help Index, look up logic and choose “Ladder Logic Instructions:
an Overview”.

With View, create the graphical panels and animation for your project. If the
template you chose did not include an HMI component, then add one now—right-
click the target, select Add Component, and choose HMI. (If a target has both an
HMI and a Logic component, you’ll typically create the Logic component first.)

In the Project tab of the Navigator, open the Panel Editor by double-clicking
a panel node.
■ Use the Graphical Panel toolbar to create your HMI and/or drag graphical
objects from the Toolchest onto a panel. You can find a set of fully-configured
objects (complete with animation) in various Toolchest Expert Objects drawers.
With Motion Developer, begin by running the Motion Expert wizard.
■ If necessary, open the “Main Wizard” home page by right-clicking the target
and selecting Main Wizard.

In the wizard page, click Motion Expert and follow the instructions on screen.
For more information on using wizards, see page 93.

GFK-1868E Getting Started 27


Machine Edition
2 Machine Edition Projects

6. If necessary, configure the I/O hardware connections for your project.



For Logic Developer - PC, set up Control I/O in the Control I/O Drivers
folder (in the Project tab of the Navigator). To add a driver, right-click the
Control I/O Drivers folder and select New Driver. Use the Control I/O tool to
configure your drivers. Map variables to I/O terminals.
Want to know more? In the Help Index, look up control and choose “Control I/O Tool”.


For View, set up PLC Access I/O in the PLC Access Drivers folder. To add a
driver, right-click the PLC Access Drivers folder and select New Driver.
Configure the drivers in the Inspector window. On NT targets, you might want
to set up OPC I/O in the OPC Client folder.
7. When your project is complete; validate, download, and run your project by pressing the F9 function key.
Machine Edition saves the project, performs a validation, builds the run time files,
and attempts to establish a connection to the target computer.

Validating and Downloading a Project


During project development, you will go through the validation and download
processes several times. The validation process checks the project for errors. If the
project contains errors, they are listed in the Build tab of the Feedback Zone.

All errors must be fixed before the download process can proceed. Warnings
are also listed in the Feedback Zone, but they do not prevent the download
from starting.
When fixing project errors, use the F4 function key to scroll through errors in the
Feedback Zone, jumping to their locations in the project.
The download process involves two steps. The first step creates (or builds) all the
run time files necessary for a target to perform its role in a completed project. The
second downloads those files to the target devices or computers.

For Motion Developer, the easiest way to set up the motion control device for
downloading is with the Set Communication Parameters wizard. Open the
Main Wizard page for the target (right-click the target and select Main Wizard).
Then, point to Configuration and select Communication Parameters. Click
Finish when you’re done.
■ To download a View or Logic Developer - PC project to the Windows NT
computer on which you are developing (a local target), ensure the target
property Computer Address is set to “.” (without the quotation marks).
Otherwise—for remote targets—type the IP address or computer name of the
remote computer you want to download to, in the Computer Address property.

28 Getting Started GFK-1868E


Machine Edition
Machine Edition Projects


To download a QuickPanel project, ensure the target property Computer
Download Port is set to the applicable COM port.
Additional basic information on setting up Windows NT and CE targets follows.

Pr epar ing a Remote NT target for Downloa ding


The following steps need to be completed on the remote Windows NT target
computer before you can download a project to it.
1. If you are downloading to another NT computer (other than the ControlStation or CE box), ensure that the run-time
files are installed on that device.
ViewStation and ControlStation targets are shipped with the run-time files
preinstalled. If you’re using your own Windows NT computer, you’ll have to install
the run-time files yourself.
2. Share the Machine Edition installation directory with the development computer that contains the project files.
In the Windows NT Explorer, navigate to the Machine Edition folder, right-click on
it and select Sharing. Click Shared As and in the Share Name field, type Machine
Edition.
3. Ensure you have the proper permissions to download files to the target computer.
Start the Windows NT User Manager (from the Taskbar, click Start, point to
Programs, Administrative Tools, and select User Manager). Double-click the Guest
user in the top half of the display. Clear the Account Disabled check box.
4. Within your Machine Edition project, specify the IP address or computer name of the remote NT target in the
Computer Address target property. This allows Machine Edition to locate and connect to the NT target computer.

Type the IP address or the computer


name of the remote NT target to which
you want to download your project files.

Want to know more? In the Help Index, look up downloading and choose “Preparing
Windows NT Targets for Downloading”.

GFK-1868E Getting Started 29


Machine Edition
2 Machine Edition Projects

Pr epar ing a Wind ows CE Tar get for download ing


The following steps need to be completed on the ControlStation/ViewStation CE,
CE II, CE IIx, and QuickPanel CE (QuickPanel View and QuickPanel Control)
targets before you can download a project to it. If you are not physically connected
to a ControlStation/ViewStation CE but want to test your project, you can
download the project to your local computer by setting the Use Simulator target
property to True. Note that you cannot download a project that contains a logic
component to a ViewStation CE, since ViewStation CEs do not support logic.
1. Physically connect the ControlStation/ViewStation CE to the Ethernet network. This step may require the help of a
network administrator.
2. Within your Machine Edition project, specify the IP address of the ControlStation/ViewStation CE in the Computer
Address target property.
To find the IP address of a ControlStation/ViewStation CE, double-tap the
System Information icon located on the desktop of the CE unit.
By default, the CE unit uses a DHCP (Dynamic Host Configuration Protocol) IP
address. This means that the IP address is dynamically assigned by the Ethernet
network server using DHCP. If you want to use a fixed IP address, you must
manually set the IP address on the ControlStation/ViewStation CE.
Want to know more? In the Help Index, look up downloading and choose “Preparing
Windows CE Targets for Downloading”.

Type the IP address of the


ControlStation/ViewStation CE to which
you want to download your project files.

30 Getting Started GFK-1868E


Machine Edition
Machine Edition Projects

Testing a View Project


The following steps introduce you to the Quick Test feature. Quick Test is similar to
a preview in that it allows you to quickly see the results of any changes you’ve
made to a graphical panel without having to download your entire project.
Note: The Quick Test feature is not available on QuickPanel targets.
Before you can use Quick Test, your project must have been downloaded at least
once to the target computer. If you want to Quick Test a graphical panel from a
ControlStation/ViewStation CE (or a QuickPanel CE) project, you must set the
target’s Use Simulator property to True and perform at least one download after
changing the setting.

To Q ui ck Test ch anges mad e to a gr aph ic al panel


1. Ensure that you’ve downloaded the HMI to the target computer at least once.
2. If you haven’t already done so, open the graphical panel you want to test.
3. Right-click in the panel and select Quick Test.
View Runtime appears with a preview of the graphical panel.

GFK-1868E Getting Started 31


Logic Developer - PC

3 Logic Developer - PC
Logic Developer - PC is the PC control section of Machine Edition providing the
logic component of a project. With Logic Developer - PC you create control
programs using standard IEC 61131-3 editors in a graphical environment. The
programs you create are downloaded to the PC Logic Controller and executed.
You interface to a plant or process through the I/O system of your choice; Logic
Developer - PC supports a wide range of industry standard hardware.
Logic Developer - PC supports Windows NT, Windows CE, and QuickPanel CE
targets.
All user-defined logic programs are contained in the Logic folder, including
the following:
■ Sequential Function Chart (SFC) editor (see page 35)
■ Ladder Program (see page 39)
■ Instruction List Blocks (see page 43)
■ Structured Text Blocks (see page 46)
The following runtime elements are included with Logic Developer - PC:
Navigator: Project tab

Logic Developer - PC Web Access (see page 49)
Logic component nodes

Control I/O Drivers (see page 52)

PC Logic Controller (on target computer) (see page 55)
Note: User-defined folders can be added to the Logic folder or to another user-
defined folder to organize your logic. A user-defined folder can contain any type of
logic block except ladder, of which there is only one, contained in the logic folder.

GFK-1868E Getting Started 33


Logic Developer - PC
3

T o c r ea te a pro j ec t tha t inc lu d es a lo g ic c om po n e n t


1. In the Manager tab of the Navigator, right-click My Computer and choose New.
The New Project dialog box appears.
2. In the Project Name box, enter a name for your project.
3. From the Project Template list, choose a template that includes a logic component.
A preview of what each template includes is displayed as you select different
templates.
4. Click OK.
Your new project is created and the Project tab is opened in the Navigator.

T o a dd a l og ic c o mpo n e n t to a n e xi s ti n g pr oj ec t
• In the Project tab of the Navigator, right-click a target, point to Add Component and choose Logic.
The Logic folder with an empty ladder program and SFC component is added to
your project.

T o a d d a u s er - d e f i n e d f o l d e r to y o ur p ro j e c t
1. Ensure that your project contains a logic component (see above).
2. Right-click the Logic folder or a user-defined folder, point to New, and then choose Folder.
The new folder appears in the Project tab of the Navigator in alphabetical
order.
3. (Optional) Enter a name for the new folder.

34 Getting Started GFK-1868E


Logic Developer - PC
SFC Editor

SFC EDITOR
SFC logic is a graphical language for organizing the sequential execution of
control logic. The SFC editor is an easy-to-use graphical tool for editing sequential
function charts in the Machine Edition environment. With the SFC editor, you can
work on a disk copy of a sequential function chart (offline) or monitor the
execution of an SFC running in the Controller (online). You can also configure the
appearance and behavior of the SFC editor.

Sequential Function Chart


An SFC is much like a flow chart; it is a high level control program that organizes
detailed blocks of logic into a state-like flow. In general, an SFC consists of steps
Navigator: Project tab alternating with transitions. A transition can be a BOOL variable or a Structured
SFC nodes Text statement, which resolves to a BOOL value. Each step represents a state that
the program is in until the transition following it allows execution to proceed to the
next step. Each step contains actions that are user-defined sections of ladder, IL, or
ST logic. The actions in a step are executed in the order they are listed and are
repeated each Controller scan while the step is active. Each action in a step has a
qualifier associated with it that governs when and how the action will be executed.
An SFC document is a grid of cells. Each cell can contain an instruction. The
instruction set includes steps, transitions, branches, parallels and jumps.
An SFC can be expanded by adding macros. Each macro is a special SFC
document that can be referenced any number of times from its SFC document or
other macros.
Want to know more? In the Help Index, look up Macro and choose “SFC Macro”. You can also
see the SFC Tutorial in the online help (look up SFC in the Help Index). This tutorial takes you, step-
by-step, through the creation of a Sequential Function Chart that controls traffic signals.

To a dd a new SFC
1. In the Project tab of the Navigator, right-click the Logic folder or a user-defined folder, point to New,
and then choose SFC.
The new SFC appears under the Logic folder or a user-defined folder in
alphabetical order.
2. (Optional) Enter a unique name for the new SFC.

GFK-1868E Getting Started 35


Logic Developer - PC
3 SFC Editor

To o pen a n SFC o r ma cr o fo r ed it ing


• In the Project tab of the Navigator, under the Logic folder or under a user-defined folder, double-click
an SFC or macro node.
The SFC editor opens with the document ready for editing.

T o c r ea te a n ew S F C m a cr o
1. In the Project tab of the Navigator, under the Logic folder or under a user-defined folder, right-click an
SFC or macro node and choose New.
2. (Optional) Enter a unique name for the new macro.
Your new macro appears as a child node of the SFC or macro node you started
with.

Working with the SFC editor - Offline


The SFC editor interacts with the Machine Edition tools to provide maximum
flexibility when editing a program. The following picture illustrates some of the
operations you can perform.

Insert instructions,
Configure instructions rows, and columns
and their associated with the SFC toolbar.
variables in the
Inspector.

Drag instructions from


the SFC drawer of the
Call a macro with a
Macro Step instruction. Toolchest to the SFC
editor.

Use the Variable List


Right-click a blank cell
to create variables
then drag them to to start editing.
instructions in the
SFC editor.

Locate all instances of


The Companion
provides help on a variable (References)
anything you click. or syntax errors
(Build).

36 Getting Started GFK-1868E


Logic Developer - PC
SFC Editor

T o i n s er t a n S F C ins t ruc ti on
1. In the SFC editor, right-click a blank cell and choose Place Instruction.
2. Choose an instruction mnemonic from the smart list that appears and press ENTER to finish.
You can set the SFC editor options to automatically assign default variables to
instructions or to allow you to choose and create your own.

To Q ui ck Edit a n SFC
• In the SFC editor, click a blank cell and type instruction mnemonics separated by operators (see the following table).
Press ENTER to finish.
Each mnemonic specifies one or more instructions. Each operator moves the
location of the currently selected cell. Default variables are assigned when Quick
Editing an SFC.

SFC Operators
To ... Use ...
move right one cell +
move left one cell -
move down one cell ;
stay on current cell /

GFK-1868E Getting Started 37


Logic Developer - PC
3 SFC Editor

Working with the SFC editor - Online


The SFC editor allows you to view the execution of an SFC as it happens. The
following picture illustrates this capability.

Active steps and


transitions are
highlighted in Power flow in the
bold color.
associated ladder
program (actions) is
indicated in bold color
while actions are
executed.

Many actions can be


Right-click any
BOOL to turn or viewed at once.
force it On or Off.

The References tab of the


Use the Data Watch to
Feedback Zone lists all
instances of a variable. monitor or change
Click an entry to locate it data values in real
in an editor. time.

To go onli ne to the Controller’s SFC


• In the Project tab of the Navigator, right-click the target and choose Go Online. (Before you can go online to
the Controller, you must first download the project.)
The Controller’s SFC appears in the SFC editor. When the Controller is running,
active steps and transitions are graphically indicated.

38 Getting Started GFK-1868E


Logic Developer - PC
Ladder Editor

LADDER EDITOR
Ladder logic is likely the most popular language in use today for creating control
programs. The ladder editor is a graphical tool for editing ladder programs in
Machine Edition. With the ladder editor, you can work on a disk copy of a ladder
program (offline) or with a live program as it runs in the Controller (online). You
can also configure the appearance and behavior of the editor under the Options
tab of the Navigator.

Ladder Program
A ladder program is composed of rungs of ladder logic instructions that execute
sequentially from left to right, top to bottom. The instruction set includes standard
IEC 61131-3 functions supplemented by a large library of advanced and I/O
specific functions. Along with rungs and instructions, a ladder program contains:
■ Labels: Each default (START and END) or user-defined label is a rung
Navigator: Project tab providing an entry point for program execution.
ladder logic nodes ■ Subroutines: Each user-defined subroutine is a separate, reusable
section of logic that can be called from anywhere in a ladder program.
■ Actions: Each action is a separate block of logic that can be referenced
in a Sequential Function Chart.
Note: You can also use User-Defined Function Blocks (UDFBs). Each UDFB is a
callable subroutine that you can pass parameters to/from.
Want to know more? In the Help Index, look up ladder and choose “Ladder Program: an
Overview” or “UDFB”.

To open a l adder pr ogr am for ed iting


• In the Project tab of the Navigator, under the Logic folder, double-click the Ladder_Program node.
Your ladder program opens in the ladder editor.

T o l o ca te a lab el
• In the Project tab of the Navigator, under the Logic folder, under the Ladder Program folder, double-
click a label node.
Your ladder program, subroutine or action opens in a ladder editor window with
the label selected.

GFK-1868E Getting Started 39


Logic Developer - PC
3 Ladder Editor

T o c r ea te a n ew sub ro u ti n e o r a ct io n
1. In the Project tab of the Navigator, under the Logic folder, under the Ladder Program folder, right-click
the Subroutines or Actions node and choose New.
2. (Optional) Enter a unique name for the new subroutine or action.
An empty subroutine or action, labeled with the name you entered, is
created. Double-click the node to open it for editing. You can add ladder logic to
the subroutine or action as required.

Working with the ladder editor - Offline


The ladder editor interacts with all of the Machine Edition tools to provide
maximum flexibility when editing a program. The following picture illustrates
some of the operations you can perform.

Insert rungs and


common instructions
Click a shunt and type with the ladder
mnemonics to insert Instruction toolbar.
instruction (QuickEdit).

Drag variables to In-place edit


instruction parameters descriptions for rungs,
to configure them. variables, and your
ladder program.
Drag branches around
instructions to create
parallel execution
paths. Drag instructions from
the Ladder drawer of
the Toolchest.
Display subroutines
and actions in
separate editor
windows.
Locate all instances of
The Companion tracks a variable (References)
your moves providing or syntax errors
information on what (Build).
you click.

T o i n s er t a r u n g
• In the ladder logic, right-click a rung, shunt, label or description and choose Insert Rung.
An empty rung is inserted. You can set the editing options for the ladder editor so
that rungs are inserted either before or after the current selection.

40 Getting Started GFK-1868E


Logic Developer - PC
Ladder Editor

To Q ui ck Edit l add er l o gi c
• In the ladder logic, click on a rung and type instruction mnemonics separated by semicolons, and then press ENTER.
The instructions specified by the mnemonic string you entered will be inserted, in
order, on the rung. You can enter mnemonics followed by variable names if you
want to assign instruction parameters while Quick Editing.
Example: Add a Normally Open Contact (NO) instruction followed by a Coil
(OUT) instruction and assign the variables MySwitch and MyCoil to these
instructions respectively.
NO MySwitch; OUT MyCoil

Working with the ladder editor - Online


With the ladder editor you can go online to a ladder program being run by the
Controller (page 55). While online, you can view the power flow through the
ladder logic and watch data values change in real time. You can also edit the
ladder program, just as you would while offline, with the following restrictions:
■ Labels, subroutines, and actions cannot be deleted while online.
■ Only one rung can be changed before writing the changes to the Controller.
The following picture illustrates the ladder editor while online to the Controller.

Lightning bolts in each


Online status is indicated corner indicate the
by the color of the Controller’s status and
target icon. change to reflect fault
conditions.

New or edited rungs are


indicated with alternate Data values are
color bold lines until displayed in real time
you Write Changes. as they change each
scan by the Controller.

Power flow is indicated


with bold colored lines.
Use the Data Watch to
view or set data values
for any variable in your
project.

GFK-1868E Getting Started 41


Logic Developer - PC
3 Ladder Editor

T o g o o nli ne t o t he C o ntr o ll er ’ s la dde r pr og r am


• In the Project tab of the Navigator, right-click the target and choose Go Online. (Before you can go online
to the Controller, you must first download the project.)
The Controller’s ladder program appears in the ladder editor. When the Controller
is running, power or state flow is graphically indicated and data values updated.

T o wr it e a chan ge d rung t o the C o nt ro ll e r


• From the Controller menu, choose Write Changes. (The Controller menu is available only when the ladder editor is
selected.)
The Controller’s ladder program is updated with the single altered rung.

42 Getting Started GFK-1868E


Logic Developer - PC
Instruction List Editor

INSTRUCTION LIST EDITOR


IL logic is one of four languages specified by the IEC 61131-3 standard. The IL
editor is an easy-to-use, intelligent, free-form text editor for editing IL blocks in the
Machine Edition environment. With the IL editor, you can work on a disk copy of
an instruction list (offline) or monitor the execution of an IL bLock running in the
Controller (online). You can also configure the appearance and behavior of the
editor under the Options tab of the Navigator.

Instruction List
IL is a low-level language composed of basic and advanced Math instructions that
execute sequentially from top to bottom. IL blocks can also contain labels
providing entry points for program execution. In its simplest form an IL can:
1. Load a data value (operand) into the accumulator.
Navigator: Project tab
2. Perform an operation on the accumulator, saving the result in the accumulator.
IL block nodes
3. Store the accumulator’s value to memory (a variable).
4. Do another accumulator load or operation, etc.

Want to know more? In the Help Index, look up “IL Editor: an Overview”.

To open a n IL block for ed iting


In the Project tab of the Navigator, under the Logic folder or under a user-
defined folder, double-click an IL block node.
Your IL block opens in the IL editor.

T o c r ea te a n ew IL b l oc k
1. In the Project tab of the Navigator, right-click the Logic folder or a user-defined folder and choose New.
2. (Optional) Enter a name for the new IL block then press ENTER.
Your new IL block appears as a child node of the Logic folder or a user-defined
folder.
Note: IL blocks can be executed only when called as Actions from an SFC.

GFK-1868E Getting Started 43


Logic Developer - PC
3 Instruction List Editor

Working with the IL editor - Offline


The IL editor interacts with the Machine Edition tools to provide maximum
flexibility when editing a program. The following picture illustrates some of the
operations you can perform.

Drag variables to
the IL editor to
complete IL
statements. Multiple-line block
comments to
document your IL
block.

In-line comments for


individual IL
Copy and paste an statements.
IL statement(s)
from the IL editor to
other sections or IL
blocks.

Simply begin typing


for a smart list to
appear.

The Companion Locate all instances


tracks your moves of a variable
providing (References) or
information on (Build).
what you click.

T o i n s er t an I L i n s tr u ct io n
1. In the IL editor, just begin typing. A smart list will appear containing any items (labels, mnemonics or variables) that
are applicable at the current cursor position.
2. Enter or choose from the list the mnemonic you want.

T o c o n ve r t a n a me t o a v a r i a b le
1. In the IL editor, right-click a name and point to Create “name” as.
2. Choose a data type from the list that appears.

44 Getting Started GFK-1868E


Logic Developer - PC
Instruction List Editor

Working with the IL editor - Online


The IL editor allows you to view the execution of an IL block as it runs. This is
illustrated in the following diagram.

Online status is The grey background


indicated by the color indicates that the
of the target icon. editor is online to the
Controller and is
read-only.
Variable types and
their data values are
displayed in real
time as they change
each scan by the
Controller.

Right-click any BOOL


variable to force it
Use the Data Watch
On/Off or to turn it
tool to view or set
On/Off.
data values for any
variable(s) in your
project.

T o g o o n li n e t o the C o n tr o ll er ’ s IL
1. In the Project tab of the Navigator, for each of the following right-click the target and choose:
2. Validate (F7).
3. Download (F8).
4. Run (F9)
5. Go Online (CTRL+F11).
The Controller’s IL block appears in the IL editor as read-only and with a grey
background. In the IL editor, you can monitor the values of a variable, by clicking
on the variable. You can also change and/or force BOOL variable states.

GFK-1868E Getting Started 45


Logic Developer - PC
3 Structured Text Editor

STRUCTURED TEXT EDITOR


ST logic is one of four languages specified by the IEC 61131-3 standard. The ST
editor is an easy-to-use, intelligent, free-form text editor for editing ST blocks in the
Machine Edition environment. With the ST editor, you can work on a disk copy of
a structured text block (offline) or monitor the execution of an ST bLock running in
the Controller (online).

Structured Text
ST is a high-level language composed of basic and advanced Math instructions. ST
blocks can be executed as Actions called from SFC Steps, or when called as a
subroutine from other ST blocks or ladder programs.
If an ST block is named 'MAIN', after downloading, the execution of every scan
will begin the ladder program, then the SFC program(s), then the named 'MAIN' ST
block.
Navigator: Project tab
ST block nodes
Some of the features in ST are: timers, arrays, bitwise access, strings and User
Defined Function Blocks (UDFBs). The Return keyword causes an early exit from a
subroutine.
Note: Each UDFB is a callable subroutine to and from which you can pass
parameters.
Want to know more? In the Help Index, look up “ST Editor” or “UDFB”.

To open a n ST block for ed iting


In the Project tab of the Navigator, under the Logic folder or under a user-
defined folder, double-click an ST block node.
Your ST block opens in the ST editor.

T o c r ea te a n ew S T b l oc k
1. In the Project tab of the Navigator, right-click the Logic folder or a user-defined folder, point to New,
and then choose ST Block.
2. (Optional) Enter a name for the new ST block.

Your new ST block appears under the Logic folder or under the user-defined
folder.

46 Getting Started GFK-1868E


Logic Developer - PC
Structured Text Editor

Working with the ST editor - Offline


The ST editor interacts with the Machine Edition tools to provide maximum
flexibility when editing a program. The following picture illustrates some of the
operations you can perform.

Multiple-line block
Drag variables to the comments to
ST editor to complete document your ST
ST statements.
block.
Hover over a
variable with the
mouse cursor to see
its data type.

Copy and paste ST


statements from the
ST editor to other In-line comments for
sections or ST blocks. individual ST
statements.

The Companion Locate all instances


tracks your moves of a variable
providing
(References) or
information on what
you click. (Build).

T o i n s er t a n S T ins tr u ct i on
1. In the ST editor, just begin typing. To see a list of valid variables, right-click anywhere and choose Insert Variable.
Choose a variable from the list that appears, then press ENTER.
2. To obtain a list of valid mnemonics, right-click anywhere and choose Insert Keyword. Choose a keyword from the
list that appears, then press ENTER.

GFK-1868E Getting Started 47


Logic Developer - PC
3 Structured Text Editor

Working with the ST editor - Online


The ST editor allows you to view the execution of an ST block as it runs. This is
illustrated in the following diagram.

The grey background


Online status is indicates that the
indicated by the color editor is online to the
of the target icon. Controller and is
read-only.

Variable types and


their data values are
displayed in real
time as they change
each scan by the
Controller.

Right-click any BOOL


variable to force it Use the Data Watch
On/Off or to turn it tool to view or set
On/Off. data values for any
variable(s) in your
project.

To go onli ne to the Controller’s ST


1. In the Project tab of the Navigator, for each of the following right-click the target and choose:
2. Validate (F7).
3. Download (F8).
4. Run (F9)
5. Go Online (CTRL+F11).
The Controller’s ST block appears in the ST editor as read-only and with a grey
background. In the ST editor, you can monitor the values of a variable, by clicking
on the variable. You can also change and/or force BOOL variable states.

48 Getting Started GFK-1868E


Logic Developer - PC
PC Web Access

PC WEB ACCESS
Machine Edition enables you to view a target’s PC logic data with a web browser,
such as Microsoft Internet Explorer 4.0 or later. When a Machine Edition project is
downloaded, it automatically launches an integrated web server. Users who
connect to this web site are presented with the Site Index, which contains the
following Logic Developer items:
Logic: Click Logic Navigator, Back to Main, or Help.
When you click Logic Navigator, an index (tree diagram) appears, which contains
the following PC logic:

Published SFCs and SFC macros.

Ladder program.

Ladder subroutines.

Actions.

ST blocks.

IL blocks.
From this list, you can open dynamic, remote views of specific PC logic blocks.
Want to know more? Select "PC Web Access features" under the Web Access
library in the Help tab of the Navigator.

T o a ll o w re m ot e a c ce s s to y o u r p ro j e c t
1. For each target that you want to allow access to, set the
target’s Publish Logic property to True.
This enables all PC logic except SFCs and SFC macros to be remotely viewable.
2. For each SFC and SFC macro in those targets that you want users to access, set its Publish property to True.
For example, to allow users to view an SFC remotely, set the SFC’s Publish property
to True.
Note: The target containing the PC logic to be published must be set as the active
target and a successful project download must occur.

To a ccess the PC logi c Site Index


1. Start Internet Explorer 4 or later. If you don’t have Internet Explorer 4 or later, you can install it from the Machine
Edition installation CD.
2. In the Address box in Internet Explorer, enter the computer name or IP address of the run time computer.
3. If you’re not sure what the run time computer’s name or IP address is, check the properties of the TCP/IP driver in
the Control Panel Network setup, or contact your network administrator.

GFK-1868E Getting Started 49


Logic Developer - PC
3 PC Web Access

4. If you’re testing the project on the local computer, enter “localhost” (without the quotation marks) as the Address.
This connects Internet Explorer with the local computer.
When you connect to the Runtime computer, the Site Index appears with a list of
links to possible ways to view your process data.

T o v i ew PC l og i c r e mo t el y

1. Start Internet Explorer 4 or later.


2. In the Address box in Internet Explorer, enter the computer name or IP address of the run time computer.
The Site Index appears.
3. Click Logic, and then click Logic Navigator.
An index (tree diagram) appears, which contains all published PC logic.
4. Click the SFC, SFC macro, ladder program, ST block or IL block you want to view.
The selected PC logic block appears. See To allow remote access to your project
above for information on publishing PC logic.

While viewing ladder logic remotely, values of variables can be viewed by


hovering the mouse pointer over the variable. If a BOOL variable on a Coil or
Contact instruction is
■ Green, the variable is set to True (1).

Black, the variable is set to False (0).

50 Getting Started GFK-1868E


Logic Developer - PC
PC Web Access

Values of variables in SFC Transitions (including Structured Text Transition


statements) can be viewed by hovering the mouse pointer over the Transition. SFC
Transitions that are

Green, have a result of True (1).

Black, have a result of False (0).

Click to go back to the Click on an SFC action


Logic Developer - PC to view it remotely.
main menu.

Hover over an SFC transition


Click to go to the GE with the mouse pointer to
Fanuc home web page. view its value or values.

GFK-1868E Getting Started 51


Logic Developer - PC
3 Control I/O Drivers

CONTROL I/O DRIVERS


A control program (SFC, ladder, IL or ST) generally interfaces with the process it is
controlling through some type of physical I/O equipment. For PC-based control
systems this usually involves installing an adapter card in the target computer that
connects to an industry standard I/O network. In this way, data generated by a
process can be acquired and acted upon by the Controller as it executes its
program(s). Control I/O drivers provide the software required to connect the
Controller with an adapter card and the I/O network of your choice.
Want to know more? In the Help Index, look up control and choose “Control I/O Drivers”.

I/O Drivers
Logic Developer - PC comes complete with a constantly growing library of drivers.
Some of these drivers require no additional equipment to be installed on the target
computer including the following:

Navigator: Project tab



ASCII: Allows you to use an existing communications port on the target
computer to send and receive ASCII formatted data to and from other
Control I/O nodes
equipment.

Control Peer: Allows Controllers running on two or more computers to share
process data. Messages are passed via ethernet when variable values change.
Other drivers require third-party adapters to be installed in the target computer.
Logic Developer - PC supports most of today’s most popular I/O networks
including the following:
■ Allen-Bradley RIO ■ Interbus-S I/O

DeviceNet I/O1,3 ■
Legacy DeviceNet I/O
■ Ethernet I/O1 ■ Legacy PROFIBUS I/O1

GE Fanuc CNC I/O ■
Modbus Slave

GE Genius I/O ■
Modicon MB + Distributed I/O
■ GE Fanuc Series 90-30 I/O1,2,3 ■ Modicon Quantum-800 Series I/O

Honeywell SDS ■
PROFIBUS I/O1, 2
1. Also supported for Windows CE targets
2. Also supported for the Hard Real-Time Controller
3. Also supported for QuickPanel CE targets

52 Getting Started GFK-1868E


Logic Developer - PC
Control I/O Drivers

T o a dd a C on t r ol I /O dri v er t o a t ar ge t
• Right-click the Control I/O Drivers node, point to New Driver then choose a driver from the list.
The new driver appears as a child node under the Control I/O node. A
default configuration of the driver is also added to the Control I/O tool. You can
add up to nine drivers to a target.

Control I/O Tool

Control I/O The Control I/O tool is a special editor used to graphically model the I/O
equipment driven by Control I/O drivers. Each I/O system is portrayed as a tree
structure starting with a driver node branching down to terminals that
represent physical field connections. Between the driver and terminals are nodes
representing any cards, racks or modules included in the system. Field
data is shared with the components of your project by mapping variables to each
I/O terminal.
Want to know more? In the Help Index, look up Control I/O Tool and choose “Control I/O
Tool”.

GFK-1868E Getting Started 53


Logic Developer - PC
3 Control I/O Drivers

Working with Control I/O


The Control I/O tool interacts with other Machine Edition tools to speed the
creation of your I/O system. The following picture illustrates some of the
operations you can perform.

Drag variables from IEC addresses can be


the ladder editor to displayed in a ladder
Control I/O terminals. program above
variables mapped to
Use the Variable List I/O terminals.
to create variables
then drag them to I/O
terminals. Double-click a node to
configure a driver,
card, rack or slot.

Double-click a View and edit data


terminal and type a values for variables
name to create and mapped to I/O
map a variable of the terminals.
default type.

T o c o n fi gu r e an I /O sy s t em w i th the C o n tr o l I / O to o l
1. Right-click a driver, card, rack, or slot and choose Add xxx to build an I/O tree.
2. Double-click a driver, card, rack, or slot node to configure it.
3. Map variables to I/O terminals.

54 Getting Started GFK-1868E


Logic Developer - PC
Controller

CONTROLLER
The Controller is a run time engine, hosted on a target, that performs the
following operations in a repeated scan cycle:

Solves logic in a ladder program, including any called subroutines.

Solves logic in an SFC, including any called actions.

Solves ST block named ‘MAIN’ (if it exists), including any called subroutines.
■ Interfaces with Control I/O drivers.

Updates the target’s runtime database, which is shared with the View Runtime
(see page 81).
The following diagram illustrates the Controller’s scan cycle.

Navigator: Project tab


Target node

The Controller can be hosted on a:


■ Windows NT target. The Controller appears as a Logic Developer - PC system
service.

Windows NT target with VenturCom RTX. The Hard Real Time Controller
appears as a Logic Developer - PC system service.

Windows CE target. The Windows CE Controller appears as a Logic Developer -
PC program running under Windows CE.

QuickPanel CE target. The Windows QuickPanel Control appears as a Logic
Developer - PC Controller program running under Windows CE.

GFK-1868E Getting Started 55


Logic Developer - PC
3 Controller

You specify a target when creating a project. The Hard Real-time Controller is a
special add-on configured only on Windows NT targets. In all cases, the Controller
automatically starts when the target operating system is started.
Want to know more? In the Help Index, look up Controller and choose “Controller: an
Overview”.

Working with the Controller


The Controller’s location (IP address or computer name), performance (scan rate or
tuning), and behavior (response to faults, watchdog timer and shutdown
procedure) are configured by setting the properties of the target it resides on.

T o c o n f i gu r e t h e Co n t ro l le r
1. In the Project tab of the Navigator, right-click a target and choose Properties.
2. In the Inspector, adjust the properties.
If your project includes an HMI component, properties of the View Runtime can
also be set at this time. You can also configure the Controller’s properties by
selecting Properties from the Controller menu. In this case, the Controller
Properties dialog box opens. The information in the dialog box is the same as in
the Inspector—just represented differently.
The logic component of a project must be downloaded to the Controller before the
project can be run.

T o d ow n l o ad a l og ic c om po n e n t to t h e C on tr ol l er
• In the Project tab of the Navigator, right-click a target and choose Download.
All components on the selected target are validated then downloaded to the
specified computer, if no errors exist. Errors listed in the Build tab of the Feedback
Zone must be corrected before a download can be completed. Logic components
are downloaded to the Controller, while HMI components are downloaded to the
View Runtime.
Although the Controller service is always running, you still have control over the
execution of your control programs. Offline, you can start, stop and reset
execution. When online to the Controller additional commands are available to
pause, single-scan or enable forces.

56 Getting Started GFK-1868E


Logic Developer - PC
Controller

Run Mode Store


Run Mode Store (RMS) functionality lets you update a target Controller’s program
without stopping the Controller. It is supported on all Logic Developer - PC targets.
When you attempt to download your project to the Controller, the Download to
Controller dialog box appears with the following options.

Attempt a Run Mode Store: Machine Edition will attempt a Run Mode Store
operation. That is, it will try to download your logic to the Controller while the
Controller is running.

Stop the Controller, then download: Machine Edition will not attempt to use the
Run Mode Store feature. Instead, it stops the Controller before initiating the
download operation.

Download Retentive Initial Values: Choose whether to download initial values
of retentive variables which may have changed since the previous download.
Several system tests and checks are performed when attempting a Run Mode Store
operation. If these tests fail, the logic program may not be downloaded to the
Controller.
Want to know more? In the Help Index, look up “Run Mode Store (RMS) (PC)”.

T o r u n t h e C on t r ol le r
• In the Project tab of the Navigator, right-click a target, point to Online or Offline Commands, and choose
Start Runtime.
The ladder program, SFC program(s) and the ST block named ‘MAIN’ begin
executing on the target computer or unit. If the target also has an HMI component
(see page 81), the View Runtime is started at the same time as the Controller.
To validate, download and run a project, right-click a target and choose
Download and Start “targetname”.

T o c o n fi gu r e an H R T C o n tr ol l er
Follow these steps if you’ve purchased the optional VenturCom RTX (HRT
Controller).
1. Right-click a target and choose Properties.
2. In the Inspector, set the Hard Real Time property to True.
Any Controller operations carried out will now attempt to use an HRT Controller
on the target computer. In order to use the HRT Controller, the VenturCom RTX
software must also be installed on the target.

GFK-1868E Getting Started 57


Logic Developer - PC
3 Controller

T o a ll o w an H R T C on t r ol l er t o run f o ll owi n g a W in do w s N T fa il ur e
1. Right-click a target and choose Properties.
2. In the Inspector, set the Delay Controller Shutdown property to True.
Any control programs (ladder, IL, ST or SFC) that are running in the specified HRT
Controller will continue to run in the event of a Windows NT or hard drive failure.
If the Delay Controller Shutdown property is set to False, the Controller will
execute a graceful shutdown if Windows NT fails.

Warm Standby
The Warm Standby feature provides an extra level of reliability for critical
Windows NT and Windows CE applications. It consists of two Controllers running
the Logic Developer - PC Controller (a primary and secondary or warm standby
Controller), and an I/O switch that determines which Controller is currently
connected to the physical I/O.
When a system using warm standby is started, the primary Controller is connected
to the I/O, solves logic, and updates the secondary Controller with critical data.
The secondary Controller receives the data and monitors the status of the primary
Controller. When a fault is detected in the primary Controller, or when the
secondary Controller can’t communicate with the primary Controller, the I/O
connection is automatically switched to the secondary Controller and the
secondary Controller takes over operations.

Working with Warm Standby


Note: You must set up the warm standby hardware before you can configure the
warm standby system.
Want to know more? In the Help Index, look up “Warm Standby”.

To c o nfi gur e War m Standby


1. In the Project tab of the Navigator, right-click a Windows NT or Windows CE target and choose Properties.
2. In the Inspector, scroll to the +Redundant System group of properties and double-click it to expand the
group.
3. Click the Redundant Mode property and choose Warm Standby.
4. Click the Controller Mode property and choose a value from the list.

58 Getting Started GFK-1868E


Logic Developer - PC
Controller

Hot Standby
The Hot Standby feature provides a high level of reliability for critical Windows
NT applications. It consists of two Controllers running the Logic Developer - PC
Controller (a primary and secondary or hot standby Controller) over a GE Genius
I/O network. The GE Genius driver automatically handles the switching between
the Controllers.
To download to a target with hot standby, the primary and secondary Controllers
must be synchronized, that is, they must both be downloaded.
By default, the primary Controller is active and the secondary Controller is the
backup. The backup Controller sets itself to active when:
■ A fault occurs.
■ A loss of communication occurs with the active Controller via the VMIPCI-
5565 reflective memory cards.
■ The target's Secondary Switch Time has elapsed.

Both Controllers can read from the network, however, only the active Controller
can write to the network.

Working with Hot Standby


Note: You must set up the hot standby hardware before you can configure the hot
standby system.
Want to know more? In the Help Index, look up “Hot Standby”.

T o c o n f i gu r e Ho t S t a n d b y
1. In the Project tab of the Navigator, right-click a Windows NT target and choose Properties.
2. In the Inspector, scroll to the +Redundant System group of properties and double-click it to expand the
group.
3. Click the Redundant Mode property and choose Hot Standby.
4. Click the Secondary Address property and enter the IP address (Controller name) of the secondary Controller.
5. Click the Secondary Switch Fault property and choose the type of fault the secondary Controller will become active
on.
6. Click the Secondary Node ID property and assign a unique node ID to the VMIPCI-5565 card of the secondary
Controller.
7. Click the Secondary Switch Time (ms) property and enter the number of milliseconds the secondary Controller is to
wait for communication from the primary Controller.

GFK-1868E Getting Started 59


Logic Developer - PC
3 Controller

8. Click the Primary Node ID property and assign a unique node ID to the VMIPCI-5565 card of the primary Controller.
9. Click the Primary Wait Time (ms) property and enter the number of milliseconds the primary Controller is to wait for
communication from the secondary Controller.

OPC Servers, Warm Standby and Hot Standby


Warm standby and hot standby are fully supported by the Logic Developer - PC
OPC server for CIMPLICITY Machine Edition. When a configuration file is
detected, the OPC server:

Generates internal objects so that it will recognize all warm standby or hot
standby configurations as logical Controllers to OPC clients.
■ Creates predefined OPC items for each logical Controller. These items indicate
which physical Controller is active and the statuses of the primary and
secondary Controllers.

To c o nfi gur e an O PC ser v er f or H ot Stand by and War m Standby


• The configuration is specified in a user-defined XML file with the name “WarmStandby.xml” that must reside in the
same folder as the LogicPC_OPC.exe file (that is, on the computer hosting the OPC server). WarmStandby.xml is
used for both the warm standby and hot standby features. In a default installation of Machine Edition, this folder is
in C:\Program Files\CIMPLICITY Machine Edition\OPC.

60 Getting Started GFK-1868E


4 View is the human-machine interface (HMI) component of Machine Edition,
View
providing the means to organize, track, display, and affect data from your plant or
process. With View you create graphical panels, write scripts, configure alarm and
logging schemes, and eventually launch the project in View Runtime. On NT/CE
targets, Web Access features let you publish data from Machine Edition HMIs to
the Internet for remote viewing over the Internet.
View supports HMI creation for Windows NT, Windows CE, QuickPanel, and
QuickPanel CE (QuickPanel View and QuickPanel Control) targets. Most
CIMPLICITY View tools and editors are common to all targets, but a few are
QuickPanel-specific; for details, see “QuickPanel Applications” on page 83.
The following are included with a View HMI component:

Panel Editor
Navigator: Project tab ■
Script Editor
HMI component nodes ■
Alarms

PLC Access Drivers

Language translation support

Message groups

Logging (NT/CE targets only)

OPC Client & Servers (NT/CE targets only)

Web Documents (NT/CE targets only)

View Runtime (NT/CE targets only)

Password security (QuickPanel targets only)

To c r ea te a pr oj ec t th at inc lud es an HMI component


1. In the Manager tab of the Navigator, right-click My Computer and choose New.
The New Project dialog box appears.
2. In the Project Name box, type a name for your project.
3. From the Project Template list, choose “View/Control”
4. In the preview pane, select the desired parameters for your new application (such as the target type and model).
5. Click OK.
Your new project is created and the Project tab is opened in the Navigator.

GFK-1868E Getting Started 61


View
4 Panel Editor

PANEL EDITOR
The Panel Editor is used to develop the layout of each panel in your HMI
application. Each panel is a single screen or window of the HMI. You draw and
configure graphical objects on the panel to create each screen.
Graphical objects are the various graphical elements of the HMI screen, such as
rectangles, polygons, buttons, and alarm displays. All objects area available from
the Drawing Tools toolbar. Many items perform actions when you tap them at run
time.
The Panel Editor displays the current panel as it will appear on the target unit’s
screen. In addition, the Panel Editor adds a drawing grid of dots to assist you in
lining up a series of graphical objects with each other.
■ On NT/CE targets, many graphical objects can be configured with up to nine
different types of Animation to move, change color, display data, trigger scripts,
and receive input during Runtime.
Navigator: Project tab ■ On QuickPanel targets, the Panel Editor also has a tiling grid. The tiles let you
Panel Nodes align graphical objects with the touch-sensitive cells on the surface of a
QuickPanel unit’s display.
Want to know more? In the Help Index, look up panels and choose “Graphical Panels”.

To a dd a new pa nel to an H MI
• In the Project tab of the Navigator, right-click the Graphical Panels folder and choose New Panel.
A new panel is added beneath the Graphical Panels folder in the Navigator. If
you’ve created a project using a template, the Graphical Panels folder most likely
already contains some default panels.

To open a panel for editing


• In the Project tab of the Navigator, double-click a panel node.
The panel opens in the Panel Editor.

T o c o n f i gu r e a p a n e l
1. In the Project tab of the Navigator, right-click a panel and choose Properties. The Inspector will open, if it
wasn’t already.
2. Set the panel’s properties in the Inspector.
For a description of the panel properties, select a property and have a look at the
Companion. Click in the Tools toolbar to open the Companion window if it
isn’t already open.

62 Getting Started GFK-1868E


View
Panel Editor

Working with the Panel Editor


The Panel Editor interacts with all of the Machine Edition tools to aid you in the
construction of graphical panels. The following picture illustrates some of the
operations you can perform.
Want to know more? In the Help Index, look up panels and choose “Working with Panels”.

View toolbars provide


drawing and object
manipulation tools. Chart and Alarm
Objects update with
real time data.
Panels are listed in
the Project tab of
the Navigator. Drag items from the View
Expert Objects drawer of
the Toolchest to the Panel
Configure graphical Editor.
objects in the Inspector.

The Companion displays The Feedback Zone


information for the updates with
currently selected object, information when you
tool, or property. validate, download, or
run your project.

To d ra w a gr aphi cal obj ec t


1. If the Drawing toolbar is open, select the tool you want to use. Otherwise, right-click in the Panel Editor and choose
a drawing tool.
The Companion will display instructions on how to use the selected tool.
2. Follow the instructions in the Companion to draw your object.
Once your object is drawn, set its properties in the Inspector.

(NT /C E t a r ge t s onl y ) To a nim at e an o bj ec t


• In the Panel Editor, double-click a graphical object.
The Animation Properties dialog box opens. The settings of each animation type is
grouped on its own tab. Animations become active when the project is launched
with View Runtime.

GFK-1868E Getting Started 63


View
4 Panel Editor

Message Displays
The Local Message Display, Triggered Message Display, and Local Image
Display graphical objects display different messages or images based on the values
or states of associated variables. Each of these three objects is associated with a
message group of an appropriate type under the Message Groups folder—an
IMD Group, TMD Group, or IID Group.
Each graphical object can be associated with only a single message group, but that
message group may be associated with many graphical objects. (On QuickPanel
targets, the size of all graphical objects associated with the same message group
must be the same; this size is set in properties of that message group.) You can
open the grid for an associated message group by clicking the button in the
object’s “IMD/TMD/IID Group” property.
Entries in a message group are edited in an appropriate grid editor.

An Indexed Message Display graphical object shows text messages that
change depending on the value or state of a single associated variable. The
Navigator: Project tab colors and appearance of the display can also change. The values and related
Message Group Nodes appearances are set by the display’s associated IMD Group.
Want to know more? In the Help Index, look up IMD and choose “IMD (Local Message
Display) group” and “IMD (Local Message Display) grid”.

A Triggered Message Display graphical object shows text messages that
change depending on the results of boolean expressions. The colors and
appearance of the display can also change. The values and related appearances
are set by the display’s associated TMD Group.
Unlike a Local Message Display, you do not associate a variable with a
Triggered Message Display. Instead, you specify a series of boolean expressions
in the TMD Group grid editor.
Want to know more? In the Help Index, look up TMD and choose “TMD (Triggered Message
Display) group”, “TMD (Triggered Message Display) grid”, and “Trigger Expression dialog box (TMD
grids)”.

An Indexed Image Display shows different images depending on the value
or state of a single associated variable. The values and related images are set by
the display’s associated IID Group. An image in an IID Group is typically a
bitmap, imported from a BMP file. Images can also be sets of simple graphical
objects (Arcs, Bitmaps, Circles, Lines, Pie Wedges, Polygons, Polylines,
Rectangles, Round Rectangles, and Text).
Want to know more? In the Help Index, look up IID and choose “IID (Local Image Display)
group” and “IID (Local Image Display) grid”.

64 Getting Started GFK-1868E


View
Script Editor

SCRIPT EDITOR
The Script Editor is a text editor that supports various scripting languages,
functions, keywords, and math operators. On Windows NT targets, you can also
use Structured Query Language (SQL) in a script to access a database for which an
Open Database Connectivity (ODBC) driver exists.
Scripts
Scripts are short executable programs comprised of a sequence of instructions that
tell a project, panel, or touch-animated object how to react to events during run-
time. There are four types of scripts:

Application Scripts: An application script is associated with an entire target,
and can be configured to execute when the application is started (in View Run-
time), when the application is shut down, or based on a frequency or condition
while the application is running.
■ Panel Scripts: A panel script is associated with a specific panel in a target, and
Navigator: Project tab can be configured to execute when the panel opens, when the panel closes, or
Script nodes based on a frequency or condition while the panel is open.

Touch Animation Scripts: (Windows NT/CE targets only.) Touch animation
scripts are activated during Run-time by keystrokes and on-screen buttons. They
are written directly in configuration dialog boxes of graphical objects.

Global Function Library Scripts: (Windows NT targets only.) Global Function
Library scripts are associated with an entire target. By default, they are executed
before any other scripts. However, they can be configured to run periodically or
conditionally, based on the state of the application. Global Function scripts
only work with scripts in Active Scripting languages, like VBScript.
To c r ea te, open, and edi t an a ppl ic ation scr ip t
1. In the Project tab of the Navigator, right-click the Application Scripts node, point to New Script, and choose
either VBScript or ViewScript. (For more information on scripting, see page 66.)
2. Type a name for the new application script and press ENTER.
A new script is added to the Application Scripts node.
3. Double-click the script to open it in the Script Editor and begin editing the script.
4. In the Inspector, edit the application script properties, in other words, the activation type.
T o c r ea te , o p e n , a n d e d i t a p a n e l s c ri p t
1. In the Project tab of the Navigator, right-click a panel node, point to New Script, and choose either VBScript
or ViewScript. (For more information on scripting, see page 66.)
2. Type a name for the new panel script and press ENTER.
A new script is added to the panel node.
3. Double-click the script to open it in the Script Editor and begin editing the script.

GFK-1868E Getting Started 65


View
4 Script Editor

4. In the Inspector, edit the panel script properties, in other words, the activation type.
To c r ea te a touch ani mati on sc ri pt
1. In the Panel Editor, double-click the object you want to animate. The Configure Animation dialog box appears.
2. Click the Touch tab.
3. Select the Enable Touch Action Animation check box and choose a touch action command that will execute a script.
4. In the large edit box, type the script that will run when the object is touched.

To c r ea te a gl obal f un ction l ibr ar y scr ipt


1. In the Project tab of the Navigator, right-click the Global Functions node, point to New Library, and choose
VBScript.
A new script is added to the Global Functions node.
2. Double-click the script to open it in the Script Editor and begin editing the script.
3. In the Inspector, edit the Global Function Library script properties, in other words, the name.

Scripting Languages
On Windows NT targets, Machine Edition supports two types of scripting
languages: the proprietary ViewScript language and VBScript Active Scripting
languages (using Microsoft’s Active Scripting engine). On Windows CE targets,
Machine Edition supports only proprietary ViewScript language.
On QuickPanel targets, Machine Edition uses the proprietary QPScript language
(see page 84).
ViewScript scripting language
The ViewScript scripting language consists of the following:

Keywords: View script keywords are a basic set of commands that are used to
control the flow of a script and to create local variables.

Operators: View operators are used to assign variable values and to perform
mathematical operations

Script Functions: View script functions are commands that can be written into
the body of your script to monitor and react to changes in variable values.
Functions are grouped in the following categories: ActiveX, Alarm
Management, Animation, Application Access, CSV, File Management,
Initialization File Management, List and Combo Box, Logging, Miscellaneous,
Network, Panel Management, Screen Navigation, Security, Serial
Communication, Statistical Process Control, SQL, String, System, Trend
Management, Video/Sound, and Web.

66 Getting Started GFK-1868E


View
Script Editor


Comments: Placing comments in, or between, the lines of your script is useful
for debugging your script and for future reference.
Want to know more? In the Help Index, look up Viewscript and choose “ViewScript HMI
scripting language”.
Active Scripting
Active Scripting lets Machine Edition use external scripting languages through a
COM interface. Active Scripting languages are supported only on Windows NT
targets. Currently, only the VBScript Active Scripting language is supported.
By default, new projects will use VBScript. This default may be overridden by
setting a user-preference.
Note: A target can contain both scripts written in ViewScript and scripts written in
VBScript. However, troubleshooting such a project can be quite difficult, so this
practice is not recommended.
Want to know more? In the Help Index, look up scripts and choose “View Scripts: an
Overview”, or look up scripting and choose “Active Scripting in View: an Overview”.

Vali dati ng a scr ip t wri tten in an Ac ti ve Scr ip ti ng la ngua ge


Active scripting languages are validated at run-time. You can also validate a project
at any time during development to check:

Syntax for View function calls.
■ Syntax for variable, array, and structure element references.

Limited checks for VBScript syntax.

VBScript Syntax
A detailed explanation of VBScript syntax is beyond the scope of this manual. For
detailed information on the VBScript language usage, syntax and examples, look
up VBScript at Microsoft’s website (www.microsoft.com).
Want to know more? In the Help Index, look up VBScript and choose “VBScript language: an
Overview”.

Active Scripting Objects


Active Scripting provides a mechanism to extend a scripting language through
custom COM objects. Variable syntax is therefore limited to using properties and
methods on a COM object.

GFK-1868E Getting Started 67


View
4 Script Editor

There are four types of objects in VBScript:



Variable objects.

Array objects.

Structure objects.

Application objects.
Want to know more? In the Help Index, look up VBScript and choose “VBScript language: an
Overview”.

Working with the Script Editor


The Script Editor interacts with other Machine Edition tools to provide maximum
flexibility when editing a script. The following picture illustrates some of the
operations you can perform.
Want to know more? In the Help Index, look up editor and choose “Working in the View
Script Editor”.

A script can be set to


activate periodically,
or on condition.
The View Scripting
drawer of the
Application scripts are Toolchest contains
listed below the script functions,
Application Scripts keywords, and math
folder. Panel Scripts operators that you can
are listed beneath the drag into your scripts.
panels they belong to.

The Companion displays


help for the currently
selected script function,
keyword, math operator,
or property.

There are many ways in which you can insert script words when writing scripts.

If you are very familiar with the operators, functions, and keywords used in the
Script Editor, simply start typing your script directly in the Script Editor.

If you are not familiar with the scripting languages of the Script Editor, right-
click where you want to insert a function, operator, or keyword and select
Insert. Then point to the appropriate submenu for the item you want to insert

68 Getting Started GFK-1868E


View
Grid Editors

and select it from the list that appears. Submenus are also available for names of
the project’s variables, panels, scripts, alarm groups and logging groups. For a
description of a script function, keyword, or math operator, while in the Script
Editor, move the cursor on the word and press F1.

All the math operators, script functions, and script keywords are also listed in
the Toolchest and can be dragged into your script. The Companion provides a
description of each item.

GRID EDITORS
Various grid editors let you create and edit several items in your HMI targets within
a spreadsheet-like table. Among the features that use grid editors are:
■ Word Alarm groups

Bit Alarm groups

IMD (Local Message Display) groups
■ TMD (Triggered Message Display) groups

Selector Switches

Bar Graphs
■ Language translations

Trend displays (QuickPanel targets only)

Passwords list (QuickPanel targets only)

External Keypad assignment configuration (QuickPanel targets only)
The exact functionality depends on the specific editor, but in general, you can:

Double-click a cell to edit its contents.

Right-click a cell to perform various operations on the cell.
■ Select an entire row (by clicking the grey button row headers on the left), then
right-clicking the selection to perform operations on the row
Want to know more? In the Help Index, look up “Working with QuickPanel grid editors”.
You can also press F1 while working in the grid for a description of that editor.

GFK-1868E Getting Started 69


View
4 Alarms

ALARMS
Alarms are messages that appear on a display in response to specified conditions
in the system. These messages typically inform the operator of a situation that
requires immediate attention. When a variable satisfies one of its alarm conditions,
it goes into an alarm state.
The alarm system for a HMI application consists of several different elements.

Alarm Groups
There are three general types of alarms, organized into three subfolders under the
Alarm Groups folder:
■ Word Alarm Groups and Bit Alarm Groups are tables of variables,
variable values, and associated alarm messages. When the value of a variable
matches an entry in one of these tables, it goes into an alarm state and the
appropriate message is added to any Alarm Display objects on the target.
■ Variable Alarms (NT/CE targets only) are sets of variables for which alarm
limits have been configured. Unlike Bit or Word Alarms, you assign a variable
to an alarm group in properties of the variable itself. Variable alarm groups help
Navigator: Project tab you organize related alarmed variables. Also, using more than one variable
Alarm nodes alarm group makes it easier to manipulate and view alarm data at run time. A
history of alarm group data can be logged daily for future analysis. You can also
configure e-mail notification if any of a variable alarm group’s variables go into
an alarm state.

Alarm Display Objects


Active alarms can be displayed at run time with Alarm Display objects. At run time,
Alarm Displays dynamically update with information about alarm states.
If you use variable alarm groups (Windows NT/CE targets only), you can associate
an Alarm Display with a specific variable alarm group. Only variable alarms for
alarms for variables in that group and its subgroups will appear on that Alarm
Display.

Add an Alarm Window graphical object to one of the QuickPanel
application’s panels. This graphical object displays alarm state information at
run-time. When a variable and its value match an entry in one of the target’s
alarm groups, the corresponding message appears in the Alarm Window.
Want to know more? In the Help Index, look up either “Alarms (NT/CE): an Overview” or
“Alarms (QuickPanel): an Overview”, as appropriate.

70 Getting Started GFK-1868E


View
Alarms

To set an a lar m condi t ion


1. In the Variables tab of the Navigator, right-click the variable for which you want to set an alarm condition and
choose Properties. The Inspector will open if it isn’t already.
2. In the Inspector, double-click the Alarming property to set the general alarm parameters (the priority of the alarm,
its alarm group, and how long to keep a history of alarm events).
3. Double-click the specific type of alarm (discrete alarms, limit alarms, deviation alarms, etc.) that you want to
configure to set its alarm parameters.
These parameters establish the ranges that place the variable in an alarm state.
To a dd a Var iab le al ar m group
• In the Project tab of the Navigator, under the target’s Alarm Groups folder, right-click the alarm group
to which you want to add the new group and choose New. Type a name for the new alarm group and press ENTER.
Your new alarm group appears beneath the alarm groups node. You can now select
this new alarm group when configuring properties of the target’s variables.

To a dd a Bi t or Wor d Al arm gr oup


• In the Project tab of the Navigator, under the target’s Alarm Groups folder, right-click the Bit Alarms or
Word Alarms folder (as appropriate) and choose New. Type a name for the new alarm group and press ENTER.
Names must be unique within a target. You can double-click the Alarm Group to
edit it.

To c r ea te an Alar m Di sp lay gr aphi ca l obj e ct


1. In the Panel Editor, right-click and choose Alarm. The Alarm tool will be selected.
2. Draw an Alarm Object, using the information in the Companion as a guide.
3. Right-click the Alarm Object and choose Properties. The Inspector will open if it wasn’t already.
4. In the Inspector, edit the alarm object’s properties as desired.
Windows NT/CE targets (including QuickPanel CE targets) and QuickPanel targets
use different Alarm Display objects with similar but distinct functionality. For help
on a specific property, click the property with the Companion window open.

GFK-1868E Getting Started 71


View
4 Logging data

LOGGING DATA
(Windows NT/CE targets only)
Logging keeps a history of data changes in your project so the data can later be
analyzed. Logging groups and strategies are used to sort and manage logged data.
Want to know more? In the Help Index, look up logging and choose “Data Logging”.

Logging Groups
Logging groups help sort and organize your project data. If you want to log all data
using the same logging strategy, you can leave variables in the default logging
group. Otherwise, if you want some variables to have different logging strategies,
you can create a hierarchy of logging groups.
Logging Strategies define when data gets logged for a group of variables. A group
Navigator: Project tab can be configured to log data periodically, on data changes, or on a condition. For
Logging Group nodes example, one logging group might log data every minute, whereas another might
log data every five minutes.

To enab le l o ggi ng of a va ri abl e


1. In the Variables tab of the Navigator, right-click a variable and choose Properties. The Inspector will open if it
isn’t already.
2. Set the Enable Logging property to True.
Logging is enabled for the variable, with RootLoggingGroup as the default logging
group.

To a dd a new logging group


1. In the Project tab of the Navigator, right-click the logging group node you want the new group to exist
beneath hierarchically, and choose New.
2. Type a name for the new logging group and press ENTER.
Your new logging group appears beneath the logging group node.

To edit lo gging group properti es


1. In the Project tab of the Navigator, right-click a logging group node and choose Properties.
2. Edit the properties in the Inspector.
During Runtime, the group will log variable data according to its properties. View
information about selected properties in the Companion. Click on the Tools
toolbar to open the Companion if it isn’t already open.

72 Getting Started GFK-1868E


View
PLC Access I/O

PLC ACCESS I/O


PLC Access I/O is used to let your Machine Edition HMI project communicate with
I/O devices controlled by something outside the Machine Edition environment.
Typically, that ‘something’ is a PLC: a special hardware device that controls input
and output for other, simpler devices. Brands and types of PLCs communicate
using different protocols, requiring different drivers.

Drivers
PLC Access I/O is organized into Drivers and Devices:

Drivers are located in a target's PLC Access Drivers folder and represent the
drivers the target uses to communicate with devices. Windows NT and CE
targets can have many drivers; QuickPanel targets can have only one.

Devices represent the individual devices that a driver communicates with.
Navigator: Project tab All devices that a driver communicates with are located in that driver folder. A
PLC Access I/O Nodes driver can have several devices. This allows you to talk to multiple PLCs, or (on
Windows NT and CE targets) to get pieces of data from the same PLC at
different rates.
To access data values from devices of a PLC Access driver, you must also create
variables with a PLC Access data source. The configuration of these variables is
unique for each kind of PLC Access driver; see the online help for more details.
Want to know more? In the Help Index, look up “PLC Access I/O: an Overview” and
“Supported PLC Access Drivers”.

T o a d d a PL C A cc es s d r i v e r to a ta rg e t
1. In the Project tab of the Navigator, right-click the PLC Access Drivers node and choose New Driver.
2. Select a driver from the list provided and click OK.
The driver (and a single device) are added to your project.
3. In the Inspector, configure the driver. If applicable, click the button in the driver’s Configuration property and
enter values in the dialog box.

To ad d a devi ce to a P LC Ac cess dri v er


1. In the Project tab of the Navigator, under PLC Access Drivers, right-click the driver to which you want to add
a new device and choose New Device.
2. Type a name for the Device and click OK.
The device is added to your project. You can now edit the device's properties in
the Inspector.

GFK-1868E Getting Started 73


View
4 OPC

OPC
(Windows NT/CE targets only)
OPC (OLE for Process Control) is an industry-standard protocol that lets software
applications transmit I/O data to each other. The two applications have a client and
server relationship. You can think of OPC Servers as being producers of
information and OPC Clients as being consumers:
■ The OPC Server has data that it makes available to other OPC Clients.

The OPC Client connects to an OPC Server to gain access to the server’s data.
Since OPC is an industry standard, any OPC Client can access data from any OPC
Server, regardless of the manufacturer. Machine Edition implements both the client
and the server side of OPC communications.
Want to know more? In the Help Index, look up “OPC: an Overview”.
Since an OPC Server and Client are simply programs or applications, they can run
on the same computer. For example, in your factory, you could have another
Navigator: Project tab application that supports an OPC Client and a Machine Edition application
OPC Client Nodes running on the same computer. To allow them to share data, you’d set up one of
them as an OPC Server and the other as an OPC Client, then have the client
application establish a connection to the server.
OPC communications rely heavily on Microsoft’s OLE and DCOM technology. If
an OPC Client is running on a different computer than the Server, you will have to
edit the DCOM Security settings on one or both computers. For details, see the
online help.
Want to know more? In the Help Index, look up DCOM and choose “Configuring DCOM
Security for OPC Communications”.
The OPC specifications are set and maintained by the OPC Foundation, a non-
profit organization. You can find detailed technical information about OPC on the
OPC Foundation web site at www.opcfoundation.org.

OPC Client
The OPC Client driver lets your Machine Edition application communicate with
OPC Servers. This lets Machine Edition act as a client in the OPC Client/Server
relationship. The View OPC Client driver supports all interfaces required under the
OPC 1.0a specifications.

74 Getting Started GFK-1868E


View
OPC

The OPC Client folder is added to a target when you add an HMI component. Each
OPC Server that the application communicates with is located under the OPC
Client folder, much like devices of a PLC Access driver.
To access data values from an OPC Server, you must also create and configure
variables with an OPC data source.

T o a d d a n O P C S e rv e r l i n k t o the O P C C li en t f ol d e r
1. In the Project tab of the Navigator, right-click the OPC Client and choose New Server Link.
2. Type a name for the OPC Server Link and click OK.
The OPC Server link is added to your project. You can now edit its properties in the
Inspector.

Machine Edition OPC Servers


Machine Edition OPC Servers let you share your application’s data with external
OPC Client applications. This lets your Machine Edition application act as a server
in an OPC Client/Server relationship. The Machine Edition OPC Servers support all
required OPC interfaces in versions 1.0a and 20.0 of the OPC OPC specifications.
Machine Edition OPC Servers are automatically installed as part of View Runtime
and the Controller (sometimes referred to as the Logic Developer - PC Controller).
Downloading and running a project to a target automatically enables the
appropriate Machine Edition OPC Servers, based on the target’s components. For
example, if your project has a Logic component, Machine Edition automatically
enables the Logic Developer - PC OPC Server.
While the configuration of an OPC Client depends on the manufacturer, typically
each piece of data retrieved from a server is called an “OPC Item”. All OPC Clients
need to know how to address the data used by the server. The syntax for retrieving
OPC items from a Machine Edition OPC Server can be found in the table below.

Location Syntax
local <variable name>
remote <remote machine name>\ <variable name> or
<remote machine IP address>\ <variable name>

Local indicates that the appropriate Runtime is located on the same computer
as the Machine Edition OPC Server. Remote indicates that it is located on a
different computer.

The Machine Edition OPC Servers do not use access paths. Instead, as
described above, the path for remote access is included as part of each OPC
Item address.

GFK-1868E Getting Started 75


View
4 View Web Access

VIEW WEB ACCESS


(Windows NT/CE targets only)
Web Documents provide remote access to Machine Edition project data over an
Intranet or the Internet. When a Machine Edition project goes to run time, it
automatically launches an integrated web server. (You can configure this web
server with the CME Web Server applet in the Windows Control Panel.) Users who
connect to this web site are presented with the Site Index, which contains different
ways to view process information.

Remote Views: Dynamic graphical recreations of actual panels from the
Runtime display.
■ Custom Web Documents: Web documents that have been generated using
templates and special HTML tags that are replaced with current project
Navigator: Project tab
information from the project each time an instance is generated. You can view
Web Document nodes
the documents online or print them for distribution.

Variable Monitor Browser: An application that allows you to drag and drop
variables from Web Documents servers onto four unique viewing tools for
dynamic graphical representations of process data.

Remote Variable Inspector: Lets you select a variable from a list of project
variables in a project and immediately receive the current value.
■ Web Control: Lets you write changes to a target’s data from Web Documents.
Before using this feature, ensure that your intranet installation is secure and that
no safety concerns exist with web control of a target.
Want to know more? In the Help Index, look up web and choose “Web Access: an Overview”.

T o e n ab le r e mo t e acc e ss t o y ou r H MI pr o je ct
1. For each target that you want to allow remote access to, set the target’s Publish HMI property to True.
2. For each panel and variable in the target that you want users to be able to access, set its Publish property to True.
For example, to allow users to view a graphical panel remotely, set the panel’s
Publish property to True.

To a cc e ss a publ ished H MI ’ s Site I ndex


1. Start Internet Explorer 4 or later. If you don’t have Internet Explorer 4 or later, you can install it from the Machine
Edition installation CD.
2. In the Address box in Internet Explorer, type the computer name or IP address of the Runtime computer.
If you’re not sure what the Runtime computer’s computer name or IP address is,
check the properties of the TCP/IP driver in the Control Panel Network setup, or
contact your network administrator.

76 Getting Started GFK-1868E


View
View Web Access

If you’re testing the project on the local computer, enter “localhost” (without the
quotation marks) as the Address. This connects the browser to the local computer.

When you connect to the run time computer, the Site Index appears with a list
of links to possible ways to view your process data.

The Site Index also includes a link to a page where you can download the Web
Documents Browser. With it, you can configure graphs, tables, and ticker tapes
to report on variables from several Machine Edition applications
simultaneously.

T o v i ew an H MI ’ s g rap h ic al pane l s remotely f rom a web browser


You can also view graphical panels remotely from the Web Documents Site Index.
1. Start Internet Explorer 4 or later.
2. In the Address box in Internet Explorer, enter the computer name or IP address of the run time computer.
The Site Index appears.
3. Click Remote Views.
4. Click the panel you want to view.
After a few moments, the panel will load and run.
Note that the panel must be published for you to be able to view it remotely. To
publish a panel, set its Publish property to True.
Since the remote viewer uses a different graphics engine to draw and update a
graphical panel, there may be a few differences between the remote view of a
panel and its actual appearance on an HMI. For example, chart objects on panels
are not supported in remote views.

To a dd a new Custom Web Document


1. In the Project tab of the Navigator, right-click the Web Documents node and choose New Web Document.
2. Type a name for your new document and press ENTER.
Your new Custom Web Document appears beneath the Web Documents node.
You can edit properties of the Custom Web Document in the Inspector.

To edi t a Custom Web Doc ument


1. Outside of Machine Edition, create an HTML, XML or text (txt.) document.
2. In the Project tab of the Navigator, right-click the Custom Web Document you want to edit and choose Web
Document Files. The Web Document Files folder opens.
3. Place your HTML document and any logos or pictures your HTML document uses in the Web Document Files folder.
The Web Document is created from these files when you download your project.
You can view Custom Web Documents from the Site Index.

GFK-1868E Getting Started 77


View
4 Languages folder

LANGUAGES FOLDER
The Languages item opens a grid that lets you configure multi-language support
for an HMI. You set up simple translations between an original piece of text (called
the “Source”) and one or more languages. If the target’s Language Translation
property to Enabled, all text on the HMI’s graphical panels is then translated based
on one of the language columns in the grid—the “Current Language”. That is,
every occurrence in the original text is replaced with its corresponding item in the
Current Language.
During a validation or download, Machine Edition also checks the Source column
against all graphical panels to which you’ve made changes. Any text entries (in text
objects and button objects) that do not appear in the Source column are
Navigator: Project tab automatically added to the grid as rows with empty translations for all languages.
Languages node The default language column used for translation is typically indicated with yellow
shading. You can also specify the Source language as the default language, in
which case the shading will not appear. How language translation works depends
on the target type.
Windows NT/CE targets: Machine Edition includes the entire language table when
downloading the project to the target. Translation occurs dynamically at run time.
The first language used for translation is the default language. Within HMI scripts,
you can change the current language used for translation by calling the
SetLanguage script function.
QuickPanel targets: Translation occurs only during the download operation, based
on the currently-specified default language. You cannot dynamically change the
current language at run time.
Want to know more? In the Help Index, look up “Languages folder”.

78 Getting Started GFK-1868E


View
Languages folder

Working with the Languages editor


When you double-click a target’s Languages node, the Languages grid appears.

The “Source” column contains the original This column’s shaded yellow background
words and phrases to be used during the indicates that it is the default language. If no
translation process, as they appear in the column has yellow shading, then the Source
target’s graphical panels. language is the default.

To enter a value into a cell, If both the development and run time computers support
double-click it (or select the cell UniCode, you can use non-English character sets in the
and start typing). grid (such as Japanese, pictured). For example, In
Windows 2000 you can use the IME, configured in the
Regional Settings setup in the Control Panel.

The Languages Editor


To edit or enter the translation of a particular word for a language, double-click its
cell (or select the cell and either start typing or press F2). For a menu of commands,
right-click anything in the Languages grid.

To a dd a new language column


1. Right-click in the Language Grid, and select Add Column.
A new, empty column is added to the grid.
2. Enter the name of the new language in the column’s header text box. To cancel the addition of the column, leave the
text box blank and click outside the column header (or press ESC).
You can now edit the translation for the new language as normal.

T o r e n am e a l an g u ag e co l u mn
• Right-click in the Languages Grid and select Set Column Name (or double-click the column header).
Enter the new name for the language in the column's header text box.

GFK-1868E Getting Started 79


View
4 Languages folder

T o m o v e a l a n g u a g e co l um n
• In the Languages Grid click and hold the header of the column you want to move.
Drag the mouse to the place where you want to move the column, then release the
mouse button.

T o u p d a t e en tr i e s i n the S ou r ce c ol u m n w i t h n e w t e xt e n t ri e s i n g r a p h i ca l p a n e ls
• In the Navigator, under the target whose Languages grid you want to update, right-click the Languages node and
select Update Source Column.
View searches every graphical panel in the HMI (regardless of whether or not the
panel changed since the last validation) and makes sure that all text entries can be
found in the Languages grid.

T o c h a n g e t h e d i spl a y f on t f o r a la n g ua g e:
1. Right-click in the Languages grid, and select Set Column Font.
A Font dialog box appears.
2. In the Font dialog box, select the font you want to use to display the entries in the Languages grid, along with the
font style and other attributes.
The grid’s cells automatically resize to fit the height of the largest font used in the
grid
3. Click OK when you're done.
The selected font set is used to display the translated text both in the Languages
grid and (in Windows NT/CE targets) the downloaded HMI. Other font attributes—
such as font sizes and styles—only affect how the text appears in the grid at
development time.

T o s e t the d ef aul t l ang uag e c ol um n


• In the Languages grid, right-click the column you want to set as the default language and select Set Default
Column.
The yellow highlight moves to the selected column. The next time you download
the project to the target with translations enabled, the default language will be
used by default. Note that you can also set the Source column as the default.

T o d el e te a la ng uag e co lum n f ro m th e gr id :
• In the Languages grid, right-click the column you want to remove and select Delete Column.
The column and all its translations are deleted.
This operation cannot be undone. Before deleting a language, make sure you no
longer need information on translated words.

80 Getting Started GFK-1868E


View
View Runtime

VIEW RUNTIME
(Windows NT/CE and QuickPanel CE targets only)
View Runtime is the program that runs your project’s completed HMI (human
machine interface) on a target computer. It uses the files downloaded to the target
during the download process. It is a separate application from Machine Edition;
while you can start View Runtime from within Machine Edition, you do not need
to be running Machine Edition to use it.
Want to know more? In the Help Index, look up runtime and choose “View Runtime: an
Overview”.

Networking
View Networking provides you with the flexibility to exchange data between run
time stations. Based on client-server relationships, and supporting a distributed
database system, View Networking allows access to any variable or alarm group
running on any other target on the computer network.
Want to know more? In the Help Index, look up networking and choose “View Networking: an
Overview”.

To r un a pr oj ec t fr o m Mac hi ne Ed it io n
• In the Project tab of the Navigator, right-click a target and choose Download and Start.
All components on the selected target are validated, downloaded to the specified
computer, and View Runtime is started. Errors listed in the Build tab of the
Feedback Zone must be corrected before a download can be completed. HMI
components are downloaded to View Runtime while logic components are
downloaded to the Controller.

T o r u n a n HM I p r oj e ct o u ts i d e of M a ch i n e E d i ti on
• Click the Start menu, then go to Programs/CIMPLICITY Machine Edition. Click View Runtime.
Runtime starts with the last project that was downloaded to that computer. View
Runtime opens with all graphical panels configured to appear at startup (that is, all
graphical panels whose Visible at Startup property is True).

T o i n t er ac t w it h View Runtime
Graphical objects can be configured to allow you to change variable values,
trigger graphical animations, and execute custom scripts with a simple touch or
click.

GFK-1868E Getting Started 81


View
4 View Runtime

You can monitor variable values, scripts, drivers, and the integrated web server in
Runtime through interfaces that can be opened using the following shortcut keys:

To ... Press ...

log in CTRL+L
log out CTRL+U
close Runtime CTRL+Z
inspect and change variable values CTRL+I
view and debug scripts CTRL+G
view driver diagnostic information CTRL+D
open a panel CTRL+O
monitor the Web Documents server CTRL+W
display version information CTRL+B

82 Getting Started GFK-1868E


View
QuickPanel Applications

QUICKPANEL APPLICATIONS
QuickPanel applications are HMI (human-machine interface) applications for
QuickPanel units. CIMPLICITY View supports development of HMI applications
using standard View and Machine Edition tools.
Development of an HMI for QuickPanel units is nearly identical to that of NT, CE,
and QuickPanel CE units. Some of the differences are as follows:
■ Graphical Objects: QuickPanel units support a slightly different set of graphical
objects than NT/CE targets. Also, QuickPanel units do not support Animation
beyond that inherent in each type of graphical object.

Navigator: Project tab ■


QuickPanel Panel Editor: The Panel Editor for QuickPanel applications includes
QuickPanel nodes a tiling grid. This lets you easily line up graphical objects with the touch-
sensitive cells on the QuickPanel unit’s screen.

Alarms: QuickPanel units support only Bit and Word Alarms.

Scripts: Scripts in QuickPanel applications use the proprietary QPScript
language. QuickPanel applications do not support ViewScript or VBScript. For
more information, see page 84.

Integration with Logic Developer - PLC: If you also have Logic Developer - PLC
installed, you can use variables defined on a GE PLC target directly in your
QuickPanel application. To use this feature, both the GE Fanuc PLC target and
the QuickPanel target must be part of the same project. You must also configure
an appropriate PLC Access driver and device on the QuickPanel target, setting
its “PLC Target” property to point to the PLC target. (For more information about
using GE PLC variables, see GFK-1918: Getting Started Logic Developer - PLC.)
Want to know more? In the Help Index, look up QuickPanel, and choose “QuickPanel
Applications: an Overview”, “QuickPanel Target”, and “QuickPanel vs. NT/CE application
development”.

External Keypad Assignment


Some QuickPanel units support an external keypad. You enable the keypad by
setting the target’s External Keypad property to True; this enables keypad
configuration elsewhere in the application. There are two ways to assign an action
to a keystroke:

In the graphical panel, graphical objects that can have an assigned keystroke
will display a Key Assignment property. In this property, you can select a key

GFK-1868E Getting Started 83


View
4 QuickPanel Applications

that will activate that graphical object just as if an operator tapped it on the
display.

Actions not associated with a graphical object that appears in the panel are
configured in the Keypad Assignment grid. Each panel has a separate Keypad
Assignment grid.
To open the Keypad Assignment grid for a panel, select the panel’s Keypad
Assignment property and click its button. Each row of the grid specifies the
action to perform when the user presses the indicated key while that panel (and
only that panel) is open.
Want to know more? In the Help Index look up keypad and choose “Keypad Assignment Grid”
and look up QuickPanel and choose “Working with QuickPanel grid editors”.

Scripts on QuickPanel Targets


Scripts are sets of instructions that tell a project or panel how to react to events
during Runtime. Scripts on QuickPanel targets are written in a proprietary language
called “QPScript”. You create QuickPanel scripts using the same View Script editor
as Windows NT/CE targets (see page 65).
There are two types of scripts for QuickPanel applications:
Application Scripts: Application scripts are associated with a QuickPanel target.
These scripts can be executed any time your project is running on the target
platform. Application scripts are located under the Application Scripts folder in
the Navigator.
Panel Scripts: Panel scripts are associated with a graphical panel on a QuickPanel
Navigator: Project tab target. All of a panel's scripts are located under its Panel node in the Navigator.
QuickPanel Script Nodes Want to know more? In the Help Index look up QuickPanel and choose “QuickPanel Scripts:
an Overview”.

QPScript Language
The QPScript language is composed of the following elements.
Statements: There are three general kinds of statements in a QPScript script:

Assignment statements set a variable’s value to the result of an expression.
■ Function calls execute one of the QPScript functions to perform a specific
operation.

Branching statements change the flow of script execution.

84 Getting Started GFK-1868E


View
QuickPanel Applications

Keywords: The elements that make up these statements can be broken down into
the following categories:

Operators are used in mathematical expressions and conditional expressions.

Functions are predefined routines that perform various operations in the
QuickPanel application.

Keywords are other reserved words used in the QPScript language.
Expressions: There are two general kinds of expressions in QPScript:

Mathematical expressions produce numerical results.

Conditional expressions produce boolean results and are used in if-then-else
clauses.
Want to know more? In the Help Index, look up QPScript and choose “QPScript Language
Reference”.

GFK-1868E Getting Started 85


5 Motion Developer
Motion Developer lets you easily program GE Fanuc’s S2K or Whedco’s IMC,
IMCjr (IMJ), and SMJ series of motion control devices. With Motion Developer, you
can:

Run easy-to-use wizards to set up and configure a complete motion control
system in a few mouse-clicks.

Add motion controller targets to a Machine Edition project.

Edit motion blocks and programs for motion controllers with the Motion
Developer Script Editor.
Navigator: Project tab
■ Download programs and motion blocks to motion controllers through a serial
Motion device nodes
port or a DeviceNet network.

Work online with a downloaded motion application, viewing and monitoring
variable values as the motion controller’s programs run.
Motion Developer is fully integrated with the Machine Edition environment and
Machine Edition tools.

To c r ea te a Motion Developer proj ec t


1. In the Manager tab of the Navigator, right-click My Computer and choose New.
The New Project dialog box appears.
2. In the Project Name box, type a name for your project.
3. From the Project Template list, choose either the Motion Controller or Motion Drive template and click OK.
A preview of what each template includes is displayed as you select different
templates.
4. Select the Series, Model, and Motor that corresponds with the controller or drive hardware and click OK.
Your new project is created and the Project tab is opened in the Navigator. If you
later need to change the Series, Model, or Motor, run the Target Configuration
Controller & Motor Setup wizard from the Main Wizard home page of the Motion
Developer target. (You can get to the Main Wizard by right-clicking the target and
selecting Main Wizard.)

GFK-1868E Getting Started 87


Motion Developer
5 About Motion Developer

ABOUT MOTION DEVELOPER


You use Motion Developer to develop motion applications on Windows-based
computers. Motion applications are loosely defined as a series of motion device
targets with programs, motion blocks, and configuration data. These applications
can then be downloaded to the motion controller hardware, either directly
(through the computer’s serial port) or through a DeviceNet network.
In general, you go through the following phases when developing a motion
application
1. Create a new Machine Edition project.
2. Add a Motion Controller or Motion Drive target to the project, depending on the kind of motion device.
3. On each target, create the configuration script and (if appropriate) the programs and motion blocks for the motion
controller or drive. The Motion Wizards (see page 93) can make this easy.
4. Validate and download the application to the motion controller.

The Motion Expert wizard will take you through these items step by step.

Supported motion control devices


Motion Developer supports the following lines of motion control devices.
GE Fanuc motion control devices S2K controller/drive devices
S2K drive-only devices
Whedco™ motion control devices IMC motion controllers
IMCjr (IMJ) motion controllers
SMJ drives
■ Many hardware manuals and specifications for GE Fanuc motion devices can
be found on the GE Fanuc web site at www.gefanuc.com.

For the most up-to-date hardware documentation on Whedco motion devices,
see the Whedco web site at www.whedco.com.
Communications between the development computer and motion control devices
is supported over the COM port and over DeviceNet networks.

88 Getting Started GFK-1868E


Motion Developer
Motion Applications

MOTION APPLICATIONS
A typical Motion application consists of a single target. Your project can have as
many targets as you want, however.

Motion targets
A Motion target represents a run-time destination motion device that you
program and configure from Machine Edition. You’ll need a separate target for
each physical motion device you’ll be configuring, whether it’s a controller or a
drive-only device.
When adding a Motion target, you specify either a Controller or a Drive target. This
determines the models of controller you can select in its Controller Type property.

Drive targets represent drive-only motion devices. This includes GE Fanuc S2K
drive-only devices and Whedco SMJ devices. These targets have only a
Configuration script (page 90).

Controller targets represent controller/drive motion devices. This includes GE
Fanuc S2K controller/drive devices and Whedco IMC and IMCjr (IMJ) devices.
These targets have a Configuration script (page 90), Motion Programs (page 90),
and can have several Motion Blocks (page 91). In addition, they can make use
of a CAM Profile. (see page 99).

T o e d i t co n f i g u ra ti on sc ri p t s, m ot i o n p ro g ram s , a n d m ot i on b lo c k s
1. In the Project tab of the Navigator, under the motion target, right-click Configuration, or the motion
program or motion block you want to edit and select Open.
2. Create or edit the program in the appropriate editor.
3. After editing an item, make sure you download the program or project to the target hardware.

GFK-1868E Getting Started 89


Motion Developer
5 Motion Applications

T o s wi tc h be t wee n a wiza rd ed it or a nd t he mo t io n s cr ip t ed it or
Motion blocks and Motion programs can be edited either in a graphical wizard or
(for advanced users) in the motion script editor.
• In the Project tab of the Navigator, under the motion controller target’s Programs folder, right-click the
motion program or motion block whose editing method you want to change.

If the item is set up to be edited in a wizard and you want to edit its script
directly, select Text View.

If the item is set up to be edited in scripts directly and you want to return to
using the wizards, select Flowchart View or Calculator View, as appropriate.
When switching back to the wizard, changes you made in the script editor will be
lost. The item will return to the state it was in when last edited in the wizard.

Motion configuration
The motion controller configuration node represents a script used to configure
the motion controller when the application is downloaded. This script is used
every time the application is downloaded to the motion controller. Typically, it sets
default values for registers and performs any necessary initialization commands.

You can create and edit a configuration script with the Motion Configuration
wizard (right-click Configuration and select Wizard). This takes you through
motion controller configuration step by step, creating a script based on selected
Navigator: Project tab motor and axis parameters.
Configuration node
■ If you need more complexity, you’ll need to edit the script manually. You can
do so in the motion script editor (right-click Configuration and select Open).
Want to know more? In the Help Index, look up “Motion Controller Configuration”.

Motion programs
A program represents one of the motion controller’s programs. Programs are
scripts that control the operation of a motion controller. With programs, you can
create complex behaviors for the controller.
Motion controller targets have four programs. These are added to the target when
you first create it. The last program ( Program 4) is the fault-handling program,
which determines the behavior of the controller when an exception or fault occurs.
All programs for a target are located in its Programs folder.
Want to know more? In the Help Index, look up “Fault-handing motion program”.
Navigator: Project tab
Motion Program nodes

90 Getting Started GFK-1868E


Motion Developer
Motion Applications

You can edit programs either in the Application Builder (by default) or the Motion
Script Editor.

The Application Builder is a wizard that lets you visually specify the program
flow as a flowchart. For details, see page 95.

The Motion Script Editor lets you edit the script for a motion program manually.
For details, see page 92.
Want to know more? In the Help Index, look up “Motion Programs”.

Motion blocks
A Motion node represents a motion block for the motion controller target.
Motion blocks are defined motions (that is, motion scripts) that can be called by
motion programs. With motion blocks, you can create complex motions—such as
blended moves—without the need for conditional or WAIT statements.
■ You can run motion blocks separately with the Controller Functions wizard (see
page 94).
You can create a motion block with the New Motion Block wizard (right-click the
Navigator: Project tab
Motions folder and select Wizard). This creates a complete motion block based on
your motion system.
Motion block nodes
■ Advanced users can create an empty motion block by right-clicking the
Motions folder and selecting Add.
Once a motion block is created, you can edit it by right-clicking the Motion and
selecting Open. You edit motion blocks and motion programs either with the
Motion Calculator (see page 97) or in the Motion Developer Script Editor (see page
92).
Motion blocks have the following characteristics and restrictions.

Motion blocks complete executing one line of code before proceeding to the
next line of code.
■ Only one motion block per axis can run at the same time as the executing
program or programs.
■ When a motion block is executed, it overrides the currently executing motion
block.

You cannot use labels in a motion block.
Want to know more? In the Help Index, look up “Motion blocks”.

GFK-1868E Getting Started 91


Motion Developer
5 Motion Scripts

MOTION SCRIPTS
The Motion Script Editor interacts with other Machine Edition tools to provide the
most flexibility when editing a script. The following diagram illustrates some of the
operations you can perform.
Want to know more? In the Help Index, look up “editor” and choose “Working in the Motion
Script Editor”.

The Motion Developer


drawer in the Toolchest
contains registers,
You can drag
variables from the commands, and
Variables tab directly operators you can drag
into a motion script. to a motion script.

You can also add items


into your script by
right-clicking in the
editor window.

The Companion displays


help for the currently
selected register,
command, or operator.

There are many ways to insert items when writing motion scripts.

If you are very familiar with the registers, commands, and operators used in
Motion scripts, simply start typing your script directly in the Script Editor.
■ If you need help with script keywords, you can add items with right-click
menus. Right-click where you want to insert an item and select Insert. Then,
point to what you want to include in your script and make a selection from the
list that appears. For a description of a register or command in the Script Editor,
move the cursor on the word for which you need help and press F1.

The Motion drawer in the Toolchest contains items that can be dragged into
your script. Leave the Companion window open for a description of each item.

You can also drag variables directly from the Variables tab of the Navigator
into your script.

92 Getting Started GFK-1868E


Motion Developer
Motion wizards

MOTION WIZARDS
Wizards are a series of screens that take you, step by step, through the creation and
configuration of your motion controller application. In Motion Developer, wizards
appear in separate windows, so you can switch back and forth between them.
The most commonly used Motion Developer wizards are as follows.
Main Wizard Provides access to several other wizards and tools for a motion
controller target. Especially useful is the Motion Expert wizard,
which takes you through the creation of a complete application step
by step.
Application Builder Lets you create motion programs as a visual flowchart. See page 95.
Motion Calculator Lets you define simple, incremental motions for motion blocks. See
page 97.
Controller Functions Provides access to several tools and online operations for the motion
controller.

Navigating through Moti on wizards


Pages of a Motion Developer wizard work just like HTML pages in a web browser.
Click buttons and hypertext links to move from page to page or to perform the
labeled task. Within a single wizard, you can move between steps by clicking
buttons in the top left corner of each page:

Click to close the wizard, saving any


changes you made to the project.

Click to go to the previous page in the wizard. Click to go to the next page in the wizard.

Click to close the wizard without saving


any changes you made.

Buttons may be disabled depending on the situation. For example, if you need to
make selections or enter parameters before continuing, the “next” button will be
disabled.
Depending on the page, two additional buttons may be enabled in the top right
corner:

Click to jump to the first page in the wizard.

Click for more specific help on the current wizard or the current step.

GFK-1868E Getting Started 93


Motion Developer
5 Motion wizards

Many wizard pages contain tables of parameters. Edit the parameters based on
your system needs, then click Next.

When editing parameters, click Use Last Saved Values to revert back to the last
values saved for this wizard page. Click Use Default Values to fill in parameters
with default or calculated values.

Click a parameter’s button (to the right of its entry text box) for a short
description, including its minimum, maximum, and default values. Click the
button for a more detailed description of that parameter.
Wizards for different targets, motions, and programs open in separate windows.
You can switch between windows by clicking the tabs at the bottom of the editor
window display.
Two of the most important wizards are the Main Wizard and the Controller
Functions wizard.

The Main Wizard page provides access to most other major Motion Developer
wizards and tools. This includes the Motion Expert wizard, which takes you
through the creation of a complete Motion Developer project step by step. To
open the Main Wizard page for a target, right-click the target and select
Main Wizard.
■ The Controller Functions and Drive Functions wizards let you perform
diagnostic and other operations on the motion controller. Functions on these
wizards have no effect if the local computer is not connected to a motion
controller. To access these wizards, double-click the target you want to perform
the functions on or, while working with a target, click the Controller/Drive
Functions button.
Want to know more?
■ For a description of the wizards available from the Main Wizard page, in the Help Index, look
up “Main Wizard page”.

For a description of features available from the Controller Functions wizard page, in the Help
Index, look up “Controller Functions wizard”.

94 Getting Started GFK-1868E


Motion Developer
Special Wizards

SPECIAL WIZARDS
Two of the wizards in Motion Developer—specifically, the Application Builder and
the Motion Calculator—let you edit parts of your motion application in graphical
editors and deserve special mention.

Application Builder flowchart editor


The Application Builder is a wizard that lets you edit your motion programs as a
simple flowchart. This makes it easy to see exactly how your finished application
will run.
The flowchart editor looks something like this:

The Application Builder toolbar (see below). Click these buttons


to perform operations on the program or selected step.

A Motion step. You can select from any of the target’s Motion
blocks. To add new motion blocks to a target, click the Add
Homing Motion or Add Motion buttons.

The selected step. Click a step to select it.

The “True” branch from a conditional step (see page 96). If MB


is True, the program skips the DO7=Off step.

Use the scroll bar to scroll up and down through the flowchart.

In the page itself, two buttons to the right of the flowchart open wizards that let you
add new motion blocks to the target.

Click Add Homing Motion to add one of many predefined homing motions.

Click Add Motion to add a predefined non-homing motion, or to use the
Motion Calculator (see page 97).

After adding the desired motion blocks, click Finish to return to the flowchart
editor.
Want to know more? In the Help Index, look up “Motion Application Builder”.

GFK-1868E Getting Started 95


Motion Developer
5 Special Wizards

Basic flowchart step types The flowchart is composed of the following basic step types.

Start and End steps: Flowchart execution begins at the Start step. When
execution reaches the End step, the program stops.

Logic steps: Performs a logic-oriented action, such as setting or resetting a
particular register.

Motion Program steps: Performs a motion program action, such as starting or
stopping a program.

Motion block steps: Runs a motion block.

Delay steps: Pauses program execution.
■ Conditional and Connector steps: Evaluates a given condition and branches
execution depending on the results. For more details, see Conditional Steps on
page 96 (or look up “Connecting and disconnecting conditional steps” in the
online help).

User-defined steps: Performs a piece of motion script entered by you.

Remark steps: Lets you insert a comment into the flowchart. Remarks are
included in the script downloaded to the motion controller.
■ Comment steps: Lets you insert a comment into the flowchart. Comments are
not included in the script downloaded to the motion controller.
Conditional steps are described in greater detail below.
Want to know more? In the Help Index, look up “Application Builder step types”.

Conditional steps Conditional steps represent a simple conditional statement. When program
execution reaches a conditional step, it branches depending on a specified
expression:

Any steps here are only executed if FI = 0 (that is, if


the expression is false).


If the expression is True, execution branches to the right (indicated by a “T”).

If the expression in the statement is False, execution branches downward.
You can choose from several conditional expressions, including several that refer
to fault registers. Selecting a conditional step or connector highlights the line
connecting it to its partner.

96 Getting Started GFK-1868E


Motion Developer
Special Wizards

To insert a new step into th e Appl ic ation Bui ld er f lowch art


1. In the Application Builder flowchart, select the step immediately preceding the spot where the new step will go.
To add a step to the beginning of the flowchart, select the Start step.
2. Click the Add Command button on the Application Builder toolbar.
In the menu that appears, point to the type of command or step you want to add,
then select the exact step from the submenu. Connector steps, Comments, and
User-defined steps are found under the Standard Elements option.
Some command types may be unavailable depending on your project. For
example, you cannot add a Motion step until the target has some motion blocks.
3. The new step appears after the originally-selected step.
If necessary, you can move the step to a different position, or (if appropriate) edit
the step’s parameters.

To edi t a s t ep in the App li ca ti on Buil der fl o wchar t


• In the Application Builder, do one of the following:
■ Double-click the step.
-or-

Select the step, then click Edit Command on the Application Builder
toolbar.
-or-

Select the step, then press CTRL+E.
Only certain steps have parameters that can be edited. If a selected step cannot be
edited, the Edit Command button is disabled.

Motion Calculator
The Motion Calculator is the default editor for motion blocks. With it, you can
create simple incremental motion blocks based on mathematical calculations,
viewing the results of changes as you make them.
You can open the Add Motion wizard by right-clicking the Motions folder in the
Navigator and selecting Wizard. Unless you configure a motion block to be edited
as text, the Motion Calculator also opens when you right-click a motion block and
select Open.

GFK-1868E Getting Started 97


Motion Developer
5 Special Wizards

The Motion Calculator looks something like this:

Click one of these to select the kind of motion you want.

Click these buttons to zoom in and out of the graph of the


plotted motion.

Click the arrows to pan around the graph of the plotted motion,

Click here to print the graph of the plotted motion on the


default printer.

You can enter values for two of these three parameters. (The
third is calculated.)

Enter new values for Acceleration time and Deceleration Time


to override the defaults.

Click here to clear all values for the current motion.

Calculated values appear in the Calc column.

Enter your own values in the Data column.

Click here to fill in the Calc column and view (or update) a velocity/time graph of the calculated motion.

Typically, you’d enter desired values in the Data column and click Calculate. The
Motion Calculator updates the appropriate values in the Calc column and draws a
velocity/time graph of the calculated motion. Units in this graph are based on
those in the Units column.
When entering values into the calculator, keep in mind the following:

You can fill in two (and only two) of Velocity, Total Time, and Distance. That is,
one of these parameters must be left at 0 and the other two filled in with non-
zero values. The Motion Calculator automatically calculates the missing
parameter in the Calc column.

If you leave Acceleration time (Acc. Time) or Deceleration time (Dec. Time) as
0, they are set to one-third the total time for the motion. You can override this
by filling in the appropriate parameter.
When the motion is configured the way you want, click Add Motion (above the
calculator in the wizard page) to add the motion block to your application.

98 Getting Started GFK-1868E


Motion Developer
CAM Profile Editor

CAM PROFILE EDITOR


The Motion Developer CAM editor lets you create and edit electronic CAM profiles
for a motion controller target. A CAM profile is a curve that specifies the response
of a slave servo to a master position index. The CAM profile is written to the target’s
configuration script. You can create as many profiles as you want, but only one can
be downloaded to a target at a time. The profile actually downloaded is specified
in the target’s “CAM Profile” property.
You can edit a target’s CAM Profiles by double-clicking on its Profile node
Navigator: Project tab
under the CAM Profiles folder. The CAM editor display appears as follows:
CAM Profile nodes

Double-click a CAM Profile node Curves of the profile


in the Navigator to open the CAM can be adjusted and
editor. edited graphically

The CAM profile table allows


numeric editing and curve order Secondary curves show
grouping the velocity,
acceleration and jerk of
the CAM profile.

The Companion tracks your


moves and provides information
on what you click.

You can adjust the curves of your CAM profile to suit the specific needs of your
project. With the CAM editor you create profiles by defining points on a
master/slave position curve. Groups of adjoining points are allocated to sectors.
Each sector is assigned a polynomial curve fit order (1,2,3) that specifies how the
curve will be interpolated between points.
To include CAM Profile data when downloading your project, ensure that the
target’s Include CAM Points property is True. When downloading a project to a
target with a defined CAM Profile, Motion Developer automatically converts the
curve to a series of CAMx=value commands. These commands are added to the
target’s configuration script.

GFK-1868E Getting Started 99


Motion Developer
5 CAM Profile Editor

The number of CAMx commands added to the configuration script depends on the
target’s CAM Point Resolution property.

If CAM point Resolution is 1 degree, 360 CAM commands are added to the
script.

If CAM point Resolution is 0.1 degrees, 3600 CAM commands are added to the
script.
Downloading 3600 CAM commands can be very time-consuming. It is therefore
recommended that you use a Resolution of 1 degree, at least during the initial
development stages.
Want to know more? In the Help Index, look up “Motion Developer CAM Editor: an
Overview”.

T o a dd a n e w C A M Pr of il e to a mo t io n c on tr ol l er t ar ge t
1. In the Project tab of the Navigator, right-click the motion controller target’s CAM Profiles folder and
choose New Profile.
A new Profile appears under the CAM Profiles folder.
2. Enter a new name for the Profile.
You can now open the profile in the CAM Editor. Note that only one CAM profile
can be downloaded to a motion controller at a time.

T o e d i t a C A M p r of i l e o n a m o ti on co n t ro ll e r ta rg e t
• In the Project tab of the Navigator, under the motion controller target’s CAM Profiles folder, right-click
the Profile you want to edit and choose Open Profile (or just double-click the Profile).
The CAM editor opens with the target’s CAM profile.
For more details on using the profile editor, look up “Editing a Motion CAM
Profile” in the online help.

T o s p e c i f y the C A M Pr o f i l e t h a t g et s d o w n l oad ed t o the m o ti on co n t ro ll e r t a r g et


1. In the Project tab of the Navigator, right-click the motion controller target for which you want to select a
CAM Profile and choose Properties.
The Inspector opens, if it wasn’t already available.
2. If necessary, in the Inspector, set the target’s “Include CAM point” property to True.
This tells Machine Edition to include CAM profile data the next time that the
application is downloaded to the motion controller.
3. In the Inspector, select the desired CAM Profile in the target’s “CAM Profile” property.
This property will appear only if “Include CAM point” is True. You can select from
all CAM Profiles configured for the target.

100 Getting Started GFK-1868E


6 Local Manager
The Local Manager is Machine Edition’s local systems and project manager. It is
the version control, security, and audit trail system for your automation and control
development process.
You do not need to use Local Manager to work with Machine Edition products.
However, if you have security concerns, or if you want to track your application
development process, it can be very useful.

Navigator: Manager tab


Project nodes

Getting Started 101


Local Manager
6 Local Manager

LOCAL MANAGER
The Local Manager refers to Machine Edition’s project and systems management
features. Local Manager features let you:

Keep track of changes made to projects and settings, and keep a history of
previous versions of projects (see Version Control, page 103).

Control access to projects and settings under CIMPLICITY Manager (see Access
Control, page 108).
■ Monitor and record actions performed by users (see Audit Trails, page 111).
The Local Manager must be enabled before you can use its features. While
enabled, users of Machine Edition on the local computer will have to log on to the
Manager system. As the name implies, the Local Manager only works with projects
stored on the local computer.
Want more? Additional system management features—such as scheduled events and a centralized
Server for project and database storage—are available with the CIMPLICITY Manager product.

T o e n a b le L oc a l M a n a g e r
1. On the File menu, point to CIMPLICITY Manager, then select Enable Local Manager.
If Disable Local Manager appears instead, then the Local Manager is already
enabled.
If Enable Local Manager is grayed out, then the Local Manager components
weren't included when installing CIMPLICITY Machine Edition. You will have to
reinstall Machine Edition from the installation CD, making sure to enable the Local
Manager component.
2. Exit and restart Machine Edition.
3. Log on to the Manager system.
Since this is the very first time the Local Manager has been enabled on this
computer, you will have to log in as the Administrator user. Type "Administrator"
for the user name, and leave the password blank.
Several new folders are now available. These are Access Control, Audit Trail,
and Local Manager (under the Projects folder).
4. Set up your Access Control system.
Create Users and Groups for people who need access to items on the
computer (for details, see chapter 7). You can work with other new features (adding
existing projects to Local Manager or setting up Audit Trails) later.
Want to know more? In the Help Index, look up project history and choose “Setting up a Local
Manager system”.

102 Getting Started GFK-1868E


Local Manager
Version Control

VERSION CONTROL
Version Control is probably Local Manager’s most important feature. With Version
Control, all your data is stored in a central location. It also allows you to:

ensure that only one user can make changes to an item or project at a time;

keep track of who is currently working on an item or project;

safely store previous versions of projects; and
■ return a project to a previously-archived version.
Note: With Local Manager, only the previous ten versions are retained.
Want to know more? In the Help Index, look up version and choose “How Version Control works
under Local Manager”.

All Local Manager projects and settings are stored in a separate database. When
you want to work on something under a Local Manager system—whether it’s a
project, Access Control settings, or something else—you go through the following
steps:
1. Check out the project or item.
Local Manager copies the item to a separate working directory and marks the item
as being “checked out”. As long as the item is checked out, no other user can
make changes to that item.
2. Make changes to the item.
Changes are made in the working directory only. At this point, the version stored
by the Local Manager system is unchanged.
3. When you are finished, check in the item.
Local Manager copies the updated version from the working directory and
removes the “checked out” flag. Other users can now check the item out to make
more changes later.

Security for Version Control Security in Local Manager is called Access Control and is explained in detail on
page 108. Briefly, each user that is created in Local Manager is a member of one or
more groups that have security permissions assigned to them. These permissions
let users of that group perform certain actions. In addition, each project has one or
more groups assigned to it. Users can only work with a project if they are a
member of a group assigned to that project.
Want to know more? In the Help Index, look up “Access Control Permissions”.

GFK-1868E Getting Started 103


Local Manager
6 Version Control

Project his tory When you check in a project to the system, Local Manager automatically archives
the old version. (Old versions of other items, such as Access Control user/group
lists, are not archived.) You can get a report of all archived versions of a project by
right-clicking it and selecting History Report. History reports appear in the Reports
tab of the Feedback Zone.
In the Feedback Zone, right-clicking a previous version of a project gives you the
following commands:

Get: Get a copy of the selected version onto the local computer.

Label: Assign a label to the selected version.

Make Latest Version: Make the selected version the current version.
Want to know more? In the Help Index, look up project history and choose “Project History
Reports”.

Checking out other items Projects aren’t the only things you can check out. Local Manager also places the
following under Version Control:

The Access Control database (see page 108)
■ Audit Trail settings (see page 111)
For example, to edit a user’s security permissions, the Administrator would check
out the Access Control database, make the desired changes, then check it back
in.

Creating and Adding Projects to Local Manager


There are three ways to get a project into the Local Manager system:

You can create a new project on the Server. For more information, see “To
create a new project” on page 105.
■ If there are any existing projects on your system not under Local Manager, you
can move them there. In the Navigator, these projects appear under the My
Computer folder. To add them to Local Manager, right-click the project and
select Add to Server.

If you have a project exported or backed up, you can restore it directly into
Local Manager. For more information, see “To add a previously-created project
to Local Manager” on page 105.
Under Local Manager, projects are stored under the Local Manager folder, itself
located under the main Projects folder. Any new projects you create are located
in that folder.

104 Getting Started GFK-1868E


Local Manager
Version Control

T o o p e n a p r oj e ct w h e n u s i n g L oc a l M a n a g e r
1. In the Manager tab of the Navigator, under the Projects folder, right-click the project you want to open and select
Open.
The Projects folder is divided into two folders.

My Computer contains Machine Edition projects that have not been added
to the Local Manager system.

The Local Manager folder contains all projects managed by the Local
Manager system. Under this folder, you must have a project checked out to be
able to open it.

T o c r ea te a n ew p r oj ec t
You must have the proper Access Control permissions to perform this task.
1. In the Manager tab of the Navigator, under the Projects folder, right-click the Local Manager folder and
select New. The New Project dialog box appears.
You cannot create a new Machine Edition project if a project is already open.
2. Type a unique project name (maximum 32 characters).
3. Select a project template.
A sample of the project appears in the Project Template dialog box.
4. Click OK.
The project is created on the Server. If you’re creating a new Machine Edition
project, it is automatically checked out and opened.
Once you create a new project on the Server, it is recommended that you also add
groups to the project, to allow users access to it. For more information, see “Access
Control” on page 108.

T o a d d a p r e vi ou s l y- c r ea te d p ro j e c t to L o c a l Ma n a g er
You must have the proper Access Control permissions to perform this task.
• In the Manager tab of the Navigator, under the My Computer folder, right-click the project you want to add and
select Add.
The project moves from the My Computer folder to the Local Manager folder. It
is also automatically checked out by you.
Once you create a new project on the Server, it is recommended that you also add
groups to the project, to allow users access to it. For more information, see “Access
Control” on page 108.

GFK-1868E Getting Started 105


Local Manager
6 Version Control

T o c h e ck out a p r oj ec t o r i te m f ro m the S er v er
• In the Manager tab of the Navigator, right-click the project you want to check out, and select Check Out.
To check out a project, the project must not be already checked out by anyone.
You must also be logged onto the Local Manager system and have the CIMPLICITY
Manager CheckInOut permission.
Local Manager copies the item to the user’s local computer (the “client”
computer), and marks the item as being “checked out”. As long as the item is
checked out, no other user can make changes to that item.

T o c h e ck i n a p r o j e ct o r i t e m t o t h e S e rv e r
1. In the Manager tab of the Navigator, right-click the project you want to check in, and select Check In.
The project must be closed and checked out by the current user on the current
client computer. You must also be logged on to the Local Manager and have the
CheckInOut permission.
2. Select from the available options.
■ Remove local copy: Removes the copy of the project from the working
directory after the check in is complete.
■ Keep local copy: Keeps a copy of the project in the working directory after the
check in is complete. If the project is not a Machine Edition project, it is marked
as read-only.
■ Keep checked out: Updates the version in Local Manager with your changes,
but keeps the project checked out.
3. (Optional) Include a comment (maximum 256 characters) of the changes made while the project was checked out.
4. Click OK.
Local Manager copies the updated version from the working directory to the Local
Manager system.

To vi ew a pr oject hi story r e port


• In the Manager tab of the Navigator, under the Local Manager folder, right-click the project for which you want a
history report and select View History Report.
A history report appears on the indicated project. You can right-click versions in
the project history report for an additional menu of commands.
Want to know more? In the Help Index, look up project history and choose “Project History
Reports”.

106 Getting Started GFK-1868E


Local Manager
Version Control

T o u n d o a c h ec k o u t o f a p r oj ec t o r i t em
1. In the Manager tab of the Navigator, right-click the project you checked out, and select Undo Check Out.
Normally, to undo a check out, the item must be checked out by you on the
current computer. You must also be logged on to Local Manager, and have the
CheckInOut permission.
If the item is checked out by someone else (or by you on a different computer), you
can still undo the check out if you have the OverrideCheckOut permission.
2. If you’re undoing a check out of a project, in the Undo Check Out dialog box, select one of the following option(s),
and then click OK.

Remove local copy: Deletes the working copy of the project.

Replace local copy: Overwrites the working copy with the version in Local
Manager.

Keep checked out: Keeps the project checked out so you can continue working
on it, but cancels the changes you made since you last checked it out. This
option is only available with the Replace local copy option.

Leave local copy as is: Keeps a read-only copy of the project with the changes
you made while it was checked out.

GFK-1868E Getting Started 107


Local Manager
6 Access Control

ACCESS CONTROL
The Access Control folder in the Navigator’s Manager tab contains these items:

Users represent individual users. When you log on to a Manager system, you
must identify which User you are.

Groups are groups of Users. Each group is assigned a set of permissions.
Users in a group inherit its permissions.
■ Permissions are security settings assigned to groups. In general, a permission
allows or disallows a particular action or set of actions.
Casually, we say that a user “has” a permission if they’re a member of a group for
which that permission is set to True. Most permissions are True/False settings;
exceptions are documented in the online help.
Administrators do not assign permissions to individual users. Instead, they assign
permissions to groups, then add users to those groups. This lets an administrator
assign permissions to a set of users with similar roles and responsibilities.
Under a group node, permissions are organized based on the feature or
application they’re associated with. You configure the actual permissions in the
Inspector. For example, selecting a group’s CIMPLICITY Manager permissions
node makes permissions that control access to Manager features appear in the
Inspector. By setting the appropriate permission in the Inspector, you allow or
disallow access to specific Manager features for that group.

For more details on specific permissions, select its permissions node in the
Navigator and press F1. Or, for a short description, ensure the Companion
window is open and select the permission in the Inspector.
Users can be members of more than one group. If this is the case, they get the most
advantageous set of permissions for all groups they are a member of.

The Access Control Database


A list of users and groups are stored in the Access Control database. To make any
changes to users, groups, or permission settings (including adding new users or
groups), you must first check out the Access Control database. The changes you
make don’t take effect until the Access Control database is checked back in to the
Local Manager system.
Each computer running Local Manager maintains its own Access Control database.
If you need to work on projects from more than one computer, you must be added
as a user to all of them.

108 Getting Started GFK-1868E


Local Manager
Access Control

Access Control of Projects


Access Control for projects depend on which groups are assigned to the project.
The users or members of a group that are assigned to a project can check the
project in and out, as long as they also have the CIMPLICITY Manager CheckInOut
permission (see “To assign a group to a project or layout” on page 110). Since users
can only edit a project when it’s checked out of the Server, this lets the
administrator control who can make changes to a given project.

System Groups and Users The following groups and users cannot be deleted:
■ Administrators group: This group has every available permission and is
automatically assigned to every project managed by CIMPLICITY Manager.

Everyone group: All users on a Server are members of the Everyone group, and
have minimal permissions. By assigning a permission to the Everyone group,
you can assign that permission to every user in the Access Control database.

Administrator user: The Administrator user is a member of the Administrators
group. When you start Local Manager for the very first time, you must log in as
the Administrator.
■ Guest user: The Guest user can be assigned to any group and inherits that
group’s permissions.

T o c r ea te a n ew u se r
1. In the Manager tab of the Navigator, right-click the Access Control folder, and select Check Out Access Control.
2. Under the Access Control folder, right-click the Users folder and select New User.
3. Type a name for the user.
User names can only use the characters 0-9, a-z, A-Z, and _. Spaces are not
allowed in the user name, and the maximum number of characters is 20.
4. Configure the user’s properties in the Inspector.

T o c r ea te a n ew gr o u p
1. In the Manager tab of the Navigator, right-click the Access Control folder, and select Check Out Access Control.
2. Under the Access Control folder, right-click the Groups folder and select New Group.
3. Type a name for the group.
Group names can only include the characters 0-9, a-z, A-Z, and _. Spaces are not
allowed in a group name, and the maximum number of characters is 20.
4. Type a description for the group in its Description property in the Inspector.

GFK-1868E Getting Started 109


Local Manager
6 Access Control

T o a ss ig n p e rm is s io n s to a g ro u p
1. In the Manager tab of the Navigator, right-click the Access Control folder, and select Check Out Access Control.
2. Under the Access Control folder, in the Permissions section of the Group folder, right-click the type of
permissions you want to set, and select Properties.
Except for custom project permissions, you cannot edit permissions for the
Administrator group.
3. Configure the properties in the Inspector window.
For more details on specific permissions, select its permissions node in the
Navigator and press F1. For a short description, ensure the Companion window is
open and select the permission in the Inspector.
Want to know more? In the Help Index, look up permissions and choose the appropriate
permissions topic.

To a dd a user to a gr oup
1. In the Manager tab of the Navigator, right-click the Access Control folder, and select Check Out Access Control.
2. Under the Groups folder, right-click the Users folder of an individual Group and select Add User. Select a
user from the list that appears.
- or -
In the Users folder (directly under Access Control), right-click the User you want to assign to a group and
select Add to Group. Select a group from the list that appears.

To a ssign a group to a proj ec t or l ayout


To add a group to a project, you must be a member of a group that has the
EditProjectList permission. To add a group to a layout, you must have the
EditLayouts permission.
1. Check out the project you want to add a group to.
2. In the Manager tab of the Navigator, right-click the project you checked out and select Add Group.
3. Choose one of the groups in the list.
The group is added to the project along with its permissions and users.
4. Check in the project.

110 Getting Started GFK-1868E


Local Manager
Audit Trails

AUDIT TRAILS
CIMPLICITY Manager can track and record actions performed by its users. If a user
performs an action and the administrator has flagged that type of action to be
audited, a record is logged in the audit trail database.
You specify which actions to track by configuring the Server’s audit trail settings.
Located under the Audit Trail folder in the Navigator, audit trail settings are
grouped by feature or product type.
The settings are configured in the Inspector. If an audit trail setting is set to True,
Local Manager tracks and records all actions of that type. For example, if the
CIMPLICITY Manager audit trail setting PasswordChange is set to True, Local
Manager logs a record every time a user’s password is changed.

The Audit Trail Database


Audit trail records are added to Local Manager’s audit trail database, which is
stored in Microsoft Access™ format. You can use Microsoft Access (or another
application capable of reading Microsoft Access databases) to view, sort, and
generate custom reports on audit trail records. Though not as simple as the Audit
Trail Report Manager, this gives you the most flexibility in searching the audit trail
database.
The audit trail database file is located on the CIMPLICITY Manager Server
computer under “...\CIMPLICITY Machine Edition\fxServer\Audit
Database\Audit.mdb”, where “...\CIMPLICITY Machine Edition” is the Machine
Edition installation directory.
Since audit trail records are constantly being logged to the Server, the audit trail
database file can get very large. It’s a good idea to occasionally archive the
database file to another computer to free disk space on the computer.

T o e d i t A u d i t T r a i l s et t i n g s
1. In the Manager tab of the Navigator, right-click the Audit Trail folder, and select Check Out Audit Trail.
2. Under the Settings folder, right-click on CIMPLICITY Manager, Scheduler or the project type whose audit trail
settings you want to edit, and select Properties.
3. Edit the settings for your selection in the Inspector window.
For a description of a particular audit trail setting, ensure the Companion
window is open, and click the audit trial setting in the Inspector.

GFK-1868E Getting Started 111


Local Manager
6 Audit Trails

T o a rc h i v e t h e A u d i t T r a i l d a ta b a s e
1. In Windows Explorer, move the Audit Trail database file (*.mdb) from the Server computer to the computer you
want to archive the database to.
The audit trail database file is located on the CIMPLICITY Manager Server
computer under “...\CIMPLICITY Machine Edition\fxServer\Audit
Database\Audit.mdb”, where “...\CIMPLICITY Machine Edition” is the Machine
Edition installation directory.
2. Rename the moved file so that the next time you archive the database, you won’t overwrite the previously archived
file.
Include the current date in the new file name to make it easier to find in the future.
Local Manager will create a new audit trail database file the next time an audit trail
action is recorded. The file will have the same name, and will be created in the
same directory you moved the database from.
You can view records in an archived database by opening the archived file in any
database or report application capable of reading Microsoft Access™ databases.

Audit Trail Reports


The easiest way to view records in the audit trail database is through the Audit Trail
Report Manager, located under the Reports folder in the Audit Trail folder. To
open the Report Manager, right-click the Audit Trail Report Manager node and
choose Open.
Generated Audit Trail Reports can be displayed on screen and, if desired, sent to a
printer.
■ If you have an application that can read Microsoft Access databases, you can
use it to view and sort audit trail records.

T o g e n e ra te an A u dit T ra il r ep or t
1. In the Reports folder, right-click Audit Trail Report Manager and select Open. The Audit Trail Report Manager
dialog box appears.
The very first time you open the Audit Trail Report Manager you will be asked to
locate the audit trail database file (*.mdb) on the Server computer.
The audit trail database file is located on the CIMPLICITY Manager Server
computer under “...\CIMPLICITY Machine Edition\fxServer\Audit
Database\Audit.mdb”, where “...\CIMPLICITY Machine Edition” is the Machine
Edition installation directory.
2. Select the Report Template you want to create.
3. Configure the following settings for the report.

112 Getting Started GFK-1868E


Local Manager
Audit Trails


Select a Date range.

Set the Filters you want to use.

Select how you want the report sorted (by date, user, computer name, or
project name).

Select the page size.
4. (Optional) If you want to print the report, select a printer.
Select Default to print the report on the printer configured as the Windows default.
5. Click Print Preview.
The Report Viewer dialog box displays the report you requested. You can then print
or save the report to a file.

GFK-1868E Getting Started 113


Index
A ASCII drivers 52 OPC 74
assigning groups to projects and Companion 12, 40, 44, 47
Access Control 108
for projects 108 layouts 110 component
assigning permissions 110 logic 34
for Version Control 105
Audit Trail database 111 conditional steps 96
how it works 108
Access Control database 108 Audit Trail Reports 112 configuration
Audit Trail settings 111 CAM commands 99
actions 39, 40
Audit Trailing 111 motion script 90
Active scripting 67
adding database. See Audit Trail database configuring
how it works 111 alarm conditions 70
alarm groups (Bit and Word) 71
reports. See Audit Trail Reports Control I/O 54
CAM Profiles 100
settings. See Audit Trail settings Controller 56
Control I/O drivers 53
custom web documents 77 Audit Trails. See Audit Trailing hard real-time Controller 57
authorization. See product panels 62
language columns 79
authorization PLC Access I/O 73
logging groups 72
logic component 34 properties 16
Machine Edition projects 14 B user preferences 15
Control I/O 53
OPC server links 75 backing up projects 14
panels 62 Bit Alarms 70 tool 53
working with 54
PLC Access drivers 73 blocks, motion. See motion blocks
Controller 55
users to groups 110 branches 40
Administrator user 109 Build tab 20 configuring 56, 57
going online 25
Administrators group 109
hard real-time 57
alarm groups 70 C running 57
alarm objects 63
Calculator, Motion See Motion scan cycle 55
alarms 70
Calculator Controller Functions wizard 94
Alarm Display objects 70 CAM point resolution 100
alarm groups 70 controller/drive targets, motion 89
CAM Profiles correcting, errors 28
Bit Alarms 70
specifying for download 100 creating
setting alarm conditions 71 CAM profiles
Variable Alarms 70 actions 40
about 99 alarm display objects 71
Word Alarms 70
adding 100 alarm groups (Variable) 71
Allen-Bradley RIO 52 editing 100
animation application scripts 65
editor 99 groups 109
graphical objects 63
CE box. See CE targets macros 36
touch animation scripts 65 CE targets 23, 25
Application Builder panel scripts 65
downloading 29 projects 14, 26, 61, 105
about 95
chart objects 63 SFCs 36
conditional steps 96 checking in items 103, 106
inserting steps 97 subroutines 40
checking out items 103, 104, 106 touch animation scripts 66
See alsosteps, flowchart
undoing check outs 107 users 109
application scripts 65, 68, 84 client
applications, motion 89 variables 26
networking 81 custom web documents 77

GFK-1868E Getting Started 115


Index

adding 77 offline 36, 44, 45, 48 motion devices 88


editing 77 online 38 help 11
customer support 6 steps, flowchart 97 history report 104
editors Honeywell SAS 52
D grid (QuickPanel) 69
Data Watch 41
ladder 39 I
debugging scripts 82 panel 62 I/O
script 65, 84
developing. See creating configuring
errors and warnings
DeviceNet 52 Control 54
devices correcting 28 PLC Access 73
Feedback Zone 20
adding to PLC Access driver 73 Control 53
Everyone group 109
motion control 88 OPC 74
PLC Access 73 external keypad 83 PLC Access 73
downloading 25, 28, 56 IEC addresses 54
CE targets 29 F Import tab 20
motion device targets 28 Factory Client 2000. See CE targets index, search 11
NT targets 29 Factory Layouts Indexed Image Display (IID) 64
specifying CAM profile for 100 assigning groups to 110 Indexed Message Display (IMD) 64
drawing graphical objects 63 Feedback Zone 20 InfoView tab 14
drawing tools 63 fixing, project errors 28 InfoViewer 12
Drive Functions wizard 94 flowchart editor See Application inserting
drive targets, motion 89 Builder ladder instructions 40
drivers flowchart steps See steps, flowchart motion script items 92
adding rungs 40
Control I/O 53 G script functions 68
PLC Access I/O 73 SFC instructions 37
GE Fanuc Genius 52
ASCII 52 Inspector 16
getting help 11
Control I/O 52, 53 getting projects 106 installing Machine Edition 3
Control Peer 52 Internationalization. See Languages
global function library scripts 65
OPC Client 74 folder
graphical objects 62, 63
PLC Access I/O 73 animating 63
drawing 63 K
E graphical panels. See Panels keypad assignment 83
editing grid editor keyword search 11
application scripts 65 keypad assignment 83
CAM profiles 100 messages 64 L
custom web documents 77 groups 108
labels 39
ladder programs adding users to 110
Ladder Editor 39
offline 40 assigning to projects and offline 40
online 41 layouts 110
online 41
logging groups 72 creating 109
ladder instructions 40
motion scripts 92 system 109 ladder programs
panel scripts 65 Guest user 109
defined 39
panels 63
editing
quick editing H offline 40
ladder program 41
hard real-time online 41
SFCs 37
Controller 57 opening 39
quick test 31 VenturCom RTX 57 quick editing 41
SFCs
hardware Language translation 78

116 Getting Started GFK-1868E


Index

Languages 78 Manager, Local 101 N


Languages folder 78 message grids 64
Navigator 14
adding new languages 79 messages 64
property column view. See
grid 79 Indexed Image Display (IID) 64 Property column view
moving language columns 80 Indexed Message Display
networking 81
renaming languages 79 (IMD) 64
NT computers. See NT targets
Languages grid 79 Triggered Message Display NT targets 23, 25
default language 80 (TMD) 64
downloading 29
delete language 80 Messages tab 20
display font 80 Modicon Quantum 800 52
updating Source language 80 Motion applications O
Local Manager 101 configuration script 90 objects. See graphical objects
Local Manager system programs 90 offline
add projects to 105 motion applications 89 Ladder Editor 40
check in to 103 motion blocks SFC Editor 36, 44, 45, 48
check out from 103 about 91 online
local projects editing with calculator 97 Ladder Editor 41
adding to Local Manager 105 opening 89 SFC Editor 38
locating switching editors 90 to the Controller 25
labels 39, 43, 44, 45, 46, 47, Motion Calculator online help 11
48 about 97 OPC 74
variables 36, 40, 44, 47 using 98 client 74
logging data 72 motion configuration 90 server links 74, 75
enabling logging for a variable 72 opening 89 servers 75
logging groups 72 Motion Developer opening
adding 72 applications 89 application scripts 65
editing 72 supported hardware 88 ladder programs 39
logging strategies 72 Motion programs macros 36
Logic Developer fault-handing program 90 motion blocks, motion programs,
PC 33 to ?? opening 89 and motion
Logic Developer - PC 33 to 60 switching editors 90 configuration 89
logic, adding 34 motion programs 90 panel scripts 65
motion scripts 92 panels 62
projects 15, 23, 26, 34, 61, 87,
M motion targets 89
105
Machine Edition Motion Wizards
about 93 SFCs 36
downloading 28
Application Builder 95 Options tab 15
environment 10 options, user preferences 15
getting help 11 Controller Functions 94
Drive Functions 94
key features 11 to 21
Logic Developer - PC ?? to 58
Main Wizard 94 P
OPC servers 75 navigating through 93 Panel Editor 62
parameters 94 animation 63
projects 14, 23
See also Motion Calculator graphical objects 62
properties 16
toolbars 13 special wizards 95 working with 63
moving product authorization 5 panel scripts 65, 68, 84
validating 28
multi-language support. See panels 62
View 61 to 85
macros 36 Languages folder configuring 62
Main Motion Wizard 94 editing 63
Manager tab 14 opening 62
quick testing 31

GFK-1868E Getting Started 117


Index

parameters, Motion Wizards 94 QuickPanel Applications 83 networking 81


peer driver, control 52 QuickPanel Grid Editor 69 OPC 75
permissions 108 setting. See configuring
assigning 110 R settings
PLC Access I/O 73 audit trail. See Audit Trail settings
References tab 20
preview panels. See quick test SFC Editor
remote views 77
product authorization Reports offline 36, 44, 45, 48
authorizing Machine Edition 4 online 38
variable 22
moving to another PC 5 SFC instructions, inserting 37
Reports tab 20
profiles, CAM See steps, flowchart requirements, hardware and SFCs
programs, motion See motion editing 36, 44, 45, 48
software 2
programs opening 36
resolution, CAM point 100
Project History 104 rungs 39 quick editing 37
Project tab 15 shortcut keys, View Runtime 81
inserting 40
Projects 103 shunts 40
write changes 42
Access Control 108 running Site Index 76
adding to Local Manager 105 Smart Lists 18
Controller 57
assigning groups to 110 steps, flowchart
projects 23, 81
checking in 106 conditional 96
sample applications 23
checking out 106 View Runtime 81 editing 97
creating 105 inserting 97
getting copies of 106 step types 96
history report 104 S subroutines 40
opening 105 sample applications 23 support 6
projects 14 scan cycle, Controller 55 switching editors, motion blocks and
backing up 14 script commands. See script functions motion programs 90
creating 26 Script Editor 65, 84 System groups and users 109
downloading 28 inserting script functions 68 system requirements 2
Motion Developer 87 scripts 65, 84
working with 68
opening 15, 23, 26, 34, 61, 87
script functions 68
T
running 23, 81
scripting languages tags. See variables
validating 28 targets 23, 25
with HMI component 61 Active scripting 67
motion 89
with logic component 34 QPScript 84
VBScript 66 technical support 6
properties 16 testing
configuring 21 ViewScript 66
panels 31
Property column view 21 scripts 65, 84
application scripts 65, 84 scripts 82
Property Inspector. See Inspector toolbars
debugging 82
drawing tools 63
global function library scripts 65
Q inserting script functions 68 ladder instruction tools 40
QPScript language 84 Machine Edition tools 13
motion 92
quick editing Toolchest 19, 40
panel scripts 65, 84
ladder program 41 touch animation scripts 65 tools
SFCs 37 Companion 12
scripts, motion
quick start 8 Control I/O 53
inserting items 92
quick test, panels 31 search, index 11 Data Watch 41
QuickPanel Feedback Zone 20
security. See Access Control
scripts 84 InfoViewer 12
Sequential Function Charts. See SFCs
QuickPanel alarm window 70 servers Inspector 16

118 Getting Started GFK-1868E


Index

Navigator 14 V ViewScript language 66


overview 10
validating 20, 28, 56
toolbars 13
Variable W
Toolchest 19, 40 property column view 21 Warm Standby 58
touch animation scripts 65
Variable Alarms 70 and OPC servers 60
tracking
Variables 21 configuring 58, 59
see Audit Trailing managing 21 configuring OPC server for 60
translations. See Languages folder
reports 22 Web Access 76
Triggered Message Display (TMD) 64
variables Site Index 76
creating 26 Web Server 76
U locating 36, 40, 44, 47 Windows CE targets. See CE targets
undoing check outs 107 Variables tab 15, 21 Windows NT targets. See NT targets
Unused Variable report 22 VBScript language 67 windows. See Panels
user preferences 15 VenturCom RTX 57 wizard, Controller Functions 94
users 108 Version Control 103 wizard, Drive Functions 94
adding to groups 110 security 105 Wizard, Main 94
creating 109 View 61 to 85 wizards, motion See Motion Wizards
system 109 testing the HMI 31 Word Alarms 70
View Runtime 81 writing motion scripts 92
running 81 writing scripts 68
shortcut keys 81

GFK-1868E Getting Started 119

You might also like