Implementation of Logic Gate in PLC Using Ladder Programming Language

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 29

IMPLEMENTATION OF LOGIC GATE IN PlC USING LADDER

PROGRAMMING LANGUAGE

1. AND GATE – Truth Table –

Equation of the AND Gate Input (I1) Input (I2) Output (Q1)
Y= A.B 0 0 0
0 1 0
1 0 0
1 1 1
2 . OR GATE -

Equation of the OR Gate – Truth Table –

Input (I1) Input (I2) Output (Q1)


Y = A+B 0 0 0

0 1 1

1 0 1

1 1 1
NOT GATE

Equation of NOT Gate – Truth Table

Input (I1) Output (Q1)


Y=A Or A/
0 1
1 0
NAND GATE

Equation of NAND Gate – Truth Table –

Input (I1) Input (I2) Output (Q1)


Y = A/ + B/
0 0 1

0 1 1

1 0 1

1 1 0
NOR GATE

Equation of NOR Gate – Truth Table –

Input (I1) Input (I2) Output(Q1)


Y = A/.B/
0 0 1

0 1 0

1 0 0

1 1 0
EX – OR GATE -

Equation of EX – OR GATE – Truth Table –

Y = (A.B/) + (A/.B) or A ⊕ B Input (I1) Input (I2) Output (Q1)

0 0 0

0 1 1

1 0 1

1 1 0
EX – NOR GATE

Equation of EX – NOR Gate – Truth Table –

Input (I1) Input (I2) Output (Q1)


Y = (A/.B/) + (A.B) or A ⊕ B 0 0 1
0 1 0
1 0 0
1 1 1
BASIC LOGIC METHOD
LATCHING
If we dont latch , the output will only
be active as long as the input is active.

You will have to hold your finger on the


button to keep the output activated.

But lets say that the output control a


fan for a ventilation system.

It would not be very convenient for the


operator to hold down the button all
the time.

We need a way to keep the output


active, even through the operator
releases the push button.
When PB 5, 6, 7 are pressed to switch on a lamp when PB 6 & 7 are
released Lamp is still ON
• Draw a ladder diagram for ON & OFF of Motors for following
conditions –
1. Start push button turn ON the motor 1
2. Stop push button turn off motor 1 & start motor 2
INTERNET OF THINGS (IOT)

IOT is the network of physical objects or "things" embedded with


electronics, software, sensors & networks connectivity, which enable
this objects to collect and exchange data.
This exchange of data into a wide arrey of additional gadgets and
everday items, enabling new forms of communication between people
and things, and between things themsalves.
HISTORY OF IOT

The main concept of a network of smart devices was discussed as early


as 1982, with a modified Coca-cola vending machine at Carnegie
Mellon University becoming the first internet-- connected appliance.
The term "IOT" was likely coined by kevin Ashton, in 1999, he viewed
Radio- Frequency identification (RFID) as essential to the internet of
thing, which would allow computers to manage all individual things.
HOW IOT WORKS

IOT Consist of all the web - enable devices that collect, send and act on data which they aquire from thare
surrounding environment using sensors, processor and communication hardware.
This devices called "smart devices", can sometimes talk to other related devies a process callledmachine to
machine communication.
Human can interact with the gadget to set them up, give them instruction or access data, but the devices do
most of the work in their own.
COLLECTION

Devices and Sensor are collecting data from everywhere

• At your home
• At your car
• At the office
• At the Manufacturing plants
ANALYSIS

 Creating information from data

• visualing the data


• building the reports
• filtering of data ( pairing it down)
ACTION

Taking action based on information and data

• Communication with another machine ( M2M or M2H )


• Send a notification ( email, sms, text )
• Talk to another system
ACTION
STRUCTURE OF IOT

The IOT can be viewed as a very large network of some small networks
of devices , computers connected through a series of intermediate
technologies like RFIDs, wireless connection for their connectivity.

• Tagging things
• Feeling things
• Shrinking things
• Thinking things
APPLICATION
• Building and home automatinon
• Manufacturing
• Medical and health care Systems
• Media
• Environmental Monitoring
• Infrastructure Management
• Energy Management
• Transport Management
• Better quality of life for elderly
ADVANTAGES

• Communication between people and thins/objects


• Better automation and control
• Save time
• Save money
• Better quality of life
DISADVANTAGES

• Complexity
• Privacy / security
• Safety
• Lesser employment of menial staff
• Technology takes control of life

You might also like