Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM...

47
Mechatronics Flexible Manufacturing System Human-Machine Interface Job Sheets - Courseware Sample 85090-F0

Transcript of Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM...

Page 1: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Mechatronics Flexible Manufacturing System

Human-Machine Interface

Job Sheets - Courseware Sample 85090-F0

Page 2: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Order no.: 85090-30 First Edition Revision level: 05/2015

By the staff of Festo Didactic

© Festo Didactic Ltée/Ltd, Quebec, Canada 2008 Internet: www.festo-didactic.com e-mail: [email protected]

Printed in Canada All rights reserved ISBN 978-2-89640-260-1 (Printed version) ISBN 978-2-89747-264-1 (CD-ROM) Legal Deposit – Bibliothèque et Archives nationales du Québec, 2008 Legal Deposit – Library and Archives Canada, 2008

The purchaser shall receive a single right of use which is non-exclusive, non-time-limited and limited geographically to use at the purchaser's site/location as follows.

The purchaser shall be entitled to use the work to train his/her staff at the purchaser's site/location and shall also be entitled to use parts of the copyright material as the basis for the production of his/her own training documentation for the training of his/her staff at the purchaser's site/location with acknowledgement of source and to make copies for this purpose. In the case of schools/technical colleges, training centers, and universities, the right of use shall also include use by school and college students and trainees at the purchaser's site/location for teaching purposes.

The right of use shall in all cases exclude the right to publish the copyright material or to make this available for use on intranet, Internet and LMS platforms and databases such as Moodle, which allow access by a wide variety of users, including those outside of the purchaser's site/location.

Entitlement to other rights relating to reproductions, copies, adaptations, translations, microfilming and transfer to and storage and processing in electronic systems, no matter whether in whole or in part, shall require the prior consent of Festo Didactic GmbH & Co. KG.

Information in this document is subject to change without notice and does not represent a commitment on the part of Festo Didactic. The Festo materials described in this document are furnished under a license agreement or a nondisclosure agreement.

Festo Didactic recognizes product names as trademarks or registered trademarks of their respective holders.

All other trademarks are the property of their respective owners. Other trademarks and trade names may be used in this document to refer to either the entity claiming the marks and names or their products. Festo Didactic disclaims any proprietary interest in trademarks and trade names other than its own.

Page 3: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

© Festo Didactic 85090-30 III

Safety and Common Symbols

The following safety and common symbols may be used in this manual and on the equipment:

Symbol Description

DANGER indicates a hazard with a high level of risk which, if not avoided, will result in death or serious injury.

WARNING indicates a hazard with a medium level of risk which, if not avoided, could result in death or serious injury.

CAUTION indicates a hazard with a low level of risk which, if not avoided, could result in minor or moderate injury.

CAUTION used without the Caution, risk of danger sign , indicates a hazard with a potentially hazardous situation which, if not avoided, may result in property damage.

Caution, risk of electric shock

Caution, hot surface

Caution, risk of danger

Caution, lifting hazard

Caution, hand entanglement hazard

Notice, non-ionizing radiation

Direct current

Alternating current

Both direct and alternating current

Three-phase alternating current

Page 4: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Safety and Common Symbols

IV © Festo Didactic 85090-30

Symbol Description

Earth (ground) terminal

Protective conductor terminal

Frame or chassis terminal

Equipotentiality

On (supply)

Off (supply)

Equipment protected throughout by double insulation or reinforced insulation

In position of a bi-stable push control

Out position of a bi-stable push control

Page 5: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

© Festo Didactic 85090-30 V

Table of Contents

Preface ................................................................................................................. VII

About This Manual ................................................................................................ IX

To the Instructor .................................................................................................... XI

Job Sheet 1 Exploring HMI ................................................................................ 1Human-Machine interface ........................................................ 1HMI example ............................................................................ 2

Job Sheet 1 Exploring HMI ................................................................................ 3

PROCEDURE ..................................................................................... 3System setup ............................................................................ 4Configuring the Touch Screen Graphic Terminal ..................... 5Restoring an application from an archive file ........................... 8Downloading the application to the Touch Screen Graphic Terminal .................................................................................. 12Creating a runtime application ............................................... 14Downloading the application to the Touch Screen Graphic Terminal .................................................................................. 15Running an application on the Touch Screen Graphic Terminal .................................................................................. 16

Job Sheet 2 Designing an HMI Application for the FMS .............................. 23Designing an HMI ................................................................... 23FactoryTalk View Studio objects ............................................ 23

Display ...................................................................................... 23Momentary push button ............................................................ 24Ellipse ....................................................................................... 24

Job Sheet 2 Designing an HMI Application for the FMS .............................. 25

PROCEDURE ................................................................................... 25System setup .......................................................................... 25Creating the interface ............................................................. 29

Communications configuration .................................................. 29Creating a new display .............................................................. 35Creating a momentary push button ........................................... 37Creating a runtime application .................................................. 52

Downloading the application to the Touch Screen Graphic Terminal .................................................................................. 52

Page 6: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Table of Contents

VI © Festo Didactic 85090-30

Job Sheet 3 Updating an HMI .......................................................................... 55Ladder diagram ...................................................................... 55FactoryTalk View Studio objects ............................................ 55

Text object ................................................................................ 55Goto display button ................................................................... 56Return to display button ............................................................ 56Numeric input enable objects .................................................... 56

Job Sheet 3 Updating an HMI .......................................................................... 57

PROCEDURE ................................................................................... 57System setup .......................................................................... 57Modification of the PLC program ............................................ 57Creating the application .......................................................... 61

Displaying a counter value ........................................................ 62Switching between displays ...................................................... 66Creating a recipe selector ......................................................... 69

Appendix A Equipment Utilization Chart ....................................................... 77

Appendix B Deleting a FactoryTalk View Application.................................. 79Deleting an application ........................................................... 79

Appendix C Safety Procedures ...................................................................... 81

Appendix D Troubleshooting .......................................................................... 83

Appendix E PLC Programs ............................................................................. 85Job Sheet 1 ............................................................................ 85Job Sheet 2 ............................................................................ 91Job Sheet 3 .......................................................................... 108

Page 7: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

© Festo Didactic 85090-30 VII

Preface

The Flexible Manufacturing System (FMS), Model 5901-1 or Model 5901-3, is a modular system that allows students to experience challenges commonly encountered in facilities. The system comes with the necessary equipment to familiarize students with basic manufacturing applications such as:

operating a flat belt conveyor; feeding and sorting parts into containers; configuring and wiring sensors, buttons, indicator lights, and other

devices; PLC programming; installing pneumatic equipment; troubleshooting.

The difference between Model 5901-1 and Model 5901-3 is in their Programmable Logic Controller. In Model 5901-1, the Allen-Bradley CompactLogix L32E (Model 5930-0) is used. With Model 5901-3, the Allen-Bradley CompactLogix L43 (Model 5930-A) is running the system. The L43 includes the functionalities of the L32E, but with integrated motion instructions.

The Flexible Manufacturing System (Advanced Applications), Model 5901-2 (add-on to 5901-01) or Model 5901-4 (add-on to 5901-3), is an add-on to the Flexible Manufacturing System. It allows students to create more sophisticated applications using the latest manufacturing technology such as: Servo Drive, Touch-Screen Operated Control, Machine Vision System, Bar Code Reader, and Optical Encoder. The fully automated Storage Unit option, Model 5940, is available as an add-on to Model 5901-3 and 5901-4.

The sequence in which the curriculum must be completed is shown below, along with the necessary equipment for each manual. The Introduction to Manufacturing manual must be completed first. Human-Machine Interface, Machine Vision, and Servo Control manuals can be completed independently, but are all prerequisites for FMS Production Line. Finally, Storage Unit requires knowledge of all the other subjects.

38770

85090

85091

86691

85092

86692

85093 86694

Introduction to Manufacturing

Human-Machine Interface

Machine Vision

Servo Control

FMS Production Line Storage Unit

System Requirements 5901-1

or 5901-3

5901-1 and 5901-2 or

5901-3 and 5901-4 5901-1 and 5901-2

5901-3 and 5901-4

5901-3, 5901-4, and 5940

Page 8: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Preface

VIII © Festo Didactic 85090-30

We invite readers of this manual to send us their tips, feedback, and suggestions for improving the book.

Please send these to [email protected].

The authors and Festo Didactic look forward to your comments.

Page 9: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

© Festo Didactic 85090-30 IX

About This Manual

The Job Sheets in this manual are designed for students already familiar with electrical wiring, basic PLC programming, and manufacturing processes. These topics are thoroughly covered in the reference textbook provided with the Flexible Manufacturing System. A careful reading of the reference textbook is highly recommended before proceeding with the Job Sheets.

As in the Introduction to Manufacturing manual, the difficulty and complexity increase with each Job Sheet. First, you familiarize yourself with HMI through an application simulating a temperature process control system. Once familiar with HMI, you are introduced to HMI design in the other job sheets.

For each Job Sheet, the required programs are provided on the Flexible Manufacturing System Resource Kit (student) DVD ROM. Videos of some of the setups presented in the Job Sheets of this manual are also available on the DVD ROM.

Required software

Make sure the following software is installed on your computer before using this manual.

RSLogix5000

RSLinx

RSNetWorx for DeviceNet

FactoryTalk View Studio

RSLinx Enterprise (should have been installed with FactoryTalk View Studio)

Safety considerations

Safety symbols that may be used in this manual and on the equipment are listed in the Safety Symbols table at the beginning of the manual.

Safety procedures related to the tasks that you will be asked to perform are indicated in each exercise.

Make sure that you are wearing appropriate protective equipment when performing the tasks. You should never perform a task if you have any reason to think that a manipulation could be dangerous for you or your teammates.

Page 10: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

About This Manual

X © Festo Didactic 85090-30

Flexible Manufacturing System resource Kit DVD-ROM

This DVD ROM contains configuration files, documentation, specialized software, and videos of the Flexible Manufacturing System in action. The configuration files are organized by application and corresponding device’s type.

a The content of the Flexible Manufacturing System Resource Kit DVD ROM may have been copied by your instructor onto the computer used to control the Flexible Manufacturing System. If this is the case, ask your instructor where the content of the DVD ROM can be found.

Systems of units

Units are expressed using the International System of Units (SI) followed by the units expressed in the U.S. customary system of units (between parentheses).

Page 11: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

© Festo Didactic 85090-30 XI

To the Instructor

You will find in this Instructor Guide all the elements included in the Student Manual together with the answers to all questions, results of measurements, graphs, explanations, suggestions, and, in some cases, instructions to help you guide the students through their learning process. All the information that applies to you is placed between markers and appears in red.

Accuracy of measurements

The numerical results of the hands-on exercises may differ from one student to another. For this reason, the results and answers given in this manual should be considered as a guide. Students who correctly performed the exercises should expect to demonstrate the principles involved and make observations and measurements similar to those given as answers.

Introduction to the exercises

The exercises suggested in the Human-Machine Interface Job Sheets manual may require advanced programming knowledge, electrical wiring skills, familiarity with pneumatic equipment, and other technical abilities. Moreover, the student must have successfully completed the exercises of the Introduction to Manufacturing Job Sheets manual (p/n 38770-2) before performing the exercises in the Human-Machine Interface manual.

FMS Reference Material

The Flexible Manufacturing System (Advanced Applications) is provided with a wide variety of reference material to help the instructor planning the laboratory sessions. Important information can be found in the reference material. Take the time to browse thoroughly through the reference material, this can save you time and effort.

PLC programs

The programs required to complete the Job Sheets are available on the Flexible Manufacturing System (Advanced Applications) Resource Kit (student) CD-ROM. Each program includes comments to help students to find their way through the program code.

An instructor's version of each program is available on the Flexible Manufacturing System (Advanced Applications) Resource Kit (instructor) CD-ROM. The instructor's version of a program includes the solution to the Programming Exercise section.

a All the configuration files for all the latest versions of the different softwares are available at the following address: http://www.labvolt.com/ downloads/download/FMS_CDROMs_Files.pdf. (The password for the instructor files for this manual is 85090).

Page 12: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

To the Instructor

XII © Festo Didactic 85090-30

Videos

The Flexible Manufacturing System (Advanced Applications) Resource Kit CD-ROM also includes videos of the system in action. These videos show the final setup for some of the Job Sheets. They should give you a good idea of how the system should operate once the Job Sheet is completed. They also show how to perform particular operations and how some pieces of equipment should be manipulated.

PDF Files

Some parts of the equipment provided with the Flexible Manufacturing System (Advanced Applications) are not entirely manufactured by Festo Didactic. Important information on this equipment is provided in the PDF files available on the Flexible Manufacturing System (Advanced Applications) Resource Kit CD-ROM. If you have problems using the equipment and you cannot find the solution in the documentation, refer to these files. Most of them provide complete descriptions of the device, technical information, error codes, troubleshooting tips, etc.

Since students will have to deal with this type of documentation when working in the industry, it is important that they become familiar with these types of files. Moreover, some of the PDF files contain important information about PLC programming and network communications. The students should have access to these files, and they should be copied on the computer used to control the Flexible Manufacturing System (see section below).

Copying the Flexible Manufacturing System (Advanced Applications) Resource Kit (student) CD-ROM on the computer

The files on the Flexible Manufacturing System (Advanced Applications) Resource Kit (student) CD-ROM should be copied on the computer used to control the Flexible Manufacturing System. It is strongly suggested to copy the files in a folder named after the student's name, especially if the students are asked to modify the programs or the DeviceNet configuration.

Page 13: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Sample Extracted from

the Job Sheets Student and the Job Sheets Instructor

Page 14: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and
Page 15: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

© Festo Didactic 85090-30 23

Designing an HMI

The point on which all energy should be focused when designing an interface is the usability. According to the International Organization for Standardization (ISO), the usability (or quality of use) has three important components: effectiveness, efficiency, and satisfaction. Thus, an interface with a high degree of usability should allow the user to do what he has to do (effectiveness), speed up the task and reduce errors (efficiency), and give the end user a pleasant and stress-free experience (satisfaction). Usability should never be neglected, particularly for safety-critical systems or systems where a human error may result in significant money or time lost.

The Touch Screen Graphic Terminal, Model 5922, is a graphical user interface (GUI). It provides graphical outputs for the user on an LCD. The first step when designing an interface for a graphic terminal is to decide what will be displayed on the limited display area of the LCD. Once this is determined, the interface can be created using an interface design software such as FactoryTalk View Studio . When designing and creating an interface, keep in mind that the interface must be intuitive, simple, and complete.

FactoryTalk View Studio objects

FactoryTalk View Studio is a software that can be used to create applications for the Touch Screen Graphic Terminal. Below is a brief description of the FactoryTalk View Studio objects required to create the application described in Job Sheet 2.

Display

A graphic display is the area available to draw the objects and insert the text to be displayed on the Touch Screen Graphic Terminal. The graphic display is what the operator is viewing when the application is running. The maximum size of a project display is determined by the project window size. The size of the graphic display created using FactoryTalk View Studio must match the display resolution of the Touch Screen Graphic Terminal (i.e. 320 x 240 pixels). There are two types of displays available, Replace displays and On Top displays. The size of the Replace displays is automatically set to the project window size. If a Replace display is opened, it replaces the display already displayed on the terminal. On Top displays are displayed "on the top" of the displayed Replace display.

Empty displays are created using the Displays context menu in the project explorer or by selecting File -> New -> Display. The default display type is the Replace display. The display type can be changed in the General tab of the Display Setting window.

Designing an HMI Application for the FMS

Information Job Sheet 2

Page 16: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

24 © Festo Didactic 85090-30

Momentary push button

Momentary push buttons can be used to initiate actions. A momentary push button has three possible states: State 0, State 1, and Error. The momentary push button is set to State 0 when it is released, to State 1 when pressed, and to Error state if a problem with the button connections setting occurs.

Momentary push buttons are created by clicking on the Momentary Push Button icon located in the Objects toolbar or by selecting Objects -> Push Button -> Momentary.

Ellipse

The Ellipse object is part of the FactoryTalk View Studio drawing objects. Drawing objects are static and can be used to illustrate the display. If an animation is attached to a drawing object, the object can be made to move or change color if a data source adopts certain values.

Ellipses are created by clicking on the Ellipse icon in the Objects toolbar or by selecting Objects -> Drawing -> Ellipse.

Page 17: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

© Festo Didactic 85090-30 25

Use FactoryTalk View Studio to create an application that can replace the Indicator Light/Push-Button Station.

1. Perform the basic safety procedures listed in Appendix C of this manual.

2. Use the final setup of Job Sheet 6 of the Introduction to Manufacturing manual as a starting point for this Job Sheet.

a Refer to the Equipment Utilization Chart in Appendix A of the manual to obtain the complete list of equipment required to complete this Job Sheet.

3. Make sure the system is configured for Ethernet communication with the Flexible Manufacturing System. For details on the configuration of Ethernet communications, refer to the Ethernet configuration procedure given in Job Sheet 2 of the Introduction to Manufacturing manual (p/n 38770-2).

4. Make sure the system is configured for DeviceNet networking. For details on the configuration of the DeviceNet network, refer to the procedure given in Job Sheet 6 of the Introduction to Manufacturing manual (p/n 38770-2).

System setup

5. Install the Touch Screen Graphic Terminal on the FMS.

6. Connect the equipment as shown in the wiring diagram presented in Figure 26 and Figure 27.

Designing an HMI Application for the FMS

Job Sheet 2

OBJECTIVE

PROCEDURE

Page 18: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

26 © Festo Didactic 85090-30

Figure 26. Designing an HMI Application for the FMS wiring diagram (Compact Logix L32E) (part 1).

Page 19: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 27

Figure 27. Designing an HMI Application for the FMS wiring diagram (Compact Logix L32E) (part 2).

a Make sure the AC Drive "Start Source" parameter (P036) is set to 5 (Comm Port).

Page 20: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

28 © Festo Didactic 85090-30

7. Make the pneumatic connections according to the diagram presented in Figure 28.

Figure 28. Designing an HMI application for the FMS pneumatic connections diagram.

Make sure to adjust the pressure in the circuit downstream from the valve of theConditioning Unit to 138 kPa (or 20 psi).

8. Fill the Part Feeder using marbles of two different colors, one color for each hopper.

a To keep marbles from getting stuck in the Part Feeder mechanism, do not overfill the hoppers.

Pneumatic Box Feeder 5911

Push Rod Stopper Lateral Cylinder

Pneumatic Sorting Device 5913

V1 V2 V3 V4

Directional Control Valve Station 5914

Safety Valve 6494

Conditioning Unit 6411-A

Page 21: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 29

9. Once completed, the setup should look as shown in Figure 29.

Figure 29. Designing and HMI application for the FMS setup.

10. Open the RSLogix 5000 project file named hmi_manu_2.acd, download and run the program in the PLC. For details on downloading programs, refer to the Running the programs procedure given in Job Sheet 2 of the Introduction to Manufacturing manual (p/n 38770-2).

a Make sure RSLinx is running on your computer before trying to download the program to the PLC.

Creating the interface

Communications configuration

11. Start FactoryTalk View Studio . The New/Open Machine Edition Application window appears. Select the New tab.

12. Use "FMS_Interface_2" for the application name and write "Basics of Human-Machine Interfaces" in the Description field.

Page 22: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

30 © Festo Didactic 85090-30

13. Make sure the proper language is selected in the Language drop-down list and click on the Create button to create the new application (Figure 30).

Figure 30. New/Open Machine Edition Application window.

14. RSLinx Enterprise is used as an OPC server to collect data from the PLC. To create an application for the Flexible Manufacturing System you must configure RSLinx Enterprise communications.

15. Search the FactoryTalk View Studio help to determine what the OPC acronym stands for.

OLE for Process Control, where OLE stands for Object-Linking and Embedding.

Page 23: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 31

16. In the FMS_Interface_2 tree, click on the + symbol beside RSLinx Enterprise to display the Communication Setup item (Figure 31).

Figure 31. Communication Setup item.

Page 24: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

32 © Festo Didactic 85090-30

17. Double-click on Communication Setup to start the RSLinx Enterprise Configuration Wizard (Figure 32).

Figure 32. RSLinx Enterprise Configuration Wizard window.

18. Select Create a new configuration and click on the Finish button. This opens the Communication Setup window (Figure 33).

Figure 33. Communication Setup window.

Page 25: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 33

19. Click on the Add button to add a new device shortcut. Name that shortcut "CompactLogix" (Figure 34).

Figure 34. Creating a new device shortcut.

20. The CompactLogix shortcut must point to the PLC. To link the shortcut to the PLC, select CompactLogix from the Device Shortcuts list and select the PLC (0, 1769-L35E/A, ...) from the RSLinx Enterprise tree on the Local tab. Click on the Apply button (Figure 35 and Figure 36).

Page 26: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

34 © Festo Didactic 85090-30

Figure 35. Linking the CompactLogix shortcut to the PLC (Compact Logix L32E).

Figure 36. Linking the CompactLogix shortcut to the PLC (Compact Logix L43).

21. Select the Target tab and click on the Copy button to copy the Local configuration and shortcut definitions to the Target tab.

Page 27: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 35

22. Upon pressing the Copy button, the message window shown in Figure 37 is displayed. Click on Yes to continue.

Figure 37. Copying the Local configuration and shortcut definitions to the Target tab.

23. The communication configuration is completed, click OK to close the Communication Setup window.

Creating a new display

24. Double-click on the Project Settings item located in the System folder of the FMS_Interface_2 tree to display the Project Settings window. Set the Project window size to 320 x 240 using the drop-down list (Figure 38).

Figure 38. Project Settings window.

Page 28: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

36 © Festo Didactic 85090-30

25. In what unit is the resolution of the Touch Screen Graphic Terminal expressed?

Pixels

26. Click OK to close the Project Settings window.

27. A Graphic Display Scaling warning window may appear, click OK to confirm the changes (Figure 39).

Figure 39. Graphic Display Scaling warning window.

28. To create an empty display window, right-click on the Displays item located in the Graphics folder of the FMS_Interface_2 tree to open the Displays context menu.

Page 29: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 37

29. From the Displays context menu, select New to create an empty display named Untitled (Figure 40).

Figure 40. Creating an empty display named Untitled.

30. What is the display type of the Untitled display?

Replace display

Creating a momentary push button

31. Select the Untitled display window and click on the Momentary Push Button icon located in the Objects toolbar.

Page 30: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

38 © Festo Didactic 85090-30

32. When the Momentary Push Button icon is pressed, the text Mom Button is displayed at the right of the mouse pointer. To draw the button in the display area, click on the mouse left button and hold it down. Drag the mouse and release the mouse button when the size of the momentary push button suits you (Figure 41).

Figure 41. Drawing a momentary push button.

Page 31: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 39

33. Once the momentary push button is created, double-click on it to open the Momentary Push Button Properties window (Figure 42).

Figure 42. Momentary Push Button window.

Page 32: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

40 © Festo Didactic 85090-30

34. Select the States tab. This tab allows you to set up the states of the momentary push button (Figure 43). The state of the momentary push button is State 0 when the button is released. When the button is pressed, its state is set to State 1.

Figure 43. State tab of the Momentary Push Button window.

35. Select State 0 from the Select state list and change the back color of the momentary push button for this state by clicking the Back color box. Select a dark-green back color.

Page 33: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 41

36. In the Caption text area write "START" (Figure 44).

Figure 44. Setting up the State 0 properties of the momentary push button.

Page 34: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

42 © Festo Didactic 85090-30

37. Select State 1 from the Select state list, use a light-green back color for this state of the momentary push button, and write "START" in the Caption text area (Figure 45).

Figure 45. Setting up the State 1 properties of the momentary push button.

Page 35: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 43

38. Select the Connections tab. This tab allows the momentary push button to be linked to a PLC tag (Figure 46).

Figure 46. Connections tab of the Momentary Push Button window.

39. In the Value connection row, click on to open the Tag Browser window.

Page 36: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

44 © Festo Didactic 85090-30

40. Drag the mouse over the Folders section and right-click to display the Folders section context menu. Select Refresh All Folders from this context menu. Once the Folders section is refreshed, the CompactLogix and System folders are displayed as shown in Figure 47.

Figure 47. Tag Browser window.

41. Click on the + symbol beside the CompactLogix folder to display the Online folder.

Page 37: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 45

42. Select the Online folder to display its contents in the Contents of section of the Tag Browser window (Figure 48).

Figure 48. Selecting the Online folder.

Page 38: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

46 © Festo Didactic 85090-30

43. Select the HMI_Start tag from the Contents of list and click OK to confirm the tag selection. The tag name is displayed in the Connections tab of the Momentary Push Button Properties windows (Figure 49).

Figure 49. Connections tab of the Momentary Push Button window.

44. Click OK to close the Momentary Push Button window. The creation of the START momentary push button is completed. This button corresponds to the green push button of the Indicator Light/Push-Button Station.

45. From the File menu, select Save to display the Save window. Write "Operator" in the Component name text area and click OK to save your work (Figure 50).

Figure 50. Saving the display.

Page 39: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 47

a In the following steps a circle is added to the Operator display. This circle represents the green indicator light of the Indicator Light/Push-Button Station.

46. Select the Operator display window and click on the Ellipse icon located in the Objects toolbar.

47. Draw a circle in the Operator display window as shown in Figure 51.

Figure 51. Drawing a circle in the Operator display.

48. Put the mouse cursor over the circle and right-click to display the object context menu.

Page 40: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

48 © Festo Didactic 85090-30

49. From the context menu, select Animation -> Color to display the Color tab of the Animation window (Figure 52).

Figure 52. Color tab of the Animation window.

50. On the Color tab, click on the Tags button to open the Tag Browser window (Figure 53). Select the Light_Running tag from the Contents of list of the Online folder and click OK to confirm the tag selection.

Figure 53. Tag Browser window.

Page 41: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 49

51. This links the circle color to the Light_Running tag. The name of the tag is displayed in the Expression section of the Color tab (Figure 54).

Figure 54. Color tab of the Animation window.

52. Make sure the A) 0 color change is selected in the list. Use a dark-green Background color for this color change. This background color is used if the Light_Running tag state is 0.

53. Select the B) 1 color change from the list. Use a light-green Background color for this color change. This background color is used if the Light_Running tag state is 1. The Color tab of the Animation window should look as shown in Figure 55.

Figure 55. Color tab of the Animation window.

54. Click on the Apply button to apply the changes and click on the Close button to close the Animation window.

Page 42: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

50 © Festo Didactic 85090-30

55. What are the other types of animations available?

Fill, height, horizontal position, horizontal slider, rotation, vertical position, vertical slider, visibility, and width.

56. The application can be tested by clicking on the Test Display button .

a Before testing the application, make sure the PLC key is set to the RUN position. To stop the conveyor use the red push button of the Indicator Light/Push-Button Station.

57. Use the same procedure to add a yellow momentary push button, a red momentary push button, a yellow light (i.e. yellow circle), and a red light (i.e. red circle) to the Operator display. Table 3 below gives the name of the tags that should be linked with the different objects in your application.

Table 3. Objects and their associated tags.

Object Tag

Green momentary push button (START) HMI_Start

Green circle Light_Running

Yellow momentary push button (BOX) HMI_Box

Yellow circle Light_Alarm

Red momentary push button (STOP) HMI_Stop

Red circle Light_Stop_Ready

58. Once completed, the display should look as shown in Figure 56. Make sure to save your display.

Figure 56. Completed Operator display.

Page 43: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 51

59. Click on the Test Display button to test your application. Make sure it can perform the same tasks as the Indicator Light/Push-Button Station.

60. Once you are sure that the application is working properly, double-click on the Startup item located in the System folder of the FMS_Interface_2 tree to display the Startup window.

61. In the Startup window, check the Initial graphic checkbox and select Operator in the Initial graphic drop-down list (Figure 57). Click OK to confirm the changes and close the Startup window.

Figure 57. Startup window.

Page 44: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

52 © Festo Didactic 85090-30

Creating a runtime application

62. From the Application menu, select Create Runtime Application to open the Create Runtime Application window (Figure 58).

Figure 58. Create Runtime Application window.

63. Save your runtime application using the file name "FMS_Interface_2.mer".

Downloading the application to the Touch Screen Graphic Terminal

64. From the Tools menu select Transfer Utility or click on the Transfer Utility icon in the toolbar.

65. On the Download tab of the Transfer Utility, select FMS_Interface_2.mer as the source file.

66. Check both the Run application when download completes and Replace communication options.

67. In the Select destination terminal tree, select the Touch Screen Graphic Terminal (i.e. PanelView 600) as shown in Figure 59.

Page 45: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

© Festo Didactic 85090-30 53

Figure 59. Transfer Utility window.

68. Click on the Download button to download the application to the Touch Screen Graphic Terminal. The application runs automatically on the terminal once the download is complete (Figure 60).

Figure 60. Running the application on the Touch Screen Graphic Terminal.

69. Try the application on the Touch Screen Graphic Terminal and check if everything works correctly. You should be able to control the system using

Page 46: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

Job Sheet 2 – Designing an HMI Application for the FMS

54 © Festo Didactic 85090-30

the Touch Screen Graphic Terminal. The system response should be the same as if it was controlled with the Indicator Light/Push-Button Station.

70. Ask the instructor to check and approve your work.

The following points should be checked to assess the student's work:

Answers to the procedure step questions are correct.

The setup is wired according to the diagram presented in Figure 26 and Figure 27 of the student manual.

Pneumatic connections conform to the diagram presented in Figure 28 of the student manual.

The wiring ducts are used appropriately to maintain a tidy setup.

The pneumatic equipment works correctly and the needle valves of the pneumatic cylinders have been adjusted to control the air flow.

Using RSView Studio, the student has created an application for the Touch Screen Graphic Terminal and this application can replace the Indicator Light/Push-Button Station.

The student can use the Touch Screen Graphic Terminal to control the system.

The sorting process is done properly. Each tray is filled with four boxes when the process ends.

The setup is working properly. Everything conforms to the description of step 69 of the student manual.

Name: ______________________________ Date: ___________________

Instructor's approval: ______________________________________________

Page 47: Mechatronics Flexible Manufacturing System · Flexible Manufacturing System resource Kit DVD-ROM This DVD ROM contains configuration files, documentation, specialized software, and

This page should be left blank