Panel Builder 800 Reference Manual

download Panel Builder 800 Reference Manual

of 21

Transcript of Panel Builder 800 Reference Manual

  • 8/10/2019 Panel Builder 800 Reference Manual

    1/21

    INPA CT, Gundeep Singh Saini

    Panel Builder 800

    HMI Manual for PROFIBUS & Ethernet Communication

    1 March 2013

  • 8/10/2019 Panel Builder 800 Reference Manual

    2/21

    Panel Builder 800 Manual

    1

    Table of Contents

    1. About this Document..... 2

    2.

    Basic Setup .2

    3. Graphics Development .6

    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

  • 8/10/2019 Panel Builder 800 Reference Manual

    3/21

    Panel Builder 800 Manual

    2

    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 HMIs are configured with the Panel Builder 800 tool. Figure 1 shows the

    overview of the software.

    Fig 1: Panel Builder 800 Overview

    To start a new project, gotoFile -> New and select the type/model of the Process Panel and then select

    the Controller Type (Ethernet/Profibus) as shown in figure 2.

  • 8/10/2019 Panel Builder 800 Reference Manual

    4/21

    Panel Builder 800 Manual

    3

    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.

  • 8/10/2019 Panel Builder 800 Reference Manual

    5/21

    Panel Builder 800 Manual

    4

    Fig 3: Ethernet Network Configuration

    The next step is to declare the IP Address of the HMI. Double click on the TCP/IP ConnectionTab in the

    Network Connections and declare the IP Address and Subnet Mask as shown in figure 4.

    Fig 4: Setting IP Address of the HMI

  • 8/10/2019 Panel Builder 800 Reference Manual

    6/21

    Panel Builder 800 Manual

    5

    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.

    Figure 5: PROFIBUS Settings

    Fig 6: Profibus Settings

  • 8/10/2019 Panel Builder 800 Reference Manual

    7/21

    Panel Builder 800 Manual

    6

    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 Objecttab on the top.

    Figure 7a: New Graphical Block

    Fig 7b: Adding Graphic Objects

  • 8/10/2019 Panel Builder 800 Reference Manual

    8/21

    Panel Builder 800 Manual

    7

    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.

    Fig 8a: Graphical Layout

    Fig 8b: Graphical Layout

  • 8/10/2019 Panel Builder 800 Reference Manual

    9/21

    Panel Builder 800 Manual

    8

    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.

    Fig 9: Name List Template

    4.1 PROFIBUS Communication

    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_ orID_, where QD is display

    and ID is input from the HMI. For Digital Elements of type Bool, the variable address will be Q4.xor I4.x,

    where 4 is 4thbyte and x is the xth bit of that 4thbyte.

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

  • 8/10/2019 Panel Builder 800 Reference Manual

    10/21

    Panel Builder 800 Manual

    9

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

    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.0Q16.7, Q17.0Q17.7, Q18.0Q18.7,

    Q19.0Q19.7. These 32 Bool elements can be mapped to 1 dint element, say BOOL_1, inserted after the

    already declared OUTPUT 4 Real Blockas shown in figure 11.

  • 8/10/2019 Panel Builder 800 Reference Manual

    11/21

    Panel Builder 800 Manual

    10

    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.

    Fig 12: Packing of Bool to Dint

  • 8/10/2019 Panel Builder 800 Reference Manual

    12/21

    Panel Builder 800 Manual

    11

    Similarly, for the HMI to controller variables, in place of OUTPUT, INPUTBlocks need to be used as

    shown in figure 13.

    Fig 13: Input Block

  • 8/10/2019 Panel Builder 800 Reference Manual

    13/21

    Panel Builder 800 Manual

    12

    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.

    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 .$, for

    example ATF_1.$0, where ATF_1 is the Boolean32 variable declared in the Access Variables and 0 is the

    0thbit 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 theAccess 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.

  • 8/10/2019 Panel Builder 800 Reference Manual

    14/21

    Panel Builder 800 Manual

    13

    Fig 15: Access Variables in Controller

  • 8/10/2019 Panel Builder 800 Reference Manual

    15/21

    Panel Builder 800 Manual

    14

    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.

    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.

  • 8/10/2019 Panel Builder 800 Reference Manual

    16/21

    Panel Builder 800 Manual

    15

    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.

    Fig 18: Operator Input

  • 8/10/2019 Panel Builder 800 Reference Manual

    17/21

    Panel Builder 800 Manual

    16

    6.

    Password Protection

    Operator input elements can be password protected to avoid misuse. This can be done by going to

    Functions -> Passwords.

    Fig 19: Password Protection

    Here the password levels can be set, for operator or admin. The Automatic Logicmust be checked for

    the Passwords to work locally on the HMI. The Login timeout can be set to any value for automaticlogout.

    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 Keyand in

    the Other Functions select the appropriate function as shown in figure 20.

  • 8/10/2019 Panel Builder 800 Reference Manual

    18/21

    Panel Builder 800 Manual

    17

    Fig 20: Password Protection

    Fig 21: Change Password and other functions

  • 8/10/2019 Panel Builder 800 Reference Manual

    19/21

    Panel Builder 800 Manual

    18

    Fig 22: Password Protected Start Button

  • 8/10/2019 Panel Builder 800 Reference Manual

    20/21

    Panel Builder 800 Manual

    19

    7.

    Downloading to HMI

    Once the HMI program is ready, it can be downloaded to the HMI using Ethernet. Goto Transfer ->

    Communication Propertiesand select TCP/IP as shown in figure 23.

    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 computers IPaddress has to be changed.

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

  • 8/10/2019 Panel Builder 800 Reference Manual

    21/21

    Panel Builder 800 Manual

    20

    Fig 24: Downloading to HMI