You are on page 1of 4

Introduction

The aim of the project is to create an HMI. The HMI must be created in Automation Studio from
B&R. The mappView technology from B&R must be used. The project template (CNC_Machine.zip) is
available in the course folder of the LVA via the e-learning platform.

Project task WS 20/21


To be able to compile and run the project please make sure that the following versions of the
following packages are installed (Menu Project-Change runtime version.

Functional description
In order to be able to create an HMI, an Automation Studio project was prepared in advance. This
project contains a list of variables that can be used to link them to elements of a visualization. The
functions of the variables represent the behavior of a machine tool. This machine tool is a 3-axis
machining center with integrated spindle. Due to the scope of the project and the functional
possibilities of a WZM, not all possible functions of a real WZM were implemented. Available functions
of the WZM are among others:

• Switch on - Switch off


• Homing function
• Override
• Program functions
▪ Call
▪ Start/ Stop
▪ Single step procedure
▪ Pause
▪ Continue
• Block functions
▪ Start
▪ Stop
▪ Loading block parameters
▪ Saving of block parameters
• Manual movement of the individual axes
• Status information
▪ Current position
▪ Current speed
▪ Remaining path
▪ NC code display of the current program
• File management
▪ Switching between drives and sources
▪ Display of CNC programs
▪ Display of parameter files for NC Block
▪ Creation of new NC Block parameter files

In addition to these basic functionalities, several mappServices from B&R are already integrated into
the project. In addition to the mappServices for a CNC machine and a file manager, an mpAlarmX
mappService is also active, which already records alarms from the various mappServices. These can
be represented thus without further in an alarm list. In addition, the source code of the CNC_Init task
already contains the options for resetting and acknowledging some error messages. These possibilities
can be extended user-specifically.

In addition a list of CNC programs is deposited in the project, which can be used for testing the WZM
over a HMI. To be able to access the prepared CNC programs, the device number 2 (local) must be
selected as file device! If you want to save CNC programs on a data carrier or load them from this, the
data carrier F: is prepared for this. Please pay attention to the following: CNC files MUST be stored
under the following path F:\CNC_Prg\ ! This corresponds to the file device with the number 0! If you
want to store or load parameters for a NC block in a file, the storage location is not important. Here
you can also use the file device 1. This corresponds to the drive H:\You can adjust the assignment of
the filedvices under the properties of the controller in Automation Studio's Physical View. Please note,
however, that you must always use the file device with the name CNC_PrgDir for CNC programs.
Task:
The goal of the project is to create an XML based visualization with mappView. The HMI should offer
the following functions:The WZM must be operableThe HMI must be clear and structured (use of
menu, info area, header, etc.) To be able to offer these functions, the following areas or elements
must be used:

• Layout with at least two areas


▪ Size freely selectable
• Menu bar
▪ Navigation buttons
▪ Logos
▪ Etc.
• Machine control
▪ Buttons
▪ Numeric input
▪ Numerical output
▪ Diagrams (OnlineChart)
▪ Text Input/ Output
▪ Etc.
• User control
▪ Login
▪ User Information
▪ Logout
▪ Rights management (at least 3 different roles and at least 1 user per role)
• Alarm handling
▪ Alarmlist
▪ Reset alarm
▪ Ackn alarm
▪ Etc.
• Editor for CNC program editing
▪ Open programs
▪ Saving programs
▪ Starting programs
• Language switching (at least two languages)
• Etc.

The list of functions and elements can be extended as much as you like.to achieve a positive
assessment the listed elements and functions must be available.to get a very good assessment at least
one element must be used which was NOT discussed in class. This clearly demonstrates that the
understanding and use of mappView is present. It must also be an element that has a complexity such
as the element "ListBox" or "OnlineChart".
Descriptions and examples can be found in the B&R help. To give you a better picture of the WZM you
will find in the appendix a very simple visualization that depicts some basic elements. If you implement
the contents of this template and extend it with a menu, a user control, a language switch as well as
a structured layout your project is positive. Structure, complexity of the elements as well as
functionality are the main criteria of the

You might also like