You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
Thread Tools Display Modes
Unread December 20th, 2015, 06:10 AM   #1
gclshortt
Member
Canada

gclshortt is offline
 
gclshortt's Avatar
 
Join Date: Dec 2014
Location: Cobourg
Posts: 2,941
Talking The Game of Simon Do-More PLC to AdvancedHMI via Modbus TCP


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 PLCs and HMIs. 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.
Let me know what you think.
Thank you and Happy Holidays,
Attached Images
File Type: png Simon Game HMI 130-min.png (29.3 KB, 201 views)
__________________
Garry
https://www.accautomation.ca
Connect with us on Facebook: facebook.com/accautomation/

Last edited by gclshortt; December 20th, 2015 at 06:12 AM.
  Reply With Quote
Unread December 22nd, 2015, 02:27 PM   #2
gclshortt
Member
Canada

gclshortt is offline
 
gclshortt's Avatar
 
Join Date: Dec 2014
Location: Cobourg
Posts: 2,941
https://dl.dropboxusercontent.com/u/...%20Program.zip

Here is the link for the PLC program and the Bin directory for the AdvancedHMI screen.

Let me know what you think.
Attached Images
File Type: jpg Simon Game HMI 100-min.jpg (67.5 KB, 147 views)
__________________
Garry
https://www.accautomation.ca
Connect with us on Facebook: facebook.com/accautomation/
  Reply With Quote
Unread March 4th, 2016, 11:41 AM   #3
luuhoang
Member
Viet Nam

luuhoang is offline
 
Join Date: Mar 2016
Location: HCM
Posts: 2
Modbus TCP/IP: https://www.youtube.com/watch?v=EDmt...OgG_veiieCTor6
  Reply With Quote
Unread October 11th, 2019, 08:18 AM   #4
MiltonSmall
Member
Bangladesh

MiltonSmall is offline
 
Join Date: Oct 2019
Location: Bangladesh
Posts: 2
The programming is excellent. And of course need to mention about the Simon game. simple game but very strong trainer of our memory. played when i was a young kid.
  Reply With Quote
Unread October 11th, 2019, 09:28 AM   #5
widelto
Member
Colombia

widelto is offline
 
widelto's Avatar
 
Join Date: Jul 2005
Location: Barranquilla, Colombia
Posts: 2,772
This is an old thread, but i tried to download the package and the link is invalid.
@Gclshortt please give us a hand.
__________________
My two cents.
  Reply With Quote
Unread October 11th, 2019, 11:02 AM   #6
gclshortt
Member
Canada

gclshortt is offline
 
gclshortt's Avatar
 
Join Date: Dec 2014
Location: Cobourg
Posts: 2,941
https://accautomation.ca/building-a-...oud-of-part-5/

The above is the original post explaining the program.

Here is the link for the programs.
https://www.dropbox.com/s/rgcrrxxdb3...ogram.zip?dl=0

Regards,
__________________
Garry
https://www.accautomation.ca
Connect with us on Facebook: facebook.com/accautomation/
  Reply With Quote
Unread October 11th, 2019, 11:38 AM   #7
widelto
Member
Colombia

widelto is offline
 
widelto's Avatar
 
Join Date: Jul 2005
Location: Barranquilla, Colombia
Posts: 2,772
Thanks, Im going to convert it to Studio 5000.
__________________
My two cents.
  Reply With Quote
Unread October 11th, 2019, 11:54 AM   #8
gclshortt
Member
Canada

gclshortt is offline
 
gclshortt's Avatar
 
Join Date: Dec 2014
Location: Cobourg
Posts: 2,941
Quote:
Originally Posted by widelto View Post
Thanks, Im going to convert it to Studio 5000.

This makes a great way to teach sequencing.

Garry
__________________
Garry
https://www.accautomation.ca
Connect with us on Facebook: facebook.com/accautomation/
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
CP341 to Kepware OPC : Modbus TCP jeffy LIVE PLC Questions And Answers 2 July 2nd, 2015 07:23 AM
Problem connecting Weintek HMI to PLC using Modbus TCP/IP TahirQ LIVE PLC Questions And Answers 6 January 21st, 2014 06:47 AM
Modbus TCP - ControlLogix <> S7 sthompson LIVE PLC Questions And Answers 2 August 10th, 2012 01:06 PM
Siemens PLC S7 315-2 DP comm problemas with Open Modbus pollo_rdz LIVE PLC Questions And Answers 4 April 23rd, 2012 09:29 PM
Modbus TCP between Quantum PLC and MNS iS Motor Control Center booatoa LIVE PLC Questions And Answers 0 May 26th, 2008 05:17 AM


All times are GMT -5. The time now is 10:49 PM.


.