0% found this document useful (0 votes)
52 views10 pages

Experiment No2 HMI

This document describes experiments using different PLC interface methods in an HMI system, including using bit lamps to display ON/OFF states, bit switches for momentary input, and word switches to modify values in PLC memory addresses like selecting filling quantities for an ice cream machine. Examples are provided for designing HMI screens and ladder logic to control a star/delta starter and ice cream filling machine using these interface components. Exercises at the end involve designing logic for an XOR gate test and a soft drink vending machine.

Uploaded by

Hassan alla
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)
52 views10 pages

Experiment No2 HMI

This document describes experiments using different PLC interface methods in an HMI system, including using bit lamps to display ON/OFF states, bit switches for momentary input, and word switches to modify values in PLC memory addresses like selecting filling quantities for an ice cream machine. Examples are provided for designing HMI screens and ladder logic to control a star/delta starter and ice cream filling machine using these interface components. Exercises at the end involve designing logic for an XOR gate test and a soft drink vending machine.

Uploaded by

Hassan alla
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/ 10

PLC Laboratory

Fourth Year

Experiment no.2

Bit Lamp, and Word Switch

Prepared by:
Dr Mofeed T. Rashid
Dr Auday Basheer
Dr Ammar A. Aldair

PLC Lab – Fourth Year Page 1


Objective
Designing an interactive visual interface using HMI to control PLC by Bit Switch, Bit Lamp, and Word
Switch.

Introduction
There many ways for interfacing between HMI and PLC in order to control the operation of PLC
concerning input, monitoring output, and tuning parameters, therefore in this experiment, we will start
to use some of these methods that used for input and monitoring output as follows:

1. Bit Lamp:

Bit lamp is used to display the ON/OFF state of the relevant PLC bit address. Its default
Shape is lamp shape, but it can be assigned any shape from the programming
environment library or new created shapes.

Example: Design HMI interface screen to enable the operator to on/off and monitor
star/delta starter. Also attach the relevant PLC ladder program.

Bit Device Type Mode Address


OFF Bit switch Momentary MW1.0
ON Bit switch Momentary MW1.1
Main Bit lamp QX0.0.0
Star Bit lamp QX0.0.1
Delta Bit lamp QX0.0.2
1) Bit device characterstics.

PLC Lab – Fourth Year Page 2


Bit lamp

Bit switch

(b) Interface HMI Page

(c) PLC ladder diagram

PLC Lab – Fourth Year Page 3


Example Execution

PLC Lab – Fourth Year Page 4


2. Word Switch:

Word switch is used to modify the content of 16 bit or 32-bit size PLC memory address.
As 16-bit switch, it can support Signed and Unsigned DEC PLC data types, and as 32-bit
size supports Signed DEC, Unsigned DEC and Float PLC data types. It can take any shape
from the programming environment shape's libraries or assigned new shape according
to the designer understanding. The -operation margin of this~ switch extends to four
mode of operations. These are Set mode, ADD, SUB, Digit ADD, Digit SUB, and Script.

Set mode:

Pressing the word switch under this configuration writes the direct or indirect set value
in the PLC relevant address. With direct set value (constant), it preserves that value
whether the switch is still pressed or not. With indirect one (content of another device),
the relevant PLC address receives that of another at the pressing instance.

Example: In ice cream filling machine, the quantity of drawn ice cream
depends upon the tune interval, the outlet solenoid valve is activated. Assume
there are three cone sizes, design PLC ladder program and HMI interface
screen to enable the operator to select the proper filling utility.

Solution:
Device Caption Type Set value Address Display
Fill-Solenoid (out) Bit lamp QX0.0.0 Visible
Family size Word switch 400 MW4 Image
medium size Word switch 200 MW4 Image
Small size Word switch 100 MW4 Image
Bit switch
Fill MW1.0 Transparent
(Momentary)
(a) Device Characteristics

PLC Lab – Fourth Year Page 5


(b) Interface HMI page

(c) PLC Ladder Diagram.

PLC Lab – Fourth Year Page 6


How to draw word switch:

1) Draw three Ice cream images with different sizes by paint as shown in figure

2) In XP-BUILDER, insert word switch and change parameters as in table (a)

PLC Lab – Fourth Year Page 7


3) From display change the Word switch image (for both on state and off state) as shown bellow

4) Above each Word switch, draw Bit switch make its parameter as in table (a), and then make the
display is transparent (for both on state and off state) as shown in figure below

PLC Lab – Fourth Year Page 8


The Execution of Example

Exercises:
Q1: Design logic circuit by HMI and PLC for testing the function of XOR.

A B

PLC Lab – Fourth Year Page 9


Q2) Design a soft drink machine as in the following figure, noting that Pepsi is two sizes
(family and small), 7-up is small only, and Coca-Cola has three sizes (family, medium and
small).

Fill Cup

Small Medium Family Small Small Family

Coca Cola 7-Up Pepsi

PLC Lab – Fourth Year Page 10

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy