0% found this document useful (0 votes)
20 views180 pages

GFK 1918K

The document is the user manual for Proficy Logic Developer - PLC, version 5.80, published by GE Fanuc Intelligent Platforms in April 2008. It includes sections on system requirements, installation, product authorization, and various programming tools and techniques. The manual also contains contact information for technical support and a disclaimer regarding the accuracy and reliability of the information provided.

Uploaded by

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

GFK 1918K

The document is the user manual for Proficy Logic Developer - PLC, version 5.80, published by GE Fanuc Intelligent Platforms in April 2008. It includes sections on system requirements, installation, product authorization, and various programming tools and techniques. The manual also contains contact information for technical support and a disclaimer regarding the accuracy and reliability of the information provided.

Uploaded by

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

Proficy*

Logic Developer - PLC


GETTING STARTED

Version 5.80
April 2008
GFK-1918K
All rights reserved. No part of this publication may be reproduced in any form or by any electronic or mechanical means,
including photocopying and recording, without permission in writing from GE Fanuc Intelligent Platforms, Inc.
Disclaimer of Warranties and Liability
The information contained in this manual is believed to be accurate and reliable. However, GE Fanuc Intelligent Platforms, Inc.
assumes no responsibilities for any errors, omissions or inaccuracies whatsoever. Without limiting the foregoing, GE Fanuc
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 Fanuc 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 Fanuc 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 Fanuc 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 Fanuc Intelligent Platforms, Inc. reserves the right to make improvements to the products described in this publication at
any time and without notice.
© 2008 GE Fanuc Intelligent Platforms, Inc. All rights reserved. * Trademark of GE Fanuc Intelligent Platforms, Inc. Any other
trademarks referenced herein are used solely for purposes of identifying compatibility with the products of GE Fanuc
Intelligent Platforms, Inc.

We want to hear from you. If you have any comments, questions, or suggestions about our documentation, please send them
to the following e-mail address:
doc@gefanuc.com

3
Contents
1 Welcome 1
Proficy Logic Developer - PLC . . . . . . . . . . . . . . . . . . . . . . . . . .2
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
Product Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Hardware Key Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Software Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
Contact GE Fanuc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
General Contact Information . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Americas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
Europe, the Middle East, and Africa (EMEA) . . . . . . . . . . . . . . . .9
Asia Pacific . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10

2 Proficy* Machine Edition* 11


Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Using docking markers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Machine Edition* Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Companion Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
InfoViewer Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23

3 GE Fanuc Targets 29
Adding, Configuring and Converting Targets . . . . . . . . . . . . . . . . .30
Adding Targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Configuring Controller Targets . . . . . . . . . . . . . . . . . . . . . . . .31
Converting Targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32
Configuring Communication . . . . . . . . . . . . . . . . . . . . . . . . . . . .34
Interacting with a Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
Validating a Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
Offline, Online: monitor mode, programmer mode . . . . . . . . .39
Upload/Download . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
Run/Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43

Proficy* Logic Developer - PLC* 5.80 i


Fault Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Reference View Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

4 Hardware Configuration 49
PACSystems* RX7i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Configuring PACSystems* RX7i Hardware . . . . . . . . . . . . . . . 50
PACSystems* RX3i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Configuring PACSystems* RX3i Hardware . . . . . . . . . . . . . . . 52
Configuring Controller Hardware . . . . . . . . . . . . . . . . . . . . . . . . . 53
I/O variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Hot Redundancy Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Configuring Hot Redundancy Systems . . . . . . . . . . . . . . . . . . 63
PACSystems* RX3i and Series 90*-30: DSM324i and Motion Mate
DSM314 Motion Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Remote I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Series 90*-70 Genius Remote I/O Scanner . . . . . . . . . . . . . . . 69
VersaMax*Remote I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

5 Logic Programs and Blocks 75


Program Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Number of Blocks in the Main Program . . . . . . . . . . . . . . . . . 78
Scheduling Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Indirect References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
LD Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Working with the LD Editor Offline . . . . . . . . . . . . . . . . . . . . 84
Editing Logic as Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Working with the LD Editor Online . . . . . . . . . . . . . . . . . . . . 89
Test Edit (PACSystems* only) . . . . . . . . . . . . . . . . . . . . . . . . . 90
Word-for-Word Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Go not equal, keep working, and download changes . . . . . . . 92
Affecting BOOL variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
LD Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
FBD Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Working with the FBD Editor Offline . . . . . . . . . . . . . . . . . . . 98
Working with the FBD Editor Online . . . . . . . . . . . . . . . . . . 105
FBD Instructions, Functions, and Function Blocks . . . . . . . . . 106
IL Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Working with the IL Editor Offline . . . . . . . . . . . . . . . . . . . . 109
Working with the IL Editor Online . . . . . . . . . . . . . . . . . . . . 111

ii Proficy* Logic Developer - PLC* 5.80


Downloading Online Changes to a GE Fanuc Controller . . . .112
IL Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113
ST Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
Working with the ST Editor Offline . . . . . . . . . . . . . . . . . . . .116
Working with the ST Editor Online . . . . . . . . . . . . . . . . . . . .119
ST Statements, Functions, and Function Blocks . . . . . . . . . . .121
C Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
Working with C blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
C Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Working with C Programs . . . . . . . . . . . . . . . . . . . . . . . . . . .126

6 Ethernet Global Data (EGD) 127


Exchanges vs. Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127
Integration with the EGD Configuration Server . . . . . . . . . . .127
Integration with the EGD Management Tool (EMT) . . . . . . . .128
Logic Developer - PLC* implementation of EGD: The EGD
component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129

7 Motion Programming 133


Motion Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134
Working with the Motion Editor . . . . . . . . . . . . . . . . . . . . . .135
Motion Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
Local Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
Working with the Local Logic Editor . . . . . . . . . . . . . . . . . . .138
Local Logic Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
Local Logic Commands and Operators . . . . . . . . . . . . . . . . .141
CAM Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142
Working with the Cam Editor . . . . . . . . . . . . . . . . . . . . . . . .143

Index 145

Proficy* Logic Developer - PLC* 5.80 iii


1 Welcome
Congratulations on your purchase of Proficy* Logic Developer - PLC*, the
PACSystems*, Series 90*, and VersaMax* Controller programming component of
Proficy* Machine Edition* automation software.
This software package provides all the tools necessary to create powerful control
applications. Logic Developer - PLC* provides a way to configure your Controller
hardware or remote I/O, create and edit logic, upload and download projects, and
monitor and debug the execution of control programs. Projects can be imported
from Logicmaster, VersaPro, and Control folders.
Hosted in the Machine Edition* environment, Logic Developer - PLC* takes
advantage of a powerful set of common programming tools (see page 16). The
same tools can be applied to Logic Developer - PC (PC Control), Logic Developer -
State, View, and Motion components, providing a single programming
environment. The Machine Edition* environment unites and organizes
components, providing data sharing and networked operation.
The following features are included in this version of Logic Developer - PLC*:

Hardware Configuration. See page 49.

LD Editor. See page 83.
■ FBD Editor. See page 97.

IL Editor. See page 108.

ST Editor. See page 115.
■ C Blocks. See page 123.

C Programs. See page 125.

Motion Editor. See page 133.
■ Local Logic Editor. See page 137.

CAM Editor. See page 142.

Proficy* Logic Developer - PLC* 5.80 1


Welcome
1

Proficy Logic Developer - PLC

2 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Welcome
System Requirements

SYSTEM REQUIREMENTS
To use Logic Developer - PLC* and its tools, you require the following:

Windows XP Professional Service Pack 2, Windows 2000 Professional Service
Pack 4, or Windows Vista.
Note: Windows Vista SP1 is also supported, but Windows XP Tablet PC Edition
and Windows XP Embedded are not supported.

Internet Explorer version 7.0, Internet Explorer version 6.0 Service Pack 1 or
later, or Internet Explorer version 5.5 with Service Pack 2 Q810847 or later.
Note: You must install Internet Explorer before installing Machine Edition*.

TCP/IP network protocol-based workstation (if you use an Ethernet connection).

Requirements for processor speed and memory are as follows:
Minimum: 1 GHz Pentium-based processor with 256 MB RAM
Recommended: 2 GHz Pentium-based processor with 512 MB RAM
Note: For projects with more than 75,000 variables or variable elements, at
least 1 GB RAM is strongly recommended.
■ .NET Framework 2.0. If the Microsoft .NET Framework is not yet installed, it is
automatically included during installation of Machine Edition*.

1 GB hard disk space. Additional space is required for your projects and
temporary files.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 3


Welcome
1 Installation

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

When running Machine Edition*, from the Help menu, choose Important
Product Information.
If you have a previous version of Machine Edition* installed on your computer, you
must uninstall it before installing the latest version. You can do so by selecting the
“Uninstall Machine Edition*” option from the Machine Edition* Start menu group.
All of your existing projects, settings, and authorizations are preserved following
an uninstall operation.

T o ins t all Log ic De v e lope r - P LC*


1. Insert the Machine Edition* CD into your CD-ROM drive.
By default, the setup program automatically starts. If the setup program does not
automatically start, run Setup.exe in the root directory of the CD.
2. Click Install to start the install process.
3. Follow the instructions as they appear on the screen.

Note: See the IPI Release Notes for information on troubleshooting installation
problems.

4 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Welcome
Product Authorization

PRODUCT AUTHORIZATION
Before you can start developing projects in with Logic Developer - PLC*, you must
authorize the software. If you do not do so, you will have unrestricted use of the
software’s features only for a short trial period. The authorization process takes
only a few moments and enables you to take advantage of any product support for
which you qualify.
There are two types of authorization available: software key authorization and
hardware key authorization. Machine Edition* products can use a mixture of
authorization types on a single computer.
To see which products you are currently authorized for, on the Machine Edition*
Help menu, point to Product Authorization and choose Authorize Software. This
displays the Product Authorization dialog box. If you have a hardware key plugged
in a USB port, you can select the Show Hardware Keys check box to view the
authorizations provided by that key.

Hardware Key Authorization


Hardware key authorization requires a special USB hardware key. This key
contains settings that allow use of specific Machine Edition* products. Hardware
keys can be used to authorize Machine Edition* development and runtime
software.
Hardware key authorization is available only for Windows 2000, Windows XP, or
Windows Vista and requires a free USB port on your computer.
To aut h orize Mac hin e E dit io n* pro duc ts w it h a Har dwar e k e y
1. Locate a free USB port on your computer.

Typically, the USB port is located on the front or back of your tower case, or in the
side of a laptop computer. In some cases, a USB port can be found on your
computer’s monitor.
2. Plug the hardware key into the USB port.

The first time you plug the key into a USB port, a progress dialog box 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 Machine Edition* products that it authorizes.
You must leave the hardware key in the port while using Machine Edition*. If you
remove the key from the port, authorization for those products vanishes, though
you can still use products previously authorized by means of a software key.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 5


Welcome
1 Product Authorization

To move the authorization to another computer, remove the hardware key from the
source computer and plug it into a USB port on the destination computer.

Software Key
When authorizing Machine Edition* products with a software key, you need to
contact us by telephone, fax, or e-mail. If you want to authorize your software by
telephone, note that authorization personnel are available only during regular
business hours (between 6 a.m. and 6 p.m. MST).
Software key authorization is specific to a single computer. If you want to work
with Machine Edition* on a different computer, you must move the authorization
to that second computer (see page 7).
To aut h orize a copy o f Mach in e E dit ion * wit h a s oft wa re k e y
1. Have your serial numbers ready.
The serial numbers can be found on the License Key sheet that came with your
product.
2. Run the Product Authorization program from the Start menu > Programs > GE Fanuc > Proficy Machine
Edition> Product Authorization.
The Product Authorization dialog box appears.
3. Click Add.
4. In the dialog box that appears, 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/E-mail option, proceed to step 5.
If you choose the Floppy Disk Transfer option, ensure you have an authorization
disk before proceeding.
5. Fill in the fields in the dialog box.
Fields that are identified with an asterisk (*) must be filled in.
6. If authorizing by:

Phone, click Phone/Fax and call the number on the screen to receive one or
more new key codes.

Fax, click Phone/Fax. In the dialog box that appears, click Print FAX. Fax the
Product Authorization Request to us, using our fax number on the printout. We
will reply by fax with your new key code(s).
■ E-mail, click Send E-mail. In the dialog box that appears, click Authorize to e-
mail us. We will reply by e-mail with your new key code(s).

6 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Welcome
Product Authorization

Product Authorization is complete after you enter the new key code and it has
been accepted. Depending on the products you have purchased, you may need to
run the Product Authorization program a number of times.
T o mo ve th e s of t w a re ke y a u th or i z a t i on to a n ot h er c om p ut e r
You can run the software only on the computer that has Product Authorization. To
develop your projects on a different computer, you need to complete the following
steps to move the software key authorization from one computer to another.
1. Install Logic Developer - PLC* on the computer that the authorization will be moved to. Run the Product
Authorization program: Start menu > Programs > GE Fanuc > Proficy Machine Edition > Product
Authorization.
The Product Authorization dialog box appears.
2. Click Move, and then click OK.

There is a Target Site Code on the top right hand side of the screen. Write down
this site code carefully. It must be correct for the move to work. You need the Target
Site Code when you move the authorized software from the source computer.
3. Click Authorize by disk.
4. Go to the source computer that has the authorized software.
5. From the source computer, run the Product Authorization program.
6. Click Move and then click OK. Enter the Target Site Code that you wrote down at step 2 and click Next. Verify that
the site code is correct and click OK.
7. Insert a blank formatted floppy disk into the floppy drive and click Next.
The authorization code is moved to the disk and a message box appears telling you
it was successful.
8. Click OK.
9. Go back to the computer to which you are moving the authorization and insert the floppy disk.
The dialog box that is asking for an authorization disk is displayed.
10. Click Next, and then click Finish.
A dialog box appears telling you the move was successful.
11. Click OK.

The authorization has now been moved to the new computer.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 7


Welcome
1 Product Authorization

To upg rade a s oftw are k e y au th ori zation to a ha rdwa re k e y auth ori zation
1. Order a hardware key.
Your software authorization remains valid until you complete the following steps.
2. When you receive the hardware key, locate a free USB port on your computer.
3. Plug the hardware key into the USB port.

8 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


CONTACT GE FANUC
If you purchased this product through a GE Fanuc Authorized Channel Partner,
please contact them directly.

General Contact Information


Online Technical Support & GlobalCare: www.gefanuc.com/support
Comments about our manuals or online help: doc@gefanuc.com
Additional information: www.gefanuc.com

Technical Support
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.gefanuc.com/support.

Americas
Online Technical Support: www.gefanuc.com/support
Phone: 1-800-GE FANUC (1-800-433-2682)
International Americas Direct Dial: 1-434-978-5100
Technical Support Email: support@gefanuc.com
Customer Care Email: customer.care@gefanuc.com
Primary language of support: English

Europe, the Middle East, and Africa (EMEA)


Online Technical Support: www.gefanuc.com/support
Phone: +800 1 GE FANUC (+800-1-433-2682)
Technical Support Email: support.emea@gefanuc.com
Customer Care Email: customercare.emea@gefanuc.com
Primary languages of support: English, French, German, Italian, Czech
Welcome
1 Contact GE Fanuc

Asia Pacific
Online Technical Support: www.gefanuc.com/support
Phone: +86-400-820-8208
+86-21-3217-4826 (India, Indonesia, and Pakistan)
Technical Support Email: support.cn@gefanuc.com (China)
support.jp@gefanuc.com (Japan)
support.in@gefanuc.com (remaining Asia customers)
Customer Care Email: customercare.apo@gefanuc.com

10 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


1 Welcome
Congratulations on your purchase of a ProficyTM Machine Edition 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 Quick Panel Control
products).
■ Logic Developer - PLC, a software tool for programming the full line of GE Fanuc
PLCs (See GFK-1918 Getting Started Logic Developer - PLC).

View, for creating HMIs for Windows NT, Windows CE, and QuickPanel units.

Motion Developer, for developing Whedco motion control applications.
■ Web Access features that access real-time HMI data any time, from anywhere.

Local Manager, a version control, security and audit trail system.

Local Logic Logic


View Motion
Manager Developer Developer
Developer
PC PLC

Machine Edition Environment


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

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

Remote I/O

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

GFK-1868H Machine Edition 5.50 1


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’ll spend more time building applications
and less time learning the software.
Machine Edition products are fully integrated with the environment and with each
other:

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

They share the same set of tools, providing a consistent user interface
throughout the development process.
■ They feature full drag-and-drop capabilities between tools and editors.

They feature a true scalable solution. You 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’ve finished, you’ll 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.

GFK-1868H Machine Edition 5.50 9


Proficy™ Machine Edition
2 Quick Start

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

To s t ar t Mac hin e Ed it io n
1. On the Windows toolbar, click Start, point to Programs, then GE Fanuc, then Proficy Machine Edition,
and then click Proficy Machine Edition. (See also page 26.)
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 will
match the preview in the Environment Themes dialog box. As you work, you will
likely modify the environment – opening and closing windows, changing the
selected toolbars, and so on. Any changes you make are retained in your default
environment setup.

10 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
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 Select this option to choose from all
those projects that have been existing projects
used recently.

Select this option if you do not want


to see this dialog box again.

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

Notes:

If you select either Empty project or Machine Edition template, the New Project
dialog box appears to let you 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 Manager 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 Don’t show this dialog box on startup option.
7. Click OK.

Your project opens in the Machine Edition environment that you specified in the
Environment Themes dialog box. For more information, see “Machine Edition
Projects” on page 25.

GFK-1868H Machine Edition 5.50 11


Proficy™ Machine Edition
2 Machine Edition Environment

MACHINE EDITION ENVIRONMENT


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’ll be using only a few of these at
once—you can open and close tools and editors as you need them. Many tools are
also available only when editing a project. We’ll look at some of the tools in the
following section; for more details on the others, see the online Help.

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

Navigator tabs:
Conveniently layers
information about your InfoViewer:
projects. An embedded
browser used to
Inspector: display reports and
Displays the properties comprehensive help.
of a selected object.

Feedback
Companion: Zone: Displays
A dynamic help window
output information
that provides
information based on generated by
what you’re doing. Machine Edition
components.

Tabbed Editor window: Data Watch:


One of many windows where you create and edit your Common Machine Edition Tools Displays the current status
application. Tabs at the top let you switch between active Tabbed
Editor windows with the click of a mouse. of your project’s variables.

12 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Getting to Know Machine Edition

GETTING TO KNOW MACHINE EDITION


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

Right-click, right-click, right-click


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

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

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

Browse through the table of contents in the InfoView tab of the Navigator.
■ 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 GE Fanuc on the Web, and then choose:

Technical Advisor.

GE Fanuc Home Page.

GFK-1868H Machine Edition 5.50 13


Proficy™ Machine Edition
2 Getting to Know Machine Edition

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

Use the InfoViewer


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

The InfoView Tab Click this button to open


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

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

Getting Help

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

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

14 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Getting to Know Machine Edition

Accessing the Right Tool


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

On the Tools menu, choose the tool 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.

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

Tools Toolbar

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

Using docking markers


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.

GFK-1868H Machine Edition 5.50 15


Proficy™ Machine Edition
2 Getting to Know Machine Edition

Projects and the Navigator

Navigator The Navigator window organizes and manages your projects.



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

The Navigator is organized into several tabs. The available tabs depend on
which Machine Edition products are installed and whether a Machine Edition
project is open. For example, the Project and Variables tabs 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 have access to on your
computer. The Samples folder contains sample projects and tutorials.
Want to know more? In the Help Index, look up Navigator and choose “Navigator Tool
Window”.

To add a new project, right-click


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

The Utilities tab contains useful tools


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

Navigator Window with Local Project List

16 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Getting to Know Machine Edition

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

Targets are the hardware devices and


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

For example, the Control I/O


Drivers, Ladder_Program, Logic
and SFC folders appear when a
Logic component was added to
Target1 (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 The Variables tab contains all the variables
to navigate around your project, and add, in your project. Use it to add, delete, move,
delete, and configure the items that make up and otherwise manipulate variables.
your project.

Navigator Window with an Open Project

GFK-1868H Machine Edition 5.50 17


Proficy™ Machine Edition
2 Getting to Know Machine Edition

Properties and the Inspector

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

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

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

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


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

To edit this property, type


the new value in the box.

To edit this property, select the


new value from the list box.

To edit this property, click


the button.

Properties are organized


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

18 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Getting to Know Machine Edition

Data Watch Lists


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
Navigator: Project tab
in the Data Watch tool at a time.
Data Watch nodes
Want to know more? In the Help Index, choose “Data Watch List”.

The IEC or Reference address of


variables mapped to I/O terminals or
PLC memory.

The name and value of each element


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

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

Data Watch Window


To d ef ine a Watch Li st:
1. Right-click the Data Watch Lists folder and 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-1868H Machine Edition 5.50 19


Proficy™ Machine Edition
2 Getting to Know Machine Edition

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

This tells you what you need to enter or select.


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

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

20 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Getting to Know Machine Edition

The Toolchest

Toolchest 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—and since you can add as many copies of them as you want,
this can save you hours of development time.
Want to know more? In the Help Index, look up Toolchest: an Overview.

Toolchest items are grouped


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

Within a drawer, Toolchest items


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

The Ladder, HMI, and SFC


drawers contain simple
instructions and functions.

Other drawers contain


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

Toolchest Window

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

GFK-1868H Machine Edition 5.50 21


Proficy™ Machine Edition
2 Getting to Know Machine Edition

The Feedback Zone

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

Press F4 to cycle through


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

The Build tab displays the status and


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

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

The Messages tab tracks and displays operations that


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

Feedback Zone

22 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Getting to Know Machine Edition

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

Property Columns 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-1868H Machine Edition 5.50 23


Proficy™ Machine Edition
2 Getting to Know Machine Edition

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

This grey box indicates the item whose


property you are editing.

This black box indicates that the column


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

Cells for properties that don’t apply to an


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

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

All variables by name, filtered or unfiltered.

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

All forced variables (Logic Developer - PC 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 Fanuc PLCs: 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.

24 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Machine Edition Projects

MACHINE EDITION PROJECTS


During development, your automation application is called a project. Each
Machine Edition project is made up of targets and (sometimes) components. A
target represents the hardware platform where the finished project runs, such as a
Windows NT computer, a Windows CE unit, a motion controller, or a QuickPanel
unit. Different Machine Edition products support different target types. Targets are
often further subdivided into models, such as the ViewStation and ControlStation
versions of Windows CE targets. Components add specific capabilities to a target.
Available components depend on the target type, model, and what Machine
Edition products you have installed.
For example, with View, you can you add an HMI component to Windows NT and
Windows CE targets, used for creating human-machine interfaces. With Logic
Developer - PC, you can add a Logic component to Windows NT and Windows
CE targets. You can then create ladder logic to make a PC act as a Controller. View-
only Windows CE 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. Since motion targets have no additional capabilities, adding
additional components is not necessary.
Want to know more? In the Help Index, look up projects and choose “Machine Edition
Projects: an Overview”.

Sharing Projects between Machine Edition Workstations


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 79.
Want to know more? In the Help Index, look up “Shared Projects”.

GFK-1868H Machine Edition 5.50 25


Proficy™ Machine Edition
2 Machine Edition Projects

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


If you’re using View or Logic Developer - PC, we’ve provided some sample
projects that show basic operations of Machine Edition. Take a few minutes to
complete the following steps and learn the basics of project development in
Machine Edition.

For a more detailed example of creating projects, in the Help Index, look up
Tutorial and choose one of the topics listed there.

To r un a sa mp le pr oject
1. Run Machine Edition from the Start menu | Programs | GE Fanuc | 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
■ 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 NT
target.
■ Car Wash: an HMI and logic application that runs on a Windows NT target.
This application is built in an SFC document.

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

FC2000 Brewery: an HMI and logic brewery application that runs on a
ControlStation/ViewStation CE. (Projects containing a logic component cannot
be downloaded to a ViewStation, as ViewStation CEs do not support logic.)
■ FC2000 Zone Control: an HMI and logic application that runs on a
ControlStation/ViewStation CE. This application runs a four-zone ventilation
logic system. It is to be used with the ControlStation/ViewStation CE Tutorial.
(Since ViewStation CE targets do not support logic, projects with a logic
component cannot be downloaded to a ViewStation.)

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

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

26 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Machine Edition Projects


AppExec: an HMI application that demonstrates the AppExec Script function.

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

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

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

Scripting: an HMI application that demonstrates some of View Developer’s
scripting capabilities.
3. Browse through the project in Machine Edition.
Open the project’s graphical panels, ladder logic, and SFCs (if they exist) in their
respective editors. To open an editor, right-click the appropriate node in the
Project tab of the Navigator and 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. For
information about going online to the Controller, see “To go online to the
Controller” on page 27.

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

GFK-1868H Machine Edition 5.50 27


Proficy™ Machine Edition
2 Machine Edition Projects

submenu. To go offline from the Controller, right-click the target and choose Go
Offline.

Developing a Machine Edition Project


The first thing you have to decide when you create a Machine Edition project is
where the project will run after it is developed. That is, on what type of target
hardware it will run.
For View and Logic Developer - PC, targets can be a Windows NT computer
(either the one you’re developing the project on, or a remote one that you connect
to through a network), a Windows CE unit (a ControlStation/ViewStation CE, CE II,
CE IIx, or QuickPanel View/Control).
For View alone, your target can also be a conventional QuickPanel unit.
For Logic Developer - PLC and Logic Developer - State, your target is a GE Fanuc
PACSystems controller, Series 90 PLC, or VersaMax PLC. 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’re using Motion Developer, the choice is easy—simply determine whether
your motion hardware is a motion controller/drive or a drive-only device (see page
95).
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 NT target to and from a QuickPanel View target.
Want to know more? In the Help Index, look up “Targets: an Overview”.

To c r ea te and develop a pr oj ec t
The following procedure introduces the general steps involved in creating a project
using a template, and downloading a project to a target computer.
1. Start Machine Edition from the Start menu | Programs | GE Fanuc | Proficy Machine Edition.
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’re using shared projects, you can also add new projects under the Shared
Projects folder. Or, if you are working on a Manager system, you can add new
projects to the Machine Edition folder under the Server.

28 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Machine Edition Projects

3. In the New Project dialog box, type a name for the new project, select a template, and click OK.
A description of the template appears below your selection. You can click
hypertext links in the description for details on the template components.
At this point, you need to know the type of target hardware to which your project
will download, as this will determine which template you choose. In some project
templates (such as the “View/Control” template), you can select this as one of
several parameters within an HTML page on the template dialog box.
The project is opened in Machine Edition and the Navigator changes to reflect
those components that make up the project you just created.
Want to know more? In the Help Index, look up templates and choose “Creating a New
Machine Edition Project” or “Creating a 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 NT,
CE, QuickPanel, or PLC targets. To display all variables including system variables,
right-click the Variable List node, point to Filter By, and choose No Filter.
Want to know more? In the Help Index, look up “Variables: an Overview”.

5. Create your application.


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

Drag ladder instructions from the Toolchest into the editor. You can find
ladder instructions in the Ladder drawer of the Toolchest.

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

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

GFK-1868H Machine Edition 5.50 29


Proficy™ Machine Edition
2 Machine Edition Projects

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

In the Project tab of the Navigator, open the Panel Editor by double-clicking
a panel node.

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

In the wizard page, click Motion Expert and follow the instructions on screen.
For more information on using wizards, see page 100.
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, right-click the PLC Access Drivers folder and choose New Driver.
Configure the drivers in the Inspector window. On NT targets, you might want
to set up OPC I/O in the OPC Client folder.
7. When your project is complete; validate, download, and run your project by pressing the F9 function key.
Machine Edition saves the project, performs a validation, builds the run-time files,
and attempts to establish a connection to the target computer.

Validating and Downloading a Project


During project development, you will go through the validation and download
processes several times. The validation process checks the project for errors. If the
project contains errors, they are listed in the Build tab of the Feedback Zone.
■ All errors must be fixed before the download process can proceed. Warnings
are also listed in the Feedback Zone, but they do not prevent the download
from starting.

30 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Machine Edition Projects

When fixing project errors, use the F4 function key to scroll through errors in the
Feedback Zone, jumping to their locations in the project.
The download process involves two steps. The first step creates (or “builds”) all the
run-time files necessary for a target to perform its role in a completed project. The
second downloads those files to the target devices or computers.

For Motion Developer, the easiest way to set up the motion control device for
downloading is with the Set Communication Parameters wizard. Open the
Main Wizard page for the target (right-click the target and select Main Wizard).
Then, point to Target Configuration and select Communication Parameters.
Click Finish when you’re done.

To download a View or Logic Developer - PC project to the Windows NT
computer on which you are developing (a local target), ensure that the target
property Computer Address is set to “.” (without the quotation marks).
Otherwise—for remote targets—type the IP address or computer name of the
remote computer you want to download to, in the Computer Address property.
■ 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 NT and CE targets follows.

Pr epar ing a Remote NT target for Downloa ding


The following steps need to be completed on a remote Windows NT target
computer before you can download a project to it.
1. If you are downloading to another NT computer (other than the ControlStation or Windows CE unit), ensure that the
run-time files are installed on that device.
ViewStation and ControlStation targets are shipped with the run-time files
preinstalled. If you’re using your own Windows NT computer, you’ll have to install
the run-time files yourself from the Machine Edition installation CD (see page 4).
2. Share the Machine Edition installation directory with the development computer that contains the project files.
In the Windows NT Explorer, navigate to the Proficy Machine Edition folder, right-
click it and choose Sharing. Click Shared As and in the Share Name field, type
Proficy Machine Edition.
3. Ensure you have the proper permissions to download files to the target computer.
Start the Windows NT User Manager (from the Taskbar, click Start, point to
Programs, Administrative Tools, and choose User Manager). Double-click the
Guest user in the top half of the display. Clear the Account Disabled check box. In
Windows 2000, open the Control Panel, click Administrative Tools, and then click
Computer Management. Expand “System Tools” and then expand “Local Users
and Groups”.

GFK-1868H Machine Edition 5.50 31


Proficy™ Machine Edition
2 Machine Edition Projects

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

Type the IP address or the computer


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

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

Pr epar ing a Wind ows CE target for download ing


The following steps need to be completed on the Windows CE, CE II, CE IIx, and
QuickPanel View/Control targets before you can download a project to it. If you
are not physically connected to the CE 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. Note that you cannot download a project that contains a logic
component to a View-only target, because they do not support logic.
1. Physically connect the View-only target, Windows CE unit to the Ethernet network. This step may require the help of
a network administrator.
2. Within your Machine Edition project, specify the IP address of the Windows CE unit in the Computer Address target
property.
To find the IP address of a Windows CE unit, double-tap the System Information
icon located on the desktop of the CE unit.
By default, the CE unit uses a DHCP (Dynamic Host Configuration Protocol) IP
address. This means that the IP address is dynamically assigned by the Ethernet

32 Machine Edition 5.50 GFK-1868H


Proficy™ Machine Edition
Machine Edition Projects

network server using DHCP. If you want to use a fixed IP address, you must
manually set the IP address on the Windows CE unit.
Want to know more? In the Help Index, look up “Preparing CE and QuickPanel View/Control
targets for downloading”.

Type the IP address of the CE unit to


which you want to download your project
files.

Testing a View Project


The following steps introduce you to the Quick Test feature. Quick Test is similar to
a preview in that it allows you to quickly see the results of any changes you’ve
made to a graphical panel without having to download your entire project.

NOTE The Quick Test feature is not available on QuickPanel targets.

Before you can use Quick Test, your project must have been downloaded at least
once to the target computer. If you want to Quick Test a graphical panel from a
Windows CE unit (or 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.

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


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

GFK-1868H Machine Edition 5.50 33


Proficy* Machine Edition*
2 Projects

PROJECTS
You can create and edit Machine Edition* projects by using products such as View,
Logic Developer - PC, Motion, Logic Developer - State, and Logic Developer -
PLC*. These products share Machine Edition tools to provide a high level of
integration between the various parts of your project.
You can import folders created with Logicmaster, Control, or VersaPro.
With Logic Developer - PLC*, you can build multiple projects to suit your specific
requirements.

T o cre a t e a n e w p roj e ct u si n g a te m p l at e
Before creating a project, there are some things you should know:

The primary components your project will contain.

The GE Fanuc Controller your project will run on.
1. From the File menu, choose New Project, or click on the File toolbar.
The New Project dialog box appears.

Choose your project Enter the name of


template from the your project in the
Project Template Project Name box.
list. You can set the selected
project template as the
default template by
clicking the Set as default
button.

A sample description of the


project appears on the
screen.

2. Choose a Project Template that suits your needs.


3. Enter a descriptive Project Name.
4. Click OK.

Your project opens in the Machine Edition environment.

14 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Proficy* Machine Edition*
Projects

T o ope n a n e x i s ti ng p r oje ct f or e d i ti ng
1. Open the Navigator and select the Manager tab.
A list of projects appears.
2. Do one of the following:

Right-click a project and choose Open.
- or -
■ Double-click a project.
Your project loads and is ready for editing.

Want to know more? In the online help index, look up “Projects”.


Navigator: Manager tab

To import a fold er
1. Open the Navigator and select the Project tab.
2. Select the target that you want to import the folder into.
3. Right-click the target, point to Import, and choose the folder type.
4. In the dialog box that appears, navigate to and double-click the folder you want to import.

Want to know more? In the online help index, look up “importing Control folders”, “importing
Logicmaster folders”, or “importing VersaPro folders”.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 15


Proficy* Machine Edition*
2 Tools

TOOLS
Project development is supported by the Machine Edition* tools. Each tool is
opened by means of a button on the Tools toolbar.
A description of each tool’s function is provided below.

Navigator InfoViewer
Feedback Zone Companion
Inspector Toolchest
Data Watch

Nav igat o r The Navigator is a docking tool window containing a set of tabs. Each tab displays
information about your development system in a hierarchical tree structure similar
to Windows Explorer. The available tabs depend on which Machine Edition
products you have installed and what kind of work you are developing or
managing. The Project tab shows the overall organization of your application.
F eedback Zon e The Feedback Zone window is a docking window used to display several types of
output information generated by Machine Edition components. This interactive
window uses category tabs to organize the output generated from the Machine
Edition products you have installed.
I ns pe ct or The Inspector lists the properties and current settings for a selected object or
element. You can edit these properties directly in the Inspector. When you select
several objects, the Inspector window lists the properties common to all of them.
The Inspector window provides a simple method of viewing and setting properties
for all Machine Edition objects.
D at a Wat ch The Data Watch tool is a run-time debugging tool that enables you to monitor and
edit the values of variables. This tool is useful while working online to a target.
With the Data Watch tool, you can monitor individual variables or user-defined
lists of variables. Data Watch lists can be imported, exported, or saved with a
project.

T o olch e st The Toolchest is a powerful storehouse of objects you can add to your project. You
can drag most items directly from the Toolchest into Machine Edition editors. You
can choose from predefined objects or create your own reusable fxClasses. The
Toolchest adds true object-oriented capability to Machine Edition.

16 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Proficy* Machine Edition*
Tools

The Companion provides useful tips and information while you work. While the
C ompan ion
Companion is open, it tracks your moves and displays help on whatever item is
currently selected in the Machine Edition* environment. It is context-sensitive and
displays a description of whatever you click in Machine Edition.
I nfo Viewer The InfoViewer is an embedded Web browser used mainly to display the
following:

Machine Edition help.

Machine Edition reports.
■ The documentation associated with a project or target.
If you are familiar with Internet Explorer or Netscape Navigator, then you are
already familiar with the basic InfoViewer interface. Like the Companion, the
InfoViewer is context-sensitive. Press F1 to get help on any item you select in the
Machine Edition environment.
A table of contents is found in the InfoView tab of the Navigator.
Want to know more? In the online help index, look up “Tools: an Overview”.

Using docking markers


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

GFK-1918K Proficy* Logic Developer - PLC* 5.80 17


Proficy* Machine Edition*
2 Variables

VARIABLES
A variable is a named storage space for data. That is, the variable name represents
a memory location in the target Controller. The way in which the variable
represents a memory location is determined by the value of the variable’s Ref
Address property. A variable's Ref Address property can be set to any of the
following:
■ A reference address, for example, %R00001. This is the GE Fanuc Controller
memory location that contains the variable's value. This can be an I/O register
or an internal memory register on the Controller.

A blank. On a PACSystems*, if you leave a variable's Ref Address property
blank, the variable is a symbolic variable. Machine Edition* handles the
mapping for you in a special portion of PACSystems* user memory space. On
Series 90* and VersaMax* Controllers, you cannot leave the Ref Address
property blank.

An I/O variable address, for example %IX0.6.0.1. (PACSystems* only.) This
Navigator: Variables tab. This tab
displays all the variables used in a represents the PACSystems* Hardware Configuration terminal that contains an
project. I/O variable's value. For example, this can be a physical discrete or analog I/O
point on a module or Genius device, a discrete or analog status returned by the
module, or global data.
■ A name. This makes the current variable an alias variable of the name, that is, a
variable that points to the same memory location as the name. The following
names may be valid:
✐ The name of a parameterized LD block parameter (provided the alias
variable is local to the same block)
✐ The name and index of an array element, for example,
MyComplexArray[255,3]
✐ The name of a structure element, for example, MyStructure.MyElement
✐ The name of another variable that is not used as an alias variable.
Want to know more? In the online help index, look up “Reference Address (GE Fanuc
Controllers)”, “Symbolic Variables”, “I/O Variables”, and ”Alias Variables”.

18 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Proficy* Machine Edition*
Variables

Arrays and compound structure variables are supported by Machine Edition*.


Variable definitions can be imported from and exported to a variety of file types.
You can edit your variables in a spreadsheet and then import them.
Variables used on PACSystems* targets must be externally published in order to be
viewed in Proficy* View.
Want to know more? In the online help index, look up “Arrays in GE Fanuc Controller
targets”, “Structure Data Types”, “Importing variables from a file”, and ”Publishing
PACSystems* variables”.
The Ref Address and other properties of a variable, such as Data Type, are
configured in the Inspector. The following is an illustration of the Inspector
displaying a typical set of variable properties.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 19


Proficy* Machine Edition*
2 Variables

T o cre at e a v ariab le
1. In the Variables tab of the Navigator, right-click Variable List, point to New Variable and then
choose the data type of the variable.
The New Variable dialog box appears.

New Variable menu


2. Type a name for the variable.

Variable names can range from 1 through 32 characters, begin with a letter or the
$ character, contain upper or lower case letters, use numbers between zero and
nine, and use the underscore character (“_”).
3. Select the target the variable will be used in.
4. If the new variable is an array, select the Array check box and enter the size(s).
5. Click OK.

The new variable appears in the list in the Variables tab.


To ma p a va riabl e to Co nt ro ller memo ry or al ias a var iable
There are two ways to map a variable to Controller memory or alias a variable.
First method:
1. In the Variables tab of the Navigator, right-click a variable and choose Properties.
The Inspector displays the variable’s properties.
2. In the Ref Address field, enter a reference address to map the variable or enter the name of another existing
variable, a parameterized LD block parameter, an array element, or a structure element to alias the variable.
■ Spell out the exact reference address, for example, %R00123 or 123R (in either
case this maps the variable to %R00123), or enter only the memory area, for
example %R. This maps the variable to the next available address in that
memory area. For example, if %R00122 is the last address used by a 16-bit
variable, entering %R maps the variable to %R00123.
■ Spell out the name of another variable, or of a parameterized LD block
parameter, for example, MyVarWithALongName, or Abc. Or provide the array’s
name and the element’s number, for example, MyArray[5]. Or provide the
structure element’s name, for example, MyStructure.MyElement.

20 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Proficy* Machine Edition*
Variables

Notes (PACSystems* only)


■ If you leave the Ref Address property of a variable blank, the variable is a
symbolic variable.

You can enter an I/O variable address to make the variable an I/O variable, but
it is easier to map an I/O variable in the Terminals tab of a module. See “I/O
variables”, on page 59.
Second method to map or alias a variable:
1. In the Variables tab of the Navigator, right-click a variable and choose Properties.
The Inspector displays the properties of the variable.
2. Click the Ref Address field and then click the button.
The Reference Address Wizard appears.
When mapping, select a
region of memory. When mapping, select an
index.
When aliasing, select a
variable, LD block
parameter, or element. When mapping, a
BOOL variable in 16-
bit memory, select a
When aliasing, select a bit reference.
filter.

3. Do one of the following:


To map a variable to Controller memory:
a. From the Memory Area list, choose a region of Controller memory.
b. In the Index box, enter an index from the beginning of the region.
c. Select a bit reference.
The Bit Reference box is available only if you're mapping a BOOL variable to
16-bit memory area on a PACSystems*.
d. Click OK.
Your variable is mapped to the reference address.
- or -
To alias a variable:
a. In the Variable Aliasing Filters section, select the appropriate check boxes for the filters you want to use.
b. In the Alias variable to box, select what you want to alias the variable to.
c. Click OK.

Want to know more? In the online help index, look up “Bit references in non-BOOL
variables”.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 21


Proficy* Machine Edition*
2 Options

OPTIONS
The Options tab of the Navigator contains option and preference settings. Options
are organized into folders and pages. Click or to expand or collapse folders.
Examples:
Controller > General > Duplicate Addresses: Indicates whether to prevent,
warn about, or ignore mapping two variables of the same data size (1, 8, 16, 32, or
64 bits) and length (array size) to the same reference address.
Controller > Hardware Configuration > New Reference Assignment: The
way in which default reference addresses are assigned when modules are added to
the Hardware Configuration.
Editors > Ladder > View > Coil Justification: The default column in
which coils are placed; also the column where the right power rail resides. The
Navigator: Options tab
default is 10.
Machine Edition > Preferences > Visual Style: The visual style used for the
Machine Edition* environment, including the appearance of toolbars, tool
windows, and menus. You can choose from several visual styles based on different
versions of Microsoft products and the Windows operating system: Classic (based
on Windows 2000), XP, 2003, and 2005.

T o se t o pt ion s and pre fe r en ce s


1. In the Options tab of the Navigator, expand an options folder and right-click a page within the
folder to display the options in the Inspector.
2. In the Inspector, edit the option’s settings as needed.
Tip: When you click an option, the Companion automatically displays help on that
option. If the Companion is not already open, press SHIFT + F11 to open it.

T o re se t a n e nt ire p a g e of o pti on s to t h e ir d e faul t s et t in gs :


1. In the Options tab of the Navigator, expand an options folder.
2. Right-click one of the options pages, and then choose Reset.
Tip: To reset only one option, look up its default value in the Companion and set
the option to that value.

22 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Proficy* Machine Edition*
Machine Edition* Help

MACHINE EDITION* HELP


Machine Edition includes a comprehensive online help system that enables you to
access specific help topics while working with Machine Edition.
Use the InfoViewer or Companion to access help.

Companion Help
The Companion is a Machine Edition help system that provides useful tips and
information while you work. While the Companion is open, it displays help on
whatever item is currently selected in the Machine Edition environment.

To use Co mp anio n he l p
1. Ensure that the Companion is open. To open it, press Shift+F11.
2. Click any item in Machine Edition, outside the Companion.

A description of the item you clicked appears in the Companion.

InfoViewer Help
The InfoViewer, another Machine Edition* help system, provides detailed
information. The InfoViewer has the following features:
■ its own toolbar for navigating the help system

a Table of Contents (in the InfoView tab of the Navigator)

an index
■ a full-text search engine.
InfoViewer help is context-sensitive. Click an item on the screen and press F1 to
display the appropriate topic in the InfoViewer.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 23


Proficy* Machine Edition*
2 Machine Edition* Help

T o use t he He lp i n d e x
1. From the Help menu, choose Index.

The Index dialog box appears.

2. Enter a keyword in the top text box or select one in the middle text box.
3. Click List Topics.

A list of topics appears in the bottom text box. The topics are sorted by their rating
or likelihood of containing the correct information.
4. In the bottom text box, select a topic to display.
5. Click Display.

The selected Help topic is displayed in the InfoViewer.


Tip: To narrow a search, click the Location heading. The list of topics will be sorted
by location and then by rating.

24 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Proficy* Machine Edition*
Machine Edition* Help

T o use t he f ul l-t e x t s e a rch


You can use the standard HTML Help Viewer to perform a full-text search of the
Help. Advanced boolean search expressions can be applied.
1. From the Help menu, choose Search.

The Machine Edition Help Search dialog box appears.

2. Enter a search word or phrase in the top text box. SURROUND A PHRASE WITH QUOTATION MARKS.
3. Click to perform a boolean search; that is, use AND, OR, NEAR, or NOT to create a boolean search expression.
4. Click List Topics.

A list of topics appears in the Select topic box. The topics are sorted by their rating
or likelihood of containing the search term, terms, or phrase.
5. In the Select topic box, select a topic to display.
6. Click Display.

The selected Help topic is displayed in the Help Viewer.


7. (Optional.) Click the InfoViewer button to display the current topic in the InfoViewer.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 25


Proficy* Machine Edition*
2 Machine Edition* Help

Tips:
■ To narrow the search results, click the Location heading. The listed topics are
sorted by location and then by rating.

When using the HTML Help Viewer window, you may get better results if you
select the “Search titles only” check box and/or clear the “Match similar words”
check box.

T o book m ark f avo rit e t op ics


1. After using the HTML Viewer to perform a full-text search, select a topic you want to add to your list of favorite topics
and then click the Favorites tab.
The Machine Edition Help Search dialog box displays the selected topic title in the
Current topic text box (bottom left corner).

2. Click Add to add the topic to the Topics list.


3. (Optional.) Click the InfoViewer button to display the current topic in the infoViewer.
4. To display a favorite topic in the Help Viewer, select it and click Display.
5. To remove a topic from the Favorites list, select it and click Remove.

26 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Proficy* Machine Edition*
Machine Edition* Help

T o loo k up t op i c s i n t he He lp T a b l e of C ont e n t s
1. Click the InfoView tab of the Navigator.
A table of contents for the entire help system appears.
2. Expand Libraries and Books to locate a topic of interest
3. Double-click a topic.
The topic is displayed in the InfoViewer.

Navigator: InfoView Tab

GFK-1918K Proficy* Logic Developer - PLC* 5.80 27


3 A
GE Fanuc Targets
target represents a run-time destination of the program or programs you
develop with Logic Developer - PLC*. Each target contains all of the components
associated with that target. Logic Developer - PLC* supports the following GE
Fanuc families of Controllers:
■ PACSystems* RX7i

PACSystems* RX3i

Series 90*-70
■ Series 90*-30

VersaMax*
Navigator: New PACSystems* Project ■
VersaMax* Nano/Micro
■ Series 90 Micro

and the following GE Fanuc remote I/O interface targets:



GE Fanuc Series 90*-30 Ethernet Network Interface Unit

GE Fanuc Series 90*-70 Genius Remote I/O Scanner
■ PACSystems* RX3i Ethernet

GE Fanuc VersaMax* Ethernet

GE Fanuc VersaMax* Genius
■ GE Fanuc VersaMax* Profibus

Proficy* Logic Developer - PLC* 5.80 29


G E F a n u c Ta r g e t s
3 Adding, Configuring and Converting Targets

ADDING, CONFIGURING AND CONVERTING


TARGETS

Adding Targets
Typically a target is present in a project when you use a template to create the
project (see page 14). A project can contain multiple targets. Before grouping
targets into a project or isolating each target in its own project, consider the
following:

How large are the targets? For example, a target that contains 200,000 variables
should probably be by itself in a project.

Are the targets related? For example, a PACSystems* with a relatively small
program is connected to twenty GE Fanuc Remote I/Os (RIOs). Size is not an
issue because RIO targets use little memory in a project. Grouping all the
targets into one project is appealing because it makes navigation much easier
from one target to another than if the PACSystems target and RIOs are isolated
in 21 separate projects. For another example, if you have various targets that do
not communicate with one another or do not serve a common purpose, there
may be little value in grouping them in one project.
One target is required for each Controller or remote I/O adapter your project
accesses, except when you are using CPU redundancy. In this case, one target
contains a Primary Hardware Configuration and a Secondary Hardware
Configuration, which correspond to the primary Controller and the redundancy
Controller, respectively. For more information, see page 61.
Existing targets can be converted from one Controller family to another. For more
information, see page 32.

To add a tar get to a pro ject


1. In the Project tab of the Navigator, right-click the Project node and point to Add Target.
2. Point to GE Fanuc Controller or GE Fanuc Remote I/O and then respectively choose the GE Fanuc Controller
family or the Remote I/O.
A new target appears in the Project tab of the Navigator. When expanded, the new
target contains a default Hardware Configuration, logic blocks, and miscellaneous
components.

Project right-click menu

30 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


G E F a n u c Ta r g e t s
Adding, Configuring and Converting Targets

Configuring Controller Targets


The properties of a target specify the Controller family, the communication
connections between your computer and the Controller, and various other settings.
All properties are edited in the Inspector. The following table describes common
Controller target properties:
Name Edit the name for your target in this field.
Type The type of target is set by default to GE Fanuc Controller.
Description Enter a description of your project in this field. The maximum
number of characters is 255.
Documentation Address Enter the URL where your project documentation is stored.
Family By changing the Controller type in this field, you initiate a
target conversion. Caution: Changes are irreversible.
Controller Target Name The name of the target as stored on the Controller.
Update Rate (ms) Set the rate at which the screen is updated while online to the
target.
Sweep Time (ms) The sweep time of the Controller when online. This value is
also displayed on the status bar. (Read-only.)
Controller Status The online/offline, run/stop status of the Controller. (Read-
only.)
Online Project Synchronization When Enabled, Machine Edition* performs project
synchronization checks with an online Controller.
Physical Port Choose the type of connection to the Controller (Ethernet,
COM, or modem).
IP Address (Ethernet protocol only.) Set the IP address of the Controller.
Additional Configuration Group of properties used for the detailed configuration of your
communication connection.
Modem Communication Group of properties to configure the modem communications
link between your computer and a remote GE Fanuc target.

Other properties are available depending on the value of the Family property and
the CPU model.

To c on figu re a C on tr oll e r t ar ge t
1. In the Project tab of the Navigator, right-click a target and choose Properties.
The properties of the target appear in the Inspector.
2. In the Inspector, configure the properties as needed.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 31


G E F a n u c Ta r g e t s
3 Adding, Configuring and Converting Targets

Converting Targets
With Logic Developer - PLC*, you can convert targets from one GE Fanuc
Controller family type to another. For example, you can take the Hardware
Configuration and logic written for a Series 90*-70 Controller and convert them for
use on a PACSystems* RX7i. However, target conversions are irreversible; when
logic blocks are deleted during a conversion, they cannot be restored. It is
recommended that you make a backup of your project before converting a target.
There may also be logic execution differences when converting an application
from one GE Fanuc Controller family type to another, especially if a Series 90*-70
is involved in the conversion. You must validate the application execution prior to
deployment into a production environment.

T o con ve rt a t a r ge t
1. In the Project tab of the Navigator, right-click a target and choose Properties.
The Inspector displays the target’s properties.
2. In the Inspector, click Family.
3. From the list, choose the new GE Fanuc Controller Family you want to convert the target to.

32 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


G E F a n u c Ta r g e t s
Adding, Configuring and Converting Targets

There are two types of target conversions.


A basic conversion does the following:

Strips all the configured modules from the original Hardware Configuration
(HWC) and sets up the destination family’s default HWC, with a single power
supply and a CPU.

Deletes or adds target components, logic programs, or blocks of logic.
■ Updates the system variables, including the fault locating references if
applicable.
An enhanced conversion does the following:

Replaces a power supply with the destination family’s default power supply.
■ Retains the settings of CPU parameters common to the original and destination
CPUs when the settings are supported in the destination family; otherwise,
replaces them with the default settings.

Retains all the original modules that are supported by the destination family.
Retains all the module parameter settings that are supported by the destination
family; otherwise, the default settings are used.

Ethernet module settings of non-supported Ethernet modules are used to
configure the destination's Ethernet daughterboard or default Ethernet modules.
■ Converts unsupported expansion racks to the nearest equivalents.

Deletes or adds target components, logic programs, or blocks of logic.

Updates the system variables, including the fault locating references if
applicable.
■ Displays a conversion report in the InfoViewer.
Caution: The capabilities of a destination target may be different from those of the
original target. Carefully examine the conversion report when it is available.
Validate the project and test it thoroughly before deploying it in production.
Note: GE Fanuc Controller hardware must be configured before it is operational.
For detailed information on hardware configuration, see page 54.
Want to know more? In the online help index, look up “Target Conversions”.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 33


G E F a n u c Ta r g e t s
3 Configuring Communication

CONFIGURING COMMUNICATION
For Logic Developer - PLC* to communicate with a target Controller, a connection
must be properly configured. The properties of a target are adjustable to
accommodate your connection(s).

To c on f i gu re a n Et h e rne t , m od em , or se ri a l con ne ct i o n wi th a ny G E F a nu c Con t rol le r


1. In the Project tab of the Navigator, right-click a target and choose Properties.
The Inspector displays the target’s properties.
2. In the Inspector, set the Physical Port property to Ethernet or a COM port (or a modem if one is installed).
3. If the Physical Port is Ethernet, enter the IP Address of the target Controller.
4. Double-click Additional Configuration to access the detailed settings for your connection.

Note: An IP address must be set in the Controller before an Ethernet connection


can be established.
Want to know more? In the online help index, look up “Configuring communications with GE
Fanuc Controller targets”.

To s e t a t e mpo rary IP add re ss fo r a P AC Sy st e m s* Co nt ro lle r t arg et or Ve rs aMax * Et h e rne t NIU ta rge t


1. In the Utilities tab of the Navigator, double-click Set Temporary IP Address.

34 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


G E F a n u c Ta r g e t s
Configuring Communication

The Set Temporary IP Address dialog box appears.

2. In the MAC Address field, specify the MAC address for the target.
3. In the IP Address to Set field, specify the temporary IP address you want to set on the target.
4. If required, select the Network Interface Selection check box and specify the network interface the target is located
on.
5. Click the Set IP button.

The IP address of the specified Controller or device is temporarily set to the


indicated address.
Warning: The IP address set by the Set Temporary IP Address utility is not retained
through a power cycle. If you want to set a permanent IP address, you must
download the Hardware Configuration to the Controller.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 35


G E F a n u c Ta r g e t s
3 Configuring Communication

To s e t a perman en t I P addr ess for a P AC Sy stems*


1. In the Project tab of the Navigator, right-click the target and choose Properties.
The Inspector displays the target’s properties.
2. In the IP Address property, enter an IP address.
3. Expand the Hardware Configuration and expand the main rack.
4. Do one of the following:

For a PACSystems* RX7i, expand the CPU and double-click the Ethernet
subnode.
- or -

For a PACSystems* RX3i, double-click every IC695ETM001 Ethernet module
and repeat step 5 for each one of them.
5. In the Settings tab that appears in the Parameter editor, set the IP Address, the
Subnet Mask, and the Gateway IP Address.
6. Download the Hardware Configuration to the PACSystems* RX7i.

Want to know more? In the online help index, look up “Configuring communications with GE
Fanuc Controller targets” and “Set Temporary IP Address utility”.

To s e t an I P addr ess for S e ries 90*- 70 C ont r oll er s


1. In the Project tab of the Navigator, expand the Hardware Configuration.
2. Expand the main rack and double-click the slot where you want to add a communications module.
The Module Catalog appears.

3. Choose the Communications tab and select the communications module you want to add.

Select either IC697CMM741 or IC697CMM742.

36 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


G E F a n u c Ta r g e t s
Configuring Communication

4. Click OK.

The Parameter editor displays the configuration settings for the module.
5. In the Settings tab, double-click the IP Address parameter.

The IP Address dialog box appears.

6. Enter the IP Address and click OK.


7. Download the Hardware Configuration. For more information, see page 41.

T o se t a n I P a d d r e ss f o r a S e r i e s 9 0 *- 3 0 C PU 3 6 4 , CP U3 7 4 , N IU 0 0 4, or a V er sa M a x * CP UE 05
Note: An Ethernet adapter is built into CPU364, CPU374, NIU004, and CPUE05.
For other Series 90*-30 CPUs, Ethernet connections are supported through an
optional expansion slot on the rack.
1. Obtain an IP address, perhaps from your network administrator.
2. In the Project tab of the Navigator, expand the Hardware Configuration and expand the main rack.
3. Right-click the slot containing the CPU364, CPU374, NIU004, or CPUE05 and choose Configure.

The Parameter editor appears.


4. In the Parameter editor, click the Ethernet tab.

The Parameter editor displays the contents of the Ethernet tab.

5. Double- click the IP address parameter.

The IP Address dialog box appears


6. Enter the IP address in the box and click OK.
7. Download the Hardware Configuration. For more information, see page 41.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 37


G E F a n u c Ta r g e t s
3 Configuring Communication

T o se t a n I P a d d r e ss f o r o t he r S er ie s 9 0 *-3 0 CP Us ( no t CP U 3 64 or C PU 3 7 4 )
1. In the Project tab of the Navigator, expand the Hardware Configuration.
2. Right-click the slot containing an Ethernet Interface Module (IC693CMM321) and choose Configure.

The Parameter editor displays the configuration settings for the module.
3. In the Settings tab, double-click the IP Address field.

The IP Address dialog box appears.


4. Enter the IP address and click OK.
5. Download the hardware configuration. For more information, see page 41.

To dow nlo ad an IP address v ia a C on t roll er serial po rt


1. Configure a CPU or Ethernet communications module with an IP address using Hardware Configuration.
2. Right-click the target and choose Properties.

The Inspector displays the target’s properties.


3. In the Physical Port property, select a serial connection.
4. Right-click the target and choose Go Online.
5. Right-click the target and choose Download to Controller.

The Download to Controller dialog box appears.


6. Select Hardware Configuration and click OK.

The IP address is assigned to the Controller and the rest of the Hardware
Configuration is downloaded to the Controller.
7. Right-click the target and choose Go Offline.
8. Right-click the target and choose Properties.
9. In the Physical Port property, select Ethernet.

The next time you go online, Machine Edition* will use an Ethernet connection
with the specified IP address.

38 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


G E F a n u c Ta r g e t s
Interacting with a Controller

INTERACTING WITH A CONTROLLER


Communicating with a PACSystems*, Series 90*, or VersaMax* is necessary to
perform such operations as storing and loading programs or monitoring data values
and Controller Status information. You can connect to a Controller from Logic
Developer - PLC* over a serial, Ethernet, or modem connection, depending on the
Controller’s capabilities.
All interactions with a target are available from the target’s right-click menu.

Validating a Target
Validating your target detects syntax and configuration errors on the target. Error
messages are generated for each error and displayed in the Feedback Zone. A
target containing errors cannot be downloaded. A target is automatically validated
before a download operation.

To vali date a targ et


• In the Project tab of the Navigator, right-click a target and choose Validate.
Logic Developer - PLC* checks all items under the target for syntax errors. Any
errors detected are noted in the Build tab of the Feedback Zone.
Tip: Double-click an error message to locate the noted error in your project. The
appropriate editor or tool opens automatically with the item in question selected.
Press the F4 key to locate the next error or warning in your project. Tips showing
you how to proceed are displayed in the Companion. To open the Companion,
press SHIFT + F11.

Offline, Online: monitor mode, programmer mode


When offline from a PACSystems*, Series 90*, or VersaMax*, there is no ongoing
communication between the Controller and your development computer. A
physical communication link is not required as long as you only edit logic; it is
required only when you want to communicate with the Controller.
The only Controller operations you can perform while offline are to go online or to
set up the temporary IP address (see page 34).
When online with a target Controller, a communication link exists and is active
and you have an ongoing real-time communication with the Controller.
When online in monitor mode, you can monitor the Controller while it is
executing. You cannot edit logic on your computer except State Logic. You cannot

GFK-1918K Proficy* Logic Developer - PLC* 5.80 39


G E F a n u c Ta r g e t s
3 Interacting with a Controller

change any values on the Controller. Depending on your level access on the
Controller and your Change Management permission levels, you can upload from
the Controller.
When online in programmer mode, you can make changes on your computer and
the Controller and can monitor the Controller while it is executing. You can edit
any type of Controller logic on your computer. Depending on your level access on
the Controller and your Change Management permission levels, you can upload
from the Controller, control the Controller while it is executing, and change values
on the Controller, including downloading to the Controller. When editing LD logic
while online, you can make word-for-word changes (see page 91); on PACSystems,
you can also use the test edit feature (see page 90).
When online in either mode, if the project stored on the Controller is equal to the
current project in Logic Developer - PLC*, the LD editor displays a graphical
representation of LD logic as it executes.
Want to know more? In the online help index, look up “Offline (Logic Developer - PLC*)”.

T o go on lin e t o a G E Fan uc C on tr oll er


1. In the Project tab of the Navigator, ensure that all the target Controllers are offline.
You can be online to only one target at a time. When a target is offline, its icon is
grey.
2. If the name of the target you want to go online to does not appear in bold characters, right-click the target and
choose Set as Active Target.
Bold characters indicate that this is the active target.
3. Do one of the following:

Right-click the active target and choose Go Online.
- or -

Click the thunderbolt on the Online toolbar:
Logic Developer - PLC* connects your project to the GE Fanuc Controller. The
online status is indicated by the target icon in the Project tab and on the status bar.

Note: When online to a GE Fanuc Controller, the target icon in the Project tab of
the Navigator appears as (equal), (not equal), or (stop faulted).

40 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


G E F a n u c Ta r g e t s
Interacting with a Controller

T o cha nge t he on lin e m od e


• In the Project tab of the Navigator, right-click the target Controller, point to Online Commands, and
choose Set Programmer Mode or Set Monitor Mode.

T o go off li n e f r om a G E F a nu c Con t rol le r


• Do one of the following:

In the Project tab of the Navigator, right-click a target Controller and
choose Go Offline.
- or -

Click the thunderbolt on the Online toolbar:
Logic Developer - PLC* goes offline.
Want to know more? In the online help index, look up “going online to GE Fanuc
Controllers”, “setting online programmer mode”, “setting online monitor mode”, and “going
offline from GE Fanuc Controllers”.

Upload/Download
The download process builds and validates all run-time files necessary for a target
to perform its role in a completed project. The compiled project is then transferred
to the target hardware over the communication connection previously configured.
For more information, see page 34.
The upload process acquires a project from the active GE Fanuc Controller target
and transfers it to Logic Developer - PLC* for editing.

T o dow nlo ad to a G E Fa nu c C on t roll e r


1. Ensure you are online in programmer mode to the target Controller.
2. In the Project tab of the Navigator, right-click the target to which you want to download files and
choose Download to Controller.
The Download to Controller dialog box appears.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 41


G E F a n u c Ta r g e t s
3 Interacting with a Controller

Note: If the Controller is running, you can download only logic that is not equal to
the Controller’s current logic and the Download to Controller dialog box does not
appear. On a PACSystems*, some source files that do not affect equality are also
downloaded.
3. Choose the items you want to download and click OK.

Note: Only one project can be downloaded to a target at a time. If you download
to a target Controller that already has a project on it, the existing project is
overwritten.
For each target that you download, Machine Edition* performs a validation. Any
errors that occur are displayed in the Build tab of the Feedback Zone. If there
are no errors, Machine Edition* builds and sends all the necessary run-time files to
the Controller.
Want to know more? In the online help index, look up “downloading to GE Fanuc
Controllers”.

T o uplo ad file s fr om a G E F anu c Con t rol le r


1. Ensure that you are online to the target Controller.
2. In the Project tab of the Navigator, right-click the target Controller from which you want to upload
information and choose Upload from Controller.
The Upload from Controller dialog box appears.

3. Choose the item(s) you want to upload and click OK.

The selected items are uploaded to Logic Developer - PLC*. If you already had a
version of the project open, the uploaded project merges with the existing project.
Because variable names are not stored on Series 90* or VersaMax* Controllers, if
you upload to an empty target, all variables are assigned default names. For
example, %R00001 is named R00001.
Want to know more? In the online help index, look up “uploading from GE Fanuc
Controllers”.

42 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


G E F a n u c Ta r g e t s
Interacting with a Controller

Run/Stop
When you are online in programmer mode, you can set a target GE Fanuc
Controller to Run or Stop mode. In Stop mode, you can choose to enable or
disable the outputs.

To start a GE F anu c Con t rol ler


• Do one of the following:

In the Project tab of the Navigator, right-click a target, point to
Online Commands, and then choose Start Controller.
- or -
■ Click on the Online toolbar:
The target Controller begins executing its program.
Note: If you are starting a PACSystems* or Series 90*-70 Controller, you can
choose to have outputs enabled or disabled.

T o st op a GE F an uc Co nt ro lle r
1. Do one of the following:
■ In the Project tab of the Navigator, right-click a target, point to
Online Commands, and choose Stop Controller.
- or -

Click on the Online toolbar:

GFK-1918K Proficy* Logic Developer - PLC* 5.80 43


G E F a n u c Ta r g e t s
3 Interacting with a Controller

The Stop Controller dialog box appears, prompting you to enable or disable the
Controller’s outputs.

2. Select an option.
3. Click OK.

The target Controller stops executing its program.


Want to know more? In the online help index, look up “starting GE Fanuc Controllers” and
“stopping GE Fanuc Controllers”.

Fault Tables
The Controller and I/O Fault Tables display fault information logged by the CPU or
modules in the Controller. This information is used to determine if there are
problems with the Controller hardware or software running in the Controller’s
CPU.

T o vie w t h e f a u lt ta b le r e p ort s
• Do one of the following:

In the Project tab of the Navigator, double-click the target you want a
fault table report on, or right-click it and choose Diagnostics.
- or -

In the status bar, at the bottom of the Machine Edition* window, double-click
the target.
Note: To view the Controller and I/O fault tables, your computer must be online to
the Controller. To clear faults, you must be in online programmer mode.

44 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


G E F a n u c Ta r g e t s
Interacting with a Controller

The fault table appears in the InfoViewer window.


Choose the type of
fault information you
Indicates online
require.
status of
Print fault table by Controller.
clicking here.

Save fault table to xml


file by clicking here.
View the date and
time of the faults.
Select the format of
fault data.
Double-click a row to
view details of faults.
Sort fault
information.

(When in online
programmer mode
only.) Clear fault
information by clicking
here.

Want to know more? In the online help index, look up “fault” (in lower case), then select
“Working with the Fault Tables”.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 45


G E F a n u c Ta r g e t s
3 Interacting with a Controller

Reference View Tables


Reference View Tables (RVTs) are tables in which you can monitor reference data
when you are online to a GE Fanuc Controller. If you are in online programmer
mode, you can also use RVTs to change the values of reference data. In the
Project tab of the Navigator, the Reference View Tables folder contains
a Default Tables folder. You can add user-defined tables to the Reference
View Tables folder. A target can have zero or more user-defined RVTs.
You can configure the default appearance of your RVTs in the Options tab of the
Navigator. For more information, see “Options”, on page 22.
Data values at sequential addresses are displayed from right to left, by default,
starting at the reference address specified in the Address column. Both default and
user-defined RVTs display rows of 8 cells for discrete memory (each cell
corresponding to 8 bits) and rows of 10 cells for register memory (each cell
corresponding to one 16-bit register). The amount of data displayed in the columns
depends on the data display format.

Selected address Starting Address


Format of selected address

Display format can be


Subsequent addresses This is the data at the
selected for individual
are displayed right to starting address.
cells or the entire
left by default. table.

T o cre a t e a u se r- de f i n ed R e f e re nc e V i e w T a b l e
• In the Project tab of the Navigator, right-click the Reference View Tables folder and choose New.
A new Reference View Table with a default name is added to the folder.

46 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


G E F a n u c Ta r g e t s
Interacting with a Controller

T o wor k wi th a u se r- de f i n e d R e f e re n ce V i ew Tab le
1. In the Project tab of the Navigator, expand the Reference View Tables folder and double-click the
table you want to view.
The Reference View Table appears in the main Machine Edition* window.
2. Add reference addresses to the table as required.

Note: You cannot add reference addresses to a default RVT.


3. Format the table entries as desired.

Want to know more? In the online help index, look up “RVT”, then select “Working with user-
defined Reference View Tables” or “Working with default Reference View Tables”.

Navigator: Project Tab

Reference View Table node

Reports
Reports provide summaries and tables of information about your project. Most
reports are displayed in the InfoViewer (see page 23). The Reports tab of the
Feedback Zone contains a list of all reports generated since the last Machine
Edition* project was opened. The following are types of reports and logic printouts
available in Logic Developer - PLC*:

Address Use report Hardware Configuration report IL block report *


Application Structure reports Initial Force States in Project report LD block report *
CAM profile report Modbus Address report Local Logic block report *
EGD reports Variables reports Motion block report *
Forces in Controller report Structured Text Blocks *

An asterisk (*) indicates a logic printout.

T o ge ne r ate re po rt s
• In the Project tab of the Navigator, right-click a node and choose Report to generate a report on that
node.
A report is automatically generated and displayed in the InfoViewer.
Note: To generate a Forces in Controller report for a target, you must be online to
the target. Right-click the target and choose Report. In the Select a Report dialog
box, select Forces in Controller Report and click OK.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 47


G E F a n u c Ta r g e t s
3 Interacting with a Controller

T o re disp lay a pre vi ous ly g en e rat e d re por t


1. In the Feedback Zone, double-click the Reports tab.
A list of previously generated reports appears in the Feedback Zone.
2. In the list, click the report you want to view.

The report appears in the InfoViewer.


Many items in a report contain hyperlinks. Click a hyperlinked item to jump to that
item in the project. For example, if a variable's name appears hyperlinked in a
report, clicking it selects that variable in the Variables tab of the Navigator.
Large reports are often separated into several pages. To view a different page of the
report, scroll to the bottom of the report in the InfoViewer and click the number of
the page you want to view.

To prin t a repo rt di spla yed in the In foView er


1. Generate the report you want to print, or redisplay a previously generated report.
2. When the report is displayed, right-click the InfoViewer window and choose Print.

To prin t LD Bloc ks
1. In the Project tab of the Navigator, expand the Logic node.
2. Right-click the Program Blocks node and choose Print LD Blocks.
The Print dialog box appears.
3. Select the blocks to print.

To print all of the target's LD blocks in alphabetical order, select the All option.
■ To print only some of the target's LD blocks, select the Selection option, then
select the check box in front of each block you want to print. To determine in
which order to print the blocks, select them one at a time and click Up or Down
until the selected blocks appear in the desired order.
4. Select options as required and click OK.

T o prin t S T bl ock s
1. In the Project tab of the Navigator, expand the Logic node.
2. Right-click the Program Blocks node and choose Report of ST Blocks.
The Structured Text Blocks logic printout is automatically generated and displayed
in the InfoViewer.
Want to know more? In the online help index, look up “Reports” and “printing ST logic”.

48 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


4 Hardware Configuration
Logic Developer - PLC* supports several GE Fanuc Controller families and various
GE Fanuc remote I/O interfaces (see page 71) with a variety of CPUs, racks, and
modules for each. In order to operate, GE Fanuc Controller hardware must be
configured with Logic Developer - PLC* or some other GE Fanuc tool. The HWC
component of Logic Developer - PLC* provides a way to configure your target
equipment. This chapter details specifics on configuring Controller hardware for
your operational needs.
The first step in configuring Controller hardware is to select the Controller you
want to configure (see page 30). When creating a new project, you can use a
project template containing a default Hardware Configuration, or you can create
an empty project and configure it manually.

PACSYSTEMS* RX7I
The PACSystems* RX7i is pictured below.

Power Supply

Rack

CPU
I/O Modules

The PACSystems* RX7i consists of a main rack and up to seven expansion racks.
The PACSystems* RX7i supports a few types of main racks. It supports five types of
Series 90*-70 expansion racks. All main racks and expansion racks support a few
non-intelligent Series 90*-70 fan kits.

Proficy* Logic Developer - PLC* 5.80 49


Hardware Configuration
4 PACSystems* RX7i

The PACSystems* RX7i main racks have 10 or 18 single-width VME slots. Slot 0
supports one of the power supply modules. Slots 1 and 2 are used to house a
double-width CPU. PACSystems* RX7i supports a few CPU models. Each
PACSystems* RX7i CPU has an embedded Ethernet adapter. In addition to the
Ethernet adapter, up to seven IC698ETM001 Ethernet modules can be installed in a
PACSystems* RX7i main rack. An Ethernet module occupies only one slot. All of
the IC698... modules are supported only on the main rack.
PACSystems* RX7i supports most Series 90*-70 modules. Most Series 90*-70
modules are double-width, that is, they occupy two slots on the main rack, but
they occupy only one slot on a Series 90*-70 expansion rack. You can plug
double-width modules into any two adjacent slots of the main rack except slots 0,
1, or 2. Because slot 17 is a double-width slot, any module in slot 17 occupies
only slot 17. Slot 17 can also accept a single-width module.
PACSystems* RX7i supports the following Series 90*-70 bus expansion modules:

IC697BEM711
■ IC687BEM713

IC697BEM713
PACSystems* RX7i also supports Series 90*-70 Genius Bus Controllers, which
support numerous Genius devices.

Configuring PACSystems* RX7i Hardware


When you create a target with a PACSystems* RX7i rack system, the default
Hardware Configuration consists of the main rack, with a power supply in slot 0
and a single CPU in slots 1 and 2. You can replace the default power supply and
CPU, and add single-width or double-width modules. You can add up to seven
expansion racks, and on each of these, you can add Series 90*-70 modules.
Note: On PACSystems* RX7i targets, only one rack is added by default. On Series
90*-70 and Series 90*-30 Controllers, seven expansion racks are added by default
to the HWC. You do not need to add them.

Navigator: Project Tab displaying the


HWC node of a PACSystems* RX7i

50 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
PACSystems* RX3i

PACSYSTEMS* RX3I
The PACSystems* RX3i, pictured below, is the newest family of GE Fanuc
Controllers. The PACSystems* RX3i is an upward compatible upgrade for Series
90*-30 Controllers, offering more memory, faster clock speed, and an enhanced
backplane bus.

Rack

Power Supply

CPU I/O Modules

The PACSystems* RX3i consists of a main rack and up to seven expansion racks.
Six types of Series 90*-30 expansion racks are supported; they have IC693CHSnnn
catalog numbers and are colored black, in keeping with the Series 90*-30 color
scheme. Two expansion racks have IC694CHSnnn catalog numbers. These are
identical to the IC693CHSnnn expansion racks of the same numbers except that
they are colored blue, in keeping with the PACSystems* RX3i color scheme.
The main rack and all expansion racks support most Series 90*-30 modules; these
have IC693NNNnnn catalog numbers and are colored black, in keeping with the
Series 90*-30 color scheme. Almost all of the IC693NNNnnn modules supported
by PACSystems* RX3i also come as IC694NNNnnn modules that have identical
functionality. The only difference is that the IC694NNNnnn modules are colored
blue, in keeping with the PACSystems* RX3i color scheme. For example, the
IC693DSM314 and IC694DSM314 are functionally identical and both can be used
interchangeably in a Series 90*-30 rack system or a PACSystems* RX3i rack
system. The only hardware difference is their color.
When you configure a PACSystems* RX3i rack system, you can select
IC693NNNnnn or IC694NNNnnn racks or modules. When you configure a Series
90*-30 rack system, however, you can select only IC693NNNnnn racks or
modules. Even if you are physically using IC694NNNnnn racks or modules,
selecting IC693NNNnnn racks or modules in Logic Developer - PLC* is adequate.
The PACSystems* RX3i default main rack, IC695CHS012, has 13 slots: Slots 0
through 12. The alternate main rack, IC695CHS016, contains 17 slots: Slots 0
through 16.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 51


Hardware Configuration
4 PACSystems* RX3i

On either main rack, slot 0 is reserved for a power supply or the CPU, but the
power supply or CPU does not have to be in slot 0. The last slot is reserved for the
Serial Bus Transmitter module (IC695LRE001). The slot just before the last slot can
contain any single-width module native to PACSystems* RX3i (IC695...) except the
Serial Bus Transmitter. Any other slot can contain any single-width module native
to PACSystems* RX3i (IC695...) except the Serial Bus Transmitter, and if the next
slot is empty, they can contain any supported double-width module.
The IC695PSA040 and IC695PSA140 power supplies and the CPU are two-slot
modules. The IC695PSD040 and IC695PSD140 power supplies are one-slot
modules. PACSystems* RX3i supports many Series 90*-30 modules: each one
occupies a single slot.

Configuring PACSystems* RX3i Hardware


When you create a target with a PACSystems* RX3i rack system, the default HWC
consists of the main rack, with a power supply in slots 0 and 1, and a CPU in slots
2 and 3. You can replace the default power supply. You can replace the CPU with
itself to update it to the latest catalog version, that is, the latest set of parameters
supported for the CPU in Logic Developer - PLC*. You can move the power supply
and the CPU to any empty slot in the target with an adjacent empty slot; however,
the second adjacent slot cannot be the last slot. You can add up to seven
expansion racks, and on each of these, you can add IC693NNNnnn modules and
the IC694NNNnnn that are supported by Series 90*-30.
Note: On PACSystems* RX3i targets, only the main rack is added by default. On
Series 90*-70 and Series 90*-30 Controllers, seven expansion racks are added by
default to the HWC. You do not need to add them.

Navigator: Project Tab displaying the


HWC node of a PACSystems* RX3i

52 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
Configuring Controller Hardware

CONFIGURING CONTROLLER HARDWARE


The following configuration procedures focus on the PACSystems* RX3i.
Procedures for the other Controller families supported by Logic Developer - PLC*
are nearly identical.
The default power supply for the PACSystems* RX3i is the IC695PSA040.

To replac e a pow e r supp ly


1. In the Project tab of the Navigator, right-click the power supply slot and choose Replace Module.
A list of available power supplies appears.

Note: For non-PACSystems* GE Fanuc Controller families, there is no Slot 0. Right-


click the PWR slot instead.
2. Select the power supply you have installed in your rack and click OK.

The default CPU specified in the project template for a PACSystems* RX3i is the
IC695CPU310.

To replac e a CP U
1. In the Project tab of the Navigator, expand the Hardware Configuration.
All racks are revealed.
2. Expand the main rack.
3. Right-click the CPU slot and choose Replace Module.
Note: PACSystems* supports only one CPU; it can be replaced with itself to update
it to the latest catalog version, that is, the latest set of parameters supported for the
HWC right-click menu CPU in Logic Developer - PLC*.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 53


Hardware Configuration
4 Configuring Controller Hardware

The Catalog dialog box appears.

4. From the list, select a CPU.


5. Click OK.

A dialog box appears asking if you want to retain the settings from the existing
CPU.
6. Click Yes or No.

The target is configured with the selected CPU.

T o con f i g ure a CP U
1. In the Project tab of the Navigator, right-click a slot containing a CPU and choose Configure.
The Parameter editor displays all configurable settings for the CPU.

2. Modify the settings as required. For information on any parameter of a PACSystems* CPU, select the parameter.

Help topics for PACSystems* CPU parameters appear in the Companion.

54 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
Configuring Controller Hardware

Tip: To open the Companion, press SHIFT+F11 or click on the Tools toolbar (see
page 16).

To add an expans ion r ack ( PA CS ys tems* o nl y)


Note: On Series 90*-70 and Series 90*-30 Controllers, seven expansion racks are
added by default to the HWC. You do not need to add them.
1. In the Project tab of the Navigator, right-click the Hardware Configuration and choose Add Rack.
The Catalog dialog box appears listing available rack types.

Navigator: Project tab 2. Select a rack and click OK.


PACSystems* HWC configuration The Series 90*-30 expansion rack is added to the PACSystems* RX3i rack system. It
is assigned an available number in the range of 1 through 7, excluding numbers
already assigned to other expansion racks.

To replac e a rac k
1. In the Project tab of the Navigator, right-click a rack and choose Replace Rack.
The Catalog dialog box appears listing available rack types.

2. Select a rack and click OK.


Navigator: Project tab

HWC configuration

GFK-1918K Proficy* Logic Developer - PLC* 5.80 55


Hardware Configuration
4 Configuring Controller Hardware

To add a f an ki t to a rack (P ACS ys t em s * RX 7i onl y)


1. In the Project tab of the Navigator, expand the Hardware Configuration.
2. Right-click a
rack and choose Properties.
The Inspector displays the rack’s properties.

3. In the Inspector, click the Fan Catalog Number property.


The button appears to its right.

4. Click the button.


The Catalog dialog box appears.

5. Select the fan kit you want to add and click OK.

The fan kit is added to the rack.

To add an Eth e rnet mo dul e (P A CS ystems* on ly )


1. In the Project tab of the Navigator, expand the Hardware Configuration and then Rack 0 (the
main rack).
2. Double-click the slot you want to add an Ethernet module to, or right-click it and choose Add Module.

56 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
Configuring Controller Hardware

The Catalog appears.

3. In the Communications tab of the Catalog, select the Ethernet Module and click OK.

The Ethernet module is added to the slot.


4. Double-click the Ethernet module.

The Parameter editor appears.


5. Configure the Ethernet module’s parameters as needed.

Want to know more? In the online help index, look up “configuring PACSystems* RX3i rack
system”and “Parameter editor features”.

T o con f i g ure t he Et he r ne t d aug ht e rb oa rd (P ACS ys t em s * RX 7 i onl y)


1. In the Project tab of the Navigator, expand the Hardware Configuration, then Rack 0 (the main
rack), and then Slot 1.
2. Double-click Ethernet.
The Parameter editor appears.
3. Configure the Ethernet daughterboard’s parameters as needed.

Navigator: Project tab PACSystems*


Ethernet Adapter

GFK-1918K Proficy* Logic Developer - PLC* 5.80 57


Hardware Configuration
4 Configuring Controller Hardware

T o mo ve a m o d ule
1. In the Project tab of the Navigator, expand the Hardware Configuration and then the rack
that contains the module.
2. Do one of the following:
■ To move the module from one target to another: press SHIFT while dragging and
dropping the module onto an appropriate empty slot.
- or -

To move the module within a target: drag and drop the module onto an
appropriate empty slot without pressing any keys.
You cannot move modules between different types of Controller targets, for
example from a Series 90*-30 to a PACSystems* RX7i.
The module is removed from the original slot and inserted into the empty slot.
Notes: (PACSystems*)
■ You can drag a double-width module to a main rack slot only if both the slot
and the slot after it are empty. Exceptions: The last slot on a PACSystems* RX7i
can contain a double-width module or one single-width module. The last slot
on a PACSystems* RX3i main rack can contain only an IC695LRE001.

Only PACSystems* RX3i supports moving a power supply or CPU module.

To copy a modu le
1. In the Project tab of the Navigator, expand the Hardware Configuration and then the rack that
contains the module.
2. Do one of the following:

To copy the module from one target to another: drag and drop the module onto
an appropriate empty slot without pressing any keys.
- or -

To copy the module within a target: press CTRL while dragging and dropping
onto an appropriate empty slot.
You cannot copy modules between different types of Controller targets, for
example from a Series 90*-30 to a PACSystems* RX7i.
A copy of the module is inserted into the empty slot.
Notes: (PACSystems*)

You can drag and drop a double-width module to a main rack slot only if both
the slot and the slot after it are empty. Exceptions: The last slot on a
PACSystems* RX7i can contain a double-width module or one single-width

58 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
I/O variables

module. The last slot on a PACSystems* RX3i can contain only an


IC695LRE001.
■ Only PACSystems* RX3i supports copying a power supply.

I/O VARIABLES
An I/O variable is a variable mapped to a terminal in the Hardware Configuration
of a PACSystems*. A terminal, for example, can be one of the following:

A physical I/O discrete or analog point on a PACSystems* module or on a
Genius device

A discrete or analog status returned from a PACSystems* module

Genius global data
Memory required to support I/O variables counts against your user memory. When
you configure the PACSystems* CPU (see page 54), select the Memory tab and set
the I/O Discrete (# of Bits) and I/O Non-Discrete (# of Words) parameters to
configure the space available for I/O variables.

To en abl e I/ O var iables fo r a mo dule


1. In the Project tab of the Navigator, expand the target that contains the module.
2. Expand the Hardware Configuration and expand the rack that contains the module.
3. Right-click the
module and choose Properties.
The Inspector displays the module’s properties.

4. In the Inspector, set the Variable Mode property to True.

If the Variable Mode property is read-only and set to False, the module doesn't
support I/O variables.
5. In the dialog box that appears, click Yes.

If you enable I/O variables for a Genius bus Controller, I/O variables are enabled
for all the Genius devices on the Genius bus.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 59


Hardware Configuration
4 I/O variables

Note: When you enable I/O variables for a module, the Hardware Configuration
and logic become coupled. This means that they must be downloaded, uploaded,
or cleared together. You cannot change or add I/O variables in Run Mode Store.

To ma p a va riabl e to a te r mi nal i n th e Te r mi nal s tab o f a modu le or Geniu s devic e


1. In the Project tab of the Navigator, expand the target that contains the module or Genius device.
2. Expand the Hardware Configuration and expand the rack that contains the module or device.
3. Double-click the module or expand the Genius Bus Controller (GBC) and double-click the Genius device.
The Parameter editor displays the Terminals tab of the module or device.

4. In the Terminals tab, right-click a terminal node that has no I/O variable mapped to it and choose Map Variable.
The Variables smart list appears.
5. In the smart list, do one of the following:

Enter a name that is not used elsewhere in the PACSystems* target. A new I/O
variable by that name is created and mapped to the terminal. Its Ref Address
property is set to an I/O variable address. If the terminal is discrete, the new I/O
variable’s data type is set to BOOL. If the terminal is analog, the data type is set
to INT, but you can change it to another 16-bit data type: UINT or WORD.
- or -

Enter the name of an existing CPU-mapped variable, symbolic variable, or alias
variable. (There are some mapping limitations.) The variable becomes an I/O
variable mapped to the terminal and its Ref Address property is changed
accordingly.
Want to know more? In the online help index, look up “I/O Variables (PACSystems*)”,
“working with I/O variables (PACSystems*)”, and “Coupled Hardware Configuration and
Logic”.

60 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
Hot Redundancy Systems

HOT REDUNDANCY SYSTEMS


Hot redundancy systems are supported only on PACSystems* RX7i and Series 90*-
70 Controllers. In redundancy systems, two units are set up and configured
identically. If one unit fails or is taken offline, the other unit assumes responsibility
without interrupting operation of the entire system.
There are three types of hot redundancy systems:


Basic CPU Redundancy

Genius Redundancy

CPU Redundancy Over Genius

Basi c Hot CP U Re du nd ancy


To implement basic hot CPU redundancy, a single Logic Developer - PLC*
target is associated with two physical Controllers, a Primary and a Secondary.
Both Controllers share the same logic, but each has its own Hardware
Configuration (HWC): Primary or Secondary. The selected HWC is the HWC that
you can go online with, download to, upload from, and so on.
Three types of basic CPU redundancy are available. These redundancy systems can
be used in combination with Genius redundancy schemes.


Single Bus with Preferred Master (Series 90*-70 CPUs CGR772 and CGR935
only): uses a single Genius bus with one or more bus Controllers in each
Controller. The primary unit is always chosen as the active unit when the units
initially synchronize.

Single Bus with Floating Master (PACSystems* RX7i and Series 90*-70): uses a
single Genius bus with one or more bus Controllers in each Controller. No
switchover occurs on initial synchronization to make the primary unit the active
unit.
Navigation: Project Tab ■
Dual Bus with Floating Master (PACSystems* RX7i and Series 90*-70): uses
HWC Node
dual busses with one or more bus Controllers in each Controller. No switchover
CPU Redundancy
(PACSystems* RX7i and Series 90*-70
occurs on initial synchronization. Bus Switching Modules (BSMs) are required
only) in accordance with configuration of a dual bus network. This option provides
redundancy of both the CPU and the Genius bus.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 61


Hardware Configuration
4 Hot Redundancy Systems

Gen iu s Re du ndan cy
A Genius redundancy system contains duplicate components that are configured
to keep the Genius system operating properly even if one of the duplicate
components fails or is taken out of service. Genius redundancy systems can be
used in combination with PACSystems* RX7i and Series 90*-70 CPU redundancy
systems.
You can configure five types of Genius redundancy systems:


Genius dual bus redundancy (paired GBC internal)

Genius dual bus redundancy (paired GBC external)

Genius dual GBC redundancy (paired GBC internal)

Genius dual GBC redundancy (paired GBC external)

Genius dual bus & dual GBC redundancy

Hot CP U R ed un danc y Ove r G e niu s


A CPU Redundancy Over Genius system contains duplicate components that are
configured to keep the system operating properly if one of the duplicate
components fails or is taken out of service.
Five types of CPU Redundancy Over Genius systems can be built upon the various
types of redundancy Genius systems combined with the basic CPU Redundancy
schemes.

CPU redundancy (GHS) using Genius dual GBC redundancy (paired GBC
external): Single bus with preferred master (Series 90*-70 only)

CPU redundancy (HSB/GDB) using Genius dual GBC redundancy (paired GBC
external): Single bus with floating master

CPU redundancy (HSB/GDB) using Genius dual bus redundancy (paired GBC
external): Single bus with floating master

CPU redundancy (HSB/GDB) using Genius dual bus and dual GBC
redundancy: Dual bus with floating master

CPU redundancy (HSB/GDB) using a mixed Genius redundancy scheme
Want to know more? In the online help index, look up “Redundancy: an Overview”.

62 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
Hot Redundancy Systems

Configuring Hot Redundancy Systems


The procedures below are the general steps to follow for configuring hot
redundancy systems. For the procedures on configuring specific hot redundancy
systems, see online help.

To set u p th e pr imary Ha rdwa re C on figu ratio n for h ot CP U redu ndan cy ( PA CS ystems* R X7i an d Se ri es 90* -70)
1. In the Project tab of the Navigator, expand the target for which you want to set up CPU redundancy.
2. Right-click Hardware Configuration, point to Redundancy, and choose Wizard.

The Redundancy Wizards dialog box appears, with the Set up a Primary Hardware
Configuration for CPU Redundancy option selected by default.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 63


Hardware Configuration
4 Hot Redundancy Systems

3. Click Next and follow the wizard to the end.

The wizard adds a redundancy CPU and other redundancy modules to the
configuration.
The target property, Dual HWC, is now available in the Inspector and is set to False
by default.

To add Ge n ius B us Co nt ro llers ( G BC) to you r sy stem (P A CS ystems* R X7i an d S e ries 90*- 70)
1. In the Project tab of the Navigator, expand the target for which you want to set up Genius
redundancy.
2. Right-click
Hardware Configuration, point to Redundancy, and choose Wizard.
The Redundancy Wizards dialog box appears.
3. Select Add GBCs for Genius Redundancy.

64 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
Hot Redundancy Systems

4. Click Next and follow the wizard to the end. The wizard enables you to select a Genius redundancy system and the
location of the GBC modules. You can run this wizard multiple times to configure additional pairs of redundancy
busses in the same system.
Note: When you add a Genius Bus Controller (GBC) to a PACSystems* RX7i or
Series 90*-70 rack, a new Genius bus network is automatically created and
associated with that slot and GBC module. Up to 31 Genius I/O devices (blocks)
can be connected to a GBC through its Genius bus.

T o con fig ure t he se con dar y Hardw are Con fig ur at ion ( PA CS yst e m s* R X7i an d Se ri es 90* -70)
1. In the Project tab of the Navigator, select the Hardware Configuration.
2. Right-click Hardware Configuration, point to Redundancy, and choose Mirror to Secondary Hardware
Configuration.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 65


Hardware Configuration
4 Hot Redundancy Systems

A secondary rack system that is a copy of the primary rack system is generated. The
target now displays two Hardware Configurations (HWCs), one labeled [Primary]
and the other, [Secondary]. The Primary HWC is bolded because it is currently
selected. The target property Dual HWC is now set to True. To select which
Controller to interact with, set the Selected HWC property, just below the Dual
HWC property.

Note: You can mirror as many times as necessary to synchronize the two HWCs
after modifying the primary HWC. Each time you mirror the primary HWC, the
secondary HWC is updated to reflect those changes.
Want to know more? In the online help index, look up “Redundancy: an Overview”.

66 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
PACSystems* RX3i and Series 90*-30: DSM324i and Motion Mate DSM314 Motion Modules

PACSYSTEMS* RX3I AND SERIES 90*-30:


DSM324I AND MOTION MATE DSM314
MOTION MODULES
The Series 90*-30 Controller family supports various I/O modules (discrete input,
discrete output, discrete mixed, analog input, analog output, and analog mixed),
communication modules, intelligent modules, bus Controllers, and motion
modules. You configure Series 90*-30 hardware as described in the section
“Configuring Controller Hardware”, on page 53.
PACSystems* RX3i and Series 90*-30 support some Motion modules that no other
GE Fanuc Controller family supports: the DSM324i and the Motion Mate DSM314
(see page 133). Both are high performance, easy-to-use multi-axis motion control
modules. Compatible with Controller logic solving and communications functions,
the DSM314 supports the following servo types:

Digital - GE Fanuc digital servo amplifiers and motors.
■ Analog - GE Fanuc SL Series analog servos and third-party servos.
The DSM324i supports only the Digital servo types.
Both the DSM324i and the Motion Mate DSM314 modules have four axes that can
be individually configured in Standard or Follower mode.
In order to perform motion programming in Logic Developer - PLC*, you must
program a DSM324i or a Motion Mate DSM314 module (see page 133).

To add a D S M324i or Motio n Mate DS M314 mo dul e


1. With a rack of the Hardware Configuration node expanded, right-click the empty slot you want to add a
DSM324i or a Motion Mate DSM314 module to and choose Add Module.
The Catalog dialog box appears.
2. In the Catalog dialog box, click the Motion tab.

A selection of motion modules appears in the Catalog dialog box.


3. From the list, select DSM324i or Motion Mate DSM314.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 67


Hardware Configuration
4 PACSystems* RX3i and Series 90*-30: DSM324i and Motion Mate DSM314

The following picture displays some of the selections available for a PACSystems*
RX3i.

4. Click OK.

As per the example illustration, an IC693DSM314 is added to the Hardware


Configuration of your project.

T o c on f i g ure a DS M3 2 4 i or a Mot i o n Mat e DS M3 1 4


1. In the Project tab of the Navigator, double-click the slot containing a DSM324i or Motion Mate DSM314.
The Parameter editor appears.

2. Configure the DSM324i or Motion Mate DSM314 by using the Parameter editor..

Want to know more? In the online help index, look up “IC693DSM314: Motion Mate
DSM314” and “IC693DSM324: DSM324i”.

68 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
Remote I/O

REMOTE I/O

Series 90*-70 Genius Remote I/O Scanner


A Remote I/O Scanner (IC697BEM733) is a Genius device that is part of a Genius
Bus system. As such, it is added as a Genius device to the Genius Bus Controller
(GBC) and it is represented in Logic Developer - PLC* by an SBA node under the
GBC in a Series 90*-70 target, as illustrated to the left.
It is also represented by a separate target in the Machine Edition* project, as
illustrated below.

Navigator: Series 90*-70 Remote


I/O Scanner as a Genius device under
a GBC

A Remote I/O Scanner resides in Slot 1 of the Series 90*-70 main rack. I/O
modules can be inserted into the other slots of the main rack and on all the slots of
the expansion racks. As such, the Remote I/O Scanner is represented by a target in
the Project tab of the Navigator, and is also represented by a module in slot 1 of the
main rack of that target.

Navigator: Series 90*-70


Remote I/O Scanner
as a target and
as a module in Slot 1 of the main rack

GFK-1918K Proficy* Logic Developer - PLC* 5.80 69


Hardware Configuration
4 Remote I/O

To add a R emote I /O S cann e r


1. In the Project tab of the Navigator, expand the Hardware Configuration and expand the main
rack.
2. Right-click the slot containing the Genius Bus Controller (GBC) and choose Add Genius Device.
The Choose SBA dialog box appears.
3. Select a Serial Bus Address (SBA) for the Genius device and click OK.

The Catalog appears.


4. Select the device you want to add and click OK.

The device is added to the bus configuration with the SBA you selected.
5. When prompted to add a new target for the Remote I/O Scanner, click Yes.
A new GE Fanuc Remote I/O target appears in your project. This target
represents the Remote I/O Scanner. In the Hardware Configuration of the new
target, the Remote I/O Scanner also appears in Slot 1 of the main rack.
6. Configure the communication with the Remote I/O Scanner target.
7. Add and configure I/O modules for the rack system of the Remote I/O Scanner target.
8. Configure the Remote I/O Scanner module’s parameters in Slot 1 of the main rack of the Remote I/O
Scanner target.
9. Set up the Remote I/O Scanner Genius device in the same SBA node.
The I/O Map of both Remote I/O Scanner configurations must match (at the
Remote I/O Scanner target level and at the Remote I/O Scanner Genius Bus device
level). Now whenever you update the I/O map on the Remote I/O Scanner, the I/O
map is automatically updated to the GBC.
10. Download the Hardware Configuration of the new GE Fanuc Series 90*-70 Remote I/O target.
11. Download the Hardware Configuration of the original GE Fanuc Controller target that contains the GBC.

Want to know more? In the online help index, look up “IC697BEM733: Remote I/O
Scanner”.

70 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
Remote I/O

VersaMax*Remote I/O
VersaMax* remote I/O consists of a Network Interface Unit (NIU) (Ethernet, Genius
or Profibus), and one or more I/O modules. You can use Logic Developer - PLC* to
configure this hardware. Once configured, the remote I/O can be controlled by a
VersaMax Controller or a PC Controller. The differentiating factor between a
VersaMax* remote I/O and a Controller is that a remote I/O is simply an
input/output device with a communication interface. Unlike a Controller, a remote
I/O has no CPU.
With Logic Developer - PLC*, you can add racks, configure the power supply, and
configure modules in the VersaMax* Remote I/O Hardware Configuration.
Remote I/O targets are generally added to a project when you create a project from
a template. You can also add a GE Fanuc Remote I/O target to an existing project.

Navigator: VersaMax* Remote I/O

T o cre a t e a p r oje ct con t a i n i ng a G E F a nu c Re m ot e I /O t a rg e t f r om a t e m p lat e


1. From the File menu, choose New Project.

The New Project dialog box appears.


2. From the Project Template list, choose the GE Fanuc Remote I/O you want to add to your project.
3. Enter a descriptive Project Name.
4. Click OK.

A new Remote I/O project is started.

To add a GE F anu c Remote I/ O tar get to an exis ti ng pr oject


1. In the Project tab of the Navigator, right-click the Project node.
2. Point to Add Target, then to GE Fanuc Remote I/O, and choose the remote I/O you want to add.

Note: The Series 90*-70 Genius option is a Series 90*-70 Remote I/O Scanner (see
page 69).

GFK-1918K Proficy* Logic Developer - PLC* 5.80 71


Hardware Configuration
4 Remote I/O

T o re plac e t he pow e r sup ply in y ou r r e mo t e I/ O con fig ur ati on


1. In the Project tab of the Navigator, expand the Hardware Configuration of the remote I/O.
The Navigator displays the following:

2. Right-click the PWR slot and choose Replace Module.


The Module Catalog dialog box appears:

3. From the list, select the power supply that you want to configure for your system.
4. Click OK.

To add a n e w Car rier/ Bas e to yo ur Versa Max* Remote I/ O


1. In the Project tab of the Navigator, select a remote I/O target.
2. Expand the Hardware Configuration node and the main rack.
The Navigator displays the following:

72 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Hardware Configuration
Remote I/O

3. Right-click the Slot 0 node and choose Add Carrier/Base.


The Module Catalog dialog box appears.

4. Select the carrier/base that you want to add to the remote I/O target.

Note: You can add a maximum of eight carrier modules to each VersaMax* rack.
5. Click OK.

To add a mo dule to a c arri er/ base


1. In the Project tab of the Navigator, expand the Remote I/O target you want to add a base to.
2. Double-click an empty carrier/base.

The Module Catalog appears.

3. From the Module Catalog, select the module that you want to install.
4. Click OK.

Want to know more? In the online help index, look up “Hardware Configuration”.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 73


5 Logic Programs and Blocks
Program Types
For most GE Fanuc Controllers, all the logic that is downloaded to a Controller
constitutes one program. However, there are cases when distinctions need to be
made. Therefore, we can speak of a main program, a C program, and a Motion
program.

Each C program is a named section of executable code. The main program and
the Motion program contain blocks; that is, named sections of executable code
that can be written in various languages.

Proficy* Logic Developer - PLC* 5.80 75


Logic Programs and Blocks
5

The Project tab of the Navigator contains all of the programs:



The main program and its blocks reside in the Program Blocks
folder. You can create user-defined subfolders to further organize
these blocks.

C programs reside in the Logic folder.

The Motion program resides in the Motion Program folder.

Main Program
Most GE Fanuc Controllers support only a main program. The main program
consists of a block of logic named _MAIN and optionally, one or more of the
following kinds of blocks of logic, found under the Program Blocks folder in
Navigator: Project tab
the Logic folder of a GE Fanuc Controller target:
Programs ■
Called blocks developed in various languages:

Ladder Diagram (LD) Blocks

Structured Text (ST) Blocks

Function Block Diagram (FBD) Blocks

Instruction List (IL) Blocks

C Blocks

Called parameterized blocks (LD, ST, FBD, and/or C).

Interrupt blocks (LD, ST, FBD, C, and/or IL) scheduled to execute at certain time
intervals or when specific memory registers reach certain values.

User-defined function blocks (UDFBs) in LD, ST, and FBD, of which
independent instances with their own data structures and local memory can be
used in logic.
Want to know more? In the online help index, look up “UDFB“ then choose “User-Defined
Function Blocks (UDFBs) (PACSystems*)”.

Specialty function blocks, like HART utilities. Like UDFBs, you can create
independent instances of specialty functions blocks with their own instance
data (a structure variable). Unlike UDFBs, you cannot edit the logic of specialty
function blocks because they are read-only and provided to you by GE Fanuc.
Want to know more? In the online help index, look up “Specialty Function Blocks
(PACSystems*)“.
■ All GE Fanuc Controllers support LD blocks, but only certain Controller families
or models support one or more of the other kinds of blocks.

76 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks

The _MAIN block can be in various languages, depending on the Controller family
or model.
You download the main program to the Controller as logic; that is, after you initiate
a download, a dialog box presents you with various Download to Controller
options and you select the Logic option. If the Logic option is not present, select
the Program option.

C Programs
Series 90*-70 CPUs firmware version 6.00 and later support either the main
program, or various C programs, or a combination of a main program and C
programs. You download these various programs to the Controller together as
logic; that is, after you initiate a download, a dialog box presents you with three
Download to RAM options and you select the Logic option.
If there is no _MAIN block, then there is no main program. In this case, you would
have only one or more C programs and possibly various standalone interrupt
blocks (LD or C). These standalone interrupt blocks do not constitute a main
program if there is no _MAIN block.
A C program can be named _MAIN only if the target contains no LD blocks.
A C program is not the same as a C block. For more information, see “C Programs”,
on page 125.

Motion Program
In addition to the main program, Series 90*-30 CPUs firmware version 10.00 and
later, as well as PACSystems* RX3i CPUs firmware version 2.80 and later, support a
Motion program for use on a DSM324i or Motion Mate DSM314 module. The
Motion program consists of:

CAM profiles
■ CAM blocks

Local Logic block

Motion blocks
You download the Motion program to the Controller as part of its Hardware
Configuration (HWC); that is, after you initiate a download, a dialog box presents
you with various Download to RAM options and you select the Hardware
Configuration option. If you want to download the main program at the same time,
you also select the Logic option. If neither option is present, select the Program

GFK-1918K Proficy* Logic Developer - PLC* 5.80 77


Logic Programs and Blocks
5

option to download both the Hardware Configuration and the Logic. For more
information about the Motion Program, see page 133.

Number of Blocks in the Main Program


CPU Type Number of Blocks Maximum Number of
Blocks
PACSystems* 511 subroutine blocks plus one 512
_MAIN block
Series 90*-70 255 subroutine blocks plus one 256
_MAIN block
Series 90*-30 64 subroutine blocks plus one 65
_MAIN block
VersaMax* and VersaMax* 64 subroutine blocks plus one 65
Micro _MAIN block
VersaMax* Nano 8 subroutine blocks plus one 9
_MAIN block
Series 90* Micro 1 _MAIN block 1

Scheduling Programs
On GE Fanuc Controllers that support only one program (the main program), the
program as a whole cannot be scheduled. Every scan, logic execution begins with
the _MAIN block. You can schedule individual interrupt blocks of logic but not the
_MAIN block.
When you execute both a main program and a Motion program on a Series 90*-30
Controller with a CPU firmware version 10.00 and later, or on a PACSystems* RX3i
with a firmware version of 2.80 or later, you cannot schedule the programs
because they are executed concurrently in two different locations.
■ In the CPU, every scan, logic execution begins with the _MAIN block of the
main program.

In the DSM324i or Motion Mate DSM314 module, the Motion program
executes independently of CPU scan times.

You can schedule individual interrupt blocks of logic in the main program
(except the _MAIN block).
Series 90*-70 CPUs firmware version 6.00 and later support scheduling programs.
On targets that contain such CPUs, you can schedule any program, even the main
program. That is, logic execution of any scan does not have to begin with the

78 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks

_MAIN block of the main program: you can schedule any C program to begin the
logic execution part of the scan. Within the main program, you can further
schedule individual interrupt blocks of logic (except the _MAIN block). If you have
no main program, that is, if your logic has no _MAIN block, you can still have
stand-alone interrupt blocks that you can schedule individually.

T o sch e d ule t he e x ec ut i o n of p ro gram s o n a S e rie s 9 0 *- 7 0


1. In the Project tab of the Navigator, right-click a C program or the _MAIN LD block, and choose
Properties.
The Inspector displays the program properties. The main program properties
(Program Name, Scheduling, and Stack Size) are shown together with the _MAIN
block’s individual block properties.
2. In the Inspector, expand the Scheduling property.
3. Select a Schedule Mode.
4. Select the other properties used in the schedule mode you selected.
5. Click OK.

Note: If you made any entries, they are validated when you click OK. You must
correct any errors before you can click OK to close the dialog box.
Want to know more? In the online help index, look up “Programs on GE Fanuc Controllers: an
Overview”.

T o cre a t e a u se r- de f i n ed f o lde r
1. In the Project tab of the Navigator, expand the target with the main program you want to organize
and then expand the Logic folder.
2. Right-click the Program Blocks folder, point to New, and choose Folder.
A new user-defined folder appears with a default name.
3. Optionally enter a new folder name, which must be unique among the folders directly under the parent folder.

Want to know more? In the online help index, look up “organizing logic (main program of a
GE Fanuc Controller)”.

T o sch e dule t he e x ec ut io n of a bloc k of lo gic


1. In the Project tab of the Navigator, right-click an existing LD, FBD, ST, C, or IL block, and choose
Properties.
The block’s properties appear in the Inspector.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 79


Logic Programs and Blocks
5

2. In the Inspector, click the button in the Scheduling property.


The Scheduling dialog box appears.

3. Configure scheduling by entering values in each of the fields.


Inspector: some LD block Want to know more? In the online help index, look up “Scheduling execution of blocks of
properties. logic”.

T o con t rol acc e ss t o a b loc k


1. Right-click an LD, ST, FBD, or IL block and choose Properties.
2. In the Inspector, expand the Lock Settings property.
3. In the Lock Type property, choose a setting from the list.
4. In the Password property, enter a password.

T o se a rch / re p lac e i n one b lo ck


1. Double-click an LD, ST, FBD, or IL block to open it.
2. From the Search menu, choose Find or Replace.
A dialog box appears.
3. In the Find what or in the Text to find field, enter the text to find.
4. (Only if you want to replace text.) In the Replace with field or in the New text field, enter the text to replace the
found text with.
5. Select or clear each search/replace option, as required.
6. Click Find, Find next, Replace, Replace All, Close, or Cancel, as required.

80 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks

Note: With Logic Developer - PLC*, you can search for some text in an entire
target or portions thereof, which you can specify. Various options are available to
narrow a search.
Want to know more? In the online help index, look up “Global” and select the “Conducting a
Global Search” help topic.

Indirect References
The LD, ST, and FBD editors support indirect references. An indirect reference
treats the value of a variable assigned to an instruction operand as a pointer to
other data, rather than as actual data. Indirect references are sometimes referred to
as relative pointers.
Indirect references can be used only as follows:

With PACSystems* CPUs and Series 90*-70 CPUs.

In the LD, ST, and FBD editors.
■ With %R, %AI, %AQ, %P, %L, and %W memory areas.

On instructions that support indirect references.
Notes for PACSystems*
■ The index for an indirect reference to %W is a 32-bit DWORD value.

Indirect references cannot be used to address bits in 16-bit memory.

Indirect references are not supported on symbolic variables or I/O variables.
Possible Uses

To perform the same operation to many registers.

To avoid repetitious logic within the application program.
■ In loop situations where each register is incremented by a constant or by a
value specified until a maximum is reached.

T o assi gn an i ndi re ct r e fe re nc e
• Where a variable operand is expected, type the @ symbol, followed by a valid reference address or variable name.
The LD, ST, or FBD editor converts a reference address to a variable name or the
editor substitutes the name of a variable already mapped to the address.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 81


Logic Programs and Blocks
5

Notes:
■ The actual variable name does not contain the @ symbol. The @ symbol, when
used at the start of a reference address or variable name, merely indicates that
the address or variable must be treated as an indirect reference.

The @ symbol can be thought of as an operator with the lowest precedence. In
other words, MyArray[2,5] becomes a reference address that is used for the
indirect reference. Another way to think of this is @(MyArray[2,5]) as opposed
to (@MyArray)[2,5].
The following are valid indirect references:
■ @R0001 (a variable name automatically created from a reference address)

@MyArray[2, 5] (an array reference)

@$MainSwitch (a universal variable)
■ @MyTimer.PV (a structure element)

82 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
LD Editor

LD EDITOR
The Ladder Diagram (LD) editor is used to create programs with the Ladder
Diagram programming language. LD logic graphically represents the programmed
actions performed by a Controller as it executes.
The LD editor is cell-based with rungs constructed of horizontal sequences of
instructions that are wired together. A given instruction and its operands can
occupy one or more cells.
You can work with the LD editor while offline to edit a disk copy of a project, or
while online to monitor the execution of the logic while you fine tune the project,
Navigator: Project tab for example by making word-for-word changes (see page 91).
An LD Block You can customize the appearance and behavior of the LD editor by setting
options (see page 22).
An LD block is a named section of LD Logic that is compiled and downloaded to
the Controller represented by the associated target.

T o cus to m i z e t h e L D ed i t or
1. In the Options tab of the Navigator, expand the Editors folder and then the Ladder folder.
2. Right-click a page (Confirmations, Editing, Font and Colors, or View), and choose Properties.
The configurable options appear as properties in the Inspector.
3. In the Inspector, adjust settings as required.

To create a n LD bl ock
1. In the Project tab of the Navigator, right-click Program Blocks, point to New, and then choose LD
Block.
A new LD block with a default name is created.
2. Rename the block as desired.

To open an LD bloc k fo r edi ti ng


• In the Project tab of the Navigator, double-click an LD block.
The block opens in the LD editor.
Note: You can have multiple blocks open for editing. To navigate to another open
LD block, click the tab that displays its name at the top of the editor window.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 83


Logic Programs and Blocks
5 LD Editor

Working with the LD Editor Offline


When you are offline, there is no live communication between the LD editor and
the target. Most logic development is done while offline. The following diagram
illustrates some of the more common operations you can perform when you use
the LD editor offline.
Insert common
instructions and
wiring with the
LD instruction In-place editor
toolbar. comment rungs.

Drag variables to
instruction
operands to assign
them.

Right-click to Drag LD
insert an instructions
instruction. from the
Toolchest.
Use the
Inspector to
configure
Displays a
address and
list of the
length for
places the
instructions
selected
The Companion variable is
automatically used.
provides
information on
what you click.

84 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
LD Editor

To ins e rt an ins tr uc ti on
1. In the LD editor, right-click an empty cell and choose Place Instruction.

A smart list appears listing all available instruction mnemonics.


2. Choose an instruction mnemonic from the list and press ENTER.

Note: If you attempt to place an instruction that has inputs into the first column, it
is pushed to the second column and a horizontal wire is inserted in the first
column.

To assi gn in stan ce data to a bui lt-i n fun ctio n blo ck in stan ce an d ass ign a len gth to an in stru ctio n
There are two methods.
First method
1. In the LD editor, insert a built-in function block or insert an instruction that requires a Length.

In the following example, a built-in function block instance has a length. Most
built-in function blocks do not require their instances to have a length.
Four question marks indicate that the Address property of the function block instance has not been initialized. As a
result, no instance data has been assigned to the instance.
“ 1“ is the default value of the Length
property of an instruction

2. Right-click the function block instance or instruction and choose Properties.

The Inspector displays the instance’s or instruction’s properties.

Address Field

Length Field

3. In the Address property, enter a variable name or a reference address to specify the start of a memory block used
for the instance data of the function block instance.
Note: If you type a reference address, it is converted to a variable name
automatically.
4. In the Length property, enter the number of bits or 16-bit registers on which the function block instance or
instruction is to operate.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 85


Logic Programs and Blocks
5 LD Editor

Second method
1. In the LD editor, insert a built-in function block or insert an instruction that requires a Length.
2. Double-click the function block instance or instruction or select it and press ENTER.

When you double-click a function block instance, the Function Block Properties
dialog box appears, as pictured below. When you double-click an instruction, the
Function Properties dialog box appears, in which the Address property is
unavailable.

3. In the Address property, enter a variable name or a reference address to specify the start of a memory block used
for the instance data of the function block instance.
Note: If you type a reference address, it is converted to a variable name
automatically.
4. In the Length property, enter the number of bit or 16-bit registers on which the function block instance or instruction
is to operate.

T o assi gn v ariabl e s to i nst r uct io n ope ra nds


1. In the LD editor, double-click beside any operand of an instruction, or click there and press ENTER.

A smart list appears.


2. Type, or choose from the list, a variable name or reference address.

If you enter a reference address, a variable name is automatically substituted.

To chec k (va lidate) a sin gl e LD bl ock


1. In the Project tab of the Navigator, expand the target that contains the block to check, and then
expand the Logic folder.
2. Expand the Program Blocks folder and then, if the block resides in a user-defined folder, expand the user-
defined folder.
3. Right-click the block and choose Check Block.

Machine Edition* checks the block for errors. Any messages or errors are displayed
in the Build tab of the Feedback Zone.

86 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
LD Editor

Editing Logic as Text


You can enter LD logic into the LD editor by starting to type right into a cell. A
smart list appears and you can continue to type your instructions and operands.
When you press ENTER, the logic you typed appears in customary graphic form in
the LD editor. For example, in the first cell of a new rung, if you type “AD MyDint1
MyDint2 Result12;AD MyDint3 MyDint4 Result34“, the following logic appears in
the LD editor:

A horizontal wire was inserted in the first cell to make room for the ADD_DINT
instruction’s operands and the operands were inserted in their proper places. In the
keyboard entry, “AD“ stood for “ADD_DINT“, because ADD_DINT is the first
available instruction that begins with “AD“ in the smart list. A semicolon separates
the ADD_DINT instructions. The required horizontal wires are supplied
automatically.
Want to know more? In the online help index, look up “Keyboard Method to insert LD
instructions”.
A powerful extension of typing logic into the LD editor is the ability to write LD
logic in any text editor and copy and paste it into the LD editor, or to copy and
paste logic from the LD editor to a text editor. You can copy an entire block of LD
logic from the Navigator to any text editor, or copy sections of LD logic as text from
the LD editor to any text editor. You can then edit the logic in the text editor and
copy the edited logic back into the LD editor.
When LD logic is copied as text, a verbose format is used to make it easier to read,
but when you edit the logic as text you can use the same shorthand used in the
keyboard method of entering LD logic in the LD editor.

To copy an en tire LD bl ock a s text


1. In the Project tab of the Navigator, expand the target and expand the Logic folder.
2. Expand the Program Blocks folder and, if the LD block resides in a user-defined folder, expand the user-
defined folder.
3. Optionally right-click the LD block and choose Check Block. This validates the LD block. If the logic contains errors,
error messages appear in the Feedback Zone. If the logic contains errors, fix them.
4. Right-click the LD block and choose Copy.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 87


Logic Programs and Blocks
5 LD Editor

The contents of the LD block are copied to the Windows Clipboard.


5. Paste the content of the Windows Clipboard into a text editor.

The LD logic is pasted as text.

To copy a sec ti on of LD log ic as text


1. Optionally right-click the LD block and choose Check Block. This validates the LD block. If the logic contains errors,
error messages appear in the Feedback Zone. If the logic contains errors, fix them.
2. In the LD editor, select the cells that contain the logic you want to copy as text.
3. Right-click the selected logic and choose Copy.

The LD logic is copied to the Windows Clipboard.


4. Paste the content of the Windows Clipboard into a text editor.

The LD logic is pasted as text.

T o cop y t e x t i nt o t he L D e d i t or
1. In the text editor, select and copy the text representing LD logic to the Windows clipboard.
2. In the LD editor, do one of the following:
■ Select the cells that you want to overwrite.
- or -

Click the cell that will be at the upper left corner of the LD logic you want to
paste.
3. Right-click and choose Paste.

Existing cells in the LD editor are overwritten with the content of the Windows
clipboard.

T o mo ve or dup lica te LD lo gic


1. In the LD editor, select a range of logic.
2. To move it:

Click the selection and drag it to a new location.
- or -
To duplicate it:

Press CTRL while clicking the selection, and drag the selection to where you
want to place the duplicate.
When you release the mouse button, the selection is respectively moved to the
new location or a duplicate copy of the selected logic is placed in the new area.
Want to know more? In the online help index, look up “Copying LD Logic as Text: Overview”.

88 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
LD Editor

Working with the LD Editor Online


When online in monitor mode, you can monitor the Controller but cannot change
anything in the Controller or edit your logic. The LD editor animates LD logic to
reflect program execution in the Controller. Data values change typically every
250 milliseconds while coils and contacts indicate power flow. The number of
milliseconds is set in the Update Rate target property. (See “To configure a
Controller target”, on page 31.)
When you are online in programmer mode, you can edit your logic, make changes
in the Controller, and monitor the Controller. Many GE Fanuc targets also support
Run Mode Store; that is, you can download logic to them when they are running.
See “Offline, Online: monitor mode, programmer mode”, on page 39.

Online status is indicated by Rung Number Power flow is indicated by bolded lines. The contacts and coils that are set to ON
the lightning bolt. become green when the Controller is active.

Online Status
is indicated
by the color
of the target A red, underlined
icon. variable indicates that it
has been forced ON.

Right-click a
variable to
force it.

Controller
Status and
sweep time
are displayed
in real-time in
the Inspector.

Feedback Zone
indicates the status of
operations like
Monitor and change values in real-time with the Data downloads.
Controller Status is indicated in the
Watch tool. status bar.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 89


Logic Programs and Blocks
5 LD Editor

Three methods are at your disposal to make changes in your LD logic and
download the changes to an online running Controller:
■ Test Edit (PACSystems* only): see page 90.
■ Word-for-word changes: see page 91.
■ Go not equal, keep working, and download changes: see page 92.

You can also affect BOOL variables during execution. See page 92.

Test Edit (PACSystems* only)


With Test Edit, you can perform transacted online programming. That is, you can
modify an LD block in the LD editor while seeing both the original and modified
logic, test the new logic's execution on the PACSystems*, and then either keep the
modified logic or roll back to the original logic.

T o b e gin e d i ti ng i n Te s t E di t
1. In the LD editor, start modifying the logic.
The Logic Change Options dialog box appears.
2. Select Enter Test Edit Mode and click OK.
The LD editor is placed in Online Edit mode, with some visual cues to remind you
that a Test Edit session is in progress. Because Test Edit is an extension of the Run
Mode Store (RMS), only changes supported for an RMS are supported in Test Edit
mode. At any time, you can test the modified logic.

T o b e gin t e st i n g t he m od i f ie d l ogi c
1. Click anywhere inside the LD editor.
2. From the Debug menu, choose Begin Test.
The modified logic is downloaded to the PACSystems*, which then executes the
modified logic. The original block of logic is retained in PACSystems* memory as
an inactive block.
You now have three possible courses of action:

Cancel the test and continue editing the logic while in Test Edit mode.
■ Cancel Test Edit mode and restore the original logic in the PACSystems*.

Accept the changes you tested and commit them to the PACSystems*.

T o can ce l th e t e st a n d c ont i nu e e d i t i n g t he log ic wh i le i n T e st Edi t m od e


1. Click anywhere inside the LD editor.

90 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
LD Editor

2. From the Debug menu, choose Cancel Test.


The modified logic block is deactivated in the PACSystems*. The original block is
activated and executed. The modified logic block retains its changes in the LD
editor and you can continue editing it and test it again later.

T o can ce l Te s t E di t m od e a n d re st ore t he ori gi n a l log ic i n t h e P AC Sy st e m s*


1. Click anywhere inside the LD editor.
2. From the Debug menu, choose Cancel Edit.
If you made no changes to logic, the Test Edit session ends immediately. If you
made any changes to logic, the Cancel Test Edit dialog box appears.
3. In the Cancel Test Edit dialog box, select one of the following options and click OK.

Restore original logic in editor and maintain equality: The PACSystems*
deactivates and deletes the modified block of logic, and it activates and
executes the original block. The LD editor discards the modified logic from the
block, retaining only the block's original logic. Your Test Edit session ends. You
are online in programmer mode and logic equal.
■ Keep modified logic in editor and lose equality: The PACSystems* deactivates
and deletes the modified block of logic, and it activates and executes the
original block. The LD editor retains the modified block of logic and no longer
displays the original logic where it was different. Your Test Edit session ends.
You are online in programmer mode and logic not equal.

T o a cce p t t he cha nge s y ou t e st e d a nd co mm i t t he m to t h e P AC Sy st e m s*


1. Click anywhere inside the LD editor.
2. From the Debug menu, choose Accept Edit.
The modified logic is committed to the PACSystems*. The original logic is
completely deleted from the PACSystems*; it no longer exists as an inactive block.
The Test Edit session is ended. You are online in programmer mode and logic
equal.

Word-for-Word Changes
A word-for-word is a small change in logic made while online that fits in the same
amount of memory as the original logic. For example, changing the type of contact
or coil or changing an operand is usually a word-for-word change.
Word-for-word changes can be completed online to PACSystems*, Series 90*-70,
Series 90*-30, VersaMax*, and Series 90* Micro Controllers. (VersaMax* Nano /
Micro Controllers do not support word-for-word changes.)

GFK-1918K Proficy* Logic Developer - PLC* 5.80 91


Logic Programs and Blocks
5 LD Editor

T o ma ke wor d-f or- wor d chan ge s


1. While online to a target Controller, make a change to LD logic that does not change the logic size.
2. Do one of the following:
■ If the Logic Change Options dialog box appears, select Word-for-word change
and click OK.
- or -

If the Word for Word Change dialog box appears, click Yes.
The change is downloaded to the Controller.

Go not equal, keep working, and download changes


If you make changes in logic that do not qualify for Test Edit or a word-for-word
change, or if you choose not to enter Test Edit mode or make a word-for-word
change, logic becomes not equal.
To regain equality, you can download your changes to the Controller (see page 41)
or upload the logic from the Controller (see page 42). You can generally download
to the Controller whether the target is running or not. All Controller families
support this Run Mode Store capability, but not every Controller in every family.

Affecting BOOL variables

To tu rn o n/ off o r forc e a var iable


• In the LD editor, right-click a BOOL variable anywhere in LD logic and choose Force ON, Force OFF, Toggle Force,
Turn ON, Turn OFF, or Toggle IO.
Note: Forcing a variable ON or OFF overrides any actions the application may
take during runtime. That is, if a variable is forced OFF (0), but LD logic is trying to
set it to ON (1), it remains set to OFF.
Want to know more? In the online help index, look up “Test Edit: an Overview”, “working
online with variables and LD logic: overview“, and "Run Mode Store (RMS)".

LD Instructions
The following is a list of all LD instructions available in Logic Developer - PLC*.
Companion help indicates which Controllers support the instructions.
Want to know more? In the online help index, look up “LD Instructions”.

92 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
LD Editor

Adv anc e d M at h
ACOS ATAN EXP LN_LREAL*p SIN_LREAL*p TAN
p p p p
ACOS_LREAL* ATAN_LREAL* EXP_LREAL* LN_REAL* SIN_REAL*p TAN_LREAL*p
ACOS_REAL*p ATAN_REAL*p EXP_REAL*p LOG SQRT_DINT TAN_REAL*p
ASIN COS EXPT LOG_LREAL*p SQRT_INT
p p p p
ASIN_LREAL* COS_LREAL* EXPT_LREAL* LOG_REAL* SQRT_LREAL*p
ASIN_REAL*p COS_REAL*p LN SIN SQRT_REAL

Bit Operat ion s


AND_DWORD* BIT_SET_DWORD* NOT_WORD SHIFTL_DWORD*
AND_WORD BIT_SET_WORD OR_DWORD* SHIFTL_WORD
BIT_CLR_DWORD* BIT_TEST_DWORD* OR_WORD SHIFTR_DWORD*
BIT_CLR_WORD BIT_TEST_WORD ROL_DWORD* SHIFTR_WORD
BIT_POS_DWORD* MASK_COMP_DWORD ROL_WORD XOR_DWORD*
BIT_POS_WORD MASK_COMP_WORD ROR_DWORD* XOR_WORD
BIT_SEQ NOT_DWORD* ROR_WORD

Coi ls
COIL NCCOIL NTCOIL*p PTCOIL*p SETCOIL
CONTCOIL NEGCOIL POSCOIL RESETCOIL

Con t act s
CONTCON HIALR* NCCON NOCON NTCON*p PTCON*p
FAULT* LOALR* NEGCON* NOFLT* POSCON*

Con t rol
DO_IO EXIT_FOR* MASK_IO_INTR R_TRIG* p SUS_IO* SWITCH_POS* P
DRUM F_TRIG* P PID_IND SCAN_SET_IO* p SUSP_IO_INTR
END_FOR* FOR_LOOP* PID_ISA SER SVC_REQ

An asterisk followed by the letter P (*p) indicates the instructions exclusive to PACSystems*
Controllers. An asterisk followed by “ 70“ (*70) indicates the instructions exclusive to Series 90*-
70 Controllers. A simple asterisk (*) indicates the instructions shared by PACSystems* and Series
90*-70 Controllers and exclusive to them.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 93


Logic Programs and Blocks
5 LD Editor

Con ve r sion s
BCD4_TO_INT DEG_TO_RAD_REAL* P INT_TO_DINT* RAD_TO_DEG_REAL* P TRUNC_INT
BCD4_TO_REAL DINT_TO_BCD8* INT_TO_REAL REAL_TO_DINT UINT_TO_BCD4*
BCD4_TO_UINT* DINT_TO_INT* INT_TO_UINT* REAL_TO_INT UINT_TO_DINT*
P P P
BCD8_TO_DINT* DINT_TO_LREAL* LREAL_TO_DINT* REAL_TO_LREAL* UINT_TO_INT*
P
BCD8_TO_REAL* DINT_TO_REAL LREAL_TO_REAL* REAL_TO_UINT* UINT_TO_REAL*
DEG_TO_RAD DINT_TO_UINT* RAD_TO_DEG REAL_TO_WORD WORD_TO_REAL
P
DEG_TO_RAD_LREAL* INT_TO_BCD4 RAD_TO_DEG_LREAL* P TRUNC_DINT

Cou nt e rs
DNCTR UPCTR

Dat a Mo ve
BLK_CLR_WORD BUS_TS_BYTE* P DATA_INIT_REAL* SHFR_WORD
P
BLKMOV_DINT* BUS_TS_DWORD* DATA_INIT_UINT* SWAP_DWORD*
P
BLKMOV_DWORD* BUS_WRT_BYTE* DATA_INIT_WORD* SWAP_WORD*
BLKMOV_INT BUS_WRT_DWORD* P MOVE_BOOL VME_CFG_READ*70
BLKMOV_REAL BUS_WRT_WORD* P MOVE_DINT* VME_CFG_WRITE*70
BLKMOV_UINT* COMM_REQ MOVE_DWORD* VME_RD_BYTE* 70
BLKMOV_WORD DATA_INIT_ASCII* MOVE_INT VME_RD_WORD* 70
BUS_RD_BYTE* P DATA_INIT_COMM* MOVE_LREAL* P VME_RMW_BYTE* 70
BUS_RD_DWORD* P DATA_INIT_DINT* MOVE_REAL VME_RMW_WORD* 70
BUS_RD_WORD* P DATA_INIT_DLAN MOVE_UINT* VME_TS_BYTE* 70
BUS_RMW_BYTE* P DATA_INIT_DWORD* MOVE_WORD VME_TS_WORD* 70
BUS_RMW_DWORD* P DATA_INIT_INT* SHFR_BIT VME_WRT_BYTE* 70
BUS_RMW_WORD* P DATA_INIT_LREAL* P SHFR_DWORD* VME_WRT_WORD* 70

94 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
LD Editor

Data Table
ARRAY_MOVE_BOOL FIFO_WRT_WORD* SEARCH_GE_UINT* SEARCH_NE_DINT
ARRAY_MOVE_BYTE LIFO_RD_DINT* SEARCH_GE_WORD SEARCH_NE_DWORD*
ARRAY_MOVE_DINT LIFO_RD_DWORD* SEARCH_GT_BYTE SEARCH_NE_INT
ARRAY_MOVE_DWORD* LIFO_RD_INT* SEARCH_GT_DINT SEARCH_NE_UINT*
ARRAY_MOVE_INT LIFO_RD_UINT* SEARCH_GT_DWORD* SEARCH_NE_WORD
ARRAY_MOVE_UINT* LIFO_RD_WORD* SEARCH_GT_INT SORT_INT*
ARRAY_MOVE_WORD LIFO_WRT_DINT* SEARCH_GT_UINT* SORT_DINT*
ARRAY_RANGE_DINT* LIFO_WRT_DWORD* SEARCH_GT_WORD SORT_WORD*
ARRAY_RANGE_DWORD* LIFO_WRT_INT* SEARCH_LE_BYTE TBL_RD_DINT*
ARRAY_RANGE_INT* LIFO_WRT_UINT* SEARCH_LE_DINT TBL_RD_DWORD*
ARRAY_RANGE_UINT* LIFO_WRT_WORD* SEARCH_LE_DWORD* TBL_RD_INT*
ARRAY_RANGE_WORD* SEARCH_EQ_BYTE SEARCH_LE_INT TBL_RD_UINT*
FIFO_RD_DINT* SEARCH_EQ_DINT SEARCH_LE_UINT* TBL_RD_WORD*
FIFO_RD_DWORD* SEARCH_EQ_DWORD* SEARCH_LE_WORD TBL_WRT_DINT*
FIFO_RD_INT* SEARCH_EQ_INT SEARCH_LT_BYTE TBL_WRT_DWORD*
FIFO_RD_UINT* SEARCH_EQ_UINT* SEARCH_LT_DINT TBL_WRT_INT*
FIFO_RD_WORD* SEARCH_EQ_WORD SEARCH_LT_DWORD* TBL_WRT_UINT*
FIFO_WRT_DINT* SEARCH_GE_BYTE SEARCH_LT_INT TBL_WRT_WORD
FIFO_WRT_DWORD* SEARCH_GE_DINT SEARCH_LT_UINT*
FIFO_WRT_INT* SEARCH_GE_DWORD* SEARCH_LT_WORD
FIFO_WRT_UINT* SEARCH_GE_INT SEARCH_NE_BYTE

Mat h
ABS_DINT* ADD_REAL DIV_UINT* MUL_MIXED* SUB_DINT
ABS_INT* ADD_UINT* MOD_DINT MUL_REAL SUB_INT
P
ABS_LREAL* DIV_DINT MOD_INT MUL_UINT* SUB_LREAL* P
ABS_REAL* DIV_INT MOD_UINT* SCALE_DINT* P SUB_REAL
P
ADD_DINT DIV_LREAL* MUL_DINT SCALE_INT SUB_UINT*
P
ADD_INT DIV_MIXED* MUL_INT SCALE_UINIT*
ADD_LREAL* P DIV_REAL MUL_LREAL* P SCALE_WORD

GFK-1918K Proficy* Logic Developer - PLC* 5.80 95


Logic Programs and Blocks
5 LD Editor

Pr og ram F lo w
ARG_PRES* p END H_WIRE LABEL MCRN
CALL ENDMCR JUMP LABELN V_WIRE
COMMENT ENDMCRN JUMPN MCR

Re l ati on al
CMP_DINT* EQ_LREAL* P GE_UINT* LE_INT LT_REAL RANGE_DINT
CMP_INT* EQ_REAL GT_DINT LE_LREAL* P LT_UINT* RANGE_DWORD*
P
CMP_LREAL* EQ_UINT* GT_INT LE_REAL NE_DINT RANGE_INT
P
CMP_REAL* GE_DINT GT_LREAL* LE_UINT* NE_INT RANGE_UINT*
P
CMP_UINT* GE_INT GT_REAL LT_DINT NE_LREAL* RANGE_WORD
EQ_DINT GE_LREAL* P GT_UINT* LT_INT NE_REAL
EQ_INT GE_REAL LE_DINT LT_LREAL* P NE_UINT*

T i m e r F un ct i o n B lo ck s
OFDT_HUNDS ONDTR_HUNDS TMR_HUNDS TOF* P
OFDT_SEC* ONDTR_SEC* TMR_SEC* TON* P
OFDT_TENTHS ONDTR_TENTHS TMR_TENTHS TP* P
OFDT_THOUS ONDTR_THOUS TMR_THOUS

Ve rsaM ax M icro M ot ion


BLENDING FIND_HOME GO_HOME JOGGING STOP_MOTION

96 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
FBD Editor

FBD EDITOR
The Function Block Diagram (FBD) editor is used to create logic with the Function
Block Diagram programming language. FBD is a process language. FBD logic
graphically represents the programmed actions performed by a Controller as it
executes.
The FBD editor is free form; that is, instructions and text boxes can be placed
anywhere on the FBD editor where there is empty space. Sequences of instructions
can be wired together horizontally and vertically.
You can work with the FBD editor while offline to edit a disk copy of a project, or
Navigator: Project tab you can edit an FBD block of logic online, but this causes the logic to become not
An FBD Block
equal until you download the FBD block.
You can customize the appearance and behavior of the FBD editor by setting
options (see page 22).
An FBD block is a named section of FBD Logic that is compiled and downloaded
to the Controller represented by the associated target.

T o cus to m i z e t h e F B D e d i t o r
1. In the Options tab of the Navigator, expand the Editors folder, then expand the Function Block Diagram
folder.
2. Right-click the Colors and Preferences page and choose Properties.
The configurable settings appear as properties in the Inspector.
3. In the Inspector, adjust settings as required.

T o cre a t e a n FBD b loc k


1. In the Project tab of the Navigator, right-click the Program Blocks folder, point to New, and then
choose FBD Block.
A new FBD block with a default name is created.
2. Rename the block as desired.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 97


Logic Programs and Blocks
5 FBD Editor

T o ope n an F BD bl ock for e dit in g


• In the Project tab of the Navigator, double-click an FBD block.
The block opens in the FBD editor.
Note: You can have multiple blocks open for editing. To navigate to another open
FBD block, click the tab that displays its name at the top of the editor window.

Working with the FBD Editor Offline


While in offline mode, there is no live communication between the FBD editor
and the target. Most logic development is done while offline. The following
diagram illustrates some of the more common operations you can perform using
the FBD editor offline.
Insert Click a connection
instructions and point of an instruction
Text boxes from to draw a wire from
the Toolchest or one instruction to
right-click in the another
FBD editor

Drag FBD instructions


Drag variables from the Toolchest
from the into an empty space
Navigator into in the FBD editor
the FBD editor

Hover over a
variable to see
information related
to the variable
Use the
Inspector to edit
the number of
inputs for some
FBD instructions Displays a list of the
places the selected
variable is used or a
list of the blocks the
selected block is
called from
The Companion
automatically
provides Right-click in an
information on empty space in the
what you click FBD editor and
choose an
instruction to insert

98 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
FBD Editor

To ins e rt an ins tr uc ti on
1. In the FBD editor, right-click an empty cell and choose Insert Instruction.

A smart list appears listing all available instruction mnemonics.


2. Choose an instruction mnemonic from the list and press ENTER.

To assi gn a para meter besid e an i nstr uctio n


There are two methods to assign a parameter to an instruction.
First method (from the FBD editor)
1. In the FBD editor, hover the mouse pointer immediately before an input connection point or immediately beyond an
output connection point of an FBD instruction, so that the mouse pointer appears as .

The numeral 1 indicates that for this FBD


This ADD instruction requires two block, this instruction is solved first
inputs (at IN1 and IN2)
This ADD instruction requires one output
(at Q)

The mouse pointer indicates that a


parameter can be assigned to this
connection point beside the ADD
instruction

2. Double-click the connection point.


3. In the smart list that appears, enter or choose an existing variable, constant, or expression to assign to the
instruction parameter.
In the FBD editor, the instruction may display as follows:

Note: Inside the rectangle of the ADD instruction, the “1“ indicates the solve order
of the instruction. Under the variable myCounter, the “1“ is the initial value of
myCounter.
Second method (outside the FBD editor)
1. In the Variables tab of the Navigator, or the Data Watch tool, select a variable.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 99


Logic Programs and Blocks
5 FBD Editor

2. Drag the selected variable to the connection point of an FBD instruction.

3. When the mouse pointer appears as , release the left mouse button to assign the variable to a parameter of the
FBD instruction.
For example, the following diagram shows that you can assign a parameter to the
FBD SUBTRACT instruction at the output connection point named Q.

After you have assigned the parameter, the instruction may appear as follows:

Note: In the above diagram, “61“ is the initial value of myResult. “4“ inside the
rectangle of the FBD instruction indicates its solve order.
Want to know more? From the Help menu, select Search. Look up “solve order”. Select “FBD
Editor: an Overview“.

100 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
FBD Editor

To assi gn a para meter abov e a n FBD ins t ruc ti on or f un ction bl ock ins t ance
The FBD Call instruction and every function block instance (an instance of a
counter, PID, timer, HART utility, or user-defined function block) require a
parameter to be assigned immediately above the instruction or instance.
1. In the FBD editor, hover with the mouse pointer immediately above an FBD Call or function block instance so that the
mouse pointer appears as .

2. When the mouse pointer appears as


, click the left mouse button.
The instruction or function block instance appears in the FBD editor with the
parameter selected, as shown below.

3. Without moving the mouse pointer, click again.

A smart list appears. If this is an FBD Call instruction, the smart list contains a list of
all callable blocks of logic in your target. If this is an FBD function block instance,
the smart list contains a list of variables that you can choose from to assign
instance data to the function block instance. Normally you would choose or create
instance data that is not used by any other function block instance, but you can
assign the same instance data to multiple function block instances if you want.
4. In the smart list, enter or choose an existing block of logic, or enter a new variable, or enter or choose an existing
variable.
The block appears as the destination of the FBD Call or the variable is assigned as
instance data to the function block instance.

To chec k (va lidate) a sin gl e F BD blo ck


1. In the Project tab of the Navigator, expand the target that contains the block to check, and then
expand the Logic folder.
2. Expand the Program Blocks folder and then, if the block resides in a user-defined folder, expand the user-
defined folder.
3. Right-click the block and choose Check Block.

Machine Edition* checks the block for errors. Any messages or errors are displayed
in the Build tab of the Feedback Zone.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 101


Logic Programs and Blocks
5 FBD Editor

To change the number of inputs for FBD instructions (ADD, AND, MUL, OR, SUB, XOR)
1. In the FBD editor, select an ADD, AND, MUL, OR, SUB, or XOR instruction.
2. In the Inspector, select the Number of Inputs property, and then enter or choose from the list the number of inputs
you need.
3. If required, draw a wire or assign a variable or constant to the input and output parameters.

Want to know more? In the online help index, look up “FBD Block”. Click the Related Topics
button and choose “FBD Controller logic: an Overview“.

To draw a wi re
Notes:
■ At least two instructions must exist in the FBD editor.

You cannot draw a wire to or from a Text box.
1. In the FBD editor, hover the mouse pointer above a connection point of an FBD instruction or function block instance.

When the mouse pointer appears as , you can start a wire. See the diagram
below.

2. Hold down the left mouse button, and then drag the mouse pointer to a connection point of another FBD instruction

3. Continue to hold down the left mouse button and drag the mouse pointer to a connection point of another FBD
instruction, until the mouse pointer appears as .
This indicates that the current location is a valid end point for the wire. See the
diagram below.

4. Release the left mouse button.

102 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
FBD Editor

The newly drawn wire appears as a solid (analog) or a dashed (discrete) line in the
FBD editor. See the diagram below.

Note: In the above diagram:



The numbers “1“ and “2“ inside the rectangles have been reversed, indicating a
change in the solve order.

The zeroes under the wire are the value that is travelling over the wire. It’s the
same value at both ends.
To ne ga te an F BD par amet er
(For discrete parameters only.)
1. In the FBD editor, assign a BOOL parameter to a connection point of an FBD instruction that requires a BOOL
variable.
The diagram may appear as shown below.

2. Right-click a BOOL variable assigned to a connection point, for example, in the diagram above, BOOL1.
3. In the list box that appears, choose Negate. The diagram now appears as shown below.

Note: Negating a BOOL parameter while online causes logic to be not equal;
turning a BOOL parameter ON/OFF while online does not affect logic equality.

T o ne ga te an F BD w ire
(For discrete FBD wires only.)
1. If required, draw the FBD wire from a connection point that requires a BOOL variable, to a connection point that also
requires a BOOL variable.
If the wire is discrete, it appears as a dotted line .
2. Right-click the wire, and then choose Negate.

The wire now appears as .

GFK-1918K Proficy* Logic Developer - PLC* 5.80 103


Logic Programs and Blocks
5 FBD Editor

T o mo ve or dup lica te FB D log ic


1. In the FBD editor, select an FBD instruction or Text box.
2. To move it:
■ Click the selection and drag it to a new valid location. When you move an
instruction, the parameters and wires assigned to it move along with it.
- or -
To duplicate it:
Press CTRL while clicking the selection and drag the selection to where you want to
place the duplicate. When you release the mouse button, a duplicate copy of the
selected instruction is placed in the new area. When you duplicate an instruction,
its parameters are also duplicated; wires are not duplicated.
Want to know more? From the Help menu, select Search. Paste “editing FBD blocks“
(including the quotation marks) and then choose “Editing FBD blocks (Controller)“.

T o zoom in or zo om o ut an F BD blo ck
Note: To zoom in an FBD block display in the FBD editor makes the FBD appear
larger; to zoom out an FBD block display makes the FBD appear smaller.
1. Click anywhere in the FBD editor.
2. Do one of the following:

In the Inspector, expand the Diagram Settings group of properties, and then
set the zoom property.
- or -
■ To zoom out, press the “-“ key. To zoom in, press the “+“ key.

104 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
FBD Editor

Working with the FBD Editor Online


When online in monitor mode, you can monitor the Controller but cannot change
anything in the Controller or edit your logic.
When you are online in programmer mode, you can edit your logic, make changes
in the Controller, and monitor the Controller. PACSystems* targets also support
Run Mode Store; that is, you can download logic to a running PACSystems.
See “Offline, Online: monitor mode, programmer mode”, on page 39.
Online status is indicated by the Text box for
lightning bolt. comments

Online Status
is indicated
by the color
of the target A wire with a solid line
icon. indicates analog

A wire with a dotted


line indicates discrete

Right-click a
variable to
force it.

Controller
Status and
sweep time
are
displayed
in real-
time in the Monitor and change
Inspector. values in real-time
The Companion with the Data Watch
automatically tool.
provides
information on Feedback Zone indicates
what you click. the status of the Controller. Controller Status is
indicated in the status

To tu rn o n/ off o r forc e a var iable


• In the FBD editor, right-click a BOOL variable anywhere in FBD logic and choose Force ON, Force OFF, Toggle
Force, Turn ON, Turn OFF, or Toggle IO.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 105


Logic Programs and Blocks
5 FBD Editor

Note: Forcing a variable ON or OFF overrides any actions the logic may take
during runtime. That is, if a variable is forced OFF (0), but FBD logic is trying to
turn it ON (1), it stays OFF.
Want to know more? From the Help menu, select Search. Enter “Working with Variables and
FBD Logic Online“ (including the quotation marks).

FBD Instructions, Functions, and Function Blocks


(PACSystems* only.) The following is a list of all FBD instructions, functions, and
function blocks available in Logic Developer - PLC*.
Want to know more? In the online help index, look up “FBD Instructions“.

Adv anc e d M at h
ABS ASIN COS EXPT LOG SQRT
ACOS ATAN EXP LN SIN TAN

Bit Operat ion s


AND OR ROR SHIFTR
NOT ROL SHIFTL XOR

Com pa riso n
CMP GE LE NE
EQ GT LT RANGE

Co nt ro l
DO_IO MASK_IO_INTR PID_ISA SCAN_SET_IO SUSP_IO_INTR
F_TRIG PID_IND R_TRIG SUS_IO SVC_REQ

Cou nt e rs
DNCTR UPCTR

106 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
FBD Editor

Dat a Mo ve
BUS_RD BUS_RMW_WORD BUS_WRT MOV
BUS_RMW_BYTE BUS_TS_BYTE COMM_REQ
BUS_RMW_DWORD BUS_TS_WORD FANOUT

Mat h
ADD MOD NEG SUB
DIV MUL SCALE

Pr og ram F lo w
ARG_PRES CALL

T i m e r F un ct i o n B lo ck s
OFDT_HUNDS ONDTR_HUNDS TMR_HUNDS TOF
OFDT_SEC ONDTR_SEC TMR_SEC TON
OFDT_TENTHS ONDTR_TENTHS TMR_TENTHS TP
OFDT_THOUS ONDTR_THOUS TMR_THOUS

T yp e Con ve rs ion
BCD4_TO_INT DINT_TO_DWORD INT_TO_DINT REAL_TO_DINT UINT_TO_DINT
BCD4_TO_REAL DINT_TO_INT INT_TO_REAL REAL_TO_INT UINT_TO_INT
BCD4_TO_UINT DINT_TO_LREAL INT_TO_UINT REAL_TO_LREAL UINT_TO_REAL
BCD8_TO_DINT DINT_TO_REAL INT_TO_WORD REAL_TO_UINT UINT_TO_WORD
BCD8_TO_REAL DINT_TO_UINT LREAL_TO_DINT TRUNC_DINT WORD_TO_INT
DEG_TO_RAD DWORD_TO_DINT LREAL_TO_REAL TRUNC_INT WORD_TO_UINT
DINT_TO_BCD8 INT_TO_BCD4 RAD_TO_DEG UINT_TO_BCD4

GFK-1918K Proficy* Logic Developer - PLC* 5.80 107


Logic Programs and Blocks
5 IL Editor

IL EDITOR
Instruction List (IL) is a programming language specified by the IEC 61131-3
standard. This text language is accumulator-based and much like the assembly
languages used for programming microprocessors. The instructions executed by an
IL block modify or use an accumulator that is located in Controller memory. Two
types of accumulators are defined: one analog accumulator for numeric and
bitwise operations and eight boolean accumulators for discrete logic to support
eight levels of nested boolean expressions. The IL editor is free-form with an option
to apply a standard formatting rule. The appearance and behavior of the IL editor is
user-configurable.
Navigator: Project tab
Note: Only Series 90*-30, VersaMax* Controllers, and VersaMax* Nano/Micro
An IL Block
support IL logic.

T o con f i g ure a cc um ul at ors


1. In the Project tab of the Navigator, right-click the Program Blocks folder and choose Properties.
The Inspector displays the Accumulator Address properties.
2. In the Boolean Start property, enter the reference address of the first of eight Controller memory locations to use for
boolean accumulators.
The ending address is calculated automatically. The memory area must be %T,
%M, or %Q.
3. In the Analog Start property, enter the Controller memory locations to use for the analog accumulator.

The ending address is calculated automatically. The memory area must be %R,
%AI or %AQ.

T o cre at e a n IL blo ck
1. In the Project tab of the Navigator, right-click the Program Blocks folder, point to New, and choose IL
Block.
An empty IL block with the default name ”ILBkn” is added to the folder, where n
represents a unique number.
2. Rename the block as desired.

T o ope n a n I L b lock f or e d i t i n g
• In the Project tab of the Navigator, right-click an IL Block and choose Open.
The block opens in the IL editor.

108 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
IL Editor

Note: You can have multiple blocks open for editing. To navigate to another open
IL block, click the tab displaying its name at the top of the editor window.

Working with the IL Editor Offline


Most project development is carried out while offline from the target Controller.
Editing while offline provides maximum flexibility and enables you to interact with
the Machine Edition* tools as shown in the following diagram.

The Variables tab of Right click in


the Navigator lists all the IL Editor
the variables in your to insert an
projects. instruction or
variable.
Drag and drop
variables into the IL
editor.

A description of a
variable pops up when
you hover the mouse
over it.

Configure the
accumulators in the
Inspector.
The Build tab of the
Feedback Zone lists
The Companion error messages
automatically when you validate.
provides information
on what you click.

To ins e rt an ins tr uc ti on
1. In the IL editor, right-click and choose Insert Keyword.

A smart list appears listing all available instruction mnemonics.


2. From the list, select an instruction and press ENTER.

The instruction is inserted in your logic.

To assi gn o perand s to an ins t ruc ti on


1. In the IL editor, right-click and choose Insert Variable.

A smart list appears showing all your defined variables.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 109


Logic Programs and Blocks
5 IL Editor

2. Type, or choose from the list, a variable name or reference address and then press ENTER.

The name appears in your logic.


Note: If you entered a reference address or a new variable name, you must create
a variable from it.

To create a v ariab le f rom a r ef e renc e addr ess


• In the IL editor, right-click a reference address, point to Create “name” as, and then choose a data type.
A variable is created and a default name is applied. For example, if the reference
address is %R0032, the auto-created variable is named R00032.

T o cre at e a v ariab le f rom a n am e


1. In the IL editor, right-click a name, point to Create “name” as, and then choose a data type.

A variable is created with the name you right-clicked.


2. Map the variable to Controller memory. (See page 20.)

T o mo ve or dup lica te IL lo gic


1. In the IL editor, select a range of logic.
2. To move it, click the selection and drag it to a new location. To duplicate it, press CTRL while clicking the selection, and
drag the selection to where you want to place the duplicate.
When you release the mouse button, the selection is respectively moved to the
new location or a duplicate copy of the selected logic is placed in the new area.

T o i ns e rt a n i nl ine com m e n t
1. In the IL editor, click where you want to insert an inline comment.
2. Type an apostrophe (‘) followed by comment text.
3. Press ENTER to complete the comment.

T o i ns e rt a b lo ck c om m en t
1. In the IL editor, click where you want to insert a block comment.
2. Type (* followed by comment text.

A block comment can contain any number of characters and can span multiple
lines.
3. Type *) to complete the block comment.

T o re for ma t IL lo gic
• In the IL editor, right-click and choose Beautify Source.
The entire content of the IL editor is reformatted according to the default formatting
(indentation) rules.

110 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
IL Editor

Working with the IL Editor Online


When online in monitor mode, you can monitor the Controller but cannot change
anything in the Controller or edit your logic.
When you are online in programmer mode, you can edit your logic, make changes
in the Controller, and monitor the Controller. Many GE Fanuc targets support Run
Mode Store; that is, you can download logic to them when they are running.
See “Offline, Online: monitor mode, programmer mode”, on page 39.

Target icon
changes to
indicate
status of the
Controller.
Hover the mouse
pointer over a
variable to show a
popup of its value.
Right-click a
BOOL to
change or The Feedback Zone
force its state. indicates that a
connection has been
established with the
Controller.

The
Companion Monitor and
automatically change variable
provides values in the Data
information Watch.
on what you
click. Controller Status is
indicated in the
status bar.

To mo ni to r a da ta v alue
• Click anywhere in the IL editor and hover the mouse pointer over a variable.
A tooltip appears, showing the variable’s current value. This value, however, does
not update automatically: you must move the mouse pointer away and back over
the variable to update the value.

To cha nge a BOOL var iable’ s state


• In the IL editor, right-click the BOOL variable whose value you want to change and choose Turn On, Turn Off, or
Toggle IO.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 111


Logic Programs and Blocks
5 IL Editor

The state of the variable in the target Controller changes when the command is
received. It remains in that state until acted on by the Controller’s logic.

To forc e a BOOL va riabl e’ s state


• In the IL editor, right-click a BOOL variable and choose Force On, Force Off, or Toggle Force.
The state of a forced variable remains unchanged, regardless of any actions by
Controller logic.

T o re m ove t he f orc e f r om a B O O L v aria b le


• In the IL editor, right-click a BOOL variable and choose Remove Forces.
The state of the forced variable is controlled by Controller logic from now on.

Downloading Online Changes to a GE Fanuc Controller


You can change your IL logic while online, but you must download the changes to
the Controller to maintain equality. Some GE Fanuc Controllers support the
downloading of changed IL logic even when they are executing.

T o m ak e ch an ge s to IL lo gic an d do wn load t he m t o a r un ni ng t arge t Con t rol le r ( if th e t arg e t Co nt ro lle r sup port s


it )
1. While online to a target Controller, make a change to IL logic.
2. In the Project tab of the Navigator, right-click the target and choose Download to Controller.
You are prompted to confirm a Run Mode Store. That is, the altered IL block will be
downloaded to the running Controller without stopping it.
Want to know more? In the online help index, look up “Downloading to running GE Fanuc
Controllers”.

112 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
IL Editor

IL Instructions
The following is a list of all IL instructions available in Logic Developer - PLC*.
Companion help indicates which Controllers support the instructions.
Basi c Ins t ruc ti ons
ADD GT LT OR ST_DINT XOR
AND LD_BOOL MOD ORN ST_INT XORN
ANDN LD_ENO MUL PT ST_REAL
DIV LD_INT NE R ST_WORD
EQ LDN_BOOL NOT S STN_BOOL
GE LE NT ST_BOOL SUB

Adv anc e d M at h
ACOS COS LN SQRT_DINT TAN
ASIN EXP LOG SQRT_INT
ATAN EXPT SIN SQRT_REAL

Bit Operat ion s


AND_WORD BIT_SEQ MASK_COMP_DWORD OR_WORD SHIFTL_WORD
BIT_CLR_WORD BIT_SET_WORD MASK_COMP_WORD ROL_WORD SHIFTR_WORD
BIT_POS_WORD BIT_TEST_WORD NOT_WORD ROR_WORD XOR_WORD

Con t rol
DO_IO DRUM PID_IND PID_ISA SER SVC_REQ

Con ve r sion s
BCD4_TO_INT DINT_TO_REAL RAD_TO_DEG REAL_TO_WORD WORD_TO_REAL
BCD4_TO_REAL INT_TO_BCD4 REAL_TO_DINT TRUNC_DINT
DEG_TO_RAD INT_TO_REAL REAL_TO_INT TRUNC_INT

Cou nt e rs
DNCTR UPCTR
An asterisk (*) indicates the instructions exclusive to VersaMax* Controllers.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 113


Logic Programs and Blocks
5 IL Editor

Dat a Mo ve
BLK_CLR_WORD BLKMOV_REAL COMM_REQ MOVE_BOOL MOVE_REAL SHFR_BIT
BLKMOV_INT BLKMOV_WORD MOVE_INT MOVE_WORD SHFR_WORD

Data Table
ARRAY_MOVE_BOOL SEARCH_EQ_INT SEARCH_GT_DINT SEARCH_LT_BYTE SEARCH_NE_WORD
ARRAY_MOVE_BYTE SEARCH_EQ_WORD SEARCH_GT_INT SEARCH_LT_DINT
ARRAY_MOVE_DINT SEARCH_GE_BYTE SEARCH_GT_WORD SEARCH_LT_INT
ARRAY_MOVE_INT SEARCH_GE_DINT SEARCH_LE_BYTE SEARCH_LT_WORD
ARRAY_MOVE_WORD SEARCH_GE_INT SEARCH_LE_DINT SEARCH_NE_BYTE
SEARCH_EQ_BYTE SEARCH_GE_WORD SEARCH_LE_INT SEARCH_NE_DINT
SEARCH_EQ_DINT SEARCH_GT_BYTE SEARCH_LE_WORD SEARCH_NE_INT

Mat h
ADD_DINT DIV_DINT MOD_DINT MUL_DINT SCALE_WORD* SUB_REAL
ADD_INT DIV_INT MOD_INT MUL_REAL SUB_DINT
ADD_REAL DIV_REAL MUL_INT SCALE_INT* SUB_INT

Pr og ram F lo w
CAL CALCN END_MCRN JMPC MCRN RETC
CALC END JMP JMPCN RET RETCN

Re l ati on al
EQ_DINT GE_DINT GT_DINT LE_DINT LT_DINT NE_DINT RANGE_DINT
EQ_INT GE_INT GT_INT LE_INT LT_INT NE_INT RANGE_INT
EQ_REAL GE_REAL GT_REAL LE_REAL LT_REAL NE_REAL RANGE_WORD

T i m e r F un ct i o n B lo ck s
OFDT_HUNDS ONDTR_HUNDS TMR_HUNDS
OFDT_TENTHS ONDTR_TENTHS TMR_TENTHS
OFDT_THOUS ONDTR_THOUS TMR_THOUS

114 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
ST Editor

ST EDITOR
Structured Text logic is a programming language specified by the IEC 61131-3
standard. The Structured Text (ST) Editor is a free-form text editor for editing
Structured Text logic 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 can edit an ST
block online, but this causes the logic to become not equal until you download the
ST block.
ST is a high-level language that uses various operators and functions. ST logic is
Navigator: Project tab supported by PACSystems* Controllers.
An ST Block

T o cus to m i z e t h e S T E di t or
1. In the Options tab of the Navigator, expand the Editors folder and then the Text folder.
2. Right-click a
page (Colors or Preferences), and choose Properties.
The configurable settings appear as properties in the Inspector.
3. In the Inspector, adjust the settings as required.

T o cre a t e a n ST b lo ck
1. In the Project tab of the Navigator, expand the Logic folder, right-click the Program Blocks
folder or a user-defined folder, point to New, and then choose ST block.
A new ST block with a default name is created under the Program Blocks folder or
under a user-defined folder.
2. (Optional.) Rename the block.

T o cre a t e a p a r a m e te r i z e d S T b loc k
1. Create an ST block.
2. Do one of the following:

In the Inspector, set parameters for the block.
- or -
■ Set the block’s Block Type property to Parameterized Block, and then optionally
schedule the parameterized block.
Notes:

By assigning parameters to the block, its Block Type property is automatically
changed to Parameterized Block.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 115


Logic Programs and Blocks
5 ST Editor


A parameterized block cannot have both interrupt scheduling and parameters.
Want to know more? In the online help index, look up “Parameterized Block“.

T o ope n an S T b lock for e dit in g


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

Working with the ST Editor Offline


The ST editor interacts with the Machine Edition* tools to provide maximum
flexibility when editing a program. The following diagram illustrates some of the
operations you can perform.
The Variables tab of
the Navigator lists all
the variables in your
targets. Right-click in
the ST editor
Drag and drop to insert an
variables into the ST instruction or
editor. variable.

A description of a
variable pops up when
you hover the mouse
pointer over it. Right-click in the ST
editor to perform
various operations.
Configure the
variables in the
Inspector.
The Build tab of
the Feedback
Zone lists error
The Companion
messages when
automatically
you validate.
provides information
on what you click.

116 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
ST Editor

T o ins e rt an ST vari able or k ey wo rd


1. In the ST editor, right-click and choose Insert Variable or Insert Keyword.
A smart list appears, prompting you to enter the name of an existing variable or
keyword.
2. Type, or choose from the list, the item you want, and then press ENTER.
The variable or keyword appears in the ST editor.
Notes:
■ Parameters and constants must be manually entered.

When entering an indirect reference as an operand, prefix the variable name
with @ after selecting it from the smart list, for example, @IntVar. Indirect
referencing is available for all register references (%R, %P, %L, %W, %AI, and
%AQ).
Want to know more? In the online help index, look up “Indirect References“.

T o cre at e a v ariab le f rom a n am e


• In the ST editor, right-click a name that was entered as an operand, point to Create "[name]" as, and then choose
a data type from the list that appears.
A new variable of the specified data type is created and substituted for the name at
every occurrence in the ST block. The name of the new variable is identical with
the original name.

T o i ns e rt a li ne com m e nt
1. In the ST editor, click where you want a line comment to begin.
2. Type an apostrophe (’) or // followed by comment text.
3. Press ENTER to complete the line comment. The line comment ends when a new line starts.

T o i ns e rt a b lo ck c om m en t
1. In the ST editor, click where you want a block comment to begin.
2. Type (* followed by comment text. A block comment can contain any number of characters and can span multiple
lines.
3. Type *) to complete the block comment.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 117


Logic Programs and Blocks
5 ST Editor

T o se le ct a r ang e o f S T log ic
1. In the ST editor, click at the beginning of the range.
2. Press and hold shift and then click at the end of the range. All logic within the range is selected.
Tips:

You can also click and drag from the beginning of the range to the end.

After selecting a range of logic, you can click anywhere in it and drag it to
another area in the ST editor.

T o mo ve or dup lica te ST lo gic


1. In the ST editor, select a range of logic.
2. To move it, click the selection and drag it to the new location. To duplicate it, press CTRL while clicking the selection,
and then drag the selection to where you want to place the duplicate.
When you release the mouse button, the selection is respectively moved to the
new location or a duplicate copy of the selected logic is placed in the new area.

T o loca te all o ccu rre n ce s of a vari able


1. In the Feedback Zone, click the References tab.
2. Click a variable anywhere it appears in ST logic, in the Variables tab of the Navigator, or in the Data Watch
tool.
Each occurrence of the variable in your project (for a given target) is listed in the
References tab of the Feedback Zone.

118 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
ST Editor

Working with the ST Editor Online


When online in monitor mode, you can monitor the Controller but cannot change
anything in the Controller or edit your logic.
When you are online in programmer mode, you can edit your logic, make changes
in the Controller, and monitor the Controller. PACSystems* targets also support
Run Mode Store; that is, you can download logic to a running PACSystems.
See “Offline, Online: monitor mode, programmer mode”, on page 39.

Target icon
changes to Hover the mouse
indicate pointer over a
status of the variable to see its
Controller. value in a tool tip.

Monitor variable
values in the Data
Watch. In online
Right-click a programmer mode,
BOOL to you can change the
change or values
force its state.

The Feedback Zone


In online programmer indicates the results
mode, change a of an online
variable’s current operation.
value or current state
in the Inspector.

The Companion The Controller


automatically Status appears in
provides information the status bar.
on what you click.

T o vie w a var iabl e va lue



In the ST editor, hover the mouse pointer over a variable to see its value. A tool
tip displays the variable name, address, description, data type, and current
value. If this is a BOOL variable, the tool tip also displays if it has been forced
On (1) or Off (0).

GFK-1918K Proficy* Logic Developer - PLC* 5.80 119


Logic Programs and Blocks
5 ST Editor

T o vie w t h e va lue of a n S T p a ram e t er i z e d b loc k p a ra m e t e r


1. In the Project tab of the Navigator, expand the Program Blocks folder.
2. If the block that contains the call to the ST parameterized block whose parameter you want to monitor resides in a
user-defined folder, expand the user-defined folder.
3. Right-click the block that contains the call and choose Open.
The block appears in the appropriate editor.
4. In the editor, right-click the block call to the ST parameterized block and choose Open Block.
The called ST parameterized block appears in the ST editor.
5. In the ST editor, hover the mouse pointer over the parameterized block parameter (variable) to see its value.
Depending on the context of the parameter, the tool tip displays the following
items:
■ If the text refers to a parameter instead of a variable, and the block was opened
from a CALL instruction (in an LD, ST, or FBD block), then if possible, the
parameter is associated with the variable used in the call the block was opened
from. In this case, the tool tip displays the parameter name, address of the
variable, description of the parameter, data type, and value of the variable.

If the text refers to a parameter instead of a variable, and the block was not
opened from a CALL instruction (in an LD, ST, or FBD block), then the tool tip
displays the parameter name, description of the parameter, and data type only.
In either case, if this is a forced BOOL variable, the tool tip also displays if the
variable has been forced On (1) or Off (0).
Note: The tool tip displays a variable’s current value only if logic is equal; the tool
tip doesn’t display the current value if logic is not equal.

To cha nge a BOOL var iable’ s state


• In the ST editor, right-click the BOOL variable whose value you want to change and choose Turn On, Turn Off, or
Toggle IO.
The state of the variable in the target Controller changes when the Controller
receives the command.

120 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
ST Editor

To forc e a BOOL va riabl e’ s state


• In the ST editor, right-click a BOOL variable and choose Force On, Force Off, or Toggle Force.
The state of a forced variable remains unchanged, regardless of any actions by
Controller logic.

T o re m ove t he f orc e f r om a B O O L v aria b le


• In the ST editor, right-click a BOOL variable and choose Remove Forces.
The state of the unforced variable is controlled by Controller logic from now on.

ST Statements, Functions, and Function Blocks


The following is a list of all ST statements, functions, and function blocks available
in Logic Developer - PLC*. InfoViewer Help indicates which firmware version of
PACSystems supports the statements, functions, or function blocks.
Want to know more? In the online help index, look up “ST Instructions" and "ST Logic: an
Overview".

St a t e m e nt s
:= (Assignment) Comment Function block invocation Repeat ... until
Block call Exit Function call Return
Case For ... do If While ... do

Adv anc e d M at h
ACOS ATAN EXP LN SIN SQRT_REAL
ACOS_LREAL ATAN_LREAL EXP_LREAL LN_LREAL SIN_LREAL TAN
ACOS_REAL ATAN_REAL EXP_REAL LN_REAL SIN_REAL TAN_LREAL
ASIN COS EXPT, **, or ^ LOG SQRT_DINT TAN_REAL
ASIN_LREAL COS_LREAL EXPT_REAL LOG_LREAL SQRT_INT
ASIN_REAL COS_REAL EXPT_LREAL LOG_REAL SQRT_LREAL

Bit w ise Ope rat ors


AND NOT OR XOR

GFK-1918K Proficy* Logic Developer - PLC* 5.80 121


Logic Programs and Blocks
5 ST Editor

Con t rol
DO_IO MASK_IO_INTR SCAN_SET_IO SUSP_IO_INTR SWITCH_POS
F_TRIG R_TRIG SUS_IO SVC_REQ

Con ve r sion s
ANGLES LREAL to DINT or REAL
BCD4 to INT, REAL, or UINT REAL to DINT, INT, LREAL, or UINT
BCD8 to DINT or REAL TRUNC_DINT, TRUNC_INT
DINT to BCD8, DWORD, INT, LREAL, REAL, or UINT UINT to BCD4, DINT, INT, REAL, or WORD
DWORD to DINT WORD to INT or UINT
INT to BCD4, DINT, REAL, UINT, or WORD

Dat a Mo ve
COMM_REQ

Pr og ram F lo w
ARG_PRES

Mat h F un ct ion s
ABS_DINT ABS_LREAL SCALE_DINT SCALE_UINT
ABS_INT ABS_REAL SCALE_INT

Mat h Ope r ato rs


+ (addition) - (subtraction) - (negation) * (multiplication) / (division) mod (modulo)

Re l ati on al Operators
= (Equal) >= (Greater than > (Greater than) <= (Less than or < (Less than) <>, != (Not equal)
or equal) equal)

T i m e r F un ct i o n B lo ck s
TOF TON TP

122 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
C Blocks

C BLOCKS
A C block is an independent section of executable code written in the C
programming language that is downloaded to and executed on the target
Controller. C blocks are created externally using GE Fanuc’s C Programming
Toolkit and then imported into a project. A C block compiled for PACSystems* has
a .gefelf extension. A C block compiled for Series 90*-70 or Series 90*-30 has a
.exe extension. C Blocks can be called as a subroutine from another block (LD, ST,
FBD, or IL) but cannot call another block.
For more information on developing C Blocks, refer to C Programmer’s Toolkit for
Series 90* Controllers (GFK-0646) and PACSystems* RX7i C Toolkit User’s Guide
Navigator: Project tab (GFK-2259).
A C Block

Working with C blocks

To import a C bloc k
1. In the Project tab of the Navigator, right-click the Program Blocks folder and choose Add C block.
The Open dialog box appears.

2. Browse to the .exe or .gefelf file you want to import and click Open.

The selected file is added to the Program Blocks folder with the same name as
the .exe or .gefelf file.
Note: You can then move the C Block to a user-defined folder.
Want to know more? In the online help index, look up “C block” and “User-Defined Folder“.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 123


Logic Programs and Blocks
5 C Blocks

To set a C blo ck ’s par amet ers


Note: This procedure applies only to C blocks that were written to require
parameters for use on PACSystems* or Series 90*-70 targets.
1. In the Project tab of the Navigator, right-click the C block and choose Properties.
The Inspector displays the block’s properties.
2. In the Inspector, select the Parameters property and click .
The Parameters dialog box appears.
3. Type a name and description for each required input and output parameter.

For information on the required parameters, refer to the written documentation for
the C block. The names you enter will display in the CALL instruction that calls the
C block. The names and descriptions will display in a tooltip when you hover the
mouse pointer over the CALL instruction.
Want to know more? In the online help index, enter “Parameterized” and select the “C Block”
help topic.

124 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Logic Programs and Blocks
C Programs

C PROGRAMS
Note: C programs are supported only on Series 90*-70 CPUs, firmware release
6.00 and later.
A C program is an independent section of executable code, written in C language,
that is downloaded to and executed on the associated target Controller. To develop
a C program, use GE Fanuc's C Programmer's Toolkit for Series 90* Controllers
User's Manual (GFK-0646). You then import it into a project.
A C program has access to all the % reference tables of the Controller except for
the _MAIN LD block’s %P memory and the %L memory of any other LD block. A
C program can also call any of the numerous Controller-embedded functions that
Navigator: Project Tab
are included in the C Programmer’s Toolkit.
A C Program
A C program cannot be called as a subroutine. Execution is controlled only
through scheduling. A C program cannot call a block as a subroutine.
By setting the parameters of a C program, you enable it to access memory directly.
When a C program begins to execute, it reads the data for all the parameters and
makes a copy of the data. If the C program’s execution is interrupted or time-sliced
over multiple scans, the C program, when it resumes execution, uses the copy of
the data that it made when it began to execute.
C programs can coexist with a main program and with State Logic on a Series 90*-
70 Controller. For such a target, the State Logic is compiled into a C program. This
C program is named _MAIN if there is no LD logic; however, if State Logic coexists
with LD logic, the State Logic is compiled into a C program named _STATE and
one LD block must be named _MAIN.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 125


Logic Programs and Blocks
5 C Programs

Working with C Programs

Se t t i n g a C p rog ram ’s p a r a m e te r s
Note: You must provide a list of all the input and output parameters that the C
program requires. The main program does not use parameters.
1. In the Project tab of the Navigator, right-click a C program and choose Properties.
The Inspector displays the C program’s properties.
2. In the Inspector, select the Parameters property and click .
The Parameters dialog box appears.
3. On the Input and Output tabs, enter up to 8 input and up to 8 output parameters. Each parameter has its own row on
the tab. For each parameter, double-click the following cells and enter the required data:
■ Name: The parameter’s name.
■ Type: The parameter’s data type.
■ Length: The length of the input or output reference.
■ Variable: The first data item associated with the parameter.
■ Description: (Optional.) The parameter’s description.
Want to know more? In the online help index, choose “C Program”.

126 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


6 Ethernet Global Data (EGD)
Ethernet Global Data is a mechanism that enables one CPU, referred to as a
producer, to share a portion of its internal memory with one or more other CPUs,
referred to as consumers, at a regularly scheduled periodic rate. Such a snapshot of
internal memory, mediated by an Ethernet interface, is referred to as an exchange.
An exchange is identified by a unique combination of three identifiers:

The Producer ID (the producer's IP address)

The Exchange ID (the exchange's identifier)

The Adapter Name (the Ethernet interface identifier)

Exchanges vs. Pages


Some EGD tools group multiple produced exchanges into what is called a page,
and some EGD tools can consume such pages. Logic Developer - PLC*, however,
does not consume or produce pages. It consumes and produces exchanges.

When you add a consumed exchange in Logic Developer - PLC*, if an
EGD tool has published produced pages that contain multiple exchanges
to the EGD Configuration Server, the produced exchanges are extracted
from the pages and presented for your selection as exchanges.
✐ Logic Developer - PLC* does not group multiple produced exchanges into
a produced page. EGD tools that consume pages see the exchanges
produced by Logic Developer - PLC* as produced pages that contain only
one exchange each.

Integration with the EGD Configuration Server


Logic Developer - PLC* is integrated with the EGD Configuration Server. The EGD
Configuration Server is a central repository of EGD configuration information used
to facilitate the sharing of information between EGD tools in order to assist with
the configuration of EGD.
After configuring a produced exchange on any EGD tool (such as the EGD
component in Logic Developer - PLC*), you can publish the configuration of the
produced exchanges to the EGD Configuration Server. After this, Logic Developer -
PLC*, when connected to the server, can obtain the produced exchange
configuration from the server and automatically create a consumed exchange that

Proficy* Logic Developer - PLC* 5.80 127


Ethernet Global Data (EGD)
6

matches the produced exchange exactly. At this point, the only thing left to do is to
map the variables of the exchange to memory on the EGD consumer, or to replace
some or all of the unmapped variables with mapped variables that already exist on
the EGD consumer.
Using the EGD Configuration Server also provides you with extra EGD validation
that is unavailable without the server.
Using the EGD Configuration Server also enables you to use EGD Signatures.
When a PACSystems* is configured to use signatures, then every scan, it compares
the signature of every consumed exchange with the signature of its corresponding
produced exchange to determine whether the configuration of the consumed
exchange matches the configuration of the produced exchange; if not, the
exchange is not consumed.
The EGD Configuration Server keeps track of which produced exchanges
published on the server are consumed by EGD devices that are connected to the
server. You can then obtain an Unconsumed Data report. You can also obtain
reports that compare the produced or consumed exchange information on your
computer with that on the server.
The EGD Configuration Server is not the authoritative source of the EGD
configuration. It does not store past versions of EGD configurations. It contains
only the latest snapshots of the EGD configurations published to it. The EGD tools
are the authoritative source, while the server simply enables the tools to share
information. It is possible to delete the server contents completely and restore
them again by using the tools in a two-step process: publish the authoritative
information from all the tools to the server, and then have each tool read the
information it needs from the server and confirm to the server that it has received
it.
Want to know more? In the online help index, look up “Ethernet Global Data in Logic
Developer - PLC*: an Overview” and “EGD Configuration Server: Integration with Logic
Developer - PLC*”.

Integration with the EGD Management Tool (EMT)


Logic Developer - PLC* is also integrated with the EGD Management Tool (EMT).
You can open the EMT from within Logic Developer - PLC* and vice-versa.
The EGD Management Tool (EMT) provides a high-level view of the EGD system
published on the EGD Configuration Server, including a graphical display of
individual EGD systems. The EMT provides validation of the EGD configuration.

128 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Ethernet Global Data (EGD)

The EMT enables the EGD configuration of devices by launching the appropriate
EGD Configuration Tool from the graphical display.
Want to know more? Refer to the online help in the EGD Management Tool.

Logic Developer - PLC* implementation of EGD: The EGD


component
The first step in using Ethernet Global Data (EGD) in a GE Fanuc Controller or
ENIU target consists in adding the EGD component. In a Controller target, you can
do so even if the CPU presently configured in the target does not support EGD, as
long as the target belongs to one of the Controller families that support EGD.
This flexibility enables you to start configuring EGD even if the hardware
specifications of your system have not been determined.

To add th e E G D compo nen t


• In the Project tab of the Navigator, right-click a GE Fanuc Controller target that belongs to one of the
Controller or ENIU family types that support Ethernet Global Data (EGD), point to Add Component, and choose
Ethernet Global Data.
The Ethernet Global Data folder is added to the target. The folder contains an
empty Consumed Exchanges folder and an empty Produced Exchanges
folder.

Note: For Ethernet modules that support EGD uploads, the EGD component is
automatically added when you upload the Hardware Configuration and EGD
configuration. The EGD component is also automatically added to a target when
you import a folder that contains an Ethernet Global Data (EGD) configuration or
import a Hardware Configuration that contains an EGD configuration. In such
Navigator: After the Ethernet Global Data cases, the Consumed Exchanges and Produced Exchanges folders are
component has been added to the target
automatically populated.

To ins t all t he EG D Co nf igu rat ion Se rv er


1. Insert the Machine Edition* 5.80 supplemental CD into the computer on which you want to install the EGD
Configuration Server.
The computer must be connected to an Ethernet network. It may be local or
remote.
2. On the Machine Edition* 5.80 supplemental CD, navigate to the EGD Server and Tools folder.
3. Double-click the EgdCfgServer Setup.msi file.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 129


Ethernet Global Data (EGD)
6

The EGD Configuration Server is installed on the computer.


Note: The client library required for your copy of Logic Developer - PLC* to
communicate with the EGD Configuration Server is automatically installed as part
of the installation of Logic Developer - PLC*.

T o i ns t a ll t he EG D Ma nag em e n t T oo l (EM T ) o n yo ur co mp ut e r
1. Insert the Machine Edition* 5.80 supplemental CD into your computer.
2. On the Machine Edition* 5.80 supplemental CD, navigate to the EGD Server and Tools folder.
3. Double-click the EgdManagementTool Setup.msi file.
The EGD Management Tool is installed on your computer.

T o con f i g ure com m u nic at i on s wit h t h e E GD Con f i g ura t i on S er ve r


1. In the Options tab of the Navigator, expand the Machine Edition* folder.
2. Right-click the EGD page and choose Properties.
The Inspector displays the EGD options.
3. In the Inspector, configure the Host Name option. For help on this or any option, select the option and look up the
help that automatically appears in the Companion. To open the Companion, press SHIFT+F11.
4. (Optional.) Configure the Local Server Cache Path and Timeout options.

T o con f i g ure a L ogi c De ve l op e r - P L C* t a rg e t t o us e t he EG D C on f i gu ra t i o n Se r ve r


1. In the Project tab of the Navigator, expand the target.
2. Right-click the Ethernet Global Data folder and choose Properties.
The Inspector displays the folder's properties.
3. Ensure that the Use Configuration Server property is set to True and configure the properties below it.

To add a n e w pro duced exch ang e an d con fig ure it


1. In the Project tab of the Navigator, expand the target’s Ethernet Global Data folder.
2. Right-click the
Produced Exchanges folder and choose New.
A new produced exchange appears with a default name. The new produced
exchange is invalid.
3. (Optional.) Enter a name that is more meaningful than the default name.
4. Right-click the produced exchange and choose Properties.
The Inspector displays the exchange's properties.
5. In the Inspector, configure the Destination property and other properties as required.
If the new produced exchange is now valid, its icon looks like this: .
6. In the Project tab of the Navigator, right-click the produced exchange and choose Configure.

130 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Ethernet Global Data (EGD)

The EGD Variable editor appears.

7. In the editor, use the buttons to add, insert, or delete rows.


8. For each row, define the Variable, Ref Address, Length, and/or Description parameters. When you have configured
the target to use the EGD Configuration Server, you must specify a Variable for each row; you cannot use memory
ranges that have no variables mapped to them. The Ignore parameter is available only for the Status. The Type
parameter is read-only.
For help on the EGD Variable editor, click inside the grey space at the top and
press F1.

To publ ish a targ et's pr odu ced ex c han ges to the EGD Co nfi gu ration Se rv er, by u sin g the Validate meth od
1. In the Project tab of the Navigator, right-click the target and choose Set as active target.
If the option is unavailable, the target has already been set as the active target.
2. Right-click the target and choose Validate.
Any errors found in the target's EGD configuration, Hardware Configuration, or
logic are listed in the Build tab of the Feedback Zone.
3. Correct any errors found and repeat step 2 of this procedure.
4. When the Build tab of the Feedback Zone displays no errors, click the Messages tab of the Feedback Zone.
If the message "EGD Produced Data published" appears, the target's produced
exchanges have been updated (published) from your computer to the EGD
Configuration Server.

To publ ish a targ et's pr odu ced ex c han ges to the EGD Co nfi gu ration Se rv er, by u sin g the Bin d an d Bui ld meth od
1. In the Project tab of the Navigator, right-click the target and choose Set as active target.
If the option is unavailable, the target has already been set as the active target.
2. Expand the target.
3. Right-click the Ethernet Global Data folder and choose Bind and Build.
Any errors found in the target's EGD configuration are listed in the Messages tab of
the Feedback Zone. Some of these errors may pertain to consumed exchanges. If
you want context-sensitive help on the errors, we recommend that you use the
Validation method instead of the Bind and Build method.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 131


Ethernet Global Data (EGD)
6

4. If errors are found pertaining to produced exchanges, correct them and repeat step 3 of this procedure.
The message "EGD Produced Data published" appears when the target's produced
exchanges have been updated (published) from your computer to the EGD
Configuration Server.
If an error is found pertaining to a consumed exchange, you typically need to
synchronize the consumed exchange.

T o syn ch ron i z e a c ons um e d e xc ha n ge on y our c om p ut e r wi t h th e corr e sp on d i n g p ro duce d e x ch a ng e p u b li s he d on


t he EG D Co nfi gu rat ion Se rv e r:

1. If any of the following conditions is true, validate the target that contains the producer. (See “Validating a Target”,
on page 39.)

You have uploaded the Hardware Configuration and EGD configuration from
the producer Controller to your computer
■ You have converted the target that contains the producer

You have deleted the Ethernet Global Folder from the target that contains the
producer and added it again.
Validating the target that contains the producer updates the EGD Configuration
Server with the produced exchange that this consumed exchange consumes.
2. In the Project tab of the Navigator, expand the target.
3. Expand the Ethernet Global Data folder and then expand the Consumed Exchanges folder.
4. If you have changed the Local Producer ID property of the producer that the consumed exchange consumes from,
right-click the consumed exchange and choose Properties. Then, in the Inspector, set the Producer ID property on
the consumed exchange to the same value as the new Local Producer ID.
5. In the Project tab of the Navigator, right-click the consumed exchange and choose Synchronize to Server.

Want to know more? In the online help index, look up “Developing EGD systems with the
EGD Configuration Server: Possible work flow” and “Troubleshooting EGD”.

132 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


7 Motion Programming
Logic Developer - PLC* supports motion programming for the DSM324i and
Motion Mate DSM314 motion control modules. High performance, easy-to-use,
these multi-axis motion control modules are highly integrated with the
PACSystems* RX3i and the Series 90*-30 Controller logic solving and
communication functions.
Both the DSM324i and the DSM314 (see page 67) supports 10 motion blocks, 40
subroutines, and a maximum total of 1000 motion program statements. Logic
Developer - PLC*, making motion programming possible, supports the following
motion editors:
Motion Editor
Local Logic Editor
CAM Editor
Navigator: Project tab This chapter outlines basic procedures that will get you started with Logic
Motion Program Developer - PLC* to create motion programs with these three motion editors.

To add a M otion compon ent to a tar get

• In the Project tab of the Navigator, right-click the target, point to Add Component, and then choose
Motion.
A Motion Program node is added to your project. Included are empty
Motion Blocks, Local Logic, CAM Profiles and CAM Blocks folders.

Target right-click menu

Proficy* Logic Developer - PLC* 5.80 133


Motion Programming
7 Motion Editor

MOTION EDITOR
Logic Developer - PLC* includes a Motion Editor, which enables you to create
Motion blocks for the DSM324i and the DSM314. This text-based editor is
configurable as to its appearance and behavior. Comments and white space are not
considered to be Motion block statements. The Motion block programming syntax
is different from Local Logic syntax (see page 137).

To add a M otion Bloc k


1. In the Project tab of the Navigator, expand the Motion Program.
2. Right-click Motion Blocks and choose New.
A new empty Motion block with a default name is added to your project.
3. Rename the block as desired.

Navigator: Project tab

Motion Blocks

T o ope n a m ot i on b loc k f or e d i t i ng
1. In the Project tab of the Navigator, expand the Motion Program.
2. Expand Motion Blocks and double-click the Motion Block you want to open.
The block opens for editing in the Motion editor.

134 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Motion Programming
Motion Editor

Working with the Motion Editor

T o ins e rt a co mm an d
1. In the Motion editor, right-click and choose Insert Keyword.

A smart list appears showing all available motion commands.


2. Select the appropriate command from the smart list and press ENTER.

The command is placed in the motion editor.

Insert a Motion
command by
choosing a keyword.

Insert a Motion
variable by selecting
a variable from the
smart list.

The Companion
automatically
provides
information on
what you click.

The Feedback Zone indicates that a connection has


been established with the Controller.

Want to know more? In the online help index, choose “Motion Editor”.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 135


Motion Programming
7 Motion Editor

Motion Commands
ACCEL The ACCEL statement sets the axis acceleration for subsequent moves
and remains in effect in a given block unless changed. Note: If a move
instruction is executed before ACCEL, the tag Acceleration is used.
BLOCK NUMBER Block numbers can be used as the destination of JUMP commands.
Block numbers must be unique and can be between 1 and 65535.
CAM The CAM statement starts CAM motion and specifies exit conditions.
CAM-LOAD CAM-LOAD loads a parameter register with the starting location for a
CAM slave axis.
CAM-PHASE CAM-PHASE sets the phase for CAM commands.
CALL The CALL command executes another block as a subroutine.
CMOVE The CMOVE command programs a continuous move using the specified
position and acceleration mode.
DWELL DWELL causes motion to cease for a specified time period before
processing the next command.
ENDPROG The ENDPROG statement terminates a Motion program definition.
ENDSUB The ENDSUB statement terminates a Motion subroutine definition.
JUMP Jump to a block number or a sync block within the current program or
subroutine. The jump may be unconditional or conditional based on the
status of a CTL bit.
LOAD Initializes or changes a parameter data register with a 32-bit twos-
complement integer value.
PMOVE The PMOVE command programs a positioning move using the specified
position and accelerator mode.
PROGRAM The PROGRAM statement is the first statement in a motion program. The
program statement identifies the program number (valid range: 1
through 10) and the axis configuration. Program definitions cannot nest.
SUBROUTINE The SUBROUTINE statement is the first statement in a motion
subroutine. The subroutine statement identifies the subroutine number
(valid range: 1 through 40) and the axis configuration.
SYNC BLOCK A sync block is a special case of a block number. A sync block can be
used only in multi-axis programs.
VELOC Sets the process VELOCITY used by subsequent motion program move
commands and remains in effect until changed by another VELOC
statement.

136 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Motion Programming
Local Logic

LOCAL LOGIC
A Local Logic block runs synchronously with the Motion block, but is independent
of the Controller’s CPU scan. This enables the DSM324i or DSM314 to interact
much more quickly with motion I/O signals on its faceplate connectors than would
be possible if the logic for the signals were handled in the _MAIN program running
on the Controller.
Local Logic language uses free-form, text-based circuits and contains basic
mathematical and logical constructs. The Local Logic syntax enables you to assign
a variety of logic tasks to your motion programs while working in conjunction with
Controller Logic programs and motion blocks to yield a flexible programming
environment. Because it uses straightforward, understandable syntax, it is easy to
gain proficiency with this editor.
The Local Logic programming language supports assignments, conditional
statements, arithmetic, logical, and relational statements. Local Logic provides you
with access to motion Controller data, parameters using a fixed set of variables,
Navigator: Project tab control bits, and status bits:
Local Logic ■
Parameter data - accessible from Local Logic host Controller and motion blocks.
The parameter data are similar to variables in a program.
■ CTL bits - enable the Local Logic block or host Controller to signal the motion
block to start an event.

Motion block numbers - the current block number can be used within the Local
Logic block or host Controller to make an action occur only during a specific
motion programming section.

T o cre at e a Lo cal Log ic blo ck


1. In the Project tab of the Navigator, expand the Motion Program.
2. Right-click Local Logic and choose New.
A new Local Logic block with a default name is created.
3. Rename the block as required.

To open a Loc al Logi c bloc k for edi ti ng


• In the Project tab of the Navigator, expand the Motion Program and double-click the Local Logic
block.
The Local Logic block opens for editing in the Local Logic editor.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 137


Motion Programming
7 Local Logic

Working with the Local Logic Editor


The Local Logic editor has its own distinctive syntax for constructing Local Logic
blocks.

Drag and drop


variables from the
Local Logic
Variable Table
(LLVT) into the Right-click to
Local Logic editor. choose
commands
from a list.

T o ins e rt a Lo cal Log ic com m an d


1. In the Local Logic editor, right-click and choose Insert Keyword.
A smart list displays all available Local Logic commands.
2. Select the desired command in the smart list and press ENTER

The command is inserted.


Note: You can drag variables from the Local Logic Variable Table (LLVT) to the
Local Logic editor.

138 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Motion Programming
Local Logic

Local Logic Variables


Local Logic is designed to complement a Controller’s logic and mathematical
capabilities. Solving small Local Logic and mathematical sets requires a tight
synchronization with the controlled motion.
Logic Developer - PLC* includes a table containing Local Logic variables, the
Local Logic Variable Table (LLVT), that you can drag into your Local Logic blocks.
As illustrated in the diagram below, the LLVT has several tabs that organize the
variables by category:

Click a heading to
sort the table in
ascending order.
Click again to sort
in descending
order.

Right-click a name
to copy it to the
clipboard.

Click a tab to view a


group of variables

T o vie w t h e L L V T
1. In the Project tab of the Navigator, expand the Motion Program.
2. Right-click Local Logic and choose Local Logic Variable Table.
The “Which LLVT do you want?” help topic appears.
3. Select Motion Mate DSM314 or DSM324i.

The LLVT appears in the Infoviewer, displaying variables or data on each tab:
Axis 1 Variables specific to axis 1
Axis 2 Variables specific to axis 2
Axis 3 Variables specific to axis 3
Axis 4 Variables specific to axis 4
Global Global data such as module status code
CTL bits DSM general Control/Status bits
Parameter Registers DSM parameter data

GFK-1918K Proficy* Logic Developer - PLC* 5.80 139


Motion Programming
7 Local Logic

The table has six columns:


Name Contains the variable name that is to be used within a Local Logic block
Type The data type for this variable. For example, 32-bit means that this variable is a
32-bit variable.
Group The group this variable is placed in. For example, Faceplate I/O means that this
variable refers to a point on the module faceplate.
Description This column contains a textual description of the variable. When you hover the
mouse pointer over the description, a tool tip displays the description.
R This column indicates if the variable can be read by a Local Logic block.
W This column indicates if the variable can be written to by a Local Logic block.

To ins e rt a Lo cal Log ic var iable


1. In the Local Logic editor, right-click and choose Insert Variable.

A smart list appears prompting you to choose a Local Logic variable name.
2. Select a variable in the list and press ENTER.

The variable is inserted in your Local Logic.

140 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Motion Programming
Local Logic

Local Logic Commands and Operators


With Local Logic, you can execute basic logic and mathematical functions on the
DSM324i or Motion Mate DSM314 module. Commands use upper case characters
only and are case sensitive.

ABS TRUE -(minus) <= (less than or equal to)


BWAND FALSE / (divide) <> (not equal)
BWOR IF * (multiply)
BWXOR THEN :=(assign)
BWNOT END_IF >(greater than)
ON MOD < (less than)
OFF + plus >= (greater than or equal to)

Want to know more? In the online help index, choose “Local Logic: an Overview”.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 141


Motion Programming
7 CAM Editor

CAM EDITOR
The Cam editor is an accessory for Logic Developer - PLC* motion programming
that provides a means to create, edit, and manage electronic Cam profiles. Each
Cam profile is a user-defined curve that specifies the response of a slave servo to a
master position index. Cam profiles are referenced by name in the parent motion
program and grouped into Cam blocks. Each block is intended for download to a
specific motion module via its Controller. The hardware components are specified
in the Hardware Configuration (HWC) of the parent target.
You can reuse a Cam profile by including it in multiple Cam blocks. To include a
Cam profile in a Cam block, see “To add an alias to a Cam block”, on page 144.

Project Tab: Navigator

Cam profiles and Cam blocks

T o cre a t e a C am b l ock
1. In the Project tab of the Navigator, expand the Motion Program.
2. Right-click Cam blocks and choose New.
A new Cam block with a default name is created.
3. Rename the block as desired.

T o i m p ort Cam b lo cks


1. In the Project tab of the Navigator, expand the Motion Program.
2. Right-click Cam blocks and choose Import from File.
The Open dialog box appears.
3. Browse to the Cam block you want to import (.csv or .txt file).
4. Click Open.

The imported block appears in your project.

To open a Cam blo ck fo r ed iting


1. In the Project tab of the Navigator, expand the Motion Program.
2. Expand Cam Blocks and double-click the Cam block you want to open.
The block opens for editing in the Motion editor.

142 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Motion Programming
CAM Editor

Working with the Cam Editor


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.

Curves of the
profile can be
Navigator adjusted and
displays Cam edited
profiles and graphically.
blocks.

Cam profile
table enables Secondary
numeric editing curves show
and curve order the velocity,
grouping. acceleration
and jerk of
Configure the Cam
profiles and profile.
blocks in the
Inspector.

The Companion
automatically
provides
information on
what you click.

To cre ate a C am pr ofil e


1. In the Project tab of the Navigator, expand the Motion Program.
2. Right-click Cam Profiles and choose New.
A new Cam profile with a default name is added to your project.

GFK-1918K Proficy* Logic Developer - PLC* 5.80 143


Motion Programming
7 CAM Editor

To config ure a Cam prof ile


1. In the Project tab of the Navigator, expand the Motion Program.
2. Right-click Cam Profiles, right-click a Cam profile, and choose Properties.
The Inspector displays the properties of the Cam profile.
3. Adjust the properties of the Cam profile in the Inspector to specify its type and boundary conditions.

To ed it a Ca m pro file
1. In the Project tab of the Navigator, expand the Motion Program.
2. Right-click Cam Profiles and double-click a Cam profile.
A graphical representation of your profile appears in the profile editor and a
numeric representation appears in the profile table.
3. Insert and move points in the profile editor or table.
4. Group points into sectors in the profile table and assign curve fit order to each sector.

To add an ali as to a C am bl ock


Right-click method
1. In the Project tab of the Navigator, expand the Motion Program and expand Cam blocks.
2. Right-click a Cam block, point to Add Alias to, and then choose a profile.
Note: Aliases correspond to Cam profiles within Cam blocks. In order to create
aliases for Cam blocks, you must have previously created Cam profiles.
Drag and drop method
1. In the Project tab of the Navigator, expand the Motion Program.
2. Expand Cam Profiles and expand Cam blocks.
3. Drag a Cam profile and drop it onto a Cam block.

The Cam profile is added to the Cam block.


Want to know more? In the online help index, choose “Cam”.

144 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Index
Symbols Indirect References 81 Markers
_MAIN Block 77, 78, 79 Instance Data to Built-In Bookmarking Favorites 26
Function Blocks (LD) 85 BOOL Variables
A Length to LD Instructions 85 Changing the State 111, 120
Operands to IL Forcing the State 92, 105,
Access Control
Instructions 109 112, 121
Setting 80
Parameters beside FBD Removing the Force 112,
Accumulators
Instructions 99 121
Configuring 108
Variables to Operands 86 Turning On or Off 92
Adding
Boolean Start Address 108
Carrier/Base to VersaMax
Remote I/O 72 B Build Tab 39, 42
Basic Hot CPU Redundancy 61 Built-In Function Blocks
DSM324i 67
Basic Instructions Assigning Instance Data to (in
EGD Component 129
IL 113 LD) 85
Ethernet Modules
(PACSystems) 56 Bit Operations
Fan Kits to PACSystems FBD 106 C
RX7i 56 IL 113 C Blocks 1, 76, 77, 123
GBC 64 LD 93 Importing 123
GE Fanuc Remote I/O Bit References 21 Setting Parameters 124
Targets 71 Bitwise Operators C Programs 1, 75, 76, 77, 125
Modules to a Carrier/Base 73 ST 121 Diagram 75
Motion Mate DSM314 67 Blocks Scheduling 79
Produced Exchanges 130 _MAIN 77, 78, 79 Setting Parameters 126
Remote I/O Scanner 70 C 1, 76, 77, 123 CAM Blocks 75, 77, 142, 144
Targets 30 CAM 75, 77, 142, 144 Aliases 144
Address Use report 47 FBD 76, 97 Creating 142
Advanced Math Instructions Function Blocks 75, 76 Importing 142
FBD 106 IL 76 CAM Editor 1, 133, 142
IL 113 Interrupt 75, 76, 77 CAM Profile Report 47
LD 93 LD 76, 83 CAM Profiles 77
ST 121 Local Logic 75, 77, 137 Configuring 144
Aliases 144 Motion 75, 77, 134 Creating 143
Aliasing Variables 20 Parameterized 75, 76, 115 Editing 144
Analog Start Address 108 Reports 47 Carrier/Base 73
Application Structure Reports 47 Scheduling 79 Adding Modules 73
Arrays 19 ST 76 Adding to VersaMax Remote
Assigning Blue Arrows. See Docking I/O 72

Proficy* Logic Developer - PLC* 5.80 145


Index

Catalog 54, 55, 56 Scheduling 80 CPU


Changing the State of BOOL Secondary HWC 65 Configuring 38, 54
Variables 111, 120 Serial Communication 34 Replacing 53
Checking Target to use EGD CPU Redundancy Over
FBD Blocks 101 Configuration Genius 61
LD Blocks 86 Server 130 CPU364 37
Coils Targets 31 CPU374 37
Justification 22 VersaMax Remote I/O 71 Creating
LD 93 Consumed Exchanges CAM Blocks 142
COM 31 Synchronizing 132 CAM Profiles 143
COM ports 34 Consumers (EGD) 127 FBD Blocks 97
Comments Contacting GE Fanuc 9, 10 IL Blocks 108
IL 110 Contacts LD Blocks 83
ST 117 LD 93 Local Logic Blocks 137
Communication Context-Sensitive Help 17, 23 Parameterized ST Blocks 115
Configuring with Control 1, 14 Projects 14, 49, 71
Controllers 34 Control Instructions Reports 47
Ethernet 34 FBD 106 ST Blocks 115
Modem Connection 34 IL 113 User-Defined Folders 79
Serial Connection 34 LD 93 User-Defined RVTs 46
Companion 23 ST 122 Variables 20
Companion Help 17, 39 Controllers 39 Variables from Names
Using 23 Configuring 53 (IL) 110
Compound Structure Families 31, 49 (ST) 117
Variables 19 Family Property 31 Variables from Reference
Configuring Starting 43 Addresses (IL) 110
Accumulators 108 Status 31 CTL Bits (Local Logic) 137
CAM Profiles 143, 144 Stopping 43 Customer Care 9, 10
Communication with Conversion Instructions Customizing
Controllers 34 FBD 107 FBD Editor 97
Communications with EGD IL 113 LD Editor 83
Configuration LD 94 ST Editor 115
Server 130 ST 122
Controllers 53 Conversion Reports 33 D
CPUs 38, 54 Converting Targets 32 Data Move Instructions
DSM314 67, 68 Copying FBD 107
DSM324i 68 Entire LD Blocks as text 87 IL 114
Ethernet Communication 34 Modules 58 LD 94
Ethernet Daughterboard 57 Sections of LD Blocks as ST 122
Execution Scheduling 79 text 88 Data Table Instructions
Hardware 33, 49 Text into the LD Editor 88 IL 114
Modem Communication 34 Counters LD 95
PACSystems RX7i 50 FBD 106 Data Values
Redundancy Systems 63 IL 114 Monitoring (FBD) 105
Remote I/O 1 LD 94 Monitoring (IL) 111

146 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Index

Monitoring (LD) 89 LD 1, 83 Enabling I/O Variables for a


Monitoring (ST) 119 Local Logic 1, 133, 138 Module 59
Data Watch Tool 16 Motion 1, 133, 134 Ethernet 31, 33, 34, 56, 57
Default RVTs 46 ST 1, 115 Adding Modules 56
Diagnostics 44 EGD Ethernet Adapter 50
Docking Markers 17 Adding EGD Ethernet Daughterboard
Documentation Address 31 Component 129 Configuring 57
Downloading IP Addresses Adding Produced Ethernet Global Data. See EGD
non-PACSystems 38 Exchanges 130 Exchanges (EGD) 127
PACSystems 36 Configuration Server 127 Executing Programs 43
Downloading to a Target 41 Configuring Communications Execution Scheduling
DSM314 67, 133, 134, 137, 139, with EGD Configuration Configuring 79
141 Server 130 Expansion Racks 49, 50, 55
Adding 67 Configuring Target to use
Configuring 67, 68 EGD Configuration F
DSM324i 67, 77, 78, 133, 134, Server 130 Families 31, 49
137, 139, 141 Consumers 127 Fan Kits
Adding 67 Exchanges 127 Adding to PACSystems
Configuring 68 Installing EGD Configuration RX7i 56
Dual Hardware Configuration 64, Server 129 Non-Intelligent 49
66 Installing EGD Management Fault Locating References 33
Duplicate Addresses 22 Tool 130 Fault Table Reports 44
Duplicating Management Tool 128 Fault Tables 44
FBD Logic 104 Pages 127 Favorites 26
IL Logic 110 Producers 127 FBD
LD Logic 88 Publishing Produced Drawing Wires 102
ST Logic 118 Exchanges to EGD Negating Parameters 103
Configuration Negating Wires 103
E Server 131 FBD Blocks 76, 97
Editing Signatures 128 Checking 101
CAM Blocks 143 Synchronizing Consumed Creating 97
CAM Profiles 144 Exchanges 132 Editing 98
FBD Blocks 98 Unconsumed Data Validating 101
IL Blocks 108 Report 128 FBD Editor 1, 97
LD Blocks 83, 87 Variable Editor 131 Customizing 97
LD Logic 87 EGD Configuration Server 127 Offline 98
Local Logic Blocks 137 Configuring Online 105
Motion Blocks 134 Communications 130 FBD Instructions 106
Projects 14 Installing 129 Advanced Math 106
ST Blocks 116 Publishing Produced Assigning Parameters
Variables 19 Exchanges to 131 beside 99
Editors EGD Management Tool 128 Bit Operations 106
CAM 1, 133, 142 Installing 130 Changing the Number of
FBD 1, 97 EGD Reports 47 Inputs 102
IL 1, 108 EGD Variable Editor 131 Control 106

GFK-1918K Proficy* Logic Developer - PLC* 5.80 147


Index

Conversion 107 H Offline 109


Counters 106 Hardware Online 111
Data Move 107 Configuring 33, 49 IL Inline Comments
Inserting 99 Hardware Configuration 1, 33, 49 Inserting 110
Math 107 Dual 66 IL Instructions 113
Program Flow 107 New Reference Advanced Math 113
Relational 106 Assignment 22 Basic Instructions 113
Timer Function Blocks 107 Primary 61, 66 Bit Operations 113
FBD Logic 97 Secondary 61, 65, 66 Control 113
Duplicating 104 Synchronizing 66, 68 Conversion 113
Moving 104 Hardware Configuration Counters 114
Feedback Zone 16, 39, 42, 47, 48 Report 47 Data Move 114
Finding text Hardware Key Authorization 5 Data Table 114
Global Search 81 Help Inserting 109
In One Block 80 Companion 23 Math 114
Folders Context-Sensitive 17, 23 Program Flow 114
Importing 15 Favorites 26 Relational 114
Forces in Controller report 47 Full-text Search 25 Timer Function Blocks 114
Forcing BOOL Variables 92, 105, Index 24 IL Logic 108
112, 121 InfoViewer 23 Duplicating 110
Full-text Search Table of Contents 27 Moving 110
Bookmarking Favorites 26 Hot CPU Redundancy Reformatting 110
Using 25 Setting Up Primary HWC 63 Importing
Function Block Instances 75, 76 Hot CPU Redundancy Over C Blocks 123
Function Blocks 75 Genius 62 CAM Blocks 142
Built-In 85 Hot Redundancy Folders 15
Specialty 76 Configuring Systems 63 Index 24
User-Defined 76 CPU Over Genius 62 Indirect References 81
fxClasses 16 Hot Redundancy Systems 61 Assigning 81
HWC. See Hardware InfoViewer 17, 47, 48
G Configuration InfoViewer Help 23
GBC 65, 69 Hyperlinks 48 Initial Force States in Project
Adding 64 Report 47
GE Fanuc Remote I/O I Inserting
Adding 71 FBD Instructions 99
I/O Variables 18, 59
GE Fanuc Targets 29 IL Block Comments 110
IC695CPU310 53
Generating Reports 47 IL Inline Comments 110
IC695PSA040 53
Genius Bus Controller. See GBC IL Instructions 109
IL Block Comments
Genius Devices 50 LD Instructions 85
Inserting 110
Genius Redundancy 61, 62 ST Block Comments 117
IL Block Report 47
Global Search 81 ST Instructions 117
IL Blocks 76
GlobalCare 9 ST Keywords 117
Creating 108
Going Offline from a Target 41 ST Line Comments 117
Editing 108
Going Online to a Target 40 Variables (ST) 117
IL Editor 1, 108
Inspector 16

148 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Index

Installation 4 Copying Sections as Text 88 Local 133


Installing Creating 83 ST 115
EGD Configuration Editing 83, 87 Logic Developer - PC 1, 14
Server 129 Printing 48 Logic Developer - State 1, 14
EGD Management Tool 130 Validating 86 Logic Folder 76
Instance Data LD Editor 1, 83, 87 Logic Printouts 47
Assigning to Built-in Function Copying Text into 88 Logic Programs and Blocks 75
Blocks (LD) 85 Customizing 83 Logicmaster 1, 14
Instances of Function Blocks 75, Offline 84
76 Online 89 M
Instruction List (IL) 108 LD Instructions 92 Main Program 78
Instructions Advanced Math 93 Blocks 76
FBD 106 Bit Operations 93 Diagram 75
IL 113 Coils 93 Downloading 77
LD 92 Contacts 93 Number of Blocks 78
ST 121 Control 93 Properties 79
Interacting with Controllers 39 Conversion 94 Making Word-for-Word
Internet Explorer 17 Counters 94 Changes 92
Interrupt Blocks 75, 76, 77 Data Move 94 Mapping a Variable to a
IP Address 31, 38 Data Table 95 Terminal 60
Downloading to non- Inserting 85 Math Instructions
PACSystems 38 Math 95 FBD 107
Downloading to Program Flow 96 IL 114
PACSystems 36 Relational 96 LD 95
Setting for Lower-End Series Timer Function Blocks 96 ST 122
90-30 38 LD Logic 83, 87 Maximum Number of Blocks 78
Setting for PACSystems Duplicating 88 Modbus Address Report 47
(Permanent) 36 Moving 88 Modem 31
Setting for Series 90-30 Length Modem Communication 34
CPU364 37 Assigning to LD Module Catalog 36, 57, 72, 73
Setting for Series 90-30 Instructions 85 Modules
CPU374 37 LLVT 139 Copying 58
Setting for Series 90-70 36 Local Logic 133, 137 Moving 58
Setting Temporary 34 Local Logic Block Report 47 Monitor Mode 39
Local Logic Blocks 75, 77 Monitoring
K Creating 137 Values of Parameterized
Keywords Editing 137 Block Parameters
Inserting (ST) 117 Local Logic Editor 1, 133, 138 (ST) 120
Locating Monitoring Data Values
L All Occurrences of a FBD 105
LD Block Report 47 Variable 118 IL 111
LD Blocks 76, 83 Logic LD 89
Checking 86 FBD 97 ST 119
Copying Entire as Text 87 IL 108 Motion 1, 14
LD 83, 87 Blocks 134

GFK-1918K Proficy* Logic Developer - PLC* 5.80 149


Index

Editor 1, 133, 134 Operands Proficy Logic Developer - PC 1,


Program 77 Assigning to IL 14
Motion Block Report 47 Instructions 109 Proficy Logic Developer - State 1,
Motion Blocks 75, 77 Assigning Variables 86 14
Motion Mate DSM314 67, 77, 78 Options Tab 46 Proficy Motion 1, 14
Motion Program 78 Proficy View 1, 14
Diagram 75 P Program Blocks Folder 76
Motion Programming 133 PACSystems 78, 128 Program Flow Instructions
Moving Downloading IP FBD 107
FBD Logic 104 Addresses 36 IL 114
IL Logic 110 LD Instructions Support 93 LD 96
LD Logic 88 Setting Permanent IP Programmer Mode 39
Modules 58 Addresses 36 Programs 126
ST Logic 118 PACSystems RX3i 29 C. See C Programs
Illustration 49 Comparative Diagram 75
N Motion modules 67 Main. See Main Program
Navigator 16, 46, 76 Motion Program 78 Motion. See Motion
Negating PACSystems RX7i 29, 91 Program 75
FBD Parameters 103 Adding Fan Kits 56 Scheduling 78, 79
FBD Wires 103 Configuring 50 Types 75
Network Administrator 37 Illustration 51 Programs and Blocks 75
Network Interface Unit (NIU) 71 Pages (EGD) 127 Project Tab 76
New Reference Assignment 22 Parameter Data (Local Logic) 137 Projects 11
NIU 71 Parameter Editor 37, 54, 68 Creating 14, 49, 71
Number of Blocks in the Main Parameterized Block Parameters Downloading 41
Program 78 Viewing Values (ST) 120 Editing 14
Parameterized Blocks 75, 76 Executing 43, 141
O Creating (ST) 115 Importing Folders 15
Offline 39 Parameters Opening 15
FBD Editor 98 C Blocks 124 Uploading 41
Going Offline from a C Programs 126 Publishing
Target 41 Permanent IP Address Target’s Produced Exchanges
IL Editor 109 Setting for PACSystems 36 to EGD Configuration
LD Editor 84 Power Supply 71 Server 131
ST Editor 116 Replacing 53
Online Primary HWC 61, 66 Q
FBD Editor 105 Setting Up for Hot CPU Quick Start 12
Going Online to a Target 40 Redundancy 63
IL Editor 111 Printing R
LD Editor 89 LD Blocks 48 Racks 49, 71
ST Editor 119 Reports 48 Expansion 49, 50, 55
Online in Monitor Mode 39 Produced Exchanges Replacing 55
Online in Programmer Mode 39 Adding 130 Redisplaying Reports 48
Opening a Project 15 Producers (EGD) 127 Redundancy
Product Authorization 5, 7

150 Proficy* Logic Developer - PLC* 5.80 GFK-1918K


Index

Basic Hot CPU 61 Redisplaying 48 Series 90-70 36


CPU Over Genius 61 Structured Text Blocks 47 Temporary 34
Genius 61, 62 Variables 47 Setting Parameters
Wizards 63, 64 Reports Tab 47, 48 C Blocks 124
Reference Address 18, 46, 85 Right-Click Menu C Programs 126
Reference View Tables 46 HWC 53 Setting Up
Default 46 Target 39, 133 Primary HWC for Hot CPU
User-Defined 46 Run Mode 43 Redundancy 63
Working with 47 Run Mode Store 89, 90, 92 Signatures (EGD) 128
Reformatting IL Logic 110 Rungs (LD Logic) 83 Slots 50, 53
Relational Instructions Run-time Destinations 29 Software Key Authorization 6
FBD 106 Run-time Files 41 Specialty Function Blocks 76
IL 114 ST Blocks 76
LD 96 S Creating 115
Relational Operators SBA 69 Editing 116
ST 122 Scheduling ST Editor 1, 115
Remote I/O 30, 49, 72 Blocks 79 Customizing 115
Configuring 1 Configuring 80 Offline 116
Remote I/O Scanner 69 Programs 78, 79 Online 119
Adding 70 Searching ST Function Blocks
Removing the Force from BOOL Global Search 81 Timer Function Blocks 122
Variables 112, 121 In One Block 80 ST Functions
Replacing Secondary HWC 61, 66 Advanced Math 121
CPUs 53 Configuring 65 Bitwise Operators 121
Power Supplies 53 Selecting Control 122
Racks 55 Range of ST Logic 118 Conversions 122
Text 80 Serial Communication 34 Data Move 122
Reports 47 Series 90 Micro 29, 78, 91 Math 122
Address Use 47 Series 90-30 29, 50, 67, 78, 91, Relational Operators 122
Application Structure 47 108 ST Instructions
CAM Profile 47 Motion Program 77 Inserting 117
Conversion 33 Series 90-30 Ethernet Network ST Logic 115
EGD 47 Interface Unit 29 Duplicating 118
Fault Table 44 Series 90-70 29, 50, 78, 79, 91, Moving 118
Forces in Controller 47 93, 125 Selecting Range of 118
Generating 47 C Programs 77 ST Statements 121
Hardware Configuration 47 Remote I/O Scanner 29 Starting
IL Block 47 Series 90-70 Genius Remote I/O Controller 43
Initial Force States in Scanner 29, 69 Machine Edition 12
Project 47 Setting Access Control 80 Statements (ST) 121
LD block 47 Setting IP Addresses Status 31
Local Logic Block 47 Lower-End Series 90-30 38 Status Bar 40
Modbus Address 47 PACSystems (Permanent) 36 Stop Mode 43
Motion block 47 Series 90-30 CPU364 37 Stopping 43
Printing 48 Series 90-30 CPU374 37 Stopping a Controller 43

GFK-1918K Proficy* Logic Developer - PLC* 5.80 151


Index

Structured Text Blocks 47 IL 114 (IL) 110


Sweep Time 31 LD 96 (ST) 117
Symbolic Variables 18 ST 122 Creating from Reference
Synchronizing Toolchest 16 Addresses (IL) 110
Consumed Exchanges Tools 16 Editing 19
(EGD) 132 Docking Markers 17 I/O 18, 59
HWCs 66, 68 Transacted Online Programming Inserting (ST) 117
System Requirements 3 (LD) 90 Locating All Occurrences
of 118
T U Mapping 20
Table of Contents 27 Unconsumed Data Report Symbolic 18
Target Properties 31 (EGD) 128 Turning On or Off 105
Targets 76 Uploading from a Target 42 Variables Reports 47
Adding 30 URL 31 VersaMax 29, 91
Adding GE Fanuc Remote User-Defined Folders Adding Carrier/Base to
I/O 71 Creating 79 Remote I/O 72
Configuring 31 User-Defined Function Blocks 76 Configuring Remote I/O 71
Converting 32 User-Defined RVTs 46 VersaMax Controllers 78, 108
Definition 29 Creating 46 VersaMax Ethernet RIOs 29
Downloading 41 Using Help VersaMax Genius RIOs 29
GE Fanuc 29 Companion Help 23 VersaMax Micro 78
Going Offline 41 Favorites 26 VersaMax Nano 78
Going Online 40 Full-text Search 25 VersaMax Nano / Micro 29, 91,
Offline 39 Help Index 24 108
Online in Monitor Mode 39 InfoViewer Help 23 VersaMax Profibus RIOs 29
Online in Programmer Table of Contents 27 VersaMax Remote I/O 71
Mode 39 Using Templates to Create VersaPro 1, 14
Remote I/O Scanner 69 Projects 14 View 1, 14
Right-Click Menu 39, 133 Viewing Fault Table Reports 44
Run Mode 43 V Viewing. See also Monitoring
Stop Mode 43 Validating Visual Style 22
Uploading 42 FBD Blocks 101
Validating 39 LD Blocks 86 W
Technical Support 9, 10 Targets 39 Windows Explorer 16
Templates 14, 30, 71 Variables 18, 33 Wires
Terminal 59 Aliasing 20 Drawing in FBD 102
Test Edit (LD) 90 Arrays 19 Negating 103
Text Bit References 21 Word-for-Word Changes 90
Replacing 80 Compound Structures 19 Making 92
Timer Function Blocks Creating 20 Working with Reference View
FBD 107 Creating from Names Tables 47

152 Proficy* Logic Developer - PLC* 5.80 GFK-1918K

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy