plc - Ladder Logic - 'Simple' Coffee Machine - Optional: Add Milk / Add Sugar -


I'm just starting learning ladder logic programming I am using Ellen Bradley RSOlogics 5000.

I have been entrusted with the task of developing a 'simple' coffee machine that works like this:

  • Start the push button toggle <
  • / Li> Li> Add sugar (for 10 seconds)
  • Complete the process - Full light illumination (for 10 seconds)

I Everything is implemented, & amp; Add alternative sugar:

Options:

  • To get a coffee without any milk or sugar.
  • Or there is a coffee with milk and not sugar.
  • Or is a coffee with sugar & amp; Do not have milk.
  • Or have a coffee with both sugar & amp; Milk.

I'm thinking of using the Toggle Button to jump over / subtiline (choosing the necessary component make-up). But I am thinking that there is any other way of going progressively during the process?

Thank you. Enter image details here

Here I will do it:

Step 1. Define all actions: - Drop cups, - Hot water feed, - Add milk - Add sugar. For them, make a dedicated routine or addOnInstruction. If you think that this is very simple and not necessary, just think that you have to write a diagnosis for each, and perhaps you can reuse the drop cup in any other project. What happens if you leave the cup, and you are out of the cup, or leaving the device is faulty, and so on?

Step 2. Now that you have separated them, the graph requires everything, even if not.

Step 3. Create the prescription format to insert the parameters to prepare the material - Insert as parameter: Required instrument, numberoffices

Step 4. Make as much dishes as you like . You will never modify the software based on the recipe.

Step 5. Create a recipe management. This will be very useful for all your future projects. This is a time to work.

Similarly, I have made a cocktail bar for my wedding. I told my friends about 20 recipes, and by the end of the day, I got almost 50 in the recipe list.

PS I know that seems very complicated for the given work, but if you get away from your special task and analyze my example, you will feel that the wheel will be used every time Without a re-exploration you can write a program


Comments

Popular posts from this blog

ios - Form Sheet content disappearing -

MySql variables and php -

php - Laravel - Overriding a resource route into a different route filter group -