gclshortt

The Game of Simon - Do-More PLC to AdvancedHMI via Modbus TCP

1 post in this topic

Simon was a game that I remember well when I was younger. This simple game can teach us how to program sequencers and look for inputs in a correct order. I believe that this can be a great leaning problem for PLC’s and HMI’s. You can learn about bit manipulation and sequencers in the PLC. HMI timing and control is also shown because of the time to play sounds and update to the next random set of lights.   Here is part of the post …   Building a PLC Program That You Can Be Proud Of – Part 5   Simon is a memory game introduced in 1978. It has four coloured buttons, each producing a particular tone when it is pressed or activated by the device. A round in the game consists of the device lighting up one or more buttons in a random order, after which the player must reproduce that order by pressing the buttons. As the game progresses, the number of buttons to be pressed increases. If the wrong button is hit the current game is over. Our game will have a high level score and a current level score.   We will be using AdvancedHMI to communicate Modbus TCP to the Automation Direct Do-More Designer Software Simulator.   YouTube Video of the game being played: https://www.youtube.com/watch?v=QrfnDHCeJjk   Note: The PLC and HMI programs are provided free of charge and are an excellent way to learn PLC / HMI programming.   Here is a quick review of the programming series so far. If you are new to the site, we recommend reviewing the other parts in the series first. In part 1 we looked at writing PLC programs to control a traffic light using discrete bits and then using timed sequencing using indirect addressing. Part 2 used indirect addressing for inputs as well as output to control the sequence of pneumatic (air) cylinders in the program. Part 3 and 4 we returned to the traffic light application and expand our program significantly. We looked at the sequence of operation using Input, output and mask tables.   The first thing that we will do is look at the HMI programming. Please refer to the following post for information on setting up and using AdvancedHMI software. Create a PLC with HMI Training and Learning Environment Free Read the rest of the post…. Happy Holidays,   Garry www.accautomation.ca   Edited by gclshortt

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now