[Emc-users] custom error message

2010-04-24 Thread Ulises Barrera
Hi How do you create a custom error message?, for example when an input is activated or missing (drive nok, overload, etc). Thanks in advance. Ulises -- ___ Emc-users mailing

Re: [Emc-users] Re Single Pulse Threading

2010-04-24 Thread Jon Elson
spad...@sover.net wrote: >> > > You can simulate index using a timer on the A channel. A goes to input, > output is Z (and goes to the encoder component). There are HAL components > called "timedelay" and "debounce" which might be useful for this. Set the > timeout to something longer than

Re: [Emc-users] Musings on Spindle Encoders.

2010-04-24 Thread Andy Pugh
On 24 April 2010 23:33, Jon Elson wrote: >  Many lathes have better access to > the bull gear, so it might be easier to do. > > See http://pico-systems.com/bridge_spindle.html > for some pictures and additional info. > > The sensors are about $6 each at Digi-Key, and are intended for use > inside

Re: [Emc-users] Musings on Spindle Encoders.

2010-04-24 Thread Jon Elson
Andy Pugh wrote: > The usual sort of encoder is not desperately convenient for mounting > on a machine tool spindle, as such applications generally require a > sizeable through-hole. > This is why I used 3 gear tooth sensors on the bull gear of a Bridgeport head. A small hole drilled in the fa

Re: [Emc-users] Re Single Pulse Threading

2010-04-24 Thread spadnos
> Hi Andy, Steve and Dave > > Thanks for the replies, I see from the initials that you (Andy) are the > person who posted this solution in the first place. > > I didn't realise that the last line had wrapped, the spindle-index-enable > line isn't wrapped normally, must have happened when pasting in

[Emc-users] Musings on Spindle Encoders.

2010-04-24 Thread Andy Pugh
The usual sort of encoder is not desperately convenient for mounting on a machine tool spindle, as such applications generally require a sizeable through-hole. Car engines nowadays use a pickup on the crank to tell the engine controller the current crank angle. These used to be a proximity sensor

Re: [Emc-users] Re Single Pulse Threading

2010-04-24 Thread Dave
The chip I used to translate the differential encoder level to a level compatible with the LPT port was a Texas Instruments AM26C32CN. That chip, with a 5 volt supply and a 4700 pf decoupling capacitor on a piece of perfboard was all that was required to do the 3 channels from the encoder. I

Re: [Emc-users] Single Index Pulse Threading

2010-04-24 Thread Schooner
Hi again Managed to get an hour in the workshop unexpectedly, linked encoder.0.Phase-Z to the index pulse as well and eureka it works properly, let threading tests commence! May yet fit the encoder, will see what you think of the one I have. Thanks for your help Mick --

Re: [Emc-users] BLDC and/or AC Synchronous servo motor control

2010-04-24 Thread Peter C. Wallace
On Sat, 24 Apr 2010, Andy Pugh wrote: > As a supplementary question for the distant future: If you are driving > such a motor with three-phase PWM at a software-calculated phase angle > then am I right to assume that you wouldn't use the current encoder > angle as the PWM phase angle, as then all

Re: [Emc-users] BLDC and/or AC Synchronous servo motor control

2010-04-24 Thread John Kasunich
Don't have time for a long reply right now (and this topic really needs a long reply). Short reply below: On Sat, 24 Apr 2010 15:23 +0100, "Andy Pugh" wrote: > Does anyone know how to set up BLDC motor control? > > I have a number of phase/step tables, one for a different motor to the > one I a

[Emc-users] BLDC and/or AC Synchronous servo motor control

2010-04-24 Thread Andy Pugh
Does anyone know how to set up BLDC motor control? I have a number of phase/step tables, one for a different motor to the one I am trying to drive, one for the driver chip on the driver board I have, and one from the board manufacturer. Firstly, the generic BLDC motor data sheet defines a set of

[Emc-users] Re Single Pulse Threading

2010-04-24 Thread Schooner
Hi Andy, Steve and Dave Thanks for the replies, I see from the initials that you (Andy) are the person who posted this solution in the first place. I didn't realise that the last line had wrapped, the spindle-index-enable line isn't wrapped normally, must have happened when pasting into the ema