Inst ToolsInst ToolsInst Tools
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Automatic Coffee Vending Machine – PLC Logic Programming
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Automatic Coffee Vending Machine – PLC Logic Programming

Automatic Coffee Vending Machine – PLC Logic Programming

Automatic Coffee Vending Machine using PLC Ladder Logic : Design a PLC program to get a cup of coffee by inserting a coin in the vending machine.

Last updated: November 3, 2023 2:57 pm
Editorial Staff
PLC Tutorials
2 Comments
Share
4 Min Read
SHARE

This is a PLC Program for an automatic coffee maker machine. Learn the PLC programming based on example projects.

Contents
Automatic Coffee Vending MachineProblem DiagramProblem SolutionList of Inputs and OutputsInputs ListOutputs ListM memoryPLC Program for Automatic Coffee Vending MachineProgram ExplanationNetwork 1:Network 2:Network 3:Network 4:Network 5:Network 6:Network 7:Network 8:

Automatic Coffee Vending Machine

Problem Description

Design PLC program for automatic coffee machine to get a cup of coffee by inserting a coin in the machine. Implement the PLC program for this machine by using ladder diagram language.

Problem Diagram

Automatic Coffee Machine

Problem Solution

  • For this application we will use S7-300 PLC and TIA portal software for programming.
  • In this example, we used valves for coffee and hot water control.
  • Agitator is used for mixing purpose in the container.
  • Here coffee outlet will start when coin will be inserted. so we used coin detector for detection.
  • When coin is inserted, coffee output and cup outlet will start and turn off after some time duration.
  • After that hot water outlet will start and hot water will be poured in the container and after mixing ready-made coffee will be poured into the empty cup.

Also Read : PLC Maintenance Checklist

List of Inputs and Outputs

Inputs List

  • START PB :- I0.0
  • STOP PB :- I0.1
  • Coin detector :- I0.2
  • Pressure detector :- I0.3

Outputs List

  • Paper cup outlet :- Q0.1
  • Coffee outlet :- Q0.2
  • Hot water outlet :- Q0.3
  • Agitator :- Q0.4
  • Ready-made coffee outlet :- Q0.5

M memory

  • Positive edge 1 :- M0.0

PLC Program for Automatic Coffee Vending Machine

PLC Ladder Logic for Coffee Machine
PLC Ladder Logic for Coffee Machine
PLC Ladder Logic for Coffee Machine
PLC Ladder Logic for Coffee Machine
PLC Ladder Logic for Coffee Machine
PLC Ladder Logic for Coffee Machine
PLC Ladder Logic for Coffee Machine
PLC Ladder Logic for Coffee Machine

Program Explanation

For this application, we used S7-300 PLC and TIA portal software for programming.

Network 1:

If system on/off switch (I0.0) is ON, system ON (Q0.0) lamp will be ON.

Network 2:

System is ON and when coin is detected, paper cup outlet (Q0.1) and coffee outlet (Q0.2) will be ON.

Network 3:

When both the outputs (paper cup outlet and coffee outlet) are ON, hot water outlet timer will be ON and timer will start.

Network 4:

Hot water outlet (Q0.3) will start after given time and both the outputs (paper cup outlet and coffee outlet) will be OFF.

Network 5:

If pressure (I0.3) detected, agitator (Q0.5) and ready-made coffee ON delay timer will start.

Network 6:

After given delay ready-made coffee outlet valve (Q0.5) will be ON.

Network 7:

When pressure is not detected (I0.3), ready-made coffee outlet (Q0.5) will be OFF.

Network 8:

When system is OFF or E top (emergency stop) is pressed, all outputs should be reset.

Note :- Above application may be different from actual application. This example is only for explanation purpose only. We can implement this logic in other PLC also. We can use this concept with little modifications in any other similar application like tea, juice, mixer etc.

All parameters considered in this example are for explanation purpose only, parameters may be different in actual applications. Also all interlocks are not considered in the application.

Author: Bhavesh

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Automatic Door Control uisng PLC
  • PLC  3 to 8 Line Decoder
  • Conveyors ON and OFF Sequence
  • PLC Automatic Lamp Control
  • Liquid Mixing Control using PLC
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Recommended Articles

Pump and Mixer Operations Example: PLC Timer-Based Control
Machine Indicator Lights: PLC Programming Solution
Top 100 PLC Objective Questions and Answers
Examples of SCADA and PLC Configuration Systems
Why Baud Rate is Important in Modbus Network?
How to Configure Analog Inputs and Outputs in Delta PLC?
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
2 Comments
  • laxmi kant patel says:
    December 21, 2019 at 10:52 pm

    hello sir ,

    This is laxmi kant patel, i have some query about coffee machine programing. how can i contact you, give your contact or email.

    Reply
    • M.harish anand says:
      November 14, 2022 at 5:35 pm

      Hi Sir,
      For my project Iam going to do coffee vending machine. And my father will help me, he is know service and he selling that coffee powder as a side business. Can you please send in email that process and parts needed. Thank you sir.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • William Snyder on Top Non-PLC Certification Courses for Automation Professionals
  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

Automatic Packing of Bottles

Automatic Packing of Bottles Programming

Structured Text PLC Example for Motor Interlocking and Control

Structured Text PLC Example for Motor Interlocking and Control

Basic PLC Alarm Programming Example

Basic PLC Alarm Programming Example

Electrical Drives Animation

Electrical Drives – Modes, Types, Speed Control Applications

PLC Program for an Alternate output circuit

PLC Program for Alternate Output Circuit with Latched Function

Brands PLC communication interface and protocol

Communicating Between Siemens PLC and Other PLC Brands

Allen Bradley Powerflex VFD

Allen Bradley Powerflex VFD

Siemens PLC

Will PLCs become obsolete?

More Articles

Gyroscope Objective Questions

Gyroscope Objective Questions

Cars Garage Counter From the Same Door PLC Logic

Cars Garage Counter From the Same Door PLC Logic

Difference between Repeatability and Reproducibility

Difference between Repeatability and Reproducibility

Snap Acting Relay Working Principle

Snap Acting Relay Working Principle

Serial Communication Interview Questions

Serial Communication Interview Questions and Answers

Control Valve Cv Formula

Control Valve Cv calculation

Two Transistor Model of Thyristor

Thyristors – Switching, Two Transistor Model, Advantage, Applications

ANSI Class Relates to PSI

How ANSI Class Relates to PSI ?

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?