ab-factorytalkview hmi tutorial

24
1 ECET Introduction to FactoryTalk View Software Tool. [LABORATORY ] Allen-Bradley HMI Design and Linking With Logic Program File.

Upload: yazid32

Post on 30-Dec-2015

48 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ab-factorytalkview Hmi Tutorial

1

ECET

Introduction to FactoryTalk View Software Tool.

[LABORATORY ]

Allen-Bradley HMI Design and Linking With Logic Program File.

Page 2: Ab-factorytalkview Hmi Tutorial

2

Allen-Bradley HMI Design and Linking With Logic Program File.

LAB

Objective:

1. To design an AB PanelView Plus 600 HMI Screen with FactoryTalk View Machine

Edition Software.

2. To program HMI buttons in order to perform according to logic program file through RS

linking.

3. To download FactoryTalk View design program to PanelView Plus 600.

4. To create a backup file and restore it.

Theory:

FactoryTalk® View Machine Edition (ME) is a machine-level HMI software for machines and

small processes. FactoryTalk View Machine Edition allows for a consistent operator interface

across multiple platforms, including Microsoft® Windows® CE, XP and Vista solutions.

FactoryTalk View Studio: Configuration software for developing and testing HMI

applications.

FactoryTalk View ME Station: A traditional "stand-alone" HMI solution that packages

a server and client for use on a PanelView Plus, PanelView Plus CE, Rockwell

Automation Industrial Computers, or other industrial computer running a supporting

Microsoft Windows operation system.

FactoryTalk View Studio:

FactoryTalk View Studio allows users to create applications in a single design environment.

FactoryTalk View Studio supports editing and reusing projects for improved portability between

embedded machine and supervisory HMI systems. With FactoryTalk View, all software products

in the suite are built on the same integrated, scalable architecture. Application developers can

Page 3: Ab-factorytalkview Hmi Tutorial

3

import entire machine-level applications into supervisory-level applications or drag individual

components and drop them right into supervisory projects, saving development time and

reducing engineering and training costs.

Users also can import PanelBuilder32 (PanelView) applications into FactoryTalk View Machine

Edition and RSView32 applications into FactoryTalk View Site Edition, protecting their current

HMI investments.

With FactoryTalk View Studio, one can:

Configure a single operator station or configure an entire distributed application from one

location

Access tags from OPC servers throughout the system via a tag browser that presents

direct PLC tags and HMI tags in a logical hierarchy

Remotely configure RSLinx and FactoryTalk View Site Edition servers.

Create displays using a full-featured graphics editor.

FactoryTalk View ME Station:

FactoryTalk View Machine Edition offers users the following advantages:

Component-based Architecture

FactoryTalk View bridges the gap between machine-level and supervisory-level systems

to give users a more efficient, productive, and cost-efficient solution at all levels of the

enterprise. Designed for scalability and integration between machine and supervisory

levels, Enterprise products are designed with a common look, feel, and navigation to

speed development and training time while reducing the total cost of ownership.

Single-Tag Creation

Maximize productivity by directly accessing tag information in the controller. Define tags

once in the controller and reference them while you design your HMI system. Eliminate

the step of importing tags from the controller.

Page 4: Ab-factorytalkview Hmi Tutorial

4

Connectivity

Preferred connectivity to Rockwell Automation products, such as ControlLogix®,

MicroLogix™, PLC-5®, and SLC™ 500 controllers. Networks supported include

Ethernet, ControlNet, DeviceNet, DH+, DF1, and DH-485. All FactoryTalk View

Machine Edition runtime platforms also include Kepserver Enterprise to support a wide

variety of third-party programmable.

Software Required: FactoryTalk View.

Programming:

Step A: Create a Factory Talk Directory:

1) StartAll ProgramsRockwell SoftwareFactoryTalk ToolsFactoryTalk Directory

Configuration Wizard

Page 5: Ab-factorytalkview Hmi Tutorial

5

2) Factory Talk Directory ConfigurationCheck Configure The FactoryTalk Local

DirectoryNext

3) Reconfigure FactoryTalk Local DirectoryPut User Name and

PasswordNextSummeryClose

Page 6: Ab-factorytalkview Hmi Tutorial

6

Step B: Making a HMI Screen and Linking:

1) Open a New Application

1.1) StartAll ProgramsRockwell SoftwareFactoryTalk ViewFactoryTalk View

Studio-Machine Edition

Page 7: Ab-factorytalkview Hmi Tutorial

7

1.2) New/Open Machine Edition ApplicationNewPut application Name &

DescriptionCreate

Page 8: Ab-factorytalkview Hmi Tutorial

8

1.3) Now the window for the new design appears.

2) Creating a HMI Screen

2.1) Explorer [Left Menu]Double Click on DisplaysDouble Click on Alarm

Page 9: Ab-factorytalkview Hmi Tutorial

9

2.1.1) Resize the display setting for alarm

Right Click on Alarm display (gray area)Display settingsModify the

Settings as Per shown in the Picture ApplyOK

Page 10: Ab-factorytalkview Hmi Tutorial

10

After resizing you Alarm display should look like following with all components within

the dotted line.

2.1.2) Resize Diagnostics & Information display just as the way Alarm display was set.

2.2) Right Click on DisplayNewNew Screen for HMI Design Comes

Page 11: Ab-factorytalkview Hmi Tutorial

11

2.2.1) Resize the display settings as you changed for Alarm but this time follow the

modifications given in picture below:

2.3) Put Text and Create Buttons for the HMI Screen

2.3.1) Select Text from the Top MenuRight Click on mouse, hold and dragYou

will get the text property window. Write a Text as Heading for the HMI

ScreenApplyOK

Page 12: Ab-factorytalkview Hmi Tutorial

12

2.3.2) Create Buttons Select Buttons From The ToolBarPlace Them On Your

Display (same way you created text)

Double Click On the Buttons PropertiesStates

Each Button Has Three States:

State 0Enable M/C [What you see before pressing the button]

State 1 Disable M/C [What you see after the button is pressed]

Error StateError

Page 13: Ab-factorytalkview Hmi Tutorial

13

Save your Project, Go to FileSavePut Component NameOK.

3) Create an Initial Graphic:

Start UpCheck the Initial Graphic Box Put the Name of the New Application that was

createdOK

Page 14: Ab-factorytalkview Hmi Tutorial

14

4) Link Tags to Buttons:

3.1) RSLinx Enterprise Communication SetupCheck Create a New

ConfigurationFinish

3.2) Setup a Communication:

3.2.1) Under Device ShortcutAddNew ShortcutName a Shortcut (this will

have the offline tags for the buttons)

Page 15: Ab-factorytalkview Hmi Tutorial

15

3.2.2) Browse the Offline Program File that has the tags for the buttons.

For Micrologic1100: .RSS file.

For Compact Logic.: .ACD, .Sem, .Wrk file.

Under Design (Local) Select the Ethernet Path (the PLC IP address) through which

the tags will come to the New Shortcut CreatedPress ApplyPress Copy from

Design to Runtime.

Page 16: Ab-factorytalkview Hmi Tutorial

16

3.2.3) Under Runtime (Target)Select the Ethernet Address To the HMIPress

Reset ConfigurationCreate a New ConfigurationFinish.

This will prepare the HMI to get ready to download the Application Created.

3.2.4) Now return to Design (Local)Again Press Copy From Design to

RuntimeOK

Page 17: Ab-factorytalkview Hmi Tutorial

17

5) Create a Runtime Application:

ApplicationCreate Run Time applicationSaveYesOk

Page 18: Ab-factorytalkview Hmi Tutorial

18

6) Assign Tags to Buttons:

Page 19: Ab-factorytalkview Hmi Tutorial

19

6.1) Double Click on ButtonsConnections Under Tag Press the First Button

6.2) Under FolderRight Click on Mouse Refresh Elaborate the New

ShortcutOfflineThe Tags will be shown On the Right SideSelect Tag for the Respective

ButtonOK

6.3) Select Same Tags for Indicator of Buttons.

Page 20: Ab-factorytalkview Hmi Tutorial

20

6.4) Save the Runtime Application again by creating a runtime application with the same

name as intructed in step 4 above.

7) Download Application To HMI:

7.1) From Top Menu ToolsTransfer Utility

7.2) Under Download Select Your Run Time Application File as Source FileCheck Run

Application at Start-UpCheck Replace CommunicationDelete Log FilesSelect Source

Destination TerminalDownload

7.3) Bring the RS Logic Program File which has the offline tags for the HMI buttons Online.

Page 21: Ab-factorytalkview Hmi Tutorial

21

Step C: Create Backup and Restore:

1) Close FactoryTalk ViewStartAll ProgramsRockwell SoftwareFactoryTalk

ViewToolsApplication Manager

2) Under Application ManagerBackup ApplicationNext

3) Select the Application to BackupNext

Page 22: Ab-factorytalkview Hmi Tutorial

22

4) Select the name of the backup fileSelect where to store the Backup FileFinish.

Page 23: Ab-factorytalkview Hmi Tutorial

23

5) Everytime you want to open an application through FactoryTalk View, you need to

restore the application first.

To Restore goto Application Manager againRestore ApplicationNextSelect the

.apa file that is to be restoredNextName the restored FileFinish

Page 24: Ab-factorytalkview Hmi Tutorial

24