Proficy* Machine Edition Getting Started v6.00

Proficy* Machine Edition Getting Started v6.00

GS100FX.pdf 1

Proficy

*

Machine Edition

G E T T I N G S T A R T E D

V e r s i o n 8 . 0 0

2 0 1 3

G F K - 1 8 6 8 R

5/6/2013 2:07:47 PM

GS100FX.pdf 2

2

5/6/2013 2:07:56 PM

Getting Started t

GS100FX.pdf 3

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 Intelligent Platforms, Inc.

Disclaimer of Warranties and Liability

The information contained in this manual is believed to be accurate and reliable. However, GE

Intelligent Platforms, Inc. assumes no responsibilities for any errors, omissions or inaccuracies whatsoever. Without limiting the foregoing, GE Intelligent Platforms, 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 equipment or software described herein. The entire risk as to the quality and performance of such information, equipment and software, is upon the buyer or user. GE Intelligent Platforms, Inc. shall not be liable for any damages, including special or consequential damages, arising out of the use of such information, equipment and software, even if GE Intelligent Platforms, Inc. has been advised in advance of the possibility of such damages. The use of the information contained in the manual and the software described herein is subject to GE Intelligent Platforms, Inc. standard license agreement, which must be executed by the buyer or user before the use of such information, equipment or software.

Notice

GE Intelligent Platforms, Inc. reserves the right to make improvements to the products described in this publication at any time and without notice.

© 2013 GE Intelligent Platforms, Inc. All rights reserved. * Trademark of GE Intelligent

Platforms, Inc. Any other trademarks referenced herein are used solely for purposes of identifying compatibility with the products of GE Intelligent Platforms, Inc.

We want to hear from you. If you have any comments, questions, or suggestions about our documentation, send them to the following email address: [email protected]

5/6/2013 2:07:56 PM

GS100FX.pdf 4

4

5/6/2013 2:07:56 PM

Getting Started t

GFK-1868R

GS100FX.pdf 5

Contents

1 Contents

2 Welcome 1

System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Product Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Hardware Key Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Software Key Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Contact GE INTELLIGENT PLATFORMS . . . . . . . . . . . . . . . . . . . . . . . . 10

General Contact Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Americas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Europe, the Middle East, and Africa (EMEA) . . . . . . . . . . . . . . . . . . 10

Asia Pacific . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

i

3 Proficy* Machine Edition* 13

Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

Machine Edition Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Getting to Know Machine Edition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Right-click, right-click, right-click . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Accessing the Right Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Using docking markers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Projects and the Navigator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Properties and the Inspector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Data Watch Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Smart Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

The Toolchest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

The Feedback Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

Managing Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

Machine Edition Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Sharing Projects between Machine Edition Workstations . . . . . . . . . 29

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

Developing a Machine Edition Project . . . . . . . . . . . . . . . . . . . . . . . . 32

Validating and Downloading a Project . . . . . . . . . . . . . . . . . . . . . . . . 35

Testing a View Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

Proficy* Machine Edition* 8.00

i

5/6/2013 2:07:56 PM

C o n t e n t s

4 Logic Developer - PC 39

SFC Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Sequential Function Chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Working with the SFC editor - Offline . . . . . . . . . . . . . . . . . . . . . . . . 42

Working with the SFC editor - Online . . . . . . . . . . . . . . . . . . . . . . . . 44

Ladder Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

Ladder Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

Working with the ladder editor - Offline . . . . . . . . . . . . . . . . . . . . . . . 46

Working with the ladder editor - Online . . . . . . . . . . . . . . . . . . . . . . . 47

Instruction List Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

Instruction List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

Working with the IL editor - Offline . . . . . . . . . . . . . . . . . . . . . . . . . . 50

Working with the IL editor - Online . . . . . . . . . . . . . . . . . . . . . . . . . . 51

Structured Text Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Structured Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Working with the ST editor - Offline . . . . . . . . . . . . . . . . . . . . . . . . . 53

Working with the ST editor - Online . . . . . . . . . . . . . . . . . . . . . . . . . 54

Function Block Diagram Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

Function Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

Working with the FBD editor - Offline . . . . . . . . . . . . . . . . . . . . . . . . 56

Working with the FBD editor - Online . . . . . . . . . . . . . . . . . . . . . . . . 58

Logic Developer - PC Web Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

Control I/O Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

I/O Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

Control I/O Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

Working with Control I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64

Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

Working with the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

Warm Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

Working with Warm Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

Hot Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

Working with Hot Standby . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

OPC Servers, Warm Standby, and Hot Standby . . . . . . . . . . . . . . . 69

5 View* 71

Panel Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

Working with the Panel Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

ii Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 6 5/6/2013 2:07:56 PM

C o n t e n t s

GFK-1868R

GS100FX.pdf 7

Message Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74

Script Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

Scripting Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76

VBScript Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

Active Scripting Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

Working with the Script Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

Grid Editors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79

Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

Alarm Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80

Alarm Display Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

Logging data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82

PLC Access I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

OPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

OPC Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

Machine Edition OPC Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

View Web Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87

Languages folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

Working with the Languages editor . . . . . . . . . . . . . . . . . . . . . . . . . . 91

View Runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93

Networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93

QuickPanel Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

External Keypad Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

Scripts on QuickPanel Targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

QPScript Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

6 Motion Developer* 99

About Motion Developer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100

Supported motion control devices . . . . . . . . . . . . . . . . . . . . . . . . . . 100

Motion Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

Motion targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

Motion configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102

Motion programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

Motion blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

Motion Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

Motion wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

Special Wizards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108

Proficy* Machine Edition* 8.00

iii

5/6/2013 2:07:56 PM

C o n t e n t s

Application Builder flowchart editor . . . . . . . . . . . . . . . . . . . . . . . . . 108

Motion Calculator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110

CAM Profile Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112

Index 115

iv Proficy* Machine Edition* 8.00

GS100FX.pdf 8

GFK-1868R

5/6/2013 2:07:56 PM

Remote I/O

1

Welcome

Congratulations for purchasing a Proficy* Machine Edition* 8.00 product. This package provides all the tools necessary to create powerful control and HMI

(human machine interface) applications for a variety of run-time targets; a truly scalable solution. Machine Edition supports the following products and features:

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

Logic Developer - PC*, scalable, computer based control software with a complete set of IEC standard editors (available with QuickPanel Control).

Logic Developer - PLC*, a software tool for programming the full line of GE

IP Controllers. (See GFK-1918 Getting Started Logic Developer - PLC.)

View*, for creating HMIs for Windows 7 SP1, Windows XP, QuickPanel

View/Control, and QuickPanel units.

Motion Developer*, for developing Whedco motion control applications.

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

View

Logic

Developer

PC

Logic

Developer

PLC

Motion

Developer

QuickPanel Control

Machine Edition Environment

(Development Tools)

Build & Download

Runtime Files

Build & Download

Runtime Files

QuickPanel

QuickPanel

View

Build & Download

Runtime Files

GE IP Controllers

Build & Download

Runtime Files

Motion Controllers

Web Access

GFK-1868R

GS100FX.pdf 9

I/O Modules

Internet/Intranet

Motors/Drives

Proficy* Machine Edition* 8.00

1

5/6/2013 2:07:56 PM

1

W e l c o m e

System Requirements

S Y S T E M R E Q U I R E M E N T S

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

D ev e l o p m e n t E n v i r o n m e n t Operating System

Machine Edition product

Logic Developer - PC

View

Logic Developer - PLC

Logic Developer - State

Motion Developer

Windows

7 SP1 a

yes yes yes

e

Windows

XP b

yes yes yes yes yes a. 32-bit or 64-bit variations of the following: Windows 7 SP1 Ultimate, Windows 7 SP1

Enterprise, or Windows 7 SP1 Professional.

Want to know more? In the Help Index, look up “Windows 7 SP1: Caveats”.

b. Supported: Windows XP Professional SP2 and SP3. You must be part of the PowerUsers group or the Administrators group. Not supported: Windows XP Tablet PC Edition and

Windows XP Embedded.

c. Windows regional settings must be set to English

Processor speed and memory

Minimum: Intel Core Duo or AMD Athlon 64 X2 with 4 GB RAM

Recommended: 2.6 GHz Intel Core i series with 4 GB RAM

Other requirements

Internet Explorer version 9.0, 8.0, 7.0, version 6.0 SP1 or later, or version 5.5

SP2 Q810847 or later.

Note: You must install Internet Explorer before installing Machine Edition.

TCP/IP Network protocol (if you use an Ethernet connection).

.NET Framework 4.0 Full. If the Microsoft .NET Framework is not yet installed, it is automatically included during the installation of Machine Edition, and a reboot may be required to complete the installation.

2 GB hard disk space for all the Machine Edition products and sample projects. Additional space is required for your projects and temporary files.

The Development Environment is supported on VMWare Player 2.0 or greater or

VMWare Workstation 6.0 or greater.

Note: The APM Motion Programmer does not function if Machine Edition runs within VMWare.

2

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 10 5/6/2013 2:07:56 PM

W e l c o m e

System Requirements

W i n d o w s P C Ru n ti m e

If you install only the Runtime for Logic Developer - PC and View Developer, the run-time executables are automatically updated from the development machine when the project is downloaded.

32-bit or 64-bit variations of Windows 7 SP1 Ultimate, Windows 7 SP1

Enterprise, or Windows 7 SP1 Professional; Windows XP Professional SP2 or SP3; or Windows XP Embedded.

Notes

■ Windows regional settings must be set to English.

■ Windows XP Tablet PC Edition are not supported.

233 MHz Pentium

based workstation (1.6 GHz recommended)

Note: 300 MHz is required for Windows XP Professional.

200 MB free hard disk space.

128 MB RAM (1 GB recommended; minimum 256 MB on XP).

Minimum requirements for the range of variables defined in your projects:

Requirements

CPU

Disk Space

RAM

<500

233 MHz

200 MB

128 MB

Variables

500 - 10000

1 GHz

200 MB

512 MB

>10000

2 GHz

200 MB

1 GB

Qu i c k Pa n e l V i e w/ C o n tr o l R u n t i m e

For HMI and Logic components: QuickPanel Control.

For HMI only: QuickPanel View.

GFK-1868R

GS100FX.pdf 11

Proficy* Machine Edition* 8.00

3

5/6/2013 2:07:56 PM

1

W e l c o m e

Installation

I N S T A L L A T I O N

For last-minute information, release notes, and supported hardware lists for

Machine Edition products, see the Important Product Information (IPI) document on the DVD. There are several ways to view this document:

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

On the Machine Edition 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, and click the What’s New link under Get Started on the left hand side.

If you have any problems installing Machine Edition, please contact Technical

Support (see page 9).

T o in s t a l l t h e f u l l M a c h i ne Ed i t io n d e v e l o p me n t e n v i r o n m e n t f r o m a D V D

1.

Insert the Machine Edition DVD into your computer.

Windows automatically starts the setup program. If the setup program does not automatically start, run Setup.exe in the root directory of the DVD.

2.

Click Install to start the install process.

3.

Follow the instructions that appear.

If a previous version of Machine Edition is installed on your workstation, you will be prompted to uninstall Machine Edition during the upgrade process. You should do so only when asked to by the installation process. Do not delete files left behind during uninstallation; these will be used by the new version.

T o in s t a l l o n l y t h e V i e w a n d L o g i c D e v e l o p e r - PC R u n - t i me s f r o m a D V D

1.

Insert the Machine Edition DVD into your computer.

Windows automatically starts the setup program. If the setup program does not automatically start, run Setup.exe in the root directory of the DVD.

2.

Click Install to start the install process.

3.

Follow the instructions that appear until you reach the Proficy Machine Edition

Setup page.

4.

On that page, expand the View node. Under that node, select Run-time and deselect everything else. Expand the Logic Developer - PC node. Here too, select Run-time and deselect the rest. At the bottom of the page, click Next.

5.

Follow the instructions that appear.

4

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 12 5/6/2013 2:07:56 PM

W e l c o m e

Product Authorization

P R O D U C T A U T H O R I Z A T I O N

A new installation of Proficy Machine Edition provides a 4-day trial license with full access to Machine Edition features. This license overrides all other licensing and cannot be removed. Any licensing added will be apparent on the fifth day.

View Runtime can be run for 2-hour demo periods at any time. Using View OPC drivers with View Runtime on a PC requires a separate View license on the PC.

To continue using Machine Edition beyond the 4-day trial period, you must authorize the software.

Two types of authorization are available: software key authorization and

hardware key authorization. On a single computer, it is not recommended to use both types of authorization.

H a r d w a r e K e y A u t h o r i z a t i o n

A M4 or MAX USB hardware key contains authorization files that are read by the

Proficy Common License Viewer, which enables Proficy products, including one or more Machine Edition products, to execute.

T o s e e w h a t p r o d u c t s a n d t a r g e t t y p e s a r e a u t h o r i z e d b y a h a r d w a r e k e y

• On the Windows Start menu, point to Programs, then to Proficy Common, and choose License Viewer.

T o a u t h o r i z e M a c h i n e E d i t i o n p r o d u c t s w i t h a h a r dw a r e k e y

1.

Find out which version of the Proficy Licensing Software is installed on your computer: On the operating system’s Start menu, point to Programs, then to

Proficy Common, and choose License Viewer. In the top right corner of the

License Viewer window that appears, click About. Take note of the version number and click OK.

2.

If this is the first time you install a Proficy product, access http://support.geip.com, and in the top right corner, click Register. In the Single Sign On page that appears, enter your email address and click Submit. When you receive a

GE Intelligent Platforms Web Access Registration email, follow the instructions.

In the Single Sign On -- SSO Registration application window that appears, fill out the information and click Submit.

3.

Access http://support.geip.com/support/index?page=securitykey&id=ST15&lclicked=Licensing Key

Updates (login req). Enter your SSO User ID and Password. In the middle of the

GFK-1868R Proficy* Machine Edition* 8.00

5

GS100FX.pdf 13 5/6/2013 2:07:56 PM

1

W e l c o m e

Product Authorization

page that appears, follow the Updating the Max/M4 or Pro/M1 key procedure, keeping in mind the following:

Machine Edition does not support the insertion of a hardware key into a parallel port, the insertion of hardware keys in multiple USB ports, or the combination of a hardware key with a software key on the same computer.

If the web site refers to a more recent version than the one on your computer, uninstall your current version, download the more recent version, and install it.

The USB port is usually located on the front or back of your tower case, or in the side of a laptop. We do not recommend using a USB port on your monitor.

If this is a new hardware key, double-click the license file <serialnumber>.plic

(supplied by your local distributor). In the wizard that appears, accept all the defaults. The license file will be flashed onto your key.

The first time you plug the key into a USB port, you see a progress dialog box that indicates that Windows has detected new hardware and is updating its system settings. After the dialog box disappears, the settings stored in the hardware key are active and you can use the products that it authorizes.

You must leave the key in the port while using the products. If you remove the key from the port, authorization for those products is removed and replaced with read-only access to your projects or a 2-hour demo mode for Runtime.

T o mo v e t h e h a r d w a r e - k e y a u t h o r i z a t io n t o a n o t h e r c o mp u t e r

• Remove the hardware key from the source computer and follow the previous procedure on the destination computer.

After the authorization file <serialnumber>.plic has been flashed to the M4 or

MAX hardware key, it can be used on any computer on which the current version of the Proficy Common License Viewer is installed.

S o f t w a r e K e y A u t h o r i z a t i o n

When authorizing Machine Edition products with a software key, you need to contact us by telephone, fax, or e-mail. Authorization personnel are available on the telephone between 6 a.m. and 6 p.m. MST.

Software key authorization is specific to a single computer or workstation. If you want to work with Machine Edition on a different workstation, you must move the

authorization to that second workstation (see page 8).

6

Proficy* Machine Edition* 8.00

GS100FX.pdf 14

GFK-1868R

5/6/2013 2:07:56 PM

W e l c o m e

Product Authorization

T o s e e w h a t p r o d u c t s a n d t a r g e t t y p e s a r e a u t h o r i z e d b y a s o f t w a r e k e y

• On the operating system Start menu, point to Programs, then to Proficy (or GE

Fanuc or CIMPLICITY Machine Edition, depending on when Machine Edition was first installed on the computer), then to Proficy Machine Edition, and then choose Product Authorization.

T o a u t h o r i z e a c o p y o f Ma c h i n e E d it i o n w it h a s o f t w a r e k e y

1.

Have your serial number(s) ready. The serial numbers can be found on the

Certificate of Authenticationt that came with your product.

2.

Run the Product Authorization program from the Start menu | Programs | Proficy

| Proficy Machine Edition | Product Authorization.

3.

In the Product Authorization dialog box that appears, click Add.

4.

Select the means by which you are authorizing: Internet, Phone/Fax/E-mail or

Floppy Disk Transfer. Click Next.

If you choose the Internet option, follow the instructions on the web site.

If you choose the Phone/ Fax/ Email option, proceed to step 5.

If you choose the Floppy Disk Transfer option, ensure that you have an authorization removable media to proceed.

5.

Fill in the fields in the dialog box. Fields 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. On 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).

Product Authorization is complete after 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.

GFK-1868R Proficy* Machine Edition* 8.00

7

GS100FX.pdf 15 5/6/2013 2:07:56 PM

1

W e l c o m e

Product Authorization

T o mo v e t h e s o f t w a r e - k e y a u t h o r i z a t i o n t o a n o t h e r c o mp u t e r

You can run a Machine Edition development product or Runtime only on the computer on which the authorization process was completed. If you want to develop your projects or execute Runtime on a different computer, you need to complete the following steps to move the authorization from one computer to another. (For a more detailed procedure with screen shots, access www.geip.com/support and look up Knowledge Base article KB5659.)

On the computer that the authorization will be moved to, do as follows:

1.

Install Machine Edition.

2.

Run the Product Authroization program as follows: on the operating system’s

Start menu, point to Programs, then to Proficy (or GE Fanuc or CIMPLICITY

Machine Edition, depending on when Machine Edition was first installed on the computer), then to Proficy Machine Edition, and then choose Product

Authorization.

3.

In the top right corner of the Product Authorization dialog box that appears, take note of the Site Code.

This code is required to generate the license file on the source computer.

4.

Leave the dialog box open.

On the source computer, do as follows:

1.

Run the Product Authorization program. Select the authorized products you want to move and click Move.

2.

In the Before Moving message box that appears, read the note and click OK.

3.

Enter the Site Code that you wrote down when you were on the destination computer.

If the Site Code is entered incorrectly, the authorization will be lost and cannot

be recovered; you will need to contact technical support (see page 10).

4.

Click Next.

5.

In the Confirm dialog box that appears, verify that the site code is correct. If it is, click OK.

6.

Insert a blank formatted removable medium in the appropriate location.

7.

In the refreshed Product Authorization dialog box, select the drive letter that corresponds to the medium you inserted.

Do not select the C:\ drive; otherwise, your source license files will be overwritten.

8.

Click Next.

9.

In the window that appears, confirm the accuracy of the Target Site Code. If it is correct, click Finish.

8

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 16 5/6/2013 2:07:56 PM

W e l c o m e

Product Authorization

The authorization code is moved to a file named authoriz.dat on the removable medium you selected.

10.

In the Authorization disk successfully created message box, read the message and click OK.

On the destination computer, do as follows:

1.

Insert the removable medium.

2.

In the Product Authorization window that you left open earlier, click Add.

3.

In the refreshed Product Authorization dialog box, select Floppy Disk Transfer and click Next.

4.

In the refreshed dialog box, to the right of the Please insert your Authorization

Disk field, click the button.

5.

In the dialog box that appears, select the drive letter that corresponds to the medium you inserted and navigate to the location of the authoriz.dat file. Click

Open.

6.

In the Product Authorization dialog box, click Next.

7.

In the refreshed dialog box, verify the product and contact information. If all is correct, click Finish.

8.

In the message box that indicates that the move was successful, click OK.

The authorization has now been moved to the new computer, as you can see in the refreshed Product Authorization window.

9.

Click Exit.

T o c h a n g e a s o f t w a r e k e y t o a h a r d w a r e k e y o r v ic e - v e r s a

• Contact your local distributor.

GFK-1868R

GS100FX.pdf 17

Proficy* Machine Edition* 8.00

9

5/6/2013 2:07:56 PM

1

W e l c o m e

Contact GE INTELLIGENT PLATFORMS

C O N T A C T G E I N T E L L I G E N T

P L A T F O R M S

If you purchased this product through a GE Intelligent Platforms Authorized

Channel Partner, please contact the seller directly.

G e n e r a l C o n t a c t I n f o r m a t i o n

Online Technical Support & GlobalCare: www.ge-ip.com/support

Comments about our manuals or online help: [email protected]

Additional information: www.ge-ip.com

Solution Provider: [email protected]

Authorization: [email protected]

T e c h n i c a l S u p p o r t

If you have technical problems that cannot be resolved with the information in this guide, please contact us by telephone or email, or on the web at www.geip.com/support.

A m e r i c a s

Online Technical Support: www.ge-ip.com/support

Phone: 1-800-433-2682

International Americas Direct Dial: 1-434-978-5100

Technical Support Email: [email protected]

Customer Care Email: [email protected]

Inside Sales: [email protected]

Primary language of support: English

E u r o p e , t h e M i d d l e E a s t , a n d A f r i c a ( E M E A )

Online Technical Support: www.ge-ip.com/support

Phone: +1 800 433-2682 or +

1 780-401-7717 if the 800 option is not available in your country, or if dialing from a mobile telephone

Technical Support Email: [email protected]

Customer Care Email: [email protected]

Inside Sales: [email protected]

Primary languages of support: English, French, German, Italian, Czech,

Spanish

10

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 18 5/6/2013 2:07:57 PM

W e l c o m e

Contact GE INTELLIGENT PLATFORMS

A s i a P a c i f i c

Online Technical Support: www.ge-ip.com/support

Phone: +86-400-820-8208

+86-21-3217-4826 (India, Indonesia, and Pakistan)

Technical Support Email: [email protected] (China) [email protected] (Japan) [email protected] (other Asias locales)

Customer Care Email: [email protected]

[email protected] (China)

GFK-1868R

GS100FX.pdf 19

Proficy* Machine Edition* 8.00

11

5/6/2013 2:07:57 PM

1

W e l c o m e

Contact GE INTELLIGENT PLATFORMS

12

Proficy* Machine Edition* 8.00

GS100FX.pdf 20

GFK-1868R

5/6/2013 2:07:57 PM

GFK-1868R

GS100FX.pdf 21

2

Proficy* Machine Edition*

Proficy*

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 will 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 can choose what type of machine your projects are downloaded to and will 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 have finished, you will have a solid foundation for building your own automation projects.

For more help getting started, in the InfoView tab of the Navigator, expand the Getting Started library.

Proficy* Machine Edition* 8.00

13

5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

Quick Start

Q U I C K S T A R T

Machine Edition makes it easy to develop a project.

T o s t a r t M a c h i n e E d i t i o n

1.

On the Windows toolbar, click , point to All Programs, then Proficy, then

Proficy Machine Edition, and then click Proficy Machine Edition. (See also

page 30.)

When Machine Edition initializes for the first time following installation, the

Environment Themes dialog box appears.

You can change the default theme later 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 matches the preview in the Environment Themes dialog box. As you work, you can modify the environment – opening and closing windows, changing the selected toolbars, and so on. Any changes are retained in your default environment setup.

14

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 22 5/6/2013 2:07:57 PM

P r o f i c y * M a c h i n e E d i t i o n *

Quick Start

The 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 choose from those projects that have been used recently.

Select this option if you do not want to see this dialog box again.

Select this option to choose from all existing projects

4.

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

Notes

If you select either Empty project or Machine Edition template, the New

Project dialog box appears, in which you can create a new project.

If you select Open an existing project, you can choose from Recent Projects

(the default) or All Projects. You may need to also specify the location of the project: whether it is located on the local computer (My Computer), in a shared folder (Shared Projects), or on Change Management Server (Server).

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 use to familiarize yourself with Machine Edition.

6.

If desired, select the do not 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. For more information, see “Machine Edition

Projects” on page -29.

GFK-1868R

GS100FX.pdf 23

Proficy* Machine Edition* 8.00

15

5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

Machine Edition Environment

M A C H I N E E D I T I O N E N V I R O N M E N T

All Machine Edition tools and editors appear in the Machine Edition window. The run-time programs are separate Windows applications, so 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 will 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 will look at some of the tools in the following section; for more details on the others, see the online Help.

Navigator:

Organizes and displays project information in a tree structure.

Navigator tabs:

Conveniently layers information about your projects.

Inspector:

Displays the properties of a selected object.

Toolchest:

Contains preconfigured objects that you can drag into

Machine Edition projects.

Companion:

A dynamic help window that provides information based on what you are doing.

Tabbed Editor window:

One of many windows where you create and edit your application. Tabs at the top let you switch between active Tabbed Editor windows with the click of a mouse.

Common Machine Edition Tools

Data Watch:

Displays the current status of your project’s variables.

InfoViewer:

An embedded browser used to display reports and comprehensive help.

Feedback

Zone: Displays output information generated by

Machine Edition components.

16

Proficy* Machine Edition* 8.00

GS100FX.pdf 24

GFK-1868R

5/6/2013 2:07:57 PM

GFK-1868R

GS100FX.pdf 25

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

G E T T I N G T O K N O W M A C H I N E

E D I T I O N

The following are some key features of the Machine Edition environment.

Knowing them will make your first few hours with Machine Edition a breeze.

R i g h t - c l i c k , r i g h t - c l i c k , r i g h t - c l i c k

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 will get things done. Machine Edition tailors the menu of commands depending on the current status of your project.

G e t t i n g H e l p

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.

Perform a full-text search of the help in a separate HTML Viewer window: on the Help menu, choose Search.

Search for keywords using the index: on the Help menu, choose 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 Proficy on the Web, and then choose:

Proficy Support

GE IP Home Page

Proficy* Machine Edition* 8.00

17

5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

To access the online Help index, on the

Help menu, choose Index.

To access the full-text search viewer, on the

Help menu, choose

Search.

The InfoView

Tab contains the table of contents for the online help.

Double-click a page to view it.

The Compan-

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

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 Info-

Viewer toolbar to navigate the

HTML help.

The InfoViewer window is a browser that displays the comprehensive

HTML-based online help.

Click this button to open the Info-

Viewer with more detailed information on the topic in the Companion.

C o m p a n i o n

I n fo V i e we r

Getting Help

The Companion window displays brief information about whatever item you are 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 has been turned off, click on the Tools toolbar to open it.

The InfoViewer window is an embedded Web 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”.

18

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 26 5/6/2013 2:07:57 PM

GFK-1868R

GS100FX.pdf 27

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

A c c e s s i n g t h e R i g h t T o o l

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 name.

On the Tools toolbar, click the tool icon. To display the Tools toolbar, on the

Tools menu, choose Toolbars and select a menu item.

Naviga-

InfoViewer

Companion

Toolchest Control I/O

Feedback

Inspector

Data Watch

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”.

U s i n g d o c k i n g m a r k e r s

If the Show Docking Markers option is enabled, you can use docking markers to help dock a tool window to a desired location.

As you drag a dockable window, a series of docking markers appear, indicating valid docking locations. Docking markers appear as a series of large blue arrows. Move the mouse over a docking marker to preview how the window would be docked when using that marker. Release the mouse button while hovering over a marker to use that location.

These markers dock tools to the edge of an existing tool or to the Machine Edition environment window.

This marker “stacks” the tool overtop an existing tool window, forming a series of tab-docked windows. You can then switch between tab-docked tools by clicking the tabs that appear at the bottom of the tab-docked windows.

Proficy* Machine Edition* 8.00

19

5/6/2013 2:07:57 PM

N a v i g a to r

2

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

P r o j e c t s a n d t h e N a v i g a t o r

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 appear only when 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 can access 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”.

The Manager tab lists all projects located on your hard drive and (if you are using a Change Management system) under

Change Management.

Use it to create and open projects, and to manage projects on a Change

Management system.

To add a new project, rightclick My Computer and choose New.

or

Select Restore to add an existing or backed-up

Machine Edition project to your computer.

A Machine Edition project must be backed up before it can be moved to another computer. To do this, rightclick 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

Machine Edition products are installed.

Navigator Window with Local Project List

The InfoView tab contains the table of contents for the Help.

20

Proficy* Machine Edition* 8.00

GS100FX.pdf 28

GFK-1868R

5/6/2013 2:07:57 PM

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

T o o pe n a p r o j e c t in t h e N a v i g a t o r

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 on. A project can have multiple targets.

These nodes represent the 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 appear when a Logic component was added to

Target1 (when using

Logic Developer - PC).

The Options tab contains option and preference settings for the Machine Edition environment.

The Project tab organizes your project.

Use it to navigate around your project, and add, delete, and configure the items that make up your project.

The Variables tab contains all the variables in your project.

Use it to add, delete, move, and otherwise manipulate variables.

Navigator Window with an Open Project

GFK-1868R

GS100FX.pdf 29

Proficy* Machine Edition* 8.00

21

5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

P r o p e r t i e s a n d t h e I n s p e c t o r

I n s p ec t o r

This is the kind of object you selected.

In Machine Edition, practically every object has properties. Properties are 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 displays all those properties associated with the selected object.

When a property changes an object’s appearance, you will 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 are ever unsure of the valid range for a property, hover the mouse over its current value and look at the status bar at the bottom of the Machine

Edition window.

To edit this property, type the new value in the box.

To edit this property, select the new value

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.

Inspector Window

As you select the various properties within the Inspector, the Companion displays a brief description of the selected property.

Want to know more? In the Help Index, look up “Inspector” and choose “Inspector Tool

Window”.

22

Proficy* Machine Edition* 8.00

GS100FX.pdf 30

GFK-1868R

5/6/2013 2:07:57 PM

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

Navigator: Project tab

Data Watch nodes

D a t a W a t c h L i s t s

The Data Watch (available only while editing a project) is a debugging tool that you can use to monitor and edit real-time values of variables defined in your project. This is useful while working online with a run-time target. With the Data

Watch tool, you can monitor individual variables or user-defined watch 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 in the Data Watch tool at a time.

Want to know more? In the Help Index, choose “Data Watch List”.

The structure variable Robot1 has been expanded to show all of its elements.

The Static tab contains variables that you add to the Data

Watch tool.

The Auto tab displays variables associated with the item currently selected in an editor or tool.

Data Watch Window

The IEC or Reference address of variables mapped to I/O terminals or Controller memory.

The name and value of each element of the structure variable Robot1 is shown here, even when not expanded.

Double-click a value to change it.

A Watch List tab contains all variables in your project that have been added to the currently selected Watch list.

T o d e f i n e a W a t c h L i s t :

1.

Right-click the Data Watch Lists folder and choose 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-1868R Proficy* Machine Edition* 8.00

23

GS100FX.pdf 31 5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

This text changes color based on whether the entry is valid or invalid.

For example, invalid entries are red. Valid entries in the list are black. Valid typed entries that are not in the list appear green; accepting this entry creates a new item (in this case, a new variable).

S m a r t L i s t s

While working in Machine Edition editors, you are frequently required to input variable names, instruction mnemonics, and other data items. The Smart List can speed text entry of these items.

This tells you what you need to enter or select.

Smart List Display

As you type in the input box, the list selection jumps to the item that is closest to what you typed. Press ENTER to create a new item based on what is typed, or use the Down arrow to use the selected item.

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 named “fill”, press ENTER without using the Down arrow.

24

Proficy* Machine Edition* 8.00

GS100FX.pdf 32

GFK-1868R

5/6/2013 2:07:57 PM

GFK-1868R

GS100FX.pdf 33

T o o l c h e s t

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

T h e T o o l c h e s t

The Toolchest (available only 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. Because 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: an Overview”.

Within a drawer,

Toolchest items are organized into folders.

Toolchest items are grouped into drawers. Select the drawer you want with this list box.

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 most preconfigured objects within the Toolchest are displayed in the Companion.

Proficy* Machine Edition* 8.00

25

5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

F e e d b a c k Z o n e

T h e F e e d b a c k Z o n e

The Feedback Zone (available only while editing a project) is an interactive window that displays output information generated by Machine Edition components. With 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 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 opens the project

The Build tab displays the status and results of a validate or download operation. Use this tab to discover and fix any errors you may have in your project.

The Import tab displays a list of errors and warnings from an import operation (for example, errors/warnings are listed when you import variables from a Controller into a Machine Edition project).

The Messages tab tracks and displays operations that have been completed in Machine Edition. For example, a message is added every time you open a project.

The References tab displays a list of all the places a selected variable is used in a project. Click the Reference tab and then select a variable from the Variable List. You will see a list of all the places the variable is referenced in your project.

The Reports tab displays a list of all reports generated during the current session. Double-click a report in the list to redisplay it in the

InfoViewer.

Feedback Zone

26

Proficy* Machine Edition* 8.00

GS100FX.pdf 34

GFK-1868R

5/6/2013 2:07:57 PM

Pr o p e r ty C o l u m n s

P r o f i c y * M a c h i n e E d i t i o n *

Getting to Know Machine Edition

M a n a g i n g V a r i a b l e s

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 named 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 Controller 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 “STRUCTURE data types”.

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

Click to open and close the property column display. This button is available only 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-1868R

GS100FX.pdf 35

Proficy* Machine Edition* 8.00

27

5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

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.

Va r i a b l e R e p o rt s

The Navigator’s Property Columns view

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

Cells for properties that do not apply to an item are grayed out.

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 and Logic Developer - PLC 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 “Variable support in View Developer”.

For information on variables in QuickPanel projects, choose “Variable support in QuickPanel applications”.

For information on variables in Logic Developer - PC, choose “Variable support in Logic

Developer - PC”.

For information on variables in Logic Developer - PLC, choose “Variables in Logic Developer

- PLC vs. Memory in GE IP Controllers: an Overview”.

For information on variables in Motion Developer, choose “Variable support in Motion

Developer”.

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

28

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 36 5/6/2013 2:07:57 PM

GFK-1868R

GS100FX.pdf 37

P r o f i c y * M a c h i n e E d i t i o n *

Machine Edition Projects

M A C H I N E E D I T I O N P R O J E C T S

During development, your automation application is named 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 XP computer, a QuickPanel View/Control unit, a motion Controller, or a QuickPanel unit. Different Machine Edition products support different target types. Targets are often further subdivided into models. 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, with View, you can you add an HMI component to Windows PC and QuickPanel View/Control targets, used for creating human-machine interfaces. With Logic Developer - PC, you can add a Logic component to

Windows PC and QuickPanel View/Control targets. You can then create ladder logic to make a PC act as a Controller. QuickPanel View targets do not support logic; therefore, you cannot download a project that contains logic to one.

With Motion Developer, you can program motion Controllers from your PC. Each motion device programmed by Motion Developer is represented by a separate

Motion target. Because motion targets have no additional capabilities, they do not require adding components.

Want to know more? In the Help Index, look up “projects” and choose “Machine Edition

Projects: an Overview”.

S h a r i n g P r o j e c t s b e t w e e n M a c h i n e E d i t i o n

W o r k s t a t i o n s

If your site has multiple Machine Edition workstations connected through a network, you can use the Shared Projects folder to work on the same set of projects. Projects under the Shared Projects folder are stored in a directory you specify, typically a shared directory on the network.

No access or version control is applied to the Shared Projects folder. If multiple users open the same project at the same time, some changes may be lost.

Note: Shared Projects and Shared Variables are two completely different and separate features. For information on Shared Variables (which implement proxy

variables between targets in different projects), see “PLC Access I/O” on page -83.

Want to know more? In the Help Index, look up “Shared Projects”.

Proficy* Machine Edition* 8.00

29

5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

Machine Edition Projects

R u n n i n g a S a m p l e P r o j e c t ( V i e w / L o g i c

D e v e l o p e r - P C )

If you are 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.

T o r u n a s a m p le p r o j e c t

1.

Run Machine Edition from the Start menu | All Programs | Proficy | Proficy

Machine Edition | Proficy 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 the following:

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

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 PC target.

Car Wash: an HMI and logic application that runs on a Windows PC target.

This application is built in an SFC document.

ControlStation HMI Features: an HMI and logic application that runs on a

Windows PC target. This application also shows some web documents.

QP Control 6 inch Brewery: an HMI and logic brewery application that runs on a QuickPanel Control unit. (Projects containing a logic component cannot be downloaded to a QuickPanel View unit, because QuickPanel View units do not support logic.)

QP Control 6 inch Ventilation: an HMI and logic application that runs on a

QuickPanel Control unit. This application runs a four-zone ventilation logic system. It is to be used with the QuickPanel Control unit Tutorial. (Because

QuickPanel View units do not support logic, projects with a logic component cannot be downloaded to a QuickPanel View unit.)

ST - Lunar Lander: an HMI and logic application that runs on a Windows PC target. This project demonstrates the Structured Text (ST) language and its interaction with User Defined Function Blocks (UDFBs).

30

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 38 5/6/2013 2:07:57 PM

P r o f i c y * M a c h i n e E d i t i o n *

Machine Edition Projects

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’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 choose Open.

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.

T o g o o n l i n e t o t h e C o n t r o l le r

If you have chosen a project that contains 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 do not 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 logic and

SFCs.

GFK-1868R Proficy* Machine Edition* 8.00

31

GS100FX.pdf 39 5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

Machine Edition Projects

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. To start and stop Runtime and the Controller, right-click the target, point to

Online Commands, and then click Start/Stop Runtimes. To go offline from the

Controller, right-click the target, and then click Go Offline.

D e v e l o p i n g a M a c h i n e E d i t i o n P r o j e c t

The first thing to decide when you create a Machine Edition project is where the project will run after it is developed. That is, on what type of target hardware it will run.

For View and Logic Developer - PC, targets can be a Windows PC computer

(either the one you are developing the project on, or a remote one that you connect to through a network), or a QuickPanel View/Control unit.

For View alone, your target can also be a conventional QuickPanel unit.

For Logic Developer - PLC and Logic Developer - State, your target is a

PACSystems, Series 90, or VersaMax Controller. You can also configure remote

I/O targets that represent a variety of remote I/O adapters and their associated

I/O modules. See GFK-1918 Getting Started Logic Developer - PLC.

If you are using Motion Developer, the choice is easy—determine whether your

motion hardware is a motion Controller/drive or a drive-only device (see page

101).

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. In some cases, targets can be converted from one type to another. For example, you can convert a Windows XP target to and from a QuickPanel View target.

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

T o c r e a t e a n d d e v e l o p a p r o j e c 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 Machine Edition from the Start menu | All Programs | Proficy | Proficy

Machine Edition | Proficy Machine Edition.

32

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 40 5/6/2013 2:07:57 PM

GFK-1868R

GS100FX.pdf 41

P r o f i c y * M a c h i n e E d i t i o n *

Machine Edition Projects

2.

Create a project using a template.

In the Manager tab of the Navigator, right-click My Computer and choose

New. The New Project dialog box appears.

If you are using shared projects, you can also add new projects under the

Shared Projects folder. Or, if you are working on a Change Management system, you can add new projects to the Machine Edition folder under the Server.

3.

In the New Project dialog box, enter a name for the new project, select a template, and then 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 new project under a Change

Management system”.

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 PC,

QuickPanel View/Control, QuickPanel, or GE IP Controller 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: an Overview”.

5.

Create your application.

With Logic Developer - PC, add logic (Ladder, FBD, IL, ST, SFC) to your project, and then 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, point to Add Component, and choose Logic. (View-only targets do not support logic.)

In the Project tab of the Navigator, under the Logic folder, open the Ladder

Editor by double-clicking the Ladder Program node.

Proficy* Machine Edition* 8.00

33

5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

Machine Edition Projects

Drag ladder instructions from the Toolchest into the editor. You can find ladder instructions in the PC Ladder Instructions 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 (ladder subroutines, FBD, IL, ST) and organize your logic with SFC.

Want to know more? In the Help Index, look up “Ladder Instructions: an Overview (PC)”.

With View, you can 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, point to Add Component, and choose HMI. (If a target has both an HMI and a Logic component, you will typically create the Logic component first.)

In the Project tab of the Navigator, open the Panel Editor by doubleclicking 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 View 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 Motion target and choosing Main Wizard.

In the wizard page, click Motion Expert and follow the instructions on screen.

For more information on using wizards, see page 106.

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 choose 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 I/O Tool: an Overview”.

For View, set up PLC Access I/O in the PLC Access Drivers folder. To add a driver, expand the PLC Access Drivers folder, right-click View Native

Drivers, and click New Driver. Configure the drivers in the Inspector window.

On Windows PC targets, you may want to set up OPC I/O in the OPC

Client folder.

34

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 42 5/6/2013 2:07:57 PM

P r o f i c y * M a c h i n e E d i t i o n *

Machine Edition Projects

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.

V a l i d a t i n g a n d D o w n l o a d i n g a P r o j e c t

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 step 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 Target Configuration and click Communication

Parameters. Click Finish when you are done.

To download a View or Logic Developer - PC project to the Windows PC computer on which you are developing (a local target), ensure that the target property Computer Address is set to “.” (without the quotation marks).

Otherwise—for remote targets—enter the IP address or computer name of the remote computer you want to download to, in the Computer Address property.

To download a QuickPanel project, ensure that the target property Computer

Download Port is set to the applicable COM port.

Additional basic information on setting up Windows PC and QuickPanel

View/Control targets follows.

Pr e p a r i n g a R e mo t e W i n d o w s P C t a r g e t f o r D o w n l o a d i n g

The following steps need to be completed on a remote Windows PC target computer before you can download a project to it.

1.

If you are downloading to another Windows PC computer, ensure that the runtime files are installed on that device.

GFK-1868R Proficy* Machine Edition* 8.00

35

GS100FX.pdf 43 5/6/2013 2:07:57 PM

2

P r o f i c y * M a c h i n e E d i t i o n *

Machine Edition Projects

QuickPanel View/Control targets are shipped with the run-time files preinstalled.

If you are using your own Windows PC computer, you will have to install the run-

time files yourself from the Machine Edition installation DVD (see page 4).

2.

Share the Machine Edition installation directory with the development computer that contains the project files.

In the Windows PC Explorer, navigate to the Proficy Machine Edition folder, right-click it and choose Sharing. Click Shared As and in the Share Name field, enter Proficy Machine Edition.

3.

Ensure you have the proper permissions to download files to the target computer.

In Windows PC, open the Control Panel, click Administrative Tools, and then click Computer Management. Expand “System Tools” and then expand “Local

Users and Groups”. Select the Users folder. In the right pane, double-click the

Guest user account. In the Guest Properties dialog box that appears, clear the

Account is Disabled check box.

4.

Within your Machine Edition project, specify the IP address or computer name of the remote Windows PC target in the Computer Address target property. This enables Machine Edition to locate and connect to the Windows PC target computer.

Type the IP address or the computer name of the remote Windows PC target to which you want to download your project files.

Want to know more? In the Help Index, look up “Preparing Windows PC targets for downloading”.

Pr e p a r i n g a Q u i c k Pa n e l Vi e w / C o n t r o l t a r g e t f o r d o w n l o a d i n g

The following steps need to be completed on a QuickPanel View/Control target before you can download a project to it. If you are not physically connected to the QuickPanel View/Control unit but want to test your project, you can download the project to your local computer by setting the Use Simulator target property to True. You cannot download a project that contains a logic component to a QuickPanel View target, because they do not support logic.

36

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 44 5/6/2013 2:07:57 PM

P r o f i c y * M a c h i n e E d i t i o n *

Machine Edition Projects

1.

Physically connect the QuickPanel View unit to the Ethernet network. This step may require a network administrator.

2.

Within your Machine Edition project, specify the IP address of the QuickPanel

View/Control unit in the Computer Address target property.

To find the IP address of a QuickPanel View/Control unit, double-tap the System

Information icon located on the unit’s desktop.

By default, the QuickPanel View/Control 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 unit.

Want to know more? In the Help Index, look up “Preparing QuickPanel View/Control targets for downloading”.

Type the IP address of the

QuickPanel View/Control unit to which you want to download your project files.

T e s t i n g a V i e w P r o j e c t

The following steps introduce you to the Quick Test feature. Quick Test is similar to a preview: with Quick Test, you can 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 QuickPanel View/Control project, you must set the target’s Use Simulator property to True and perform at least one download after changing the setting.

T o Q u ic k T e s t c h a n g e s ma d e t o a g r a p h i c a l p a n e l

1.

Ensure that you’ve downloaded the HMI to the target computer at least once.

2.

If you have not already done so, open the graphical panel you want to test.

3.

Right-click in the panel and choose Quick Test.

View Runtime appears with a preview of the graphical panel.

GFK-1868R Proficy* Machine Edition* 8.00

37

GS100FX.pdf 45 5/6/2013 2:07:57 PM

GS100FX.pdf 46 5/6/2013 2:07:57 PM

L o g i c D e v e l o p e r - P C

3

Navigator: Project tab

Logic Developer - PC

Logic Developer - PC is Machine Edition’s PC Control product, where you edit a project’s logic component. 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 and executed on the PC Logic

Controller. 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 7 SP1 and Windows XP (“Windows

PC” for short), and QuickPanel Control/View targets. All user-defined logic programs are contained in the Logic folder, including the following:

Sequential Function Chart (SFC) editor (see page 41)

Ladder Program (see page 45)

Instruction List Blocks (see page 49)

Structured Text Blocks (see page 52)

Function Block Diagram (see page 55)

The following run-time elements are included with Logic Developer - PC:

Logic Developer - PC Web Access (see page 59)

Control I/O Drivers (see page 62)

PC Logic Controller (on target computer) (see page 65)

TIP 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 contained in the logic folder, except ladder (of which there can be only one).

GFK-1868R

GS100FX.pdf 47

Proficy* Machine Edition* 8.00

39

5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

T o c r e a t e a p r o je c t t h a t i n c l u d e s a l o g ic c o mp o 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 opens in the Navigator.

T o a d d a l o gi c c o mp o n e n t t o a n e x is t i n g p r o j e c t

• In the Project tab of the Navigator, right-click a target, point to Add

Component and click 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 e r - d e f i n e d f o l d e r t o y o u r p r o 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 click

Folder.

The new folder appears in the Project tab of the Navigator in alphabetical order.

3.

(Optional.) Enter a name for the new folder.

40

Proficy* Machine Edition* 8.00

GS100FX.pdf 48

GFK-1868R

5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

SFC Editor

Navigator: Project tab

SFC nodes

S F C E D I T O R

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.

S e q u e n t i a l F u n c t i o n C h a r t

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 alternating with transitions. A transition can be a BOOL variable or a Structured

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, ST, or FBD 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 determines when and how the action is 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 look up “SFC Tutorial” in the online help Index. This tutorial takes you step-by-step through the creation of a Sequential Function Chart that controls traffic signals.

T o a d d a n e w S F C

1.

In the Project tab of the Navigator, right-click the Logic folder or a userdefined folder, point to New, and click 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-1868R

GS100FX.pdf 49

Proficy* Machine Edition* 8.00

41

5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

SFC Editor

T o o pe n a n SF C or m a c r o f o r e d i t in g

• 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 e a t e a n e w SF C m a c r 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 click 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.

W o r k i n g w i t h t h e S F C e d i t o r - O f f l i n e

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.

Configure instructions and their associated variables in the

Inspector.

Call a macro with a Macro Step instruction.

Use the Variable

List to create variables then drag them to instructions in the SFC editor.

The Companion provides help on anything you click.

Insert instructions, rows, and columns with the

SFC toolbar.

Drag instructions from the SFC drawer of the

Toolchest to the

SFC editor.

Right-click a blank cell to start editing.

Locate all instances of a variable (References) or syntax errors (Build).

42

Proficy* Machine Edition* 8.00

GS100FX.pdf 50

GFK-1868R

5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

SFC Editor

T o in s e r t a n SF C i n s t r u c t i o n

1.

In the SFC editor, right-click a blank cell and click 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 let you choose and create your own.

T o Q u ic k E d it a n SF C

• 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.

SF C Op e r a to r s

To ...

move right one cell move left one cell move down one cell stay on current cell

Use ...

/

;

-

+

GFK-1868R

GS100FX.pdf 51

Proficy* Machine Edition* 8.00

43

5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

SFC Editor

W o r k i n g w i t h t h e S F C e d i t o r - O n l i n e

In the SFC editor, you can view the execution of an SFC as it happens. The following picture illustrates this capability.

Active steps and transitions are highlighted in bold.

Power flow in the associated ladder program

(actions) is indicated in bold while actions are executed.

Many actions can be viewed at once.

Right-click any BOOL to turn or force it

The References tab of the Feedback Zone lists all instances of a variable. Click an entry to locate it in an editor.

Use the Data

Watch to monitor or change data values in real time.

T o g o o n l i n e t o t h e C o n t r o l le r ’ s S F C

• In the Project tab of the Navigator, right-click the target and click 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.

44

Proficy* Machine Edition* 8.00

GS100FX.pdf 52

GFK-1868R

5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

Ladder Editor

Navigator: Project tab ladder logic nodes

L A D D E R E D I T O R

Ladder logic may be 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.

L a d d e r P r o g r a m

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 providing an entry point for program execution.

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.

Tip: You can also create User-Defined Function Blocks (UDFBs). Each UDFB is a callable subroutine to and from which you can pass parameters.

Want to know more? In the Help Index, look up “ladder” and choose “Ladder Program: an

Overview”. Also look up “UDFB” and choose “User-defined Function

Blocks: an Overview”.

T o o pe n a l a d d e r p r o g r a m f o r e d i t i n g

• 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 lo c a t e a l a b e l

• 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-1868R

GS100FX.pdf 53

Proficy* Machine Edition* 8.00

45

5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

Ladder Editor

T o c r e a t e a n e w s u b r o u t i n e o r a c t i o 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 click 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.

Click a shunt and type mnemonics to insert instructions (QuickEdit).

Drag variables to instruction parameters to configure them.

Drag branches around instructions to create parallel execution paths.

Display subroutines and actions in separate editor windows.

The Companion automatically provides information on what you click.

W o r k i n g w i t h t h e l a d d e r e d i t o r - O f f l i n e

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 with the ladder Instruction toolbar.

Edit descriptions in place for rungs, variables, and your ladder program.

Drag instructions from the PC Ladder Instructions drawer of the

Toolchest.

Locate all instances of a variable (References) or syntax errors (Build).

T o in s e r t a r u n g

• In the ladder logic, right-click a rung, shunt, label or description and click 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.

46

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 54 5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

Ladder Editor

T o Q u ic k E d it la d d e r l o g i c

• In the ladder logic, click a rung and type instruction mnemonics separated by semicolons, and then press

ENTER

.

The instructions specified by the mnemonic string you entered are 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

Online status is indicated by the color of the target icon.

W o r k i n g w i t h t h e l a d d e r e d i t o r - O n l i n e

With the ladder editor you can go online to a ladder program being run by the

Controller (page 65). 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 corner indicate the Controller’s status and change to reflect fault conditions.

New or edited rungs are indicated with alternately colored and bolded lines until you Write

Changes.

Power flow is indicated with bold colored lines.

Data values are displayed in real time as they change each scan on the Controller.

Use the Data

Watch to view or set data values for any variable in your project.

GFK-1868R Proficy* Machine Edition* 8.00

47

GS100FX.pdf 55 5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

Ladder Editor

T o g o o n l i n e t o t h e C o n t r o l le r ’ s l a d d e r p r o g r a m

• In the Project tab of the Navigator, right-click the target and click 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 w r i t e a c h a n g e d r u n g t o t h e C o n t r o l le 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.

48

Proficy* Machine Edition* 8.00

GS100FX.pdf 56

GFK-1868R

5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

Instruction List Editor

Navigator: Project tab

IL block nodes

I N S T R U C T I O N L I S T E D I T O R

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.

I n s t r u c t i o n L i s t

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.

2.

Perform an operation on the accumulator, saving the result in the accumulator.

3.

Store the accumulator’s value to memory (a variable).

4.

Do another accumulator load or operation, and so on.

Want to know more? In the Help Index, look up “IL” and choose “IL Editor”.

T o o pe n a n IL b l o c k f o r e d i t in g

• 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 e a t e a n e w IL b l o c k

1.

In the Project tab of the Navigator, right-click the Logic folder or a userdefined folder, point to New, and click Instruction Language.

2.

(Optional.) Enter a name for the new IL block.

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-1868R

GS100FX.pdf 57

Proficy* Machine Edition* 8.00

49

5/6/2013 2:07:58 PM

Drag variables to the IL editor to complete IL statements.

Copy and paste one or more IL statements from the IL editor to other sections or IL blocks.

Begin typing for a Smart

List to appear

(see page 24).

The Companion automatically provides information on what you click.

3

L o g i c D e v e l o p e r - P C

Instruction List Editor

W o r k i n g w i t h t h e I L e d i t o r - O f f l i n e

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.

Multiple-line block comments to document your IL block.

In-line comments for individual IL statements.

Locate all instances of a variable with the References tab of the Feedback

Zone.

T o in s e r t a n IL i n s t r u c t i on

1.

In the IL editor, begin typing.

A smart list appears 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.

50

Proficy* Machine Edition* 8.00

GS100FX.pdf 58

GFK-1868R

5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

Instruction List Editor

W o r k i n g w i t h t h e I L e d i t o r - O n l i n e

In the IL editor, you can view the execution of an IL block as it runs. This is illustrated in the following diagram.

Online status is indicated by the color of the target icon.

Variable types and their data values are displayed in real time as they change each scan on the

Controller.

Right-click any

BOOL variable to force it

On/Off or to turn it On/Off.

The grey background indicates that the editor is online to the

Controller and is read-only.

Use the Data

Watch tool to view or set data values for any variable in your project.

T o g o o n l i n e t o t h e C o n t r o l le r ’ s I L

1.

In the Project tab of the Navigator, right-click the target and click Validate

(

F7

).

2.

Right-click the target and click Download (

F8

).

3.

Right-click the target and click Run (

F9

).

4.

Right-click the target and click 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 the variable. You can also change or force BOOL variable states.

GFK-1868R

GS100FX.pdf 59

Proficy* Machine Edition* 8.00

51

5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

Structured Text Editor

S T R U C T U R E D T E X T E D I T O R

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). You cannot edit an ST block online.

Navigator: Project tab

ST block nodes

S t r u c t u r e d T e x t

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 there is an ST block named ‘MAIN’, it executes after the SFC programs. That is, after downloading a Logic Developer - PC application, the execution of every scan begins with the ladder program, then any SFC programs, and then the ST block named MAIN.

ST supports a timer, arrays, bitwise access, strings, and User Defined Function

Blocks (UDFBs—callable subroutines to and from which you can pass parameters). The Return keyword causes an early exit from a subroutine.

Want to know more? In the Help Index, look up “ST Editor (PC)” or look up “UDFB” and choose “User Defined Function Blocks: an Overview”.

T o o pe n a n ST b l o c k f o r e d i t i n g

• 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 e a t e a n e w ST b l o c k

1.

In the Project tab of the Navigator, right-click the Logic folder or a userdefined folder, point to New, and click ST Block.

2.

(Optional.) Enter a name for the new ST block.

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

52

Proficy* Machine Edition* 8.00

GS100FX.pdf 60

GFK-1868R

5/6/2013 2:07:58 PM

Drag variables to the ST editor to complete ST statements.

Copy and paste ST statements from the ST editor to other sections or ST blocks.

The Companion automatically provides information on what you click.

L o g i c D e v e l o p e r - P C

Structured Text Editor

W o r k i n g w i t h t h e S T e d i t o r - O f f l i n e

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 comments to document your ST block.

Hover over a variable with the mouse pointer to see its data type.

In-line comments for individual ST statements.

Locate all instances of a variable in the

References tab of the

Feedback

Zone.

T o in s e r t a n ST i n s t r u c t io n

1.

In the ST editor, begin typing. To see a list of valid variables, right-click anywhere and click 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 click Insert

Keyword. Choose a keyword from the list that appears, then press

ENTER

.

GFK-1868R

GS100FX.pdf 61

Proficy* Machine Edition* 8.00

53

5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

Structured Text Editor

W o r k i n g w i t h t h e S T e d i t o r - O n l i n e

In the ST editor, you can view the execution of an ST block as it runs. This is illustrated in the following diagram.

Online status is indicated by the color of the target icon.

Right-click any

BOOL variable to force it

On/Off or to turn it On/Off.

The grey background indicates that the 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.

Use the Data

Watch tool to view or set data values for any variable in your project.

T o g o o n l i n e t o t h e C o n t r o l le r ’ s S T

1.

In the Project tab of the Navigator, right-click the target and click Validate

(

F7

).

2.

Right-click the target and click Download (

F8

).

3.

Right-click the target and click Run (

F9

).

4.

Right-click the target and click 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 the variable. You can also change and/or force BOOL variable states.

54

Proficy* Machine Edition* 8.00

GS100FX.pdf 62

GFK-1868R

5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

Function Block Diagram Editor

Navigator: Project tab

FBD nodes

F U N C T I O N B L O C K D I A G R A M E D I T O R

Function Block Diagram (FBD) logic is one of four languages specified by the

IEC 61131-3 standard. The FBD editor is a graphical, free-form editor for editing

FBD logic in the Machine Edition environment. With the FBD editor you can work on a disk copy of a function block diagram (offline) or monitor the execution of an

FBD running in the Controller (online). You cannot edit an FBD online.

F u n c t i o n B l o c k D i a g r a m

A Logic Developer - PC FBD is a named section of Function Block Diagram logic that is compiled and downloaded to the PC represented by the parent target.

The graphical FBD language can be used where there is a flow of signals between control blocks.

FBDs can be executed as Actions called from SFC Steps or called from other

FBDs, ladder programs, or ST blocks. An FBD can contain instructions, wires, and variables, as well as ladder user-defined function blocks (UDFBs), and ST

UDFBs.

Want to know more? In the Help Index, look up “FBD: an Overview (PC)”.

T o o pe n a n F B D f o r e d i t i n g

• In the Project tab of the Navigator, under the Logic folder, or under a user-defined folder, double-click an FBD node.

Your FBD opens in the FBD editor.

T o c r e a t e a n e w F B D

1.

In the Project tab of the Navigator, right-click the Logic folder or a userdefined folder, point to New, and click Function Block Diagram.

A new, empty FBD with the default name “FBDBlkn” appears in the Navigator in alphabetical order under its folder.

2.

(Optional.) Enter a unique name for the FBD.

Your new FBD appears under the Logic folder or under a user-defined folder.

GFK-1868R

GS100FX.pdf 63

Proficy* Machine Edition* 8.00

55

5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

Function Block Diagram Editor

W o r k i n g w i t h t h e F B D e d i t o r - O f f l i n e

The FBD 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 FBD editor to complete

FBD instructions.

Drag instructions from the

PC FBD

Instructions drawer of the

Toolchest.

The Companion automatically provides information on what you click.

T o in s e r t a n F B D t e x t b o x ( T o o l c h e s t me t h o d )

1.

If you have not already done so, open the Toolchest.

2.

In the Toolchest, choose the PC FBD Instructions drawer.

3.

Expand the Comment Block folder.

4.

Drag the text box from the Toolchest onto a blank area of the FBD editor.

You can now enter text in the FBD editor.

Locate all instances of a variable in the

References tab of the

Feedback

Zone.

56

Proficy* Machine Edition* 8.00

GS100FX.pdf 64

GFK-1868R

5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

Function Block Diagram Editor

T o in s e r t a n F B D t e x t b o x ( F B D e d i t o r m e t h o d )

1.

In the FBD editor, right-click a blank area and click Insert Instruction.

2.

In the smart list that appears, do one of the following:

Enter the word “text” (without quotes), and then press

ENTER

.

- or -

Scroll down the list, choose Text, and then press

ENTER

.

3.

You can now enter text in the FBD text box.

T o in s e r t a n F B D i n s t r u c t io n ( T o o lc h e s t me t h o d )

1.

If you have not already done so, open the Toolchest.

2.

In the Toolchest, choose the PC FBD Instructions drawer

3.

Expand an FBD instruction group.

4.

Drag an FBD instruction from the Toolchest onto a blank area of the FBD editor.

5.

Assign parameters above (for Call, Counter, and Timer instructions) and beside the FBD instruction, or draw wires to or from the FBD instruction.

T o in s e r t a n F B D i n s t r u c t io n ( F B D e d i t o r me t h o d )

1.

In the FBD editor, right-click a blank area and click Insert Instruction.

2.

In the smart list that appears, enter or choose an FBD instruction.

3.

Assign parameters above (for Call, Counter, and Timer instructions) and beside the FBD instruction, or draw wires to or from the FBD instruction.

GFK-1868R

GS100FX.pdf 65

Proficy* Machine Edition* 8.00

57

5/6/2013 2:07:58 PM

Online status is indicated by the color of the target icon.

Right-click any

BOOL variable to force it

On/Off or to turn it On/Off.

3

L o g i c D e v e l o p e r - P C

Function Block Diagram Editor

W o r k i n g w i t h t h e F B D e d i t o r - O n l i n e

In the FBD editor, you can view the execution of an FBD as it runs. This is illustrated in the following diagram.

The grey background indicates that the editor is online to the

Controller and is read-only.

Use the Data Watch tool to view or set data values for any variable in your project.

Online FBD editing is not supported. However, you can change or force BOOL variable states. While online, you can also watch data variables in the Data

Watch tool.

T o w a t c h a v a r i a b le ’ s v a l u e

• In the FBD editor, right-click a variable whose value you want to monitor and click Watch.

The variable is added to the Data Watch tool for monitoring.

58

Proficy* Machine Edition* 8.00

GS100FX.pdf 66

GFK-1868R

5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

Logic Developer - PC Web Access

L O G I C D E V E L O P E R - P C W E B

A C C E S S

Machine Edition enables you to view a target’s PC logic data with a web browser, such as Microsoft Internet Explorer (version 4.0 or later is required).

When a Machine Edition project is downloaded, it automatically launches an integrated web server. Users who connect to the target computer over the web are presented with the Site Index, from which they can select the Logic

Navigator. (If the target has an HMI, Web Access options for the HMI appear as well.)

The Logic Navigator presents a tree diagram of PC logic stored in the Controller, where you can browse to specific programs and blocks:

Published SFCs and SFC macros.

Ladder program.

Ladder subroutines.

Actions.

ST blocks.

IL blocks

Click any logic block in the tree to view it.

Want to know more? In the InfoView tab of the Navigator, expand the Web Access library, and then select a topic under the “PC Web Access features” book.

T o a l lo w r e m o t e a c c e s s t o y o u r p r o 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.

GFK-1868R

GS100FX.pdf 67

Proficy* Machine Edition* 8.00

59

5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

Logic Developer - PC Web Access

T o a c c e s s t h e PC lo g i c S i t e I n d e x

1.

Start Internet Explorer.

2.

In the Address box in Internet Explorer, enter the computer name or IP address of the run-time computer.

3.

If you are 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.

4.

If you are 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 run-time computer, the Site Index appears with a list of links to possible ways to view your process data.

T o v i e w P C l o gi c r e mo t e l y

1.

Start Internet Explorer.

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.

60

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 68 5/6/2013 2:07:58 PM

GFK-1868R

GS100FX.pdf 69

Click to go back to the Logic

Developer - PC main menu.

L o g i c D e v e l o p e r - P C

Logic Developer - PC Web Access

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, you can view the values of variables by hovering the mouse pointer over the variable. The value of a BOOL variable on a

Coil or Contact instruction is identified by its color:

If it is green, the variable is set to True (1).

If it is black, the variable is set to False (0).

You can view the values of variables in SFC Transitions (including Structured

Text Transition statements) by hovering the mouse pointer over the Transition.

The color of an SFC Transition indicates its result:

If it is green, its result is True (1).

If it is black, its result is False (0).

Click an SFC action to view it remotely.

Hover over an

SFC transition with the mouse pointer to view its value or values.

Proficy* Machine Edition* 8.00

61

5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

Control I/O Drivers

Navigator: Project tab

Control I/O nodes

C O N T R O L I / O D R I V E R S

A control program (SFC, ladder, IL, ST, or FBD) generally interfaces with the process it is controlling through some type of physical I/O equipment. For PCbased 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 I/O Drivers”.

I / O D r i v e r s

Logic Developer - PC comes complete with a growing library of drivers. Drivers that require no additional equipment on the target computer are the following:

ASCII: Enables you to use an existing communications port on the target computer to send and receive ASCII formatted data to and from other equipment.

Control Peer: Enables 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 on the target computer. Logic

Developer - PC supports most of today’s most popular I/O networks including the following:

Allen-Bradley RIO

ASCII a

Driver

Control Peer Driver

DeviceNet I/O a

Ethernet I/O a

Fanuc CNC I/O

GE Series 90-30 I/O a

GE Genius I/O

2

a. Also supported on QuickPanel Control targets

Honeywell SDS I/O

Interbus-S I/O

Modbus Slave

1a

Modicon MB + Distributed I/O

Modicon Quantum-800 Series I/O

PROFIBUS I/O

a

VersaMax Expansion I/O a

62

Proficy* Machine Edition* 8.00

GS100FX.pdf 70

GFK-1868R

5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

Control I/O Drivers

T o a d d a C o n t r o l I / O d r i v e r t o a t a r g e t

• Right-click the Control I/O Drivers node, point to New Driver, and 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.

C o n t r o l I / O T o o l

C o n tr o l 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 displayed in 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”.

GFK-1868R

GS100FX.pdf 71

Proficy* Machine Edition* 8.00

63

5/6/2013 2:07:58 PM

Drag variables from the ladder editor to

Control I/O terminals.

Use the Variable List to create variables then drag them to I/O terminals.

Double-click a terminal and type a name to create and map a variable of the default type.

3

L o g i c D e v e l o p e r - P C

Control I/O Drivers

W o r k i n g w i t h C o n t r o l 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.

IEC addresses can be displayed in a ladder program above variables mapped to I/O terminals.

Double-click a node to configure a driver, card, rack, or slot.

View and edit data values for variables mapped to I/O terminals.

T o c o n f i g u r e a n I / O s y s t e m w i t h t h e C o n t r o l I / O t o o l

1.

Right-click a driver, card, rack, or slot and click Add xyz 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.

64

Proficy* Machine Edition* 8.00

GS100FX.pdf 72

GFK-1868R

5/6/2013 2:07:58 PM

L o g i c D e v e l o p e r - P C

Controller

Navigator: Project tab

Target node

C O N T R O L L E R

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.

Solves FBD block named ‘MAIN’ (if it exists), including any called subroutines.

Interfaces with Control I/O drivers.

Updates the target’s run-time database, which is shared with the View

Runtime (see page 93).

The following diagram illustrates the Controller’s scan cycle.

Read from I/O

Yield

Solve ladder

Solve SFC

Solve ST Block

Write to I/O

Solve FBD Block

Logic Developer - PC Run-time Controller Scan Cycle

The Controller can be hosted on a:

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

QuickPanel View/Control target. The Windows QuickPanel Control appears as a Logic Developer - PC Controller program.

You specify a target when creating a project. The Controller automatically starts when the target operating system is started.

Want to know more? In the Help Index, look up “PC Logic Controller: an Overview”.

GFK-1868R Proficy* Machine Edition* 8.00

65

GS100FX.pdf 73 5/6/2013 2:07:58 PM

3

L o g i c D e v e l o p e r - P C

Controller

W o r k i n g w i t h t h e C o n t r o l l e r

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 g u r e t h e C o n t r o l l e r

1.

In the Project tab of the Navigator, right-click a target and click 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 appears. 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 lo a d a lo g i c c o mp o n e n t t o t h e C o n t r o l l e r

• In the Project tab of the Navigator, right-click a target and click Download.

All components on the selected target are validated and, if no errors exist, they are downloaded to the specified computer. 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.

R u n M o d e St o r e

With the Run Mode Store (RMS) functionality, you can 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 attempts a Run Mode Store operation. That is, it tries to download your logic to the Controller while the

Controller is running.

66

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 74 5/6/2013 2:07:59 PM

L o g i c D e v e l o p e r - P C

Controller

Stop the Controller, then download: Machine Edition does 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 o n t r o l l e r

• In the Project tab of the Navigator, right-click a target, point to Online

Commands or Offline Commands, and click Start Runtime.

The ladder program, SFC program(s), the ST block named ‘MAIN’, and the FBD block named ‘MAIN’ begin executing on the target computer or unit. If the target

also has an HMI component (see page 93), the View Runtime is started at the

same time as the Controller.

To validate, download and run a project, right-click a target and click

Download and Start “targetname.

W a r m S t a n d b y

The Warm Standby feature provides an extra level of reliability for critical

Windows PC and QuickPanel Control 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 cannot communicate with the primary Controller, the I/O connection is automatically switched to the secondary Controller and the secondary Controller takes over operations.

GFK-1868R

GS100FX.pdf 75

Proficy* Machine Edition* 8.00

67

5/6/2013 2:07:59 PM

3

L o g i c D e v e l o p e r - P C

Controller

W o r k i n g w i t h W a r m S t a n d b y

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” and choose “Warm Standby”.

T o c o n f i g u r e W a r m S t a n d b y

1.

In the Project tab of the Navigator, right-click a Windows PC or QuickPanel

Control target and click 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 click Warm Standby.

4.

Click the Controller Mode property and choose a value from the list.

H o t S t a n d b y

The Hot Standby feature provides a high level of reliability for critical Windows

PC 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 one of the following takes place:

A fault of a specified type occurs. (See To configure a Hot Standy, below.)

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.

W o r k i n g w i t h H o t S t a n d b y

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” and choose “Hot Standby”.

68

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 76 5/6/2013 2:07:59 PM

L o g i c D e v e l o p e r - P C

Controller

T o c o n f i g u r e H o t S t a n d b y

1.

In the Project tab of the Navigator, right-click a Windows PC target and click 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 click 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 before setting itself up as the active 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 before setting its synchronization bit to False.

O P C S e r v e r s , W a r m S t a n d b y , a n d H o t S t a n d b y

Warm standby and hot standby are fully supported by the Logic Developer - PC

OPC server for Machine Edition. When a configuration file is detected, the OPC server does the following:

It generates internal objects so that it recognizes all warm standby or hot standby configurations as logical Controllers to OPC clients.

It 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.

T o c o n f i g u r e a n O PC s e r v e r f o r H o t S t a n d b y a n d W a r m S t a n d b y

• Edit the “OPCWarmStandby.HTML” file, located in the same folder as

LogicPC_OPC.EXE on the computer hosting the OPC Server.

This XML file is used for both the Warm Standby and Hot Standby features. By default, this file is located in the

“C:\Program Files\Proficy\Proficy Machine Edition\OPC” directory.

GFK-1868R Proficy* Machine Edition* 8.00

69

GS100FX.pdf 77 5/6/2013 2:07:59 PM

3

L o g i c D e v e l o p e r - P C

Controller

70

Proficy* Machine Edition* 8.00

GS100FX.pdf 78

GFK-1868R

5/6/2013 2:07:59 PM

GS100FX.pdf 79

4

View*

Navigator: Project tab

HMI component nodes

View is the human-machine interface (HMI) component of Machine Edition, 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 launch the project in View Runtime. View supports

HMI creation for Windows 7 SP1 and Windows XP (“Windows PC” targets for short), QuickPanel View/Control* targets (“QPV/C” targets for short), and

QuickPanel targets.

For Windows PC and QPV/C targets, Web Access features publish data from

Machine Edition HMIs for remote viewing over the Internet. Most View tools and editors are common to all targets, but a few are QuickPanel-specific; for details,

see “QuickPanel Applications” on page 95.

The following are included with a View HMI component:

Panel Editor

Script Editor

Alarms

PLC Access Drivers

Language translation support

Message groups

Logging (Windows PC and QPV/C targets only)

OPC Client & Servers (Windows PC and QPV/C targets only)

Web Documents (Windows PC and QPV/C targets only)

Data Logging Windows (Windows PC targets only)

View Runtime (Windows PC and QPV/C targets only)

Password security (QuickPanel targets only)

T o c r e a t e a p r o je c t t h a t i n c l u d e s a n H M I c o mp o n e n t

1.

In the Manager tab of the Navigator, right-click My Computer and click

New.

2.

In the New Project dialog box that appears: in the Project Name box, enter a name for your project.

3.

From the Project Template list, choose “Configuration Wizard (View /

Control)”.

GFK-1868R Proficy* Machine Edition* 8.00

71

5/6/2013 2:07:59 PM

4

V i e w *

Panel Editor

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 opens in the Navigator.

Navigator: Project tab

Panel Nodes

P A N E L E D I T O R

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, alarm displays, real-time graphs, and historical trend graphs. All objects are 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 Windows PC and QuickPanel View/Control targets, many graphical objects can be configured with several types of Animation to move, change color, display data, trigger scripts, and receive input during Runtime.

On QuickPanel targets, the Panel Editor also has a tiling grid. The tiles let you 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”.

T o a d d a n e w p a n e l t o a n H M I

• In the Project tab of the Navigator, right-click the Graphical Panels folder and click New Panel.

A new panel is added beneath the Graphical Panels folder in the Navigator. If you have created a project by using a template, the Graphical Panels folder likely already contains some default panels.

T o o pe n a p a n e l f o r e d it i n g

• In the Project tab of the Navigator, double-click a panel node.

The panel appears in the Panel Editor.

72

Proficy* Machine Edition* 8.00

GS100FX.pdf 80

GFK-1868R

5/6/2013 2:07:59 PM

V i e w *

Panel Editor

T o c o n f i g u r e a p a n e l

1.

In the Project tab of the Navigator, right-click a panel and click Properties.

The Inspector displays the panel’s properties.

2.

Set the panel’s properties in the Inspector.

For a description of the panel properties, select a property and look in the

Companion. Click in the Tools toolbar to open the Companion window if it is not already open.

W o r k i n g w i t h t h e P a n e l E d i t o r

The Panel Editor interacts with all of the Machine Edition tools to assist 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.

Existing graphical objects can be resized and edited directly in the Panel Editor

Panels are listed in the Project tab of the Navigator.

Configure graphical objects in the

Inspector.

Drag items from the View Expert

Objects drawer of the Toolchest to the Panel Editor.

The Companion displays information for the currently selected object, tool, or property.

The Feedback

Zone updates with information when you validate, download, or run your project.

T o d r a w a g r a ph i c a l o bj e c t

1.

If the Drawing toolbar is open, select the tool you want to use. Otherwise, rightclick in the Panel Editor and choose a drawing tool.

The Companion displays instructions on how to use the selected tool.

2.

Follow the instructions in the Companion to draw your object.

After drawing the object, set its properties in the Inspector.

GFK-1868R Proficy* Machine Edition* 8.00

73

GS100FX.pdf 81 5/6/2013 2:07:59 PM

4

V i e w *

Panel Editor

T o a n i ma t e a n o b j e c t ( W i n d o w s P C a n d Q u i c k Pa n e l Vi e w /C o n t r o l t a r g e t s o n l y )

• In the Panel Editor, double-click a graphical object.

The Animation Properties dialog box appears. Settings for each type of animation are grouped on its own tab. Animations become active when the project is launched with View Runtime.

Navigator: Project tab

Message Group Nodes

M e s s a g e D i s p l a y s

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 colors and appearance of the display can also change. The values and related 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

74

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 82 5/6/2013 2:07:59 PM

V i e w *

Script Editor

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”.

S C R I P T E D I T O R

The Script Editor is a text editor for the various HMI scripting languages, such as

ViewScript, VBScript, and QPScript. On Windows PC targets, you can also use

Structured Query Language (SQL) commands to access a database for which an Open Database Connectivity (ODBC) driver is installed.

S c r i p t s

Navigator: Project tab

Script nodes

Scripts are short executable programs composed 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 you start or quit the application (in

View Run-time) or based on a frequency or condition while the application runs.

Panel Scripts: A panel script is associated with a specific panel in a target and can be configured to execute when the panel opens, when the panel closes, or based on a frequency or condition while the panel is open.

Touch Animation Scripts: (Windows PC and QuickPanel View/Control targets only.) At run time, Touch Animation scripts are activated with keystrokes and on-screen buttons. They are written directly in configuration dialog boxes of graphical objects.

Global Function Library Scripts: (Windows PC targets only.) Global

Function scripts are associated with an entire target. By default, they are executed before any other scripts, but they can be configured to run periodically or on a condition. They must be written in an Active Scripting language, like VBScript.

T o c r e a t e , o p e n , a n d e d i t a n a p p l ic a t io n s c r i p t

1.

In the Project tab of the Navigator, right-click the Application Scripts node, point to New Script, and click either VBScript or ViewScript. (For more

information on scripting, see page 76.)

2.

Enter a name for the new application script.

GFK-1868R Proficy* Machine Edition* 8.00

75

GS100FX.pdf 83 5/6/2013 2:07:59 PM

4

V i e w *

Script Editor

3.

A new script is added to the Application Scripts node.

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.

T o c r e a t e , o p e n , a n d e d i t a p a n e l s c r ip 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 76.)

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.

4.

In the Inspector, edit the panel script properties.

T o c r e a t e a t o u c h a n i ma t i o n s c r ip t

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.

T o c r e a t e a g l o b a l f u n c t i o n l i br a r y s c r i p t

1.

In the Project tab of the Navigator, right-click Global Functions, point to

New Library, and click 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.

S c r i p t i n g L a n g u a g e s

On Windows PC and some QuickPanel View/Control 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 other QuickPanel View/Control targets, Machine Edition supports only the proprietary ViewScript language.

On QuickPanel targets, Machine Edition uses the proprietary QPScript language

(see page 96).

76

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 84 5/6/2013 2:07:59 PM

V i e w *

Script Editor

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.

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 PC and some QuickPanel View/Control targets. Currently, only the VBScript Active

Scripting language is supported.

By default, new projects use VBScript. You can override this default by setting a user preference.

A target can contain scripts written in either ViewScript or VBScript. Because troubleshooting such a project can be quite difficult, 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”.

Va l id a t i n g a s c r i p t w r i t t e n i n a n A c t i v e S c r i p t in g l a n g u a g e

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.

GFK-1868R Proficy* Machine Edition* 8.00

77

GS100FX.pdf 85 5/6/2013 2:07:59 PM

4

V i e w *

Script Editor

Limited checks for VBScript syntax.

V B S c r i p t S y n t a x

A detailed explanation of VBScript syntax is beyond the scope of this manual.

For more 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”.

A c t i v e S c r i p t i n g O b j e c t s

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.

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”.

W o r k i n g w i t h t h e S c r i p t E d i t o r

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”.

There are many ways to insert script words when writing scripts.

If you are very familiar with the operators, functions, and keywords used in

■ the Script Editor, start typing your script directly in the Script Editor.

Otherwise, right-click where you want to insert a function, operator, or keyword and click Insert. Then point to the appropriate submenu for the item you want to insert 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

78

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 86 5/6/2013 2:07:59 PM

V i e w *

Grid Editors

A script can be set to activate periodically or on a condition.

Application scripts are displayed under the Application

Scripts folder.

Panel Scripts are displayed under the panels to which they belong.

GFK-1868R

GS100FX.pdf 87

The View Scripting drawer of the

Toolchest contains script functions, keywords, and math operators that you can drag into your scripts.

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

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.

G R I D E D I T O R S

With various grid editors, you can 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

Proficy* Machine Edition* 8.00

79

5/6/2013 2:07:59 PM

4

V i e w *

Alarms

Trend displays

Passwords list (QuickPanel targets only)

External Keypad assignment configuration

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.

Navigator: Project tab

Alarm nodes

A L A R M S

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.

A l a r m G r o u p s

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 (Windows PC and QuickPanel View/Control 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 you organize related alarmed variables. Also, using more than one variable 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.

80

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 88 5/6/2013 2:07:59 PM

V i e w *

Alarms

A l a r m D i s p l a y O b j e c t s

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 PC and QuickPanel View/Control 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.

If you use Bit or Word alarms, alarm states and messages are based on specific values. 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 (Windows PC and

QuickPanel View/Control): an Overview” or “Alarms (QuickPanel): an

Overview”.

T o s e t a n a l a r m c o n d i t i o n f o r V a r i a b l e A la r ms ( W i n d o w s P C a n d Q u i c k Pa ne l

Vi e w / C o n t r o l t a r g e t s o n l y )

1.

In the Variables tab of the Navigator, right-click the variable for which you want to set an alarm condition and click Properties.

The Inspector displays the variable’s properties.

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, and so on) that you want to configure to set its alarm parameters.

These parameters establish the ranges that place the variable in an alarm state.

T o a d d a Va r i a b l e A l a r m G r o u p

• 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 click

New. Enter a name for the new alarm group.

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.

T o a d d a B i t o r W o r d A la r m g r o u p

1.

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 click

New.

2.

Enter a name for the new alarm group.

GFK-1868R Proficy* Machine Edition* 8.00

81

GS100FX.pdf 89 5/6/2013 2:07:59 PM

4

V i e w *

Logging data

Names must be unique within a target. You can double-click the Alarm Group to edit it.

T o c r e a t e a n A l a r m D i s p l a y g r a p hi c a l o bj e c t

1.

In the Panel Editor, right-click and click Alarm.

The Alarm tool is selected.

2.

Draw an Alarm Object, using the information in the Companion as a guide.

3.

Right-click the Alarm Object and click Properties.

The Inspector displays the object’s properties.

4.

In the Inspector, edit the alarm object’s properties as desired.

The Alarm Display objects supported by Windows PC and QuickPanel

View/Control are not the same as those supported by QuickPanel targets. The objects, though similar, have distinct functionalities. For help on a specific property, click the property when the Companion window is open.

Navigator: Project tab

Logging Group nodes

L O G G I N G D A T A

(Windows PC and QuickPanel View/Control targets only.)

Logging keeps a history of data changes in your project for later analysis.

Logging groups help sort and organize your project data. By default, all data is logged using the same logging strategy. If you want variables to have different logging strategies, you can create a hierarchy of logging groups.

Logging Strategies define when data is logged for a group of variables. You can configure a group to log data periodically, on data changes, or on a condition.

For example, one logging group might log data every minute, whereas another might log data every five minutes.

If you are using a

Proficy

Historian 2.0 (or later) system, you can specify that logging of data from a View HMI be sent to a Historian Collector. A Collector sends data to a central Historian Server for storage and analysis. With a

Collector, logging groups have no effect.

Want to know more? In the Help Index, look up “Logging: an Overview”, “Logging Groups: an Overview, “View Historian Collector”, and “Data Logging Windows”.

T o e n a b l e l o g g i n g o f a v a r ia b le

1.

In the Variables tab of the Navigator, right-click a variable and click

Properties.

82

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 90 5/6/2013 2:07:59 PM

V i e w *

PLC Access I/O

The Inspector displays the variable’s properties.

2.

Set the Enable Logging property to True.

Logging is enabled for the variable, with RootLoggingGroup as the default logging group.

T o a d d a n e w l o g g in g g r o u p

1.

In the Project tab of the Navigator, right-click the logging group node where you want to add the new group, and click New.

2.

Enter a name for the new logging group.

Your new logging group appears beneath the logging group node.

To view or edit the logging group properties, right-click it and click Properties.

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 is not already open.

Navigator: Project tab

PLC Access I/O Nodes

GFK-1868R

P L C A C C E S S I / O

PLC Access I/O is used to enable your Machine Edition HMI unit to communicate with I/O devices on the run-time network. Typically, an I/O device is a Controller: a special hardware device that controls input and output for other, simpler devices. Different brands and types of Controllers communicate using different protocols, requiring different drivers.

D r i v e r s

PLC Access I/O is organized into View Native Drivers and View OPC Drivers.

The latter are supported for Windows PC and QuickPanel View/Control targets.

The View Native Drivers folder can contain the following:

Drivers represent the drivers the target uses to communicate with devices. Windows PC and QuickPanel View/Control targets can have many drivers; QuickPanel targets can have only one.

Devices represent individual devices that a driver communicates with. All devices that a driver communicates with are located in that driver folder. Most drivers can have several devices. This enables you to talk to multiple

Controllers, or (on Windows PC and QuickPanel View/Control targets) to get pieces of data from the same Controller at different rates.

The View OPC Drivers folder can contain multiple channels and devices:

Proficy* Machine Edition* 8.00

83

GS100FX.pdf 91 5/6/2013 2:07:59 PM

4

V i e w *

PLC Access I/O

Channels represent drivers that support serial communications between a target QuickPanel View HMI and a PLC device by means of an OPC server

.

Each channel can communicate with multiple devices.

Devices represent actual hardware that the HMI communicates with by means of an OPC server. A device can be a Controller, I/O module, PC

Control, or serial device.

Want to know more? The IPI lists all of the supported PLC Access drivers. See “View,

Supported H/W”. For more information, in the Help Index, look up

“PLC Access Driver I/O”, “View Native Drivers”, and “View OPC

Drivers”.

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; for more details, see the online help.

If you want to connect to a GE IP Controller (whose application is created with

Logic Developer - PLC), you can use proxy variables to simplify configuration of

I/O variables in the HMI target. Proxy variables are located in an HMI target and have HMI-only properties, but represent another variable on a GE IP Controller target. A proxy variable’s I/O-related properties (such as its I/O address) are automatically configured based on its source variable in the Controller target.

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

T o a d d a Vi e w n a t i v e d r iv e r t o a t a r ge t

1.

In the Project tab of the Navigator, expand the PLC Access Drivers node.

2.

Right-click the View Native Drivers node, point to New Driver, and select a driver.

The driver and a single device are added to your project and the Inspector displays the driver’s properties.

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.

T o a d d a d e v ic e t o a V i e w N a t i v e d r iv e r

1.

In the Project tab of the Navigator, under PLC Access Drivers and under

View Native Drivers, right-click the driver to which you want to add a new device and click New Device.

The device, with a unique default name, is added to your project.

2.

(Optional.) Enter a different name for the device.

84

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 92 5/6/2013 2:07:59 PM

V i e w *

OPC

The Inspector displays the device’s properties. You can now edit the device's properties in the Inspector.

T o a d d a Vi e w O PC d r iv e r t o a t a r g e t

1.

In the Project tab of the Navigator, expand the PLC Access Drivers node.

2.

Right-click the View OPC Drivers node, point to New Channel, and select a driver.

The New Channel wizard appears.

3.

Follow the wizard to the end, in order to configure the new channel (new driver).

After you exit the wizard, the configured driver is added to your project.

T o a d d a d e v ic e t o a V i e w O P C d r i v e r

1.

In the Project tab of the Navigator, under PLC Access Drivers and under

View OPC Drivers, right-click the driver to which you want to add a new device and click New Device.

The New Device wizard appears.

2.

Follow the wizard to the end, in order to configure the new device.

After you exit the wizard, the configured device is added to your project.

Navigator: Project tab

OPC Client Nodes

GFK-1868R

O P C

(Windows PC and QuickPanel View/Control targets only.)

OPC (OLE for Process Control) is an industry-standard protocol that enables software applications to 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 various OPC Clients.

The OPC Client connects to an OPC Server to gain access to the server’s data.

Because 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”.

Because an OPC Server and OPC Client are simply programs or applications, they can run on the same computer. For example, in your factory you could have

Proficy* Machine Edition* 8.00

85

GS100FX.pdf 93 5/6/2013 2:07:59 PM

4

V i e w *

OPC

another application that supports an OPC Client and a Machine Edition application running on the same computer. To allow them to share data, you would 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 the OPC Server and an OPC Client are running on different computers, you must edit the DCOM Security settings on one or both computers.

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 nonprofit organization. You can find detailed technical information about OPC on the

OPC Foundation web site at www.opcfoundation.org.

O P C C l i e n t

The OPC Client driver enables your Machine Edition application to 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, 2.0, and 3.0 specifications.

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 PC Se r v e r l i n k t o t h e O P C C l i e n t f o l d e r

1.

In the Project tab of the Navigator, right-click the OPC Client and click

New Server Link.

2.

Enter a name for the OPC Server Link and click OK.

The OPC Server link is added to your project. Edit its properties in the Inspector.

M a c h i n e E d i t i o n O P C S e r v e r s

With Machine Edition OPC Servers, you can 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 2.0 of the OPC specifications.

86

Proficy* Machine Edition* 8.00

GS100FX.pdf 94

GFK-1868R

5/6/2013 2:07:59 PM

V i e w *

View Web Access

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 configurating an OPC Client depends on the OPC Server, typically each piece of data retrieved from a server is named 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 is as follows:.

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.

Navigator: Project tab

Web Document nodes

GFK-1868R

V I E W W E B A C C E S S

(Windows PC and QuickPanel View/Control 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 ME 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

View Runtime display.

Custom Web Documents: Web pages generated using templates with special HTML tags. These tags are periodically replaced with current project data at run time. You can view web documents online or print them for distribution.

Proficy* Machine Edition* 8.00

87

GS100FX.pdf 95 5/6/2013 2:07:59 PM

4

V i e w *

View Web Access

Variable Monitor Browser: With this application, you can drag and drop variables from Web Documents servers onto four unique viewing tools for dynamic graphical representations of process data.

Remote Variable Inspector: With this tool, you can select a variable from a list of project variables in a project and immediately receive the current value.

Web Control: With Web Control, you can 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 a b l e r e m o t e a c c e s s t o y o u r H M I p r o je c t

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.

T o a c c e s s a p u b l i s h e d H MI ’ s S i t e I n d e x

1.

Start Internet Explorer 5.5 SP4 or later.

2.

In the Address box in Internet Explorer, enter the computer name or IP address of the Runtime computer.

If you are 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.

If you are 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.

88

Proficy* Machine Edition* 8.00

GS100FX.pdf 96

GFK-1868R

5/6/2013 2:07:59 PM

V i e w *

View Web Access

T o v i e w a n H M I ’ s g r a p h i c a l p a n e l s r e m o t e ly f r o m a w e b b r o w s e r

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.

Because 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, historical trend objects on QuickPanel View/Control panels are not supported in remote views.

T o a d d a n e w C u s t o m W e b D o c u m e n t

1.

In the Project tab of the Navigator, right-click the Web Documents node and click New Web Document.

2.

Enter a name for your new document.

Your new Custom Web Document appears beneath the Web Documents node. You can edit properties of the Custom Web Document in the Inspector.

T o e d i t a C u s t o m W e b D o c u m e n t

1.

Outside 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 click Web Document Files.

3.

In the Web Document Files folder that appears, place your HTML document and any logos or pictures your HTML document uses.

The Web Document is created from these files when you download your project.

You can view Custom Web Documents from the Site Index.

GFK-1868R

GS100FX.pdf 97

Proficy* Machine Edition* 8.00

89

5/6/2013 2:07:59 PM

4

V i e w *

Languages folder

Navigator: Project tab

Languages node

L A N G U A G E S F O L D E R

The Languages item opens a grid that enables you to configure multilanguage support for an HMI. At development time, you set up simple translations between an original piece of text (named the “Source”) and one or more languages. At run time, if the target’s Language Translation property is set to Enabled, all text on the HMI’s graphical panels is 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 have made changes. Text entries (in text objects and button objects) that do not appear in the Source column are automatically added to the grid as rows with empty translations for all languages.

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 does not appear. How language translation works depends on the target type:

Windows PC and QuickPanel View/Control 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”.

90

Proficy* Machine Edition* 8.00

GS100FX.pdf 98

GFK-1868R

5/6/2013 2:07:59 PM

V i e w *

Languages folder

The “Source” column contains the original words and phrases to be used during the translation process, as they appear in the target’s graphical panels.

W o r k i n g w i t h t h e L a n g u a g e s e d i t o r

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

This column’s shaded yellow background indicates that it is the default language. If no column has yellow shading, then the

Source language is the default.

To enter a value into a cell, double-click it (or select the cell and start typing).

If both the development and run time computers support

UniCode, you can use non-English character sets in the grid (such as kanji, pictured). For example, In Windows

XP 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.

T o a d d a n e w l a n g u a g e c o lu m n

1.

Right-click in the Language Grid and click Insert 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.

GFK-1868R

GS100FX.pdf 99

Proficy* Machine Edition* 8.00

91

5/6/2013 2:08:00 PM

4

V i e w *

Languages folder

T o r e n a m e a l a n g u a g e c o l u mn

• Right-click in the Languages Grid and click Rename Column (or double-click the column header).

Enter the new name for the language in the column's header text box.

T o mo v e a la n g u a g e c o l u m n

1.

In the Languages Grid click and hold the header of the column you want to move.

2.

Drag the mouse to the place where you want to move the column, then release the mouse button.

T o u pd a t e e n t r i e s in t h e So u r c e c o l u m n w i t h ne w t e x t e n t r i e s i n g r a p h i c a l p a n e l s

• In the Navigator, under the target whose Languages grid you want to update, right-click the Languages node and click Update Source Column.

View searches every graphical panel in the HMI (regardless of whether or not the panel has changed since the last validation) and ensures that all text entries can be found in the Languages grid.

T o c h a n g e t h e d i s p l a y f o n t f o r a l a n gu a g e

1.

Right-click in the Languages grid, and click Set Column Font.

2.

In the Font dialog box that appears, 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 are done.

The selected font set is used to display the translated text both in the Languages grid and (in Windows PC and QuickPanel View/Control targets) the downloaded

HMI. Other font attributes—such as font sizes and styles—affect only how text appears in the grid at development time.

T o s e t t h e d e f a u l t l a n g u a g e c o l u mn

• In the Languages grid, right-click the column you want to set as the default language and click 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.

92

Proficy* Machine Edition* 8.00

GS100FX.pdf 100

GFK-1868R

5/6/2013 2:08:00 PM

V i e w *

View Runtime

T o d e l e t e a l a n g u a g e c o l u m n f r o m t h e g r i d :

• In the Languages grid, right-click the column you want to remove and click

Delete Column.

The column and all its translations are deleted.

This operation cannot be undone. Before deleting a language, ensure that you no longer need information on translated words.

V I E W R U N T I M E

(Windows PC and QuickPanel View/Control 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”.

N e t w o r k i n g

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”.

T o r u n a p r o j e c t f r o m M a c h i n e Ed i t io n

• In the Project tab of the Navigator, right-click a target and click 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.

GFK-1868R

GS100FX.pdf 101

Proficy* Machine Edition* 8.00

93

5/6/2013 2:08:00 PM

4

V i e w *

View Runtime

T o r u n a n H M I p r o j e c t o u t s i d e M a c h i n e E d i t i o n

• On the Start menu, point to Programs, Proficy, and Proficy Machine Edition, and 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 set to True).

T o in t e r a c t w i t h V i e w R u n t i me

You can configure graphical objects so that you can change variable values, trigger graphical animations, and execute custom scripts with a simple touch or click.

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 ...

log in log out close Runtime inspect and change variable values view and debug scripts view driver diagnostic information open a panel monitor the Web Documents server display version information

Press ...

CTRL+L

CTRL+U

CTRL+Z

CTRL+I

CTRL+G

CTRL+D

CTRL+O

CTRL+W

CTRL+B

94

Proficy* Machine Edition* 8.00

GS100FX.pdf 102

GFK-1868R

5/6/2013 2:08:00 PM

V i e w *

QuickPanel Applications

Navigator: Project tab

QuickPanel nodes

Q U I C K P A N E L A P P L I C A T I O N S

QuickPanel applications are HMI (human-machine interface) applications for

QuickPanel units. 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

Windows PC and QuickPanel View/Control units. Some of the differences are as follows:

Graphical Objects: QuickPanel units support a slightly different set of graphical objects than Windows PC and QuickPanel View/Control targets.

Also, QuickPanel units do not support Animation beyond that inherent in each type of graphical object.

QuickPanel Panel Editor: The Panel Editor for QuickPanel applications includes a tiling grid. This lets you easily align 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 96.

Integration with Logic Developer - PLC: If you have Logic Developer - PLC installed, you can use variables defined on a GE IP Controller target directly in your QuickPanel application. To use this feature, both the GE IP Controller 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 GE IP

Controller target. (For more information about using GE IP Controller 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.

Windows PC and QuickPanel View/Control application development”.

E x t e r n a l K e y p a d A s s i g n m e n t

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 display a Key Assignment property. In this property, you can select a key that will activate that graphical object just as if an operator tapped it on the display.

GFK-1868R Proficy* Machine Edition* 8.00

95

GS100FX.pdf 103 5/6/2013 2:08:00 PM

4

V i e w *

QuickPanel Applications

Navigator: Project tab

QuickPanel Script Nodes

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”. Also look up QuickPanel and choose “Working with QuickPanel grid editors”.

S c r i p t s o n Q u i c k P a n e l T a r g e t s

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 named “QPScript”. You create QuickPanel scripts with the same View

Script editor as Windows PC and QuickPanel View/Control targets (see page

75).

QuickPanel applications use two types of scripts:

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 target. All of a panel's scripts are located under its Panel node in the Navigator.

Want to know more? In the Help Index look up “QuickPanel” and choose “QuickPanel

Scripts: an Overview”.

Q P S c r i p t L a n g u a g e

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.

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

96

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 104 5/6/2013 2:08:00 PM

V i e w *

QuickPanel Applications

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-1868R

GS100FX.pdf 105

Proficy* Machine Edition* 8.00

97

5/6/2013 2:08:00 PM

4

V i e w *

QuickPanel Applications

98

Proficy* Machine Edition* 8.00

GS100FX.pdf 106

GFK-1868R

5/6/2013 2:08:00 PM

5

Motion Developer*

Navigator: Project tab

Motion device nodes

With Motion Developer, you can easily program GE’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.

Download programs and motion blocks to motion Controllers through a serial 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.

T o c r e a t e a M o t io n D e v e l o p e r p r o j e c t

1.

In the Manager tab of the Navigator, right-click My Computer and click

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.

When you select a template, a preview of what it includes is displayed.

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-1868R

GS100FX.pdf 107

Proficy* Machine Edition* 8.00

99

5/6/2013 2:08:00 PM

5

M o t i o n D e v e l o p e r *

About Motion Developer

A B O U T M O T I O N D E V E L O P E R

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 106) can make this easy.

4.

Validate and download the application to the motion Controller.

The Motion Expert wizard takes you through these items step by step.

S u p p o r t e d m o t i o n c o n t r o l d e v i c e s

Motion Developer supports the following lines of motion control devices.

GE IP motion control devices

Whedco motion control devices

S2K Controller/drive devices

S2K drive-only devices

IMC motion Controllers

IMCjr (IMJ) motion Controllers

SMJ drives

For more information, visit www.ge-ip.com.

Communication between the development computer and motion control devices is supported over the COM port and over DeviceNet networks.

100

Proficy* Machine Edition* 8.00

GS100FX.pdf 108

GFK-1868R

5/6/2013 2:08:00 PM

M o t i o n D e v e l o p e r *

Motion Applications

M O T I O N A P P L I C A T I O N S

A typical Motion application consists of a single target. However, your project can have as many targets as you want.

M o t i o n t a r g e t s

A Motion target represents a run-time destination motion device that you program and configure from Machine Edition. You need a separate target for each physical motion device you configure, whether it is a Controller or a driveonly 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 S2K

drive-only devices and Whedco SMJ devices. These targets have a

Configuration script only (page 102).

Controller targets represent Controller/drive motion devices. This includes

GE S2K Controller/drive devices and Whedco IMC and IMCjr (IMJ)

devices. These targets have a Configuration script (page 102), Motion

Programs (page 103), and can have several Motion Blocks (page 104). In

addition, they can make use of a CAM Profile (page 112).

T o e d i t c o n f ig u r a t i o n s c r i p t s , mo t i o n pr o g r a m s , a n d mo t io n b l o 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 click Open.

2.

Create or edit the program in the appropriate editor.

3.

After editing an item, download the program or project to the target hardware.

GFK-1868R

GS100FX.pdf 109

Proficy* Machine Edition* 8.00

101

5/6/2013 2:08:00 PM

5

M o t i o n D e v e l o p e r *

Motion Applications

T o s w i t c h b e t w e e n a w i za r d e d i t o r a n d t h e mo t io n s c r i p t e d i t o r

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 graphical 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.

Navigator: Project tab

Configuration node

M o t i o n c o n f i g u r a t i o n

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 entire application is downloaded to the motion Controller.

It can be downloaded any number of times. 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 click Wizard). This takes you through motion Controller configuration step by step, creating a script based on selected motor and axis parameters.

If you need more complexity, you can edit the script manually. You can do so in the motion script editor (right-click Configuration and click Open).

Want to know more? In the Help Index, look up “Motion Controller Configuration”.

Va r i a b l e D a ta

The Variable Data node contains commands that configure variable registers for the target motion Controller. These include all VB, VF, VI, and VS registers.

Typically, these settings are acquired when you import a motion application from a motion Controller unit and specify that variable values are included with the import operation.

Only variables with data types and ranges specified during the import operation are included. Later, when the application is downloaded to a motion target, these

102

Proficy* Machine Edition* 8.00

GS100FX.pdf 110

GFK-1868R

5/6/2013 2:08:00 PM

M o t i o n D e v e l o p e r *

Motion Applications

C AM D at a

Navigator: Project tab

Motion Program nodes

commands are executed on the connected motion Controller, duplicating the imported variables.

Want to know more? In the Help Index, look up “Variable Data (Motion Controller)”.

The CAM Data node contains commands that configure the CAM table for the target. The CAM table defines a CAM profile, a curve that specifies the position of a follower servo motor as a function of the master’s position.

Typically, these settings are acquired by including CAM points when validating a target. You may also acquire CAM Data settings when you import a motion application from a motion device that has CAM data. Either way, Motion

Developer automatically handles most CAM Data operations, so you should not have to edit CAM Data settings at all.

CAM profiles are described in greater detail starting on page 112.

Want to know more? In the Help Index, look up “CAM Data (Motion Controller)”.

M o t i o n p r o g r a m s

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-handling motion program”.

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 108.

With the Motion Script editor, you can edit the script for a motion program

manually. For details, see page 105.

Want to know more? In the Help Index, look up “Motion Programs”.

GFK-1868R

GS100FX.pdf 111

Proficy* Machine Edition* 8.00

103

5/6/2013 2:08:00 PM

5

M o t i o n D e v e l o p e r *

Motion Applications

Navigator: Project tab

Motion block nodes

M o t i o n b l o c k s

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 107).

You can create a motion block with the New Motion Block wizard (right-click the

Motions folder and click Wizard). This creates a complete motion block based on your motion system.

Advanced users can create an empty motion block by right-clicking the

Motions folder and clicking Add.

After creating a motion block, you can edit it by right-clicking the motion block and clicking Open. You edit motion blocks and motion programs either with the

Motion Calculator (see page 110) or in the Motion Developer Script editor (see

page 105).

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”.

104

Proficy* Machine Edition* 8.00

GS100FX.pdf 112

GFK-1868R

5/6/2013 2:08:00 PM

You can drag variables from the Variables tab directly into a motion script.

GFK-1868R

GS100FX.pdf 113

M o t i o n D e v e l o p e r *

Motion Scripts

M O T I O N S C R I P T S

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, commands, and operators you can drag 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 several ways to insert items when writing motion scripts.

If you are very familiar with the registers, commands, and operators used in

Motion scripts, 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 click 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 you can drag 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.

Proficy* Machine Edition* 8.00

105

5/6/2013 2:08:00 PM

5

M o t i o n D e v e l o p e r *

Motion wizards

M O T I O N W I Z A R D S

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

Application Builder

Motion Calculator

Controller Functions

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.

Enables you to create motion programs as a visual flowchart. See

page 108.

Enables you to define simple, incremental motions for motion

blocks. See page 110.

Provides access to several tools and online operations for the motion Controller.

N av i g a t i n g t h ro u g h Mo t i o n w i z a r d s

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 go to the previous page

Click to close the wizard, saving all changes you made to the project.

Click to go to the next page

Click to close the wizard without saving any changes

Buttons may be disabled depending on the situation. For example, if you are using the AUTOTUNE page, the “Cancel” button is 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.

106

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 114 5/6/2013 2:08:00 PM

GFK-1868R

GS100FX.pdf 115

M o t i o n D e v e l o p e r *

Motion wizards

Many wizard pages contain tables of parameters. Edit the parameters based on your system needs, then click Next. When editing parameters, you can also do the following:

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/Drive 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.

With the Controller Functions and Drive Functions wizards, you can 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”.

Proficy* Machine Edition* 8.00

107

5/6/2013 2:08:00 PM

5

M o t i o n D e v e l o p e r *

Special Wizards

S P E C I A L W I Z A R D S

The Application Builder and the Motion Controller wizards deserve special mention. They enable you to edit parts of your motion application in graphical editors.

A p p l i c a t i o n B u i l d e r f l o w c h a r t e d i t o r

With the Application Builder, you can 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 109). If MB is True, the program

skips the DO7=Off step.

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

The following two buttons on the toolbar open wizards that enable you to 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 110).

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”.

108

Proficy* Machine Edition* 8.00

GS100FX.pdf 116

GFK-1868R

5/6/2013 2:08:00 PM

M o t i o n D e v e l o p e r *

Special Wizards

B as i c f l o wc h a r t s te p t y p e s 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 109 (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: Enables you to insert a comment into the flowchart. Remarks are included in the script downloaded to the motion Controller.

Comment steps: Enables you to 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”.

C o n d i t i o n a l s te p s

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

GFK-1868R

GS100FX.pdf 117

Steps here are executed only 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.

Proficy* Machine Edition* 8.00

109

5/6/2013 2:08:00 PM

5

M o t i o n D e v e l o p e r *

Special Wizards

T o in s e r t a n e w s t e p in t o t h e A p p li c a t i o n B u i l d e r f lo w c h a r t

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.

T o e d i t a s t e p i n t h e A p p l i c a t i o n B u i l d e r f l o w c h a r t

• In the Application Builder, do one of the following:

Double-click the step.

- or -

Right-click the step and choose Edit (if the step is editable).

- 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.

M o t i o n C a l c u l a t o r

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 clicking 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 click Open.

110

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 118 5/6/2013 2:08:00 PM

GFK-1868R

GS100FX.pdf 119

M o t i o n D e v e l o p e r *

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 would 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 nonzero 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.

Proficy* Machine Edition* 8.00

111

5/6/2013 2:08:00 PM

5

M o t i o n D e v e l o p e r *

CAM Profile Editor

Navigator: Project tab

CAM Profile nodes

C A M P R O F I L E E D I T O R

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 that is downloaded is specified in the target’s “CAM Profile” property.

You can edit a target’s CAM Profiles by double-clicking its Profile node under the CAM Profiles folder. The CAM editor display appears as follows:

Double-click a CAM

Profile node in the

Navigator to open the

CAM editor.

The CAM profile table supports numeric editing and curve order grouping

Curves of the profile can be adjusted and edited graphically

Secondary curves show the velocity, acceleration, and jerk of the CAM profile.

The Companion automatically 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 set to 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 CAM Data node.

112

Proficy* Machine Edition* 8.00

GFK-1868R

GS100FX.pdf 120 5/6/2013 2:08:00 PM

M o t i o n D e v e l o p e r *

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 d d a n e w C A M P r o f il e t o a mo t io n C on t r o l l e r t a r g e t

1.

In the Project tab of the Navigator, right-click the motion Controller target’s

CAM Profiles folder and click 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 o f i l e o n a mo t io n C o n t r o l l e r t a r g 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 click

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 t h e C A M Pr o f i l e t h a t g e t s d o wn l o a d e d t o t h e mo t io n C o n t r o l l e r t a r g e t

1.

In the Project tab of the Navigator, right-click the motion Controller target for which you want to select a CAM Profile and click Properties.

The Inspector displays the CAM profile’s properties.

2.

If necessary, in the Inspector, set the target’s Include CAM point property to

True.

This ensures that Machine Edition includes CAM profile data the next time you download the application to the motion Controller.

3.

In the Inspector, select the desired CAM Profile in the target’s CAM Profile property.

GFK-1868R Proficy* Machine Edition* 8.00

113

GS100FX.pdf 121 5/6/2013 2:08:00 PM

5

M o t i o n D e v e l o p e r *

CAM Profile Editor

This property appears only if Include CAM point is set to True. You can select from all CAM Profiles configured for the target.

114

Proficy* Machine Edition* 8.00

GS100FX.pdf 122

GFK-1868R

5/6/2013 2:08:00 PM

A

actions

45, 46

Active scripting adding

77

alarm groups (Bit and Word)

CAM Profiles

113

Control I/O drivers

63

custom web documents language columns

91

89

logging groups logic component

83

40

Machine Edition projects

OPC server links

86

panels

72

PLC Access drivers

84

animation graphical objects

74

touch animation scripts

Application Builder

20

alarm groups

80

alarms

80

Alarm Display objects alarm groups

80

Bit Alarms

80

setting alarm conditions

Variable Alarms

Word Alarms

Allen-Bradley RIO

80

62

80

81

81

75

81

about

108

conditional steps inserting steps

109

110

See alsosteps, flowchart

application scripts applications, motion

75, 79, 96

101

ASCII drivers

62

authorization. See product authorization

B

backing up projects

20

Bit Alarms

80

blocks, motion. See motion blocks

blue arrows. See docking markers

branches

46

GFK-1868R

GS100FX.pdf 123

Index

Build tab

26

C

Calculator, Motion See Motion Calculator

CAM data

103, 112

CAM point resolution

113

CAM Profiles specifying for download

CAM profiles about adding editing

112

113

113

113

editor client

112

networking

93

OPC

86

Companion

18, 46, 50, 53, 56

component logic

40

conditional steps configuration

109

CAM data

103

motion script variable data

102

102

configuring alarm conditions

Control I/O

64

80

Controller

66

panels

73

PLC Access I/O

83

properties

22

user preferences

21

Control I/O

63

tool

63

working with

64

Controller

65

configuring going online

66

31

going online (IL) going online (ST)

51

54

running

67

scan cycle

65

Controller Functions wizard

107

Proficy* Machine Edition* 8.00

115

5/6/2013 2:08:00 PM

controller/drive targets, motion correcting, errors creating

35

actions

46

alarm display objects

82

alarm groups (Variable)

81

application scripts

75

FBDs

55

IL blocks macros

49

42

panel scripts projects

76

20, 32, 71

SFCs

42

ST blocks subroutines

52

46

touch animation scripts

76

variables

33

custom web documents

89

adding editing

89

89

101

D

Data Watch

47

debugging scripts

94

developing. See creating

DeviceNet

62

devices adding to PLC Access driver motion control

100

PLC Access

83, 84

docking markers downloading

19

31, 35, 66

84, 85

QuickPanel View/Control motion device targets

35

36

QuickPanel View/Control targets

113

specifying CAM profile for

Windows PC targets

35

drawing graphical objects

73

drawing tools

73

Drive Functions wizard drive targets, motion

107

101

drivers adding

Control I/O

63

PLC Access I/O

ASCII

62

Control I/O

62, 63

84

36

116

Proficy* Machine Edition* 8.00

GS100FX.pdf 124

Control Peer

62

OPC Client

86

PLC Access I/O

83

E

editing application scripts

CAM profiles

113

75

custom web documents

89

FBDs offline online

56

58

IL blocks offline

50, 51

ladder programs offline

46

online

47

motion scripts panel scripts panels

73

105

76

quick editing

47

ladder program

SFCs quick test

43

37

SFCs offline online

42

44

steps, flowchart structured text

110

offline online

53

54

editors function block diagram (FBD) grid (QuickPanel) instruction list (IL) ladder panel script

45

72

75, 96

structured text (ST)

79

49, 52

52

errors and warnings correcting

35

Feedback Zone external keypad

95

26

55

F

FBD Editor online

FBD editor

58

GFK-1868R

5/6/2013 2:08:00 PM

offline

56

FBD instructions

56

inserting from the FBD editor inserting from the Toolchest

57

57

FBD text boxes inserting from the FBD editor inserting from the Toolchest

57

56

FBDs creating editing

55

56, 58

opening

55

Feedback Zone

26

fixing, project errors

35

flowchart editor See Application Builder

flowchart steps See steps, flowchart

full-text search

17

Function Block Diagram (FBD) editor

55

G

GE Genius getting help

62

17

global function library scripts graphical objects

72

animating drawing

73

74

graphical panels. See Panels

grid editor keypad assignment messages

74

95

75

H

hardware motion devices

100

Hardware Key Authorization help

17

Historian Collector

82

5

I

I/O configuring

Control

64

PLC Access

Control

63

OPC

85

IEC addresses

64

84

IL blocks creating

49

GFK-1868R

GS100FX.pdf 125 editing opening

50, 51

49

IL Editor offline

50

IL editor offline

Import tab

51

26

index, search

17

Indexed Image Display (IID)

74

Indexed Message Display (IMD)

InfoView tab

20

InfoViewer

18

74

inserting

FBD instructions

56

FBD instructions (FBD editor))

FBD instructions (Toolchest)

57

57

FBD text boxes (FBD editor)

FBD text boxes (Toolchest)

57

56

IL instructions

50

ladder instructions motion script items rungs

46

script functions

SFC instructions

78

43

ST instructions

Inspector

22

53

46

105

Inspector. See Inspector

installing Machine Edition

Instruction List (IL) Editor

Instruction List (IL) editor

4

49

52

Internationalization. See Languages folder

K

keypad assignment keyword search

17

95

L

labels

45

Ladder Editor offline

46

online

47

45

ladder instructions ladder programs defined

45

editing offline online opening

46

47

45

46

Proficy* Machine Edition* 8.00

117

5/6/2013 2:08:00 PM

quick editing

47

Language translation

Languages folder

90

90

adding new languages

91

grid

91

moving language columns

92

renaming languages

92

Languages grid

91

default language delete language

92

93

display font

92

updating Source language locating labels

45

variables logging data

42, 46, 50, 53, 56

82

92

enabling logging for a variable logging groups

82

adding

83

logging strategies

Logic Developer

82

PC

39 to ??

Logic Developer - PC logic, adding

40

39 to ??

82

M

Machine Edition downloading environment

35

16

getting help key features

OPC servers

17

17 to 27

86

projects

20, 29

properties toolbars

19

22

validating

35

macros

42

Main Motion Wizard

107

Manager tab message grids messages

74

20

74

Indexed Image Display (IID)

Messages tab

74

Indexed Message Display (IMD)

74

Triggered Message Display (TMD)

74

26

Modicon Quantum 800

Motion applications

62

configuration script

102

118

Proficy* Machine Edition* 8.00

GS100FX.pdf 126 programs

103

motion applications motion blocks about

104

101

editing with calculator opening

101

switching editors

102

Motion Calculator about

110

using

111

102

motion configuration opening

101

Motion Developer applications

101

supported hardware

Motion programs

110

100

fault-handing program opening

101

switching editors

102

motion programs motion scripts

105

103

motion targets

101

103

Motion Wizards about

106

Application Builder

Controller Functions

Drive Functions

107

108

107

Main Wizard

107

navigating through parameters

107

106

See also Motion Calculator

special wizards

108

moving product authorization

8

multi-language support. See Languages folder

N

Navigator

20

property column view. See Property column view

networking

93

O

objects. See graphical objects

offline

FBD editor

IL Editor

IL editor

50

51

56

Ladder Editor

SFC Editor

42

46

GFK-1868R

5/6/2013 2:08:00 PM

ST editor

53

online

FBD Editor

58

Ladder Editor

47

SFC Editor

ST editor

54

44

to the Controller online help

OPC

85

31

to the Controller (IL) to the Controller (ST)

51

54

17

client

86

server links servers

86

86

opening application scripts

FBDs

55

IL blocks

49

ladder programs macros

42

75

45

motion blocks, motion programs, and motion configuration

101

panel scripts panels

72

76

projects

SFCs

42

21, 30, 32, 40, 71, 99

ST blocks

Options tab

21

52

options, user preferences

21

P

Panel editor animation

72

74

graphical objects working with

73

panel scripts panels

72

72

75, 79, 96

adding

72

configuring editing

73

opening

72

73

quick testing

37

parameters, Motion Wizards peer driver, Control

62

phrase search

PLC Access I/O

17

83

107

preview panels. See quick test

Product Authorization

5

GFK-1868R

GS100FX.pdf 127 product authorization authorizing Machine Edition moving to another PC

8

Proficy Historian 2.0

82

7

profiles, CAM See steps, flowchart

programs, motion See motion programs

Project tab

21

Projects

Shared projects

29

20, 29

adding

20

backing up creating

20

20, 32

downloading

35

Motion Developer opening

99

21, 30, 32, 40, 71, 99

running

30, 93

sharing between Machine Edition workstations validating

35

with HMI component with logic component properties

22

71

40

configuring

27

Property column view proxy variables

84

27

29

Q

QPScript language

96

quick editing ladder program

SFCs

43

quick start

14

quick test, panels

37

47

QuickPanel scripts

96

QuickPanel Applications

QuickPanel Grid editor

95

79

QuickPanel View/Control downloading

36

QuickPanel View/Control targets downloading

36

32

R

References tab remote views

89

26

Reports variable

Reports tab

28

26

Proficy* Machine Edition* 8.00

119

5/6/2013 2:08:01 PM

requirements, hardware and software resolution, CAM point rungs

45

inserting

46

write changes running

48

113

Controller

67

projects

30, 93

sample applications

View Runtime

93

30

2

S

sample applications scan cycle, Controller

30

65

script commands. See script functions

Script editor

75, 96

inserting script functions

78

scripts

75, 96

working with script functions

78

78

scripting languages

Active scripting

QPScript

96

VBScript

ViewScript scripts

75, 96

76

76

77

application scripts

75, 96

debugging

94

global function library scripts inserting script functions motion

105

panel scripts

75, 96

touch animation scripts

78

75

75

scripts, motion inserting items

105

search, full-text

17

search, index

17

Sequential Function Charts. See SFCs

servers networking

OPC

86

93

setting. See configuring

SFC Editor offline online

42

44

SFC instructions, inserting

SFCs editing

42

43

120

Proficy* Machine Edition* 8.00

GS100FX.pdf 128 opening

42

quick editing

Shared Projects

43

29

shortcut keys, View Runtime shunts

46

Site Index

Smart Lists

88

24

Software Key

ST blocks

6

creating opening

ST editor

52

52

offline

53

online

54

ST instructions inserting

53

94

steps, flowchart conditional

109

editing

110

inserting step types

110

109

structured text editing

53, 54

Structured Text (ST) editor subroutines

46

52

switching editors, motion blocks and motion programs system requirements

2

102

T

tags. See variables

targets

29, 32

motion

101

testing panels scripts toolbars

37

94

drawing tools

73

ladder instruction tools

Machine Edition tools

46

19

Toolchest tools

25, 46, 56

Companion

18

Control I/O

Data Watch

63

47

docking markers

Feedback Zone

InfoViewer

18

19

26

Inspector

22

GFK-1868R

5/6/2013 2:08:01 PM

Navigator overview

20

16

toolbars

Toolchest

19

25, 46, 56

touch animation scripts

75

translations. See Languages folder

Triggered Message Display (TMD)

74

U

Unused Variable report user preferences

21

28

V

validating

Variable

26, 35, 66

property column view

Variable Alarms

80

variable data

Variables

27

102

managing reports

28

27

27

variables creating locating proxy

84

33

42, 46, 50, 53, 56

watching values

Variables tab

21, 27

58

VBScript language

View

71 to 97

77

37

testing the HMI

View Runtime

93

running

94

shortcut keys

94

ViewScript language

76, 77

W

Warm Standby

67

and OPC servers configuring

68, 69

69

configuring OPC server for warnings

35

Feedback Zone

26

58

watching variable values

Web Access

87

Site Index

88

Windows PC targets downloading

35

29, 32

69

GFK-1868R

GS100FX.pdf 129

windows. See Panels

wizard, Controller Functions wizard, Drive Functions

107

Wizard, Main

107

107

wizards, motion See Motion Wizards

Word Alarms

80

word search

17

writing motion scripts writing scripts

78

105

Proficy* Machine Edition* 8.00

121

5/6/2013 2:08:01 PM

122

Proficy* Machine Edition* 8.00

GS100FX.pdf 130

GFK-1868R

5/6/2013 2:08:01 PM

Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement

Table of contents