Battle-Bug

MrPLC Member
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Battle-Bug

  • Rank
    Hi, I am New!

Profile Information

  • Country United States
  1. Random Timer - RSLogix 1000

    I got this working. The following is the program and a screen shot of it. I filled the N7 table with the numbers 20, 40, 60, 80, and 100. With a time base of 0.01 seconds, that gives times between 0.2 and 1 seconds. Values are tested for equality to select a mole: 20 = mole 1, 40 = mole 2,..., 100 = mole 5. Anyways, I have a few questions because I have to write a report and I need to sound like I know what I'm talking about. 1. What's up with the mask on the SQO? I'm not sure what that is/does and what OFFFFh means. 2. What is the R6 (controller) and what is it used for? 3. What should I do to make the mole turn off once hit? I tried putting the "examine open" switch in the middle of rung 4, but it just paused the timer. I added rung 3 to finish the timer, but it didn't help. Any advice? Should I delete rung 3 or the examine open? 4. There are no pauses between moles, but I'm not sure the instructor has ever seen a Wac-O-Mole machine before... and no one else has ever completed a project on this scale for him before. However, do you guys have any easy-to-implement ideas? If not, it probably wont affect my grade anyways. Thanks, Mike WAC.RSS
  2. Random Timer - RSLogix 1000

    I have no idea how to load these numbers. If I open N7, it lists about 100 numbers (all zeroes). Do I just manually plug in random numbers for each? I notice that you have the destination #N7:10. Does the # make it a rolling number so that it goes to N7:11 then N7:12...? I also need to choose a random mole (I have 5 moles). Would it be useful for me to pull a number from N7 (that is 1 to 5), compare that number to identify the mole number, then take the next value on N7 for the timer? A number 1-5 with a time base of 0.2 seconds would give me satisfactory results. It would be random enough... would this work?
  3. I'm a student at Texas A&M University and I'm in a class on robotics. For my final project, I've chosen to build a Whac-O-Mole machine. However, I don't know how to make random timers. I found the following link, but don't exactly know how to turn it into a random timer. I also don't know if it even works with MicroLogix 1000 (which is what I'm using). http://forums.mrplc.com/index.php?showtopic=16883 Please help me to create a random timer for my school project. Thanks, Mike