0% found this document useful (0 votes)
10 views8 pages

HMI Experiment No-1

The document outlines an HMI experiment for fourth-year control laboratory students, focusing on program editing and simulation using XP-Builder. It details objectives such as illustrating the XP-Builder simulator, exploring HMI hardware, designing a simple project, and interfacing with PLC. The document also includes programming components, steps for creating HMI interfaces, and simulating PLC and HMI programs.

Uploaded by

jasmhmyd205
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views8 pages

HMI Experiment No-1

The document outlines an HMI experiment for fourth-year control laboratory students, focusing on program editing and simulation using XP-Builder. It details objectives such as illustrating the XP-Builder simulator, exploring HMI hardware, designing a simple project, and interfacing with PLC. The document also includes programming components, steps for creating HMI interfaces, and simulating PLC and HMI programs.

Uploaded by

jasmhmyd205
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Control Laboratory

Fourth Year

HMI Experiment No.1

Program Editing, and Simulation of HMI by XP-Builder

Student's Name: --------------------------------------------------------------------------

Student's No.: ---------

Type of Studying: --------------------------------------------------------------------------

Prepared by:
Prof. Dr. Mofeed T. Rashid
Prof. Dr. Ammar A. Aldair
Dr. Abdul-Basset A. Al-Hussein

Control Lab – Fourth Year Page 1


Objective
1- Illustrate XP-Builder simulator based on HMI environment through all required steps to edit and
create a program.
2- Explore the hardware structure of a HMI kit.
3- Design a simple project and simulate its behavior by XP-Builder and XG5000.
4- Practically implement and interface a simple project between a PC, HMI and a PLC.

Introduction
The touch panels which are also called human machine interfaces (HMI) are programmable devices
permit the human operators to communicate with the industrial control systems like for example the
programmable logic controller (PLC), the variable frequency drive (VFD) and the servo driver. There are
large number of touch panel manufacturers and each series of panels have their own programming
software. As an examples, XP_50TTA is LSIS product and is programmed using XP-BUILDER,
DOP_B10E615 is Delta one programmed by SCREEN_EDITOR, KTP_400 is Siemens brand and is
programmed by SIMATIC WINCC. In fact, all the brands and supported programming software shot the
same birds. They provide the human operator with the abilities to monitor the critical process variables
in the way they prefer, input commands to select the suitable control algorithm, direct the maintenance
technicians to fault source (s), give pictorial representation to the process under control, allow different
languages speakers to deal with the machinery, etc. Specifically one can say the programmed HMI is
have the ability to modify the controllers memory contents ( lnput-image register, output-image register,
memory-registers) as bit, byte, word, dword, real, and also as group of any of these types and also have
the theme related display technique. In addition, here one must not forget that HMI is can be
programmed with high level like languages (C, Basic) to implement their own tasks. Here LSIS brand will
be used to introduce the role of the HMI panels in the industrial process control and the commonly used
software programming components.

Control Lab – Fourth Year Page 2


Software Programming Components
As stated before the HMI communicates with the programmable controller to read or modifies their
memory locations. The HMI itself deals with the operator through a number of screens or pages on which
the software graphical components or interfaces are positioned. Some of these components act as a
mirror to display what are going inside the programmable controller and others as loaders responsible
to load or modify the memory locations with the desired values. The following are the most commonly
used items or components in this context.

1) Bit Switch
Bit switch is used to control the ON/OFF of the relevant PLC bit address. It can be assigned any shape
from the programming environment library or new created shapes. It may be found in one of four modes.
These are:

a. ON mode: Pressing the bit switch under this mode sets the PLC relevant bit on and preserves the on
state whether the switch is still pressed or not.
b. OFF mode: Pressing the bit switch with this mode resets the PLC relevant bit previously set by a bit
switch of on mode. The state is preserved whether the switch is still pressed or not.
c. Momentary mode: Here the bit switch behaves as if it were normally open push button. As long as
the switch is pressed the PLC relevant bit is on. The time the switch is released the PLC bit return to
its normal value.
d. Alternative mode: In this mode of operation, each time the bit switch is pressed the PLC relevant bit
is inverted that means if it was on before the pressing, after the pressing it becomes off and if it was
off it becomes on.

Control Lab – Fourth Year Page 3


Example 12.1: Design HMI interface screen to enable the operator to:
(1): Control the on/off of a lamp using one bit switch.
(2): To start/stop motor starter using two pushbutton like approach.
(3): To set/reset PLC memory bit %MW2.0 which controls coil Y. Also attach the relevant PLC ladder
program.
Solution:

Table 1
Bit Switch LampSW ON OFF SET RESET
Mode Alternative Momentary Momentary ON OFF
Address MW3.0 MW1.1 MW1.0 MW2.0 MW2.0

Control Lab – Fourth Year Page 4


Program Editing Steps
1- Launch XP-Builder and follow the steps to create a new project, which the program environment
is demonstrated as in Fig.1.

(A)

(B)

Control Lab – Fourth Year Page 5


(C)

(D)
Fig. 1: Create New Project.

Control Lab – Fourth Year Page 6


2- Create HMI example in XP-Builder as shown in Fig. 2. Use Table 1 for the bit switches setting.

Fig. 2: Create HMI program

3- Create PLC Ladder program in XG5000 as shown in Fig. 3

Fig. 3: Create PLC ladder program.

Control Lab – Fourth Year Page 7


4- Simulate PLC and HMI program together as follow
(a) Run the simulation of PLC Program from XG5000 software.
(b) Run the simulation of HMI program from XP-Builder software.
(c) Reorder the windows of simulation as shown in Fig. 4.

Fig. 4: Simulation of HMI and PLC Program.

Control Lab – Fourth Year Page 8

You might also like