(5)| 5/25/2009 12:50 PM | |
|
Posts: 2 Rating:
|
Hi, I am trying to make a system for LOGO! that can randomly choose from 4 outputs. It seems that either LOGO! or my programming-skills are somewhat limited in this area. I am aware there is a random generator in the builder but this one only switches on and off at random times and it is hard to convert this to a normal random switch. It seems that I finally more or less succeeded in this, when reviewing the software simulations, but when it is used in the PLC, it malfunctions. This is my first program written for the LOGO!, maybe someone can have a look at it. Please tell me if the thing I am trying to accomplish is possible for this type of PLC. If anyone has any better suggestions for the programming, I would be happy to hear those. Ronald Attachmentrandomizer.zip (749 Downloads) |
| 5/26/2009 3:51 AM | |
|
Posts: 191 Rating:
|
Hi!! there are many ways to solve a problem.. this is just one idea.. hope this helps!! ROSA Attachmentrandom.zip (851 Downloads) |
| 6/4/2009 11:43 AM | |
|
Posts: 173 Rating:
|
I got the attached program from a LOGO! Guru in the UK. It generates a random binary output on the 4 LOGO! outputs. I used these as the address lines into a DEMULTIPLEXER, to get 1 of 16 lights to flash randomly. It worked great. There are also some other Random number generators that I played around with. Maybe you could use some of the logic!?!? Cheers AttachmentRandomLOGO.zip (845 Downloads) |
This contribution was helpful to
|
|
| 6/4/2009 9:57 PM | |
|
Posts: 1690 Rating:
|
Hi LOGO!Barbarian, that are some interrest circuits, thanks. Best regards Betel _________________________________________________ Perhaps helpful links: Collection of notes and circuits for the use and programming the LOGO! Scalingof signals with analog blocks retreving data from logo |
Last edited by: Betel at: 6/4/2009 11:21 PM |
|
This contribution was helpful to
|
|
| 6/10/2009 11:05 AM | |
|
Posts: 153 Rating:
|
Hi, all. I have a two ideas AttachmentRandom_str.zip (772 Downloads) |
Follow us on