Table of Contents
Prev
Start: of Posts Show
Next

Snack Vending Machine Simulation for One Type of Product using PLC Control


Video about snack vending machine for one type of product. This use Game Control for Simulation of Snack Vending Machine. See the video for How to work of Snack Vending Machine Simulation.

Free Download for Snack Vending Machine Simulation for One type of product:
(This file on Google Docs, for download: click File and click Download)
1. Download for Windows x86(XP): click here
2. Download for Windowsx64 (WIN7): click here
3. Download for Mac: click here
4. Download for Linux: click here
Image about Insert Coin of Snack Vending Machine Simulation.
Snack Vending Machine Simulation

Image about take snack after snack vending machine finish process.
Take Snack in Snack Vending Machine Simulation

A. PLC Input and PLC Output
This application use PLC Controller for drive / controller of Snack Vending Machine. And Input / Output needed by the PLC for Snack Vending Application:
A1. PLC Input :
[Input0] One Input for receiving signal from Coin Acceptor.
[Input1]One Input for receiving signal from the Rotation Sensor, example: Proximity Sensor or etc.
A2. PLC Output :
[Output0] One Output to Drive an Electric Motor Run.
[Output1] One Output to Switch Position Rack 1.
[Output2] One Output to Switch Position Rack 2.
[Output3] One Output to Switch Position Rack 3.
[Output4] One Output to Switch Position Rack 4.
[Output5] One Output to Switch Position Rack 5.

Thus, the input and output requirements for Snack Vending Machine Application are: 2 Input and 6 Output of PLC input / output modules.
See the image for PLC Input Indicator and PLC Output Indicator:
PLC Input Output Indicator for Snack Vending Machine Application

B. Electrical Wiring of Snack Vending Machine for One type of product
B1. Detail of Snack Vending Machine
Detail 1 of Snack Vending Machine

Detail 2 of Snack Vending Machine
Remarks of Detail Number:
1. Position Rack 1
2. Position Rack 2
3. Position Rack 3
4. Position Rack 4
5. Position Rack 5
6. Coin Acceptor
7. Coin Box
8. PLC Box or Panel Control Box
9. Electric Motor for Rack 1
10. Electric Motor for Rack 2
11. Electric Motor for Rack 3
12. Electric Motor for Rack 4
13. Electric Motor for Rack 5
14. Rotation Sensor / Proximity Sensor for Rack 1
15. Rotation Sensor / Proximity Sensor for Rack 2
16. Rotation Sensor / Proximity Sensor for Rack 3
17. Rotation Sensor / Proximity Sensor for Rack 4
18. Rotation Sensor / Proximity Sensor for Rack 5

B2. Electrical Wiring of Snack Vending Machine
1. PLC Wiring Diagram
PLC Wiring Diagram for Snack Vending Machine

2. Motor Control and Relay wiring diagram for each Rack without speed control motor
Wiring Diagram for Snack Vending Machine without speed control motor

3. Motor Control and Relay wiring diagram for each Rack with speed control motor
Wiring Diagram for Snack Vending Machine with speed control motor

Example Coin Acceptor :
http://www.adafruit.com/category/35_104
Example Rotation Sensor / Proximity Sensor :
http://program-plc.blogspot.com/2009/06/equipments-of-input-for-plc.html
http://program-plc.blogspot.com/2009/06/example-of-input-wiring-diagram-plc.html
Example Relay or Contactor :
http://program-plc.blogspot.com/2009/06/equipments-output-plc-system.html
http://program-plc.blogspot.com/2009/06/training-wiring-diagram-output-plc.html
Example Speed Control Motor :
http://program-plc.blogspot.com/2009/10/speed-control-motor-to-plc.html

C. Sequences PLC Programming for Snack Vending Machine for One type of product
1. Number of products per rack = 7 pieces snack
2. Number of Racks = 5 racks
3. Total of all products = 7 x 5 = 35 pieces snack
4. Use PLC Counter (Total Products) to enter the Total of all products.
5. Setting PLC Counter with 35 for start value (full snack).
6. Use PLC Counter to count the coins from the Coin Acceptor signal [Input0].
7. Switch Rack Position and Rotation Sensor:
7.1.Rack 1 (Relay R1 [Output1]) only ON, If PLC Counter (Coins) greater than zeroand value PLC Counter (Total Products) between 29 and 35.
7.2. Rack 2 (Relay R2 [Output2]) only ON, If PLC Counter (Coins) greater than zero and value PLC Counter (Total Products) between 22 and 28.
7.3. Rack 3 (Relay R3 [Output3]) only ON, If PLC Counter (Coins) greater than zero and value PLC Counter (Total Products) between 15 and 21.
7.4. Rack 4 (Relay R4 [Output4]) only ON, If PLC Counter (Coins) greater than zeroand value PLC Counter (Total Products) between 8 and 14.
7.5. Rack 5 (Relay R5 [Output5]) only ON, If PLC Counter (Coins) greater than zeroand value PLC Counter (Total Products) between 1 and 7.
See the table below with PLC Counter (Coins) greater than zero:
table total product and switch rack position of snack vending machine

8. Use PLC Counter to count the Rotation Sensor [Input1]
9. If PLC Counter (Coins) greater than zero (pulse up) then reset to zero of PLC Counter (Rotation Sensor).
9.1. For one full rotation, then the value of PLC Counter (Rotation Sensor) equal to two.
9.2. One Full Rotation equal to One Coin or One Piece Snack
9.3. If PLC Counter (Rotation Sensor) equal to two :
9.3.a. Decrease PLC Counter (Total Products) by one
9.3.b. Decrease PLC Counter (Coins) by one
9.3.c. Reset to zero of PLC Counter (Rotation Sensor)
10. If Relay R0 [Output0] is ON, then PLC Counter (Coins) greater than zero and one of R1 [Output1] to R5 [Output5] is ON
11. If PLC Counter (Coins) is zero, then Relay R0 [Output0] is OFF and all R1 [Output1] to R5 [Output5] is OFF.

Note:
Application about Snack Vending Machine for One type of product use 3 PLC Counter:
1. Total Products use Memory and use Increment/Decrease Operation
2. Count the Coins use Memory and use Increment/Decrease Operation
3. One PLC Counter for Count the Rotation Sensor

Can You Make PLC Program for This Application?
If can’t:
PLC Programming for Snack Vending Machine


Hopefully this article can add your insights.
Please follow me:

ShareTo
Share on Facebook Tweet this Share to Google Plus Stumble this article
CLOSE

Enter Your Email Address




All Labels

  1. ABB PLC
  2. Allen Bradley PLC
  3. Analog Input
  4. Automatic Gates using PLC
  5. Baldor PLC
  6. Battery Level Indicator using PLC Analog
  7. BMS
  8. Building Management System
  9. Car Ticketing Machine using PLC
  10. CIMON PLC
  11. Click Series PLC
  12. Control Seven Segment Display with PLC
  13. Conveyor Control Using PLC
  14. CPU PLC
  15. CX-One
  16. DCS
  17. DDC
  18. DELMIA V5
  19. DeltaV
  20. Digital Input
  21. DirectLogic PLC
  22. DirectSOFT PLC
  23. Eaton PLC
  24. Elevator with PLC Program
  25. EPICS PLC
  26. Fatek PLC
  27. Festo PLC
  28. Fieldbus
  29. FPGA PLC
  30. GE Fanuc PLC
  31. GP proface
  32. GX Developer
  33. Heater Controller with PLC
  34. Hitachi PLC
  35. HMI
  36. Honeywell PLC
  37. IDEC PLC
  38. Keyence PLC
  39. Koyo PLC
  40. LG PLC
  41. Lock Unlock Door Using PLC
  42. Logixpro PLC
  43. Maple OIT
  44. Matsushita PLC
  45. MELSEC A
  46. MELSEC Q
  47. Memory PLC
  48. Micro PLC
  49. MicroSmart PLC
  50. Mitsubishi PLC
  51. Modbus
  52. Modicon PLC
  53. Momentum PLC
  54. Motion Control
  55. National Instruments PLC
  56. Omron PLC
  57. OPC
  58. PAC
  59. Panasonic PLC
  60. Parking Information using PLC
  61. Password Using PLC
  62. PLC
  63. PLC and CNC
  64. PLC and Computer
  65. PLC and Facebook
  66. PLC and PC
  67. PLC and Servo
  68. PLC Battery
  69. PLC Beginner Guide
  70. PLC Book
  71. PLC Cable
  72. PLC Codesys
  73. PLC Companies List
  74. PLC Computers
  75. PLC Design
  76. PLC for 3 Movement
  77. PLC for Assembly Line
  78. PLC for Automatic Welding
  79. PLC for Binding Machine
  80. PLC for Cutting Machine
  81. PLC for Filling Machine
  82. PLC for Fountain Application
  83. PLC for Injection Molding
  84. PLC for Marking
  85. PLC for Packing
  86. PLC for Rotary Bottle Washing
  87. PLC for Snack Vending Machine
  88. PLC for Sorter Machine
  89. PLC for Water Treatment
  90. PLC Hardware
  91. PLC Hybrid
  92. PLC Information
  93. PLC Knowledge
  94. PLC Language
  95. PLC Link Model
  96. PLC Mitsubishi Download
  97. PLC Model
  98. PLC Modules
  99. PLC Simulator
  100. PLC Software
  101. PLC Supplier
  102. PLC Types
  103. PLC Wiring
  104. PLC WorkShop
  105. PLC-ANALYZER
  106. PLCSIM
  107. Power Supply for PLC
  108. Profibus
  109. ProSafe PLC
  110. Push ON Push OFF with PLC
  111. Quickpanel Operator Interfaces
  112. RTU
  113. RTU and PLC
  114. SAS
  115. SCADA
  116. Schneider PLC
  117. SHARP PLC
  118. Siemens PLC
  119. SINUMERIK CNC
  120. Small Modular PLC
  121. Standard Sequence Programming for PLC
  122. Substation Automation System
  123. Teco PLC
  124. Telemetry
  125. TEP PLC
  126. Texas Instruments PLC
  127. Timer Countdown with PLC
  128. Toshiba PLC
  129. Touch Screen PLC
  130. Traffic Light with PLC
  131. TWIDO PLC
  132. Types of PLC
  133. Unitary PLC
  134. Unitronics PLC
  135. VIPA PLC
  136. Vision PLC
  137. Weighing Machine Using PLC
  138. Yokogawa PLC
  139. Zelio PLC

Search This Blog

Loading...
Copyright © 2009- All Rights Reserved