[Emc-users] Preferred sensors for Mesa cards, NPN or PNP?

2014-02-22 Thread Sven Wesley
I am going to shopaholic a bunch of proximity sensors to replace mechanical homing and limit switches for two machines with Mesa cards (5i25/7i77) and then it struck me, what is the best option? NPN or PNP? How do they behave if there's no power to them or if they fail? For example a PNP NO, is it

Re: [Emc-users] Preferred sensors for Mesa cards, NPN or PNP?

2014-02-22 Thread Andy Pugh
On 22 Feb 2014, at 10:12, Sven Wesley svenne.d...@gmail.com wrote: then it struck me, what is the best option? NPN or PNP? I can't remember which type is preferred, but you probably want the shielded type as they still work flush-mounted in metal.

Re: [Emc-users] Preferred sensors for Mesa cards, NPN or PNP?

2014-02-22 Thread Marius Liebenberg
You want to use NPN NC switches. This means that the circuit is energized when in normal condition. If the switch is made the circuit will open or if the power fails or if the wire breaks, the circuit will be open and hence you will detect the condition on the input. Oh and make sure it is the

Re: [Emc-users] Preferred sensors for Mesa cards, NPN or PNP?

2014-02-22 Thread Sven Wesley
2014-02-22 10:27 GMT+01:00 Marius Liebenberg mar...@mastercut.co.za: You want to use NPN NC switches. This means that the circuit is energized when in normal condition. If the switch is made the circuit will open or if the power fails or if the wire breaks, the circuit will be open and hence

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Mark Tucker
Peter The crackling is random and mainly after jog moves. The motors are Nema34 and running at 72v and approc 4amps. On 21/02/14 22:25, peter smith wrote: Mark What type of motors and voltage are you using, is the crackling random, or specifically after a certain type of move?? Regards

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Mark Tucker
You can hear it on this video http://www.youtube.com/watch?v=aMA6B4n1bGA On 22/02/14 09:52, Mark Tucker wrote: Peter The crackling is random and mainly after jog moves. The motors are Nema34 and running at 72v and approc 4amps. On 21/02/14 22:25, peter smith wrote: Mark What type of

Re: [Emc-users] Preferred sensors for Mesa cards, NPN or PNP?

2014-02-22 Thread Peter C. Wallace
On Sat, 22 Feb 2014, Sven Wesley wrote: Date: Sat, 22 Feb 2014 10:12:08 +0100 From: Sven Wesley svenne.d...@gmail.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: [Emc-users]

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Steve Stallings
Note to those checking out the video. You will need to have the volume turned up high. The cracking occurs during most of the video and it sounds like an old fashioned Geiger counter ticking to me. Steve Stallings -Original Message- From: Mark Tucker [mailto:m...@rmtucker.f2s.com]

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Mark Tucker
I seem to remember there being a fix for this around v2.3 or something to stop the stepper motors hunting.which i assume must have been a parameter to set the tolerance for acceptable position. Does this not apply when using hardware generated pulses? I will have to leave the beaglebone on the

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Stephen Dubovsky
Are steps also being generated (back and forth) or is just the direction line toggling (w/ no steps)? On Sat, Feb 22, 2014 at 10:56 AM, Mark Tucker m...@rmtucker.f2s.com wrote: I seem to remember there being a fix for this around v2.3 or something to stop the stepper motors hunting.which i

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread John Prentice (FS)
Jumping in - I have had this with the MachineKit. No noise but as I had the 'scope on the signals I spotted the fidgeting Dir. I had no pulses on Step line, just Dir hunting. I was worried that it might stop the stepper drivers going to reduced current mode but with the ones I was using this was

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Mark Tucker
John I don't suppose you are using Gecko's? As Jeff mentioned earlier it seems like a Gecko driver does not like the Dir line wiggled about in that fashion. Why it should make a noise beats me,but i can assure everyone that the drives are running without these noises on a pc setup and have been

Re: [Emc-users] Preferred sensors for Mesa cards, NPN or PNP?

2014-02-22 Thread Dave Cole
I usually use 24 VDC PNP NO proxs for general use for a number of reasons. If you have voltage at the output of the sensor, then the prox is sensing metal. Most logic is positive which seems to help the debugging and troubleshooting process. However if the input card requires a sinking sensor

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread John Kasunich
Some background on the hunting behavior of the dir line. It goes back to the implementation of the step generator. This applies specifically to the software step generator, but some of the FPGA based ones and perhaps the BBB PRU one use the same core algorithm and have the same behavior.

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread John Prentice (FS)
Mark Not Geckos here but a Leadshine 3 phase stepper motor driver. I think John K has covered more bases than I ever could. In essence I see it as the accumulator counting up and down but not overflowing so a step never gets emitted but the sign of the error is changing so Dir follows this.

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Mark Tucker
John Thank you so much for the insight of how that work and it explains a lot. But as you stated it would be hunting back and forth.Which i assume it would have to pulse the step line? And a number of people have scoped the outputs and only found the Dir line hunting back and forth,i wonder why

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Peter C. Wallace
On Sat, 22 Feb 2014, Mark Tucker wrote: Date: Sat, 22 Feb 2014 19:20:57 + From: Mark Tucker m...@rmtucker.f2s.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re:

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread John Kasunich
On Sat, Feb 22, 2014, at 02:20 PM, Mark Tucker wrote: John Thank you so much for the insight of how that work and it explains a lot. But as you stated it would be hunting back and forth.Which i assume it would have to pulse the step line? Lets take my example of a 100uS base thread and

Re: [Emc-users] Canned cycle relative motion weirdness

2014-02-22 Thread Bertho Stultiens
On 02/22/2014 05:33 AM, Greg Bentzinger wrote: Yeah - I did some digging and that whole L word in a fixed cycle dates back to the original NIST RS-274D-NGC. IMHO - Its a dinosaur that should have died out. I consider it an accident waiting to be activated by the user. I agree that it is

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Mark Tucker
Thanks That seems to have nailed it for me now i can very clearly understand why no pulse is emitted on the pulse line. Well that brings us back to the question of who is going to fix the problem? Is there anyone else working on this other than charles that can maybe work around this using the

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Gene Heskett
On Saturday 22 February 2014 14:59:52 John Kasunich did opine: On Sat, Feb 22, 2014, at 02:20 PM, Mark Tucker wrote: John Thank you so much for the insight of how that work and it explains a lot. But as you stated it would be hunting back and forth.Which i assume it would have to

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Peter C. Wallace
On Sat, 22 Feb 2014, Mark Tucker wrote: Date: Sat, 22 Feb 2014 19:57:26 + From: Mark Tucker m...@rmtucker.f2s.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Crackling motors using

Re: [Emc-users] Crackling motors using Beaglebone

2014-02-22 Thread Dave Cole
Damage the Gecko?? That is extremely unlikely. If it is not going into standby your motor might get hot, but if you have the Gecko properly heatsinked there should not be an issue with it. Dave On 2/22/2014 2:57 PM, Mark Tucker wrote: Thanks That seems to have nailed it for me now i can

Re: [Emc-users] Preferred sensors for Mesa cards, NPN or PNP?

2014-02-22 Thread Marius Liebenberg
Yes of coarse it depends on the type of input circuit that you use. Peter is correct for sinking inputs the PNP is best and for sourcing inputs you will use NPN On 2014-02-22 11:27, Marius Liebenberg wrote: You want to use NPN NC switches. This means that the circuit is energized when in

Re: [Emc-users] Canned cycle relative motion weirdness

2014-02-22 Thread Stuart Stevenson
What is the L supposed to do? The way I read the program the tool would: G0 X1 Y2 Z3 - move (in G90) to X1 Y2 Z3 or (in G91) move 1 inch X , 2 inches Y and 3 inches Z G91 G98 G81 X4 Y5 Z-0.6 R1.8 L3 - in the drill cycle the tool would rapid 1.8 inches positive Z , move 4 inches positive X and 5

Re: [Emc-users] Canned cycle relative motion weirdness

2014-02-22 Thread Bertho Stultiens
On 02/22/2014 11:16 PM, Stuart Stevenson wrote: What is the L supposed to do? The way I read the program the tool would: G0 X1 Y2 Z3 - move (in G90) to X1 Y2 Z3 or (in G91) move 1 inch X , 2 inches Y and 3 inches Z See: