Hello Guest it is April 25, 2024, 11:27:31 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - doncaruana

Pages: « 1 2
11
General Mach Discussion / Re: working in simulation mode
« on: September 03, 2010, 11:19:42 AM »
Hm. On this machine, when I tried to install it with the parallel port driver, it says "No driver sensed installed. Run driver test". Get the exact same behavior when I run driver test.

But I did go do it on another machine with no parallel port and this time selected the driver and it's working there.

Not too worried about original machine - think I know what's up there. Thanks guys!


12
General Mach Discussion / Re: working in simulation mode
« on: September 03, 2010, 08:23:36 AM »
striling - you are right about why the driver wouldn't be loaded. As a matter of fact, I'm pretty sure I saw somewhere that not loading the driver would put you in simulation mode anyway, although obviously a limited version.  So I chose not to load it, but...the machine I'm trying to simulate on doesn't have a parallel port, so the mach3 install won't load the driver even when I ask it too! So what do I do in that case? Sounds like I'm just out of luck...?


13
General Mach Discussion / working in simulation mode
« on: September 02, 2010, 09:07:02 PM »
okay - dumb question about simulation mode...

Watching videos, reading things, etc, I was under the impression that I could pretty much fully simulate a machine, down to the inputs. So I set up my hot keys to act like the home switches - went to diagnostics and watched them light up. Then I started playing with trying to ref home and such. Worked in the video like a champ. But when I press my home 'hot key' - which I watch light up in diagnostics, the reference just keeps going.  As a matter of fact, I even have it tied to the limit switches as well (so all light up, as if the entire axis' limits were tied together), but nothing happens.

Did I misinterpret the way simulation mode works or is there some basic configuration I'm missing?


14
General Mach Discussion / Re: Trying to troubleshoot inputs
« on: August 10, 2010, 10:10:49 PM »
Yep - board's all wired together right. :)

Looks like the problem is a noise issue. We upped the debounce interval to 100 and it slowed down - after about a minute and a half, it would trip again. Instead of playing with it and trying to find the "magic" setting, we're just going to put some .1uf caps on the input and be done with it. The debounce suggestion came from Arturo Duncan - that's a top notch fella!

Thanks everyone for replying. I'll be back if the caps don't do the trick, but I have a feeling they will.  :)

Don

15
General Mach Discussion / Re: Trying to troubleshoot inputs
« on: August 10, 2010, 08:00:42 AM »
Does anyone think that the problem could be that the board isn't tying the ground from the computer and the board power supply together?

16
General Mach Discussion / Re: Trying to troubleshoot inputs
« on: August 09, 2010, 11:28:19 AM »
That's the exact test I did when I said I grounded pin 10 on the port itself. I just jumpered from pin 25 to pin 10 with mach3 set to active low on estop and it worked perfectly. Well - at least functionally, it seemed to work. We weren't actually looking at the diagnostics page when we did it. But mach3 showed estop triggered/reset just as we expected it to.

The weirdest thing is that we also tested with the breakout board completely disconnected from the computer and checked the pinout from the board itself and got the expected voltages. And we've tested through the cable as well. But when we wire everything up, mach3 just sees the estop as triggered and never works properly - no matter what state it's in.

17
General Mach Discussion / Re: Trying to troubleshoot inputs
« on: August 09, 2010, 09:59:18 AM »
I thought about an issue with not tying the grounds together, but I kind of assume that's handled withing the breakout board itself. And the 5v is just the source that's on the breakout board since there's no 5v output/source on a parallel port that I'm aware of. Seems this is standard sort of wiring from what I've read. Do you have a suggestion on how to do what you're saying?

thanks,
Don

18
General Mach Discussion / Trying to troubleshoot inputs
« on: August 08, 2010, 03:41:23 PM »
We're still trying to set up a new machine and we've got the outputs working, but now the inputs, particularly getting estop to work, is giving us a headache. Not sure I have all this figured correctly, so let me explain how I'm thinking this needs to be wired with the C10 and a normally closed physical switch for an estop switch.

There are two possible ways to do this, with Mach3 set to look for active low or with active low "off", or active high.

My first thinking is I'll set it to active low, because the default for pin 10 anyway. So, I set estop Mach3 to port 1, pin 10, active low.

Now, I wire +5v through my estop switch AND I set the input pull-up/pull-down resistors to "pull-down" (note I'm not talking about the other set of pull-up/pull-down resistors, this is the set for the input pins and is over near those pins). The thinking here is that when the switch is closed, I am sending 5v to the pin and on through to the computer. But when it opens, I want to make sure my pull-down setting goes the right way and "open" in this case should make sure that pin 10 goes to zero. I'm assuming that the pull-down will flow through and I now should be sending zero to my parallel port and all should be good.

Alternatively, I could set the estop in mach3 to active high instead. But to do this, I wire ground through my switch first. Now, I have to change my input jiumpers topull UP instead, because I want to get 5v when the switch is pressed and we have an open circuit. Now, even if the circuit is somehow dead to from pin 10 out of the C10, the natural state of the pin on the port itself is to be high anyway, so this should make sure that, when the circuit opens, I end up with a positive signal on my pin and should trigger the estop.

Now - the first question - does all of that make sense? Am I following the circuit logic correctly or is there something I've got screwed up?

Second point - none of this seems to be working!!! It doesn't seem to matter what way we configure the board, mach3 just says external estop pressed and we can't do a darned thing. I even thought it was the parallel port on the computer, but I set mach3 at active low and grounded pin 10 on the port itself (simulating what I should be getting from the C10) and it worked like a champ.

Can anyone offer any sage advice on this? If I had any hair, it would all be pulled out by now!

Thanks,
Don


Pages: « 1 2