Hello Guest it is April 26, 2024, 07:21:28 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 - Pader

Pages: 1 2 »
1
General Mach Discussion / Re: Understanding Mach3 pulses
« on: June 01, 2018, 07:41:00 AM »
I started on the logic IC route simply because I have no experience with microprocessors.  I designed the PCB for the schematic included earlier and had it professionally made.  I have also purchased the ICs, displays and discrete components which, when added together, the cost is significant.  There is an online pcb programme (free) that I used for the PCB design and it is called Circuitmaker.  All of the designs become open source and the relevant circuit is simply called 'CNC OSD' if you should want to view it. The circuit shewn is for one channel only and can be extended to suit the number required as they are all independent.

I will be using a microprocessor for rounding up the number of pulses per millimetre to two decimal places but the unit that I am using (Genie20) is a PIC based chip that is programmed using graphical flowcharts and the code is then generated automatically.   The programming is done in the 'Genie design studio' by New Wave Concepts and is again, free.

Unfortunately, their is no schmidt trigger facility in the programme and so that is why I was considering using the 'wait' function to debounce the pulse.

2
General Mach Discussion / Re: Understanding Mach3 pulses
« on: June 01, 2018, 06:10:02 AM »
Going back to Ger21's post,  I fully understand that the pulses will probably not be 'clean' pulses, but as you say, the pulse width can be set in Mach3.  So, assuming that a 20 uS pulse is selected, that 'dirty' pulse may consist of several square wave oscillations followed by a low voltage level before the next pulse is sent?  Also, assuming that the pulse is read only on the first rising wave form, would it be advantageous that the first rising pulse as well as incrementing the count also initiates a 'wait' sequence of, say 18 uS before it attempts to read the next pulse?

3
General Mach Discussion / Re: Understanding Mach3 pulses
« on: May 22, 2018, 06:29:02 AM »
Let us hope that the next 15 years are just as 'unproductive'  ;D

4
General Mach Discussion / Re: Understanding Mach3 pulses
« on: May 19, 2018, 04:55:01 AM »
 I have a USB pendant that is quite basic, it doesn't even have a rotary speed dial let alone a DRO.  However, a more serious version would, for me, be an unnecessary expense.  As to the E stop button on a pendant.  That is great if you have the pendant in your hand the whole time, but Sod's Law says that you won't at the immediate time of needing it and then you may be fumbling around for it whilst your machine is chewing itself to pieces.  On the gantry is this nice big, 45mm diameter, red button that I could find in my sleep.  I have a similar button on the enclosure of of my control unit.

I am very much a hobbyist and far from sophisticated with my machining equipment.  I am, after all, a retired Building Surveyor with no prior machining experience except a small amount back in school more than half a century ago. 

I think I mentioned that my CNC is home built.  If you are interested, I made an 'Instructable' for it (https://www.instructables.com/id/Good-quality-CNC-Machine/).  I have changed the original design a little in that I now have a dedicated stepper motor for each of the two X Axis lead screws as I found that the original belt drive from a single motor caused problems with belt alignment and torque.  The machine is down at the moment as I am replacing the original, home made, HDPE and steel nut arrangement on the lead screws with sintered bronze bushings together with the original HDPE anti-back lash.  But, as I said, I don't have any particularly sophisticated equipment in my workshop.  More like hobby DIY although I do have a 14" Chinese lathe which, after a lot of adjustment, seems to work quite well.  I also have an abrasive type metal chop saw and a 6" vertical bandsaw with a variety of blades.

I probably could have saved and bought more sophisticated equipment but, for me, the fun was in building much of what I have.   The journey is better than arrival.

5
General Mach Discussion / Re: Understanding Mach3 pulses
« on: May 18, 2018, 09:36:13 PM »
I would like a small DRO fixed to the gantry immediately at the work position.  My machine, overall, is 1800mm long and the position of the PC is beyond that.  It would enable me to keep an eye on the work as it progresses in case of error and the Emergency stop button is also on the gantry.  The chances are that is the place that I would most likely be whilst the work is going on.

 Apart from that, it is something that I would just like to do for the hell of it. ;D

6
General Mach Discussion / Re: Understanding Mach3 pulses
« on: May 18, 2018, 07:40:54 PM »
I am building a DRO for the work position coordinates on my home built CNC machine. 

By using stainless steel threaded rod with a pitch of 1.75 at 10 microsteps, gives me a figure of 1142.85714 pulses per millimetre.  As my display is 4 digits plus decimal 2 places it will give me a resolution on the DRO of /100th of a millimetre (0.394 thou) which is more than enough given the inaccuracy of the threaded rod manufacture.

If my calculations are correct, then the significant figures (ll42) would be enough to provide a reading for a single millimetre (with two decimal places) travel using up/down counter chips.  However, this is unlikely to be very accurate due to both the inaccuracy of the lead screw threads and the accumulated decimal places over the 1600mm travel of my X Axis.

Although I have no experience of microprocessors, I am using a programme for PICAXES that uses graphical algorythms for programming.  Ignoring the last two decimal places (0.00014) as being too small to make any appreciable difference, I intended to count pulses up to 7 (third dec place), increment the second dec place then reset, then the same again up to 5 for the second dec place and up to 8 for the first dec place.  And then the processor outputs to the second decimal place of the actual display and so on by inputting to the 'UP' on the CD40110 up/down counter-driver chips (Cascaded; one for each digit).   hope that iis not too convoluted.

I will have a second routine for decrementing the figures when the 'DIR' signal is present outputting to the 'DOWN' connection on the CD40110 up/down counter-driver chips

If anyone is interested, I have attached the schematic for the actual display circuit.

7
General Mach Discussion / Re: Understanding Mach3 pulses
« on: May 18, 2018, 02:40:40 PM »
Thank you very much for the information coming so quickly.

It has clarified a lot of things for me and will enable me to get on with my project.

Thanks once again.

8
General Mach Discussion / Understanding Mach3 pulses
« on: May 18, 2018, 11:53:01 AM »
As I understand it, the Default setting for Mach3 is 25kHz but I need to understand more of how this works in practice.

Does this mean that   pulses to the Stepper Drivers are transmitted at this speed?

If so, does the number of stepper motor drivers affect the overall speed?

I am building a circuit that is required to physically count the pulses, are they 'clean' pulses or will I have to introduce some sort of 'debounce' into the circuit?

And finally, is the direction pulse of the same length as the positioning pulses and/or will that too require debouncing?

9
FAQs / Re: Stepper pulses
« on: August 13, 2017, 04:18:50 AM »
I am very grateful for your help Tweakie.

10
FAQs / Re: Stepper pulses
« on: August 12, 2017, 11:19:24 AM »
Thanks for that additional info Tweakie, much appreciated. 

In your previous post you mentioned the various pulse widths at various frequencies.  How are the various frequencies set?  Are they generated by Mach3 according to load and does the number of motors working simultaneously alter the pulse frequency?

Pages: 1 2 »