On Saturday 21 December 2019 20:05:49 R C wrote:

> alright,  that is doable, I might need a bit more than 2m, but I can
> probably find one longer.
>
>
> Maybe it is the best to rip all the OEM stuff out,  and set up the
> hardware from scratch, because I think it is probably a good
>
> idea to use linuxcnc.
>
>
> I also want to  "control" the spindle.  I think in both machines they
> are DC motors,  and might be  good/fun to replace those by something
> more controlable.

I have 2 of my machines setup with DC spindles controlled by the pico 
pwm-servo controllers. Full 4 quadrant control. Good for up to 2hp 
surge, you'll need to build an analog supply, output voltage s/b around 
125, 10 amps running, but surge capable to 20 for a fraction on a 
second, and on my g0704, I can full speed reverse at 3000 rpms, to 3000 
in reverse,(and back) in less than 1 second. Theres some hal trickery to 
do that.

The trick is to delay the reversal's arrival to first use the controller 
to ramp the speed down to 5 rpm (I use a limit3 to time the rampdown) in 
the current direction while timeing the motor encoders a or b pulse to 
detect when the motor has virtually stopped, then let the reverse thru 
and ramp it in that same limit3 back to the set speed in reverse.  The 
same hal code does the opposite when turning around to fwd again.

When stopping or slowing the motor, the 4 quadrant control recovers the 
energy from the motor and dumps the energy back into the supply, which 
on the turnaround is then used to accelerate the the motor in the other 
direction.  A lamp, like a nightlight S7 or S4 will show this voltage 
rise, but not for long as it will likely be blown quickly. :)

Be sure and let Jon know its for a spindle and he will modify it for 
continuous duty, which servos as a general rule aren't. It makes a good, 
bullet-proof control.

> On 12/21/19 6:01 PM, Phill C wrote:
> > Yes, it is an of the shelf fully populated cable like this:
> >
> > http://pico-systems.com/osc2.5/catalog/product_info.php?products_id=
> >28&osCsid=q44slh22e8lckb4jrudvs2skj0
> >
> >> On 22 Dec 2019, at 11:56 am, R C <cjv...@gmail.com
> >> <mailto:cjv...@gmail.com>> wrote:
> >>
> >> that looks like something I would need.
> >>
> >>
> >> What parallel cable do you use?  a straight through?  I would love
> >> to get rid of the proprietary stuff in those cns machines.
> >>
> >>
> >> The hardware I was told is Sherline,  but made/setup by
> >> paxton/patterson
> >>
> >>
> >> I'll see if I can post a pic of them in a separate post.
> >>
> >>
> >> Ron
> >>
> >> On 12/21/19 5:53 PM, Phill C wrote:
> >>> I use these for a Sherline mill and a Sherline lathe:
> >>>
> >>> https://www.ebay.com.au/itm/1pcs-5-Axis-CNC-Breakout-Board-For-Ste
> >>>pper-Driver-Controller-mach3/201414938686?epid=23018351668&hash=ite
> >>>m2ee544103e:g:GTkAAOxyBjBTWMPR
> >>>
> >>> https://www.ebay.com/itm/M542H-3A-CNC-Stepper-Motor-Driver-Control
> >>>ler-2-Phase-128-Microstep-f-42-57-Motor-/282070570888
> >>>
> >>>> On 22 Dec 2019, at 11:48 am, R C <cjv...@gmail.com
> >>>> <mailto:cjv...@gmail.com>> wrote:
> >>>>
> >>>> I actually saw that one,
> >>>>
> >>>>
> >>>> years ago when I was trying to get them to work, there was not
> >>>> that much known about these things.
> >>>>
> >>>>
> >>>> I wonder if it is easier to just get a good,
> >>>> affordable/inexpensive driver, for the steppers and the spindle,
> >>>> and go from there.
> >>>>
> >>>>
> >>>> The steppers on these tings are kinda weak I think.
> >>>>
> >>>>
> >>>> But it is fun hacking them.   Paxton/Patterson wants an arm and a
> >>>> leg, and will not give any of the info on their machines.
> >>>>
> >>>>
> >>>> Ron
> >>>>
> >>>> On 12/21/19 5:33 PM, Phillip Carter wrote:
> >>>>> Probably a good idea, looking at this post
> >>>>> https://www.cnczone.com/forums/benchtop-machines/19359-cnc-cam-s
> >>>>>oftware-post153062.html#post153062 they don't use standard
> >>>>> parallel port pinouts.
> >>>>>
> >>>>>> On 22 Dec 2019, at 11:21 am, R C <cjv...@gmail.com
> >>>>>> <mailto:cjv...@gmail.com>> wrote:
> >>>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>>
> >>>>>> yeah I figured that out a good while ago, using turbocnc.  I'll
> >>>>>> play with it a bit more.  But at some point I probably want a
> >>>>>> better more standard driver.
> >>>>>>
> >>>>>>
> >>>>>> Ron
> >>>>>>
> >>>>>> On 12/21/19 4:53 PM, Phillip Carter wrote:
> >>>>>>> It is probably worthwhile persevering, if you got the axes
> >>>>>>> moving then you can't be too far off.
> >>>>>>>
> >>>>>>> They look like Sherline machines, I guess they have a third
> >>>>>>> party parallel BOB and drivers, do you have any info on them.
> >>>>>>>
> >>>>>>>> On 22 Dec 2019, at 10:45 am, R C <cjv...@gmail.com
> >>>>>>>> <mailto:cjv...@gmail.com>> wrote:
> >>>>>>>>
> >>>>>>>> I am actually tempted to replace all the electronics in my
> >>>>>>>> CNC machines, and start from scratch.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> I have two Paxton/Patterson "CNC Training Center" machines,
> >>>>>>>> bench top, a lathe and a mill.
> >>>>>>>>
> >>>>>>>> On 12/21/19 4:13 PM, Phillip Carter wrote:
> >>>>>>>>> That is above my paygrade, it may be worth your while
> >>>>>>>>> creating a new topic on the forum in this
> >>>>>>>>> sectionhttps://forum.linuxcnc.org/16-stepconf-wizard<https:/
> >>>>>>>>>/forum.linuxcnc.org/16-stepconf-wizard>
> >>>>>>>>>
> >>>>>>>>>> On 22 Dec 2019, at 9:21 am, R C <cjv...@gmail.com
> >>>>>>>>>> <mailto:cjv...@gmail.com>> wrote:
> >>>>>>>>>>
> >>>>>>>>>> Ok,  that seems to be working now, even in stepconf (wonder
> >>>>>>>>>> what was going on there).
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> I have the mill working (sort of), I can make the XYZ axes
> >>>>>>>>>> work, that is, I can
> >>>>>>>>>>
> >>>>>>>>>> jog them in stepconf (the axis moves one step every time I
> >>>>>>>>>> click one of the green arrows, I
> >>>>>>>>>>
> >>>>>>>>>> expected it to continuously move)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> The lathe I don't have working on h eother port yet, wonder
> >>>>>>>>>> if maybe something is wrong there.
> >>>>>>>>>>
> >>>>>>>>>> (the spindles are not running,  but that might be because I
> >>>>>>>>>> forgot to do the wiring for that, when I built the new
> >>>>>>>>>> cables.
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> I have an issue saving the second/mill configuration
> >>>>>>>>>> though, here's what I get:
> >>>>>>>>>>
> >>>>>>>>>> Stepconf encountered an error.  The following information
> >>>>>>>>>> may be useful in troubleshooting:
> >>>>>>>>>>
> >>>>>>>>>> Traceback (most recent call last):
> >>>>>>>>>>   File
> >>>>>>>>>> "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line
> >>>>>>>>>> 82, in on_button_fwd_clicked
> >>>>>>>>>>     self['%s_finish'%name]()
> >>>>>>>>>>   File
> >>>>>>>>>> "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line
> >>>>>>>>>> 720, in finished_finish
> >>>>>>>>>>     self.a.buid_config()
> >>>>>>>>>>   File "/usr/bin/stepconf", line 781, in buid_config
> >>>>>>>>>>     self.d.save(base)
> >>>>>>>>>>   File "/usr/bin/stepconf", line 676, in save
> >>>>>>>>>>     os.symlink(base,shortcut)
> >>>>>>>>>> OSError: [Errno 2] No such file or directory
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> thanks,
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> Ron.
> >>>>>>>>>>
> >>>>>>>>>> On 12/20/19 12:45 AM, Phillip Carter wrote:
> >>>>>>>>>>> In that case the lathe would have:
> >>>>>>>>>>>
> >>>>>>>>>>> loadrt hal_parport cfg="1 out"
> >>>>>>>>>>>
> >>>>>>>>>>> And the mill would have:
> >>>>>>>>>>>
> >>>>>>>>>>> loadrt hal_parport cfg="2 out"
> >>>>>>>>>>>
> >>>>>>>>>>> But again BOTH would have parport.0.blah-blah as it would
> >>>>>>>>>>> be the first port.
> >>>>>>>>>>>
> >>>>>>>>>>>> On 20 Dec 2019, at 6:31 pm, Phillip Carter
> >>>>>>>>>>>> <phillcarte...@gmail.com
> >>>>>>>>>>>> <mailto:phillcarte...@gmail.com>> wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>> You would have two separate configs, the lathe would
> >>>>>>>>>>>> have:
> >>>>>>>>>>>>
> >>>>>>>>>>>> loadrt hal_parport cfg="0 out"
> >>>>>>>>>>>>
> >>>>>>>>>>>> And the mill would have:
> >>>>>>>>>>>>
> >>>>>>>>>>>> loadrt hal_parport cfg="1 out"
> >>>>>>>>>>>
> >>>>>>>>>>> _______________________________________________
> >>>>>>>>>>> Emc-users mailing list
> >>>>>>>>>>> Emc-users@lists.sourceforge.net
> >>>>>>>>>>> <mailto:Emc-users@lists.sourceforge.net>
> >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>>>>>>>>>
> >>>>>>>>>> _______________________________________________
> >>>>>>>>>> Emc-users mailing list
> >>>>>>>>>> Emc-users@lists.sourceforge.net
> >>>>>>>>>> <mailto:Emc-users@lists.sourceforge.net>
> >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>>>>>>>>
> >>>>>>>>> _______________________________________________
> >>>>>>>>> Emc-users mailing list
> >>>>>>>>> Emc-users@lists.sourceforge.net
> >>>>>>>>> <mailto:Emc-users@lists.sourceforge.net>
> >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to