2 minute read

Link to github: Github link


Introduction


‘PLC Applications’ is a PLC-based automation project in which students learn step-by-step approaches of implementing an automation system. It involves programming, identifying appropriate I/Os, I/O interfacing & power rating considerations, programme testing and system trouble-shooting. Student will learn the full process of implementing a PLC based project.

Assigned task

For this project, we were tasked with coming up with an improvement to an existing solution to better address the problem.

Issues chosen

Note I will be reusing my presentation slides to aid me in my explanation of my solution

issue
On January 3 2022, Singapore eased covid rules for working in office.
issue
This means more people dining in at hawker centres and food courts. That many people in close proximity increases the risk of spreading COVID.
solution
A way to stem the spread is using ready meal vending machines.
solution
However, ready meal containers are quite hot when coming out of a vending machine.
improvement
Give customers an option to add an additional container that insulates the heat. This ready meal will be placed in the container to act as an insulating area. For customers who want to use their own container, they can place their container onto a conveyor belt. This convenor will take the container into the machine and will place the ready meal onto the container.

Proposed solution

Note HMI means Human Machine Interface, which is how a user interacts with a PLC system. For this project the HMI used are a touch screen, a series of push buttons, LED lights, photoelectric sensors and a bi-directional motor.

HMI
The HMI that the project was ran on
Conveyor
Conveyor belt system used in project, which was provided by SP

The following slides will provide a step by step guide on how the vending machine works

root screen
Root screen
screen 1
Food selection screen
screen 2
Container selection screen
screen 3
Container insertion screen
screen 4
Summary screen
screen 5
Preparation screen. TON means ‘On Delay Timer’
screen 6
Ready screen

Note Unfortunately I did not film a physical demonstration. The footage was filmed using the built-in simulator provided by the PLC software.

PLC program

The following images will illustrate how the PLC programme looks like and its operations.

Network 1
Used to ‘load’ the vending machine with food and containers
Network 2
Network 2A
Counts the amount of food and containers left in the machine
Network 3
Used to undo order and go back one screen
Network 4
Used to control the summary screen
Network 5
Used only if user desires to insert own container into machine
Network 6
Used to signal preparation of food.
Network 7 & 8
Used to send food out of the vending mahcine and to reset all latches, hence allowing a new order to be enterred

Appendix A - overview of PLC operations


Appendix 1
Appendix 2
Appendix 3
Appendix 4
Appendix 5
Appendix 6
Appendix 7
Appendix 8
Appendix 9

Appendix B - Variables


Variable 1
Variable 2
Variable 3
Variable 4
Variable 5
Variable 6