Вы находитесь на странице: 1из 21
INPA CT, Gundeep Singh Saini Panel Builder 800 HMI Manual for PROFIBUS & Ethernet Communication
INPA CT, Gundeep Singh Saini
Panel Builder 800
HMI Manual for PROFIBUS & Ethernet Communication
1 March 2013
INPA CT, Gundeep Singh Saini Panel Builder 800 HMI Manual for PROFIBUS & Ethernet Communication 1

Panel Builder 800 Manual

Table of Contents

2

2. Basic Setup …………………………………………………………………………………………………….… 2

3. Graphics Development …………………………………………………………………………….……… 6

1. About this Document………………………………………………………….………………………

4. Name List & Addressing……………………….………………………

……………………………

….

8

1. PROFIBUS Communication……………………….………………………

………………….

8

2. Ethernet Communication……………………………………………………

……………

12

5. Dynamisation……………………………………………………………….………………………

………

14

6. Password Protection……………………………………………………………….………………………

16

7. Downloading to HMI……………………………………………………………….…….………

………

19

Panel Builder 800 Manual

1. About this document

This document describes the development procedure for Process Panel HMI using Panel Builder 800. The software used in the manual is Panel Builder 800 version 5.1 build 353. The Process Panel used is PP845. The Communication protocols used and described in this document are PROFIBUS and Ethernet.

2. Basic Setup

The Panel 800 family of HMI’s are configured with the Panel Builder 800 tool. Figure 1 shows the overview of the software.

800 tool. Figure 1 shows the overview of the software. Fig 1: Panel Builder 800 Overview

Fig 1: Panel Builder 800 Overview

To start a new project, goto File -> New and select the type/model of the Process Panel and then select the Controller Type (Ethernet/Profibus) as shown in figure 2.

Panel Builder 800 Manual

Panel Builder 800 Manual Fig 2: New Project Now the Network Settings need to be declared.

Fig 2: New Project

Now the Network Settings need to be declared. For Ethernet configuration, double click on the Controller 1: ABB/Control Network in the Peripherals Tab and enter the IP Address of the Controller with which the HMI will communicate. The HMI can communicate with a maximum of 5 controllers simultaneously. Figure 3 shows the Network Properties window.

Panel Builder 800 Manual

Panel Builder 800 Manual Fig 3: Ethernet Network Configuration The next step is to declare the

Fig 3: Ethernet Network Configuration

The next step is to declare the IP Address of the HMI. Double click on the TCP/IP Connection Tab in the Network Connections and declare the IP Address and Subnet Mask as shown in figure 4.

declare the IP Address and Subnet Mask as shown in figure 4. Fig 4: Setting IP

Fig 4: Setting IP Address of the HMI

Panel Builder 800 Manual

In case of PROFIBUS Communication, double click on Controller 1:PROFIBUS/Profibus DP and set the slave number of the HMI as shown in figure 5. Also set the I/O Area size depending on the Name List (described in the coming section). Next right click on the Peripherals -> Properties -> Controller 1 -> Connection -> EM FieldBus.

-> Controller 1 -> Connection -> EM FieldBus. Figure 5: PROFIBUS Settings Fig 6: Profibus Settings

Figure 5: PROFIBUS Settings

Connection -> EM FieldBus. Figure 5: PROFIBUS Settings Fig 6: Profibus Settings  5 

Fig 6: Profibus Settings

Panel Builder 800 Manual

3. Graphics Development

Once the Project Properties are configured, the HMI graphics can be developed. Go to the Blocks tab and right click -> New. Now give the block a name and a number and start adding Analog Read/Write, Digital Read/Write graphical elements from the bar at the bottom in the graphics block or by clicking at the Object tab on the top.

block or by clicking at the Object tab on the top. Figure 7a: New Graphical Block

Figure 7a: New Graphical Block

the Object tab on the top. Figure 7a: New Graphical Block Fig 7b: Adding Graphic Objects

Fig 7b: Adding Graphic Objects

Panel Builder 800 Manual

Various Elements can be used such as tanks, valves, motors, switches etc. as shown in figure 8. Here, Jump Command serves the same purpose as Aspect View and can be used to switch to other graphics.

as Aspect View and can be used to switch to other graphics. Fig 8a: Graphical Layout

Fig 8a: Graphical Layout

used to switch to other graphics. Fig 8a: Graphical Layout Fig 8b: Graphical Layout  7

Fig 8b: Graphical Layout

Panel Builder 800 Manual

4. Name List & Addressing

Before dynamisation, the Name list has to be created. It can be found at View -> Name List. Here the tag name and the address of the element has to be declared along with the data type. The Name list can be created in an excel file and then imported into Panel Builder. Figure 9 shows the Name List Template in the excel file.

Figure 9 shows the Name List Template in the excel file. 4.1 PROFIBUS Communication Fig 9:

4.1 PROFIBUS Communication

Fig 9: Name List Template

For PROFIBUS Communication, all the variables that are for display (from controller to the HMI) are

addressed as Q

and the variables that are operator input (from HMI to controller) are addressed as

I

For Analog Elements of type Real, the variable address will start from QD_ or ID_, where QD is display and ID is input from the HMI. For Digital Elements of type Bool, the variable address will be Q4.x or I4.x, where 4 is 4 th byte and x is the x th bit of that 4 th byte.

It’s best to declare the Analog elements in the beginning, starting with QD0 as seen in fig 9. The next analog element will now have an address of QD4, since a Real type element takes 4 bytes. Any tag name can be given but the addressing has to be same in both HMI Name List and in Control Builder.

Panel Builder 800 Manual

Once the analog elements are addressed, the Bool elements can be declared. If the last analog element was addressed QD92, the next bool element will have an address of Q96.0, Q96.1…. Q96.7 as shown in figure 9.

The same procedure can be followed for Input Variables, but in place of Q, it will start with I. The variable addressing will start from 0, for example, ID0 or I0.0.

To optimize the communication, the Bool elements can be packed into a dint variable and sent from the controller. 32 bool elements can be packed into a dint (32 bits). The unpacking will be done at the HMI end automatically provided the addressing is correct.

In the Control Builder, add a Panel800 element from the ABBPNL800CI854 library to the loop where the Process Panel is connected. Next insert an OUTPUT 4 Real Block or the appropriate block depending upon the number of analog variables (from controller to HMI). Inside the Block, 4 real elements need to be declared which will map to QD0, QD4, QD8 and QD12 respectively as shown in figure 10.

QD0, QD4, QD8 and QD12 respectively as shown in figure 10. Fig 10: Mapping Real Elements

Fig 10: Mapping Real Elements

Next for Bool elements, add OUTPUT 4 Dint Block or appropriate size depending on the number of variables. A single dint element will hold 32 Bool elements and a 4 dint block will hold 4*32 Bool elements. The Bool elements will have an address of Q16.0…Q16.7, Q17.0…Q17.7, Q18.0…Q18.7, Q19.0…Q19.7. These 32 Bool elements can be mapped to 1 dint element, say BOOL_1, inserted after the already declared OUTPUT 4 Real Block as shown in figure 11.

Panel Builder 800 Manual

Panel Builder 800 Manual Fig 11: Dint Variable connected in Control Builder The packing of variables

Fig 11: Dint Variable connected in Control Builder

The packing of variables can be done by moving them into a dint block as shown in figure 12.

done by moving them into a dint block as shown in figure 12. Fig 12: Packing

Fig 12: Packing of Bool to Dint

Panel Builder 800 Manual

Similarly, for the HMI to controller variables, in place of OUTPUT, INPUT Blocks need to be used as shown in figure 13.

OUTPUT, INPUT Blocks need to be used as shown in figure 13. Fig 13: Input Block

Fig 13: Input Block

Panel Builder 800 Manual

4.2 Ethernet Communication

For Ethernet communication, the tag name has to be same as declared in Access Variables of the controller. The Tag Name & the Address also has to be same in the Name List as shown in figure 14.

also has to be same in the Name List as shown in figure 14. Fig 14:

Fig 14: Name List for Ethernet Configuration

Here, the Analog elements can be declared directly as per the tag name, but the Bool elements should be packed into a Boolean32 or Boolean16 variable to optimize the communication and reduce load on the controller.

The Bool elements will now have the address as <boolean32 variable name>.$<element number>, for example ATF_1.$0, where ATF_1 is the Boolean32 variable declared in the Access Variables and 0 is the 0 th bit of the variable as shown in figure 14.Here, input and output both will have only tag name as the address in the Name List, unlike PROFIBUS.

In Control Builder, the variables have to be declared in Access Variables, with the same tag name as given in the HMI Name List. If packing is done for bool elements, the tag name without the element number has to be used. If the variable is ATF_1.$0 in the Name List, ATF_1 has to be declared in the Access Variables. ATF_1 will be a Boolean32 or Boolean16 data type in Control Builder and the individual Bool variables can be moved into it. Here the order in which elements are declared is not important. Figure 15 shows the Access Variables.

Panel Builder 800 Manual

Panel Builder 800 Manual Fig 15: Access Variables in Controller  13 

Fig 15: Access Variables in Controller

Panel Builder 800 Manual

5. Dynamisation

Once the Name List is ready, it can be imported into Panel Builder by going to View -> Name List -> Import as shown in figure 16.

View -> Name List -> Import as shown in figure 16. Fig 16: Name List Now

Fig 16: Name List

Now the Graphical Elements can be dynamised by entering the address of the element in the properties -> Digital/ Analog Signal as shown in figure 17.

Panel Builder 800 Manual

Panel Builder 800 Manual Fig 17: Dynamisation of Graphical Elements If the element is for Digital/Analog

Fig 17: Dynamisation of Graphical Elements

If the element is for Digital/Analog Input, goto properties -> Access -> Enable Operator Input as shown in figure 18.

Access -> Enable Operator Input as shown in figure 18. Fig 18: Operator Input  15

Fig 18: Operator Input

Panel Builder 800 Manual

6. Password Protection

Operator input elements can be password protected to avoid misuse. This can be done by going to Functions -> Passwords.

This can be done by going to Functions -> Passwords. Fig 19: Password Protection Here the

Fig 19: Password Protection

Here the password levels can be set, for operator or admin. The Automatic Logic must be checked for the Passwords to work locally on the HMI. The Login timeout can be set to any value for automatic logout.

The Operator Input elements can be password protected by going to Properties -> Access -> Security Level and selecting the appropriate level required.

Other features like Logout, Change Password can also be implemented. Simply place a Touch Key and in the Other Functions select the appropriate function as shown in figure 20.

Panel Builder 800 Manual

Panel Builder 800 Manual Fig 20: Password Protection Fig 21: Change Password and other functions 

Fig 20: Password Protection

Panel Builder 800 Manual Fig 20: Password Protection Fig 21: Change Password and other functions 

Fig 21: Change Password and other functions

Panel Builder 800 Manual

Panel Builder 800 Manual Fig 22: Password Protected Start Button  18 

Fig 22: Password Protected Start Button

Panel Builder 800 Manual

7. Downloading to HMI

Once the HMI program is ready, it can be downloaded to the HMI using Ethernet. Goto Transfer -> Communication Properties and select TCP/IP as shown in figure 23.

Properties and select TCP/IP as shown in figure 23. Fig 23: Downloading to HMI The default

Fig 23: Downloading to HMI

The default IP Address of the HMI is set to 192.168.1.1, therefore the IP address of the computer should also be changed to 192.168.1.XXX. If Ethernet Communication is used, the IP address of the HMI will change and after first download, the new IP address has to be entered and similarly the computer’s IP address has to be changed.

Now the program can be transferred by going to Transfer -> Project -> Send.

Panel Builder 800 Manual

Panel Builder 800 Manual Fig 24: Downloading to HMI  20 

Fig 24: Downloading to HMI