Re: [Emc-users] Spindle Control

2021-06-16 Thread Gregg Eshelman via Emc-users
-part pattern I might just try lost PLA for it.  John > -Original Message- > From: Gregg Eshelman via Emc-users [mailto:emc-users@lists.sourceforge.net] > Sent: June-15-21 2:30 AM > To: Enhanced Machine Controller (EMC) > Cc: Gregg Eshelman > Subject: Re: [Emc-user

Re: [Emc-users] Spindle Control

2021-06-16 Thread andy pugh
On Wed, 16 Jun 2021 at 00:54, John Dammeyer wrote: > What about for power tapping then. Is there even a need for an encoder or > does it still require that index pulse and spindle feedback? In theory you can power-tap with a stepper spindle and no encoder. In practice it is likely to be a lot

Re: [Emc-users] Spindle Control

2021-06-15 Thread John Dammeyer
I believe this doc explains the spindle encoder feedback. http://linuxcnc.org/docs/2.4/html/examples_spindle.html John > -Original Message- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: June-15-21 4:52 PM > To: 'Enhanced Machine Controller (EMC)' > Subject:

Re: [Emc-users] Spindle Control

2021-06-15 Thread John Dammeyer
> From: Peter C. Wallace [mailto:p...@mesanet.com] > On Tue, 15 Jun 2021, John Dammeyer wrote: > > > Kind of cool to do an M3 S10 and see the what would be the spindle turning > > at > > 10 RPM with STEP/DIR control. (all on my test bench with a smaller motor at > > the moment and Pi4/7i92H

Re: [Emc-users] Spindle Control

2021-06-15 Thread Peter C. Wallace
On Tue, 15 Jun 2021, John Dammeyer wrote: Date: Tue, 15 Jun 2021 16:14:00 -0700 From: John Dammeyer Reply-To: "Enhanced Machine Controller (EMC)" To: "'Enhanced Machine Controller (EMC)'" Subject: Re: [Emc-users] Spindle Control Kind of cool to do an M3 S10 an

Re: [Emc-users] Spindle Control

2021-06-15 Thread John Dammeyer
Kind of cool to do an M3 S10 and see the what would be the spindle turning at 10 RPM with STEP/DIR control. (all on my test bench with a smaller motor at the moment and Pi4/7i92H instead of PC/7i92H. Been working on that all afternoon. Moved controllers around. Moved motors. Nothing. And

Re: [Emc-users] Spindle Control

2021-06-15 Thread johnd
choose the nicer one?John. Sent from my Samsung S10 Original message From: Chris Albertson Date: 2021-06-15 11:24 a.m. (GMT-08:00) To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Spindle Control On Tue, Jun 15, 2021 at 9:41 AM John Dammeyer wrot

Re: [Emc-users] Spindle Control

2021-06-15 Thread Chris Albertson
ge...@gmail.com] > > Sent: June-15-21 7:26 AM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Spindle Control > > > > On Tue, 15 Jun 2021 at 15:21, Roland Jollivet > wrote: > > > > > Which often makes me wonder why guys aren't CNC mac

Re: [Emc-users] Spindle Control

2021-06-15 Thread John Dammeyer
the Bergerda AC Servo would care though. John > -Original Message- > From: Leonardo Marsaglia [mailto:ldmarsag...@gmail.com] > Sent: June-15-21 10:41 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Spindle Control > > Forgot to say. The speed reference fo

Re: [Emc-users] Spindle Control

2021-06-15 Thread Leonardo Marsaglia
Forgot to say. The speed reference for the VFD is a pulsed signal. So basically I'm feeding a step generator to the VFD for that. I just had to play a little bit with step length and space to adjust the duty cycle and get it working right. Leonardo Marsaglia El mar., 15 jun. 2021 14:38, Leonardo

Re: [Emc-users] Spindle Control

2021-06-15 Thread Leonardo Marsaglia
1- Lathe with 3 phase input/ 3 phase output VFD 2- LCNC has complete control over the vfd. But I also have override, direction and on/off buttons on the main panel. Leonardo Marsaglia El dom., 13 jun. 2021 16:52, John Dammeyer escribió: > Quick little survey on what everyone has on their

Re: [Emc-users] Spindle Control

2021-06-15 Thread andy pugh
On Tue, 15 Jun 2021 at 17:27, John Dammeyer wrote: > Of course since I am also my foundry I'd have to pay attention to the colour > in the first place. I take it the "to be machined" surfaces can have the > gates and runners attached while as-cast should be left as is? I think it is actually

Re: [Emc-users] Spindle Control

2021-06-15 Thread John Dammeyer
Oops. Forgot the link. http://www.autoartisans.com/cnc/Casting.jpg > -Original Message- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: June-15-21 9:24 AM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] Spindle Control > &

Re: [Emc-users] Spindle Control

2021-06-15 Thread John Dammeyer
printed a number of PLA patterns but they always get the woodworking treatment so they are never lost-pla. John > -Original Message- > From: andy pugh [mailto:bodge...@gmail.com] > Sent: June-15-21 7:26 AM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users]

Re: [Emc-users] Spindle Control

2021-06-15 Thread John Dammeyer
> From: andy pugh [mailto:bodge...@gmail.com] > On Tue, 15 Jun 2021 at 05:56, John Dammeyer wrote: > > > And even nicer all painted up. > > http://www.autoartisans.com/mill/HarmonicDrive/PatternPrep-3.jpg > > It's the wrong colour! > https://nvlpubs.nist.gov/nistpubs/Legacy/CS/cs19-32.pdf > In

Re: [Emc-users] Spindle Control

2021-06-15 Thread John Dammeyer
une-15-21 2:30 AM > To: Enhanced Machine Controller (EMC) > Cc: Gregg Eshelman > Subject: Re: [Emc-users] Spindle Control > > Print in PLA with only one perimeter and as little infill as you can get by > with, print all the sprues and vents as one part with the > patter

Re: [Emc-users] Spindle Control

2021-06-15 Thread andy pugh
On Tue, 15 Jun 2021 at 15:21, Roland Jollivet wrote: > Which often makes me wonder why guys aren't CNC machining the moulds rather. > You'd have a simple CNC mill where the tool sticks directly upwards, and > use a dremel as a spindle. > Now you just 'machine' away the green sand until done.

[Emc-users] Spindle Control

2021-06-15 Thread Roland Jollivet
On Tue, 15 Jun 2021 at 11:55, andy pugh wrote: > On Tue, 15 Jun 2021 at 10:33, Gregg Eshelman via Emc-users > wrote: > > > > Look up lost PLA casting. > > Though the drawback with that is that you only get one shot at it. > Which often makes me wonder why guys aren't CNC machining the moulds

Re: [Emc-users] Spindle Control

2021-06-15 Thread Feral Engineer
Lathe has vfd, router is running a superpid with a Hitachi m12vc, mill is using a servo motor I manually turned my Hitachi router on and off until the pandemic hit, then I started by adding a relay to control it, which then became my obsession with industrial electronics  Phil T. The Feral

Re: [Emc-users] Spindle Control

2021-06-15 Thread andy pugh
On Tue, 15 Jun 2021 at 10:33, Gregg Eshelman via Emc-users wrote: > > Look up lost PLA casting. Though the drawback with that is that you only get one shot at it. I have been tending to print conventional patterns. Things like supports and core boxes become really easy with 3D CAD and 3D

Re: [Emc-users] Spindle Control

2021-06-15 Thread Gregg Eshelman via Emc-users
Print in PLA with only one perimeter and as little infill as you can get by with, print all the sprues and vents as one part with the pattern too. Then all you have to do is pack the print tightly in sand then pour in the molten metal to burn out the plastic. Look up lost PLA casting. With

Re: [Emc-users] Spindle Control

2021-06-15 Thread andy pugh
On Tue, 15 Jun 2021 at 05:56, John Dammeyer wrote: > And even nicer all painted up. > http://www.autoartisans.com/mill/HarmonicDrive/PatternPrep-3.jpg It's the wrong colour! https://nvlpubs.nist.gov/nistpubs/Legacy/CS/cs19-32.pdf In the US it is black for as-cast surfaces and red for "to be

Re: [Emc-users] Spindle Control

2021-06-14 Thread John Dammeyer
e-14-21 9:37 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Spindle Control > > Plastic works because it is a "mini" mill. I would use metal for a larger > industrial sized machine. But even if you are making a cast iron part, > make the patt

Re: [Emc-users] Spindle Control

2021-06-14 Thread Chris Albertson
the "eplode" button and slider you can look > > at the parts and rotate them to see all sides https://a360.co/2TxOscU > > > > "Universal PWM spindle speed control device" (don't laugh, it works.) > > https://a360.co/2N95AiL > > > > > &g

Re: [Emc-users] Spindle Control

2021-06-14 Thread John Dammeyer
e Controller (EMC) > Subject: Re: [Emc-users] Spindle Control > > On Mon, Jun 14, 2021 at 9:43 AM John Dammeyer > wrote: > > > Have you any photos of the 3D printed motor mounts etc? Direct drive or > > belt driven? The 3Nm implies size 23 so I'll guess direct driv

Re: [Emc-users] Spindle Control

2021-06-14 Thread Chris Albertson
Chris Albertson [mailto:albertson.ch...@gmail.com] > > Sent: June-14-21 8:41 AM > > To: Enhanced Machine Controller (EMC) > > Subject: Re: [Emc-users] Spindle Control > > > > Yes, I thought about reverse engineering the spindle motor controller and > > fitting it with a

Re: [Emc-users] Spindle Control

2021-06-14 Thread John Dammeyer
e Controller (EMC) > Subject: Re: [Emc-users] Spindle Control > > Yes, I thought about reverse engineering the spindle motor controller and > fitting it with a conector for external PWM input but my goal with this CNC > conversion was to try and do the lowest cost and easiest possibl

Re: [Emc-users] Spindle Control

2021-06-14 Thread Chris Albertson
Yes, I thought about reverse engineering the spindle motor controller and fitting it with a conector for external PWM input but my goal with this CNC conversion was to try and do the lowest cost and easiest possible conversion and document it. So at every decision point I take the simplest route

Re: [Emc-users] Spindle Control

2021-06-14 Thread Todd Zuercher
Machine Controller (EMC) Subject: [Emc-users] Spindle Control [EXTERNAL EMAIL] Be sure links are safe. Quick little survey on what everyone has on their machine for spindle control. 1. Do you have a VFD on a 3 phase motor for Lathe or Mill. 2. Does the CNC controller drive the spindle or do you

Re: [Emc-users] Spindle Control

2021-06-14 Thread Gregg Eshelman via Emc-users
How old is that mill? Those Chinese mini mills and lathes have had PWM spindle motor controllers for many years. I used to have a Grizzly mini lathe with a low 3 digit serial number, probably from the first batch they imported. I was at least the 3rd owner and I had to fix a lot of issues, both

Re: [Emc-users] Spindle control

2021-06-13 Thread John Dammeyer
Hi Gene, > Thats great John. But I haven't noted a ready supply of such speedy parts > being used on the boards we CAN buy, with the exception of cnc4pc's C1G > rev 4 board which has been discoed as it was about 85 bucks. It also had > enough tally leds to light the room with. handy for

Re: [Emc-users] Spindle Control

2021-06-13 Thread andy pugh
On Sun, 13 Jun 2021 at 20:52, John Dammeyer wrote: > 1. Do you have a VFD on a 3 phase motor for Lathe or Mill. Both. > 2. Does the CNC controller drive the spindle or do you set the speed and > ON/OFF manually? The lathe uses a USB "modbus" link (and it's clearly not realtime, but good

Re: [Emc-users] Spindle Control

2021-06-13 Thread Thaddeus Waldner
Router with 2.2 KW elte spindle run by a GS2 VFD via modbus. Thaddeus Waldner Newdale School Elkton, SD 57026 From: Gene Heskett Sent: Sunday, June 13, 2021 4:24:04 PM To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Spindle Control On Sunday 13

Re: [Emc-users] Spindle control

2021-06-13 Thread Gene Heskett
On Sunday 13 June 2021 17:27:51 John Dammeyer wrote: > > From: Gene Heskett [mailto:ghesk...@shentel.net] > > > > On Sunday 13 June 2021 14:43:00 John Dammeyer wrote: > > > At the moment I still have the stepgen 5 on the second parallel > > > port so I can measure both PWM and STEPPING. > > > > >

Re: [Emc-users] Spindle control

2021-06-13 Thread John Dammeyer
> From: Gene Heskett [mailto:ghesk...@shentel.net] > On Sunday 13 June 2021 14:43:00 John Dammeyer wrote: > > > At the moment I still have the stepgen 5 on the second parallel port > > so I can measure both PWM and STEPPING. > > > > Raspberry Pi4 + 1GB + LinuxCNC + MESA_7i92H + ProbotixBoB +

Re: [Emc-users] Spindle Control

2021-06-13 Thread Gene Heskett
On Sunday 13 June 2021 15:49:44 John Dammeyer wrote: > Quick little survey on what everyone has on their machine for spindle > control. > > 1. Do you have a VFD on a 3 phase motor for Lathe or Mill. 2 of my 4 machines follow that recipe. The Sheldon lathe, with a 30 some lb 8" 4 jaw mounted,

Re: [Emc-users] Spindle control

2021-06-13 Thread Gene Heskett
hn Dammeyer [mailto:jo...@autoartisans.com] > > Sent: June-13-21 1:35 AM > > To: 'Enhanced Machine Controller (EMC)' > > Subject: Re: [Emc-users] Spindle control > > > > So here's the photo with the Pi4 1GB running LinuxCNC. The 4 roller > > switches are the three

Re: [Emc-users] Spindle Control

2021-06-13 Thread Cristian Bontas
router mill, 2.2 kW water-cooled spindle, VFD (Huanyang clone) driven by LinuxCNC, through RS432 On 6/13/2021 22:49, John Dammeyer wrote: Quick little survey on what everyone has on their machine for spindle control. 1. Do you have a VFD on a 3 phase motor for Lathe or Mill. 2. Does the

Re: [Emc-users] Spindle Control

2021-06-13 Thread Peter Hodgson
1) 2HP 3 phase motor powered by VFD (with 240v single phase supply) on Emco lathe 2) VFD vari speed controlled with LCNC via Pico Systems Board > On 13 Jun 2021, at 20:55, Matthew Herd wrote: > > 1. VFD w/ 3 phase 2hp motor on a mill > > 2. Planned implementation of hybrid VFD and

Re: [Emc-users] Spindle Control

2021-06-13 Thread Chris Albertson
I have a Harbor freight mini mill with the dumbest possible spindle control. The mill comes from the factory with a variable resistor to control speed. My idea was to connect a variable resistor to a $5 model airplane servo. So the PWM output from LinuxCNC drives the servo and the servo turns

Re: [Emc-users] Spindle Control

2021-06-13 Thread Matthew Herd
1. VFD w/ 3 phase 2hp motor on a mill 2. Planned implementation of hybrid VFD and vari-speed controlled speed, but currently set manually via the vari-speed head. > On Jun 13, 2021, at 3:49 PM, John Dammeyer wrote: > > Quick little survey on what everyone has on their machine for spindle

[Emc-users] Spindle Control

2021-06-13 Thread John Dammeyer
Quick little survey on what everyone has on their machine for spindle control. 1. Do you have a VFD on a 3 phase motor for Lathe or Mill. 2. Does the CNC controller drive the spindle or do you set the speed and ON/OFF manually? Just curious John "ELS! Nothing else works as well for

Re: [Emc-users] Spindle control

2021-06-13 Thread John Dammeyer
lto:jo...@autoartisans.com] > Sent: June-13-21 1:35 AM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] Spindle control > > So here's the photo with the Pi4 1GB running LinuxCNC. The 4 roller switches > are the three homes and the shared limit for the

Re: [Emc-users] Spindle control

2021-06-13 Thread John Dammeyer
a good day. John > -Original Message- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: June-13-21 1:05 AM > To: 'Enhanced Machine Controller (EMC)' > Subject: Re: [Emc-users] Spindle control > > No worries. Found the solution. > I have spindle.0

Re: [Emc-users] Spindle control

2021-06-13 Thread John Dammeyer
l Message- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: June-12-21 11:22 PM > To: Enhanced Machine Controller (EMC) > Subject: [Emc-users] Spindle control > > I'm having a problem understanding how to control a spindle with step/dir > rather than PWM. >

[Emc-users] Spindle control

2021-06-13 Thread John Dammeyer
I'm having a problem understanding how to control a spindle with step/dir rather than PWM. >From what I've read on http://linuxcnc.org/docs/html/examples/spindle.html essentially the spindle speed is a positive number and the M3 and M4 commands are connected to whatever pin(s) controls the

Re: [Emc-users] Spindle control

2019-07-18 Thread Frank Tkalcevic
[mailto:jo...@autoartisans.com] Sent: Thursday, 18 July 2019 11:56 AM To: 'Enhanced Machine Controller (EMC)' Subject: Re: [Emc-users] Spindle control Thanks Jon, I have lots of room under the pulley to mount something. Steel disk with slots and a hall sensor would easily do it. It's what I

Re: [Emc-users] Spindle control

2019-07-18 Thread Jon Elson
On 07/17/2019 08:56 PM, John Dammeyer wrote: Thanks Jon, I have lots of room under the pulley to mount something. Steel disk with slots and a hall sensor would easily do it. It's what I was going to do for simple RPM sensing into the Shumatch DRO with the reflective tape. Another project

Re: [Emc-users] Spindle control

2019-07-18 Thread John Dammeyer
> > The requirements for rigid tapping are less stringent than for PID spindle > speed control. My 50-tooth one was entirely adequate for gear-hobbing. > > Another option would be to use a single index from the spindle and use the > motor encoder for the A and B phases. > Though you will need

Re: [Emc-users] Spindle control

2019-07-18 Thread Gene Heskett
On Thursday 18 July 2019 05:57:28 andy pugh wrote: > On Thu, 18 Jul 2019 at 03:01, Gene Heskett > wrote: > > I have a G0704 John, and have not managed to damage those plastic > gears > > > yet, but I found a 67 slot wheel replacing the original drilled tach > > wheel, with slot interruptors had

Re: [Emc-users] Spindle control

2019-07-18 Thread andy pugh
On Thu, 18 Jul 2019 at 03:01, Gene Heskett wrote: I have a G0704 John, and have not managed to damage those plastic gears > yet, but I found a 67 slot wheel replacing the original drilled tach > wheel, with slot interruptors had way too much quantization noise to be > used as spindle speed

Re: [Emc-users] Spindle control

2019-07-18 Thread Gene Heskett
On Thursday 18 July 2019 00:29:50 John Dammeyer wrote: > > IMO the docs for howto are lacking, but think in terms of a velocity > > loop, where position is not the target, but velocity is. PID's can > > handle that nicely but the howto docs aren't as clear as they should > > be. > > > > >

Re: [Emc-users] Spindle control

2019-07-17 Thread John Dammeyer
> IMO the docs for howto are lacking, but think in terms of a velocity > loop, where position is not the target, but velocity is. PID's can > handle that nicely but the howto docs aren't as clear as they should be. > > > > https://www.grizzly.com/products/Grizzly-Vertical-Mill/G3616 > > > Sweet,

Re: [Emc-users] Spindle control

2019-07-17 Thread Gene Heskett
On Wednesday 17 July 2019 23:36:17 John Dammeyer wrote: > > Yup, there are quite a few ways to skin this cat. Mine may not be > > the best, but "it works for me". > > > > > > Cheers, Gene Heskett > > At the moment my cat is more of a lion. I have this really nice 1.8kW > servo and drive that

Re: [Emc-users] Spindle control

2019-07-17 Thread John Dammeyer
> -Original Message- > From: Sam Sokolik [mailto:samco...@gmail.com] > Sent: July-17-19 8:38 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Spindle control > > One of my setups.. > > https://www.youtube.com/watch?v=QY_vmW1djao > >

Re: [Emc-users] Spindle control

2019-07-17 Thread Sam Sokolik
One of my setups.. https://www.youtube.com/watch?v=QY_vmW1djao https://www.youtube.com/watch?v=F7QulGiMt20 On Wed, Jul 17, 2019 at 10:08 PM Gene Heskett wrote: > On Wednesday 17 July 2019 22:53:52 John Dammeyer wrote: > > > Great description. Thanks Gene. > > Yup, there are quite a few ways

Re: [Emc-users] Spindle control

2019-07-17 Thread John Dammeyer
> > Yup, there are quite a few ways to skin this cat. Mine may not be the > best, but "it works for me". > > > Cheers, Gene Heskett At the moment my cat is more of a lion. I have this really nice 1.8kW servo and drive that just arrived yesterday. 19mm shaft, 6mm key none of which will

Re: [Emc-users] Spindle control

2019-07-17 Thread Gene Heskett
On Wednesday 17 July 2019 22:53:52 John Dammeyer wrote: > Great description. Thanks Gene. Yup, there are quite a few ways to skin this cat. Mine may not be the best, but "it works for me". Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury,

Re: [Emc-users] Spindle control

2019-07-17 Thread John Dammeyer
Great description. Thanks Gene. > -Original Message- > From: Gene Heskett [mailto:ghesk...@shentel.net] > Sent: July-17-19 7:00 PM > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Spindle control > > On Wednesday 17 July 2019 16:51:3

Re: [Emc-users] Spindle control

2019-07-17 Thread Gene Heskett
On Wednesday 17 July 2019 21:59:53 Gene Heskett wrote: > On Wednesday 17 July 2019 16:51:30 John Dammeyer wrote: > > There are a number of videos out there changing up the G0704 gear > > driven spindle to belt drive. Some use toothed belts, others a > > double set of pulleys. Most of the videos

Re: [Emc-users] Spindle control

2019-07-17 Thread Gene Heskett
On Wednesday 17 July 2019 21:22:21 Jon Elson wrote: > On 07/17/2019 03:51 PM, John Dammeyer wrote: > > There are a number of videos out there changing up the G0704 gear > > driven spindle to belt drive. Some use toothed belts, others a > > double set of pulleys. Most of the videos explain that

Re: [Emc-users] Spindle control

2019-07-17 Thread Gene Heskett
On Wednesday 17 July 2019 16:51:30 John Dammeyer wrote: > There are a number of videos out there changing up the G0704 gear > driven spindle to belt drive. Some use toothed belts, others a double > set of pulleys. Most of the videos explain that they will soon but > the slotted RPM sensor disk

Re: [Emc-users] Spindle control

2019-07-17 Thread John Dammeyer
> -Original Message- > From: Jon Elson [mailto:el...@pico-systems.com] > Sent: July-17-19 6:22 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] Spindle control > > On 07/17/2019 03:51 PM, John Dammeyer wrote: > > There are a number of videos out there

Re: [Emc-users] Spindle control

2019-07-17 Thread Jon Elson
On 07/17/2019 03:51 PM, John Dammeyer wrote: There are a number of videos out there changing up the G0704 gear driven spindle to belt drive. Some use toothed belts, others a double set of pulleys. Most of the videos explain that they will soon but the slotted RPM sensor disk back on but for

Re: [Emc-users] Spindle control

2019-07-17 Thread andy pugh
On Wed, 17 Jul 2019 at 21:53, John Dammeyer wrote: > > The spindle pulley on my G3616 type mill has a tapered cone. That also > suggests I want to stay with V belts and just mount a slotted disk onto it > rather than try to make a similar cone that holds toothed GT3 belts. > There's room. But

[Emc-users] Spindle control

2019-07-17 Thread John Dammeyer
There are a number of videos out there changing up the G0704 gear driven spindle to belt drive. Some use toothed belts, others a double set of pulleys. Most of the videos explain that they will soon but the slotted RPM sensor disk back on but for most of them they've not done that yet. For

Re: [Emc-users] Spindle Control

2019-07-05 Thread Peter C. Wallace
On Fri, 5 Jul 2019, Andy Pugh wrote: Date: Fri, 5 Jul 2019 23:57:52 +0100 From: Andy Pugh Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Spindle Control On 5 Jul 2019, at 19:41, Peter C. Wallace wrot

Re: [Emc-users] Spindle Control

2019-07-05 Thread Andy Pugh
> On 5 Jul 2019, at 19:41, Peter C. Wallace wrote: > > then net motions absolute speed command to the stepgens velocity command Surely you would net the signed speed command to the stepgen and use the dir pin for VFD direction control? ___

Re: [Emc-users] Spindle Control

2019-07-05 Thread Peter C. Wallace
On Fri, 5 Jul 2019, John Dammeyer wrote: Date: Fri, 5 Jul 2019 11:21:38 -0700 From: John Dammeyer Reply-To: "Enhanced Machine Controller (EMC)" To: "'Enhanced Machine Controller (EMC)'" Subject: [Emc-users] Spindle Control I have a small module (DC_06) from Homann De

[Emc-users] Spindle Control

2019-07-05 Thread John Dammeyer
I have a small module (DC_06) from Homann Designs for generating the 0V to 10V voltage for spindle VFD from step pulses that range from 0Hz to 25kHz for 0% to 100% respectively . Under MACH3 it's easy to use because one just clicks on the Ports and Pins menu entry and up comes the dialog

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread Gene Heskett
On Wednesday 29 June 2016 13:53:56 dan...@austin.rr.com wrote: > Well the VFD does have a minimum speed. It won't run below that > because of min speed and overheating. And what IS that minimum speed? In which case add that line to your .ini file but instead of 100, use that minimum speed

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread dannym
ld be able to test > this by setting the rpm to 1 in the MDI window. > Worth a try. > > Chris M > > - Reply message - > From: "dan...@austin.rr.com" <dan...@austin.rr.com> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.source

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread dannym
Entirely through Modbus, which otherwise works. I started from the wj200_vfd.c code and made some changes to make an x200_vfd.c file. Just changing a few coils. Modbus starts from the OB RS232 serial port and goes through an isolationg RS232-RS485 converter. Like I say, setup's been good,

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread Gene Heskett
On Wednesday 29 June 2016 12:08:34 dan...@austin.rr.com wrote: > It's every single time. If I use M3, spindle runs 100% reliably. Or, > if I use my XHC wireless mpg, that runs it fine too. What happens when you do an "S1 M3" from the mdi commaand line? At this point I'd bet a cold bottle of

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread Chris Morley
. Chris M - Reply message - From: "dan...@austin.rr.com" <dan...@austin.rr.com> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> Subject: [Emc-users] Spindle control panel breaks LinuxCNC? Date: Wed, Jun 29, 2016 9:12 AM It's every si

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread andy pugh
On 29 June 2016 at 17:08, wrote: > This is weird. The VFD is controlled by a complied .c, which has a limited > range of communication with the VFD, using a few regs. How does the component get its spindle speed commands? I assume through the HAL pins? The diffeerence

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread John Kasunich
How is LinuxCNC connected to the VFD? Direct hardware control, with an analog speed command and start/stop signals from a parallel port? Or serial communications using a HAL driver specific to that brand of VFD? Or Modbus using the generic LinuxCNC HAL Modbus driver? Or Ethernet using ???

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread dannym
It's every single time. If I use M3, spindle runs 100% reliably. Or, if I use my XHC wireless mpg, that runs it fine too. But on the Manual Control tab, there's a Spindle button with a CW button flanking it on the right and a CCW button on the left and +/- buttons underneath. Hovering over

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread Gene Heskett
On Wednesday 29 June 2016 01:42:47 Danny Miller wrote: > Well, I recreated it and confirmed cycling VFD power without rebooting > LinuxCNC makes the spindle run again. > > I looked into the HAL after the "Spindle CW" button breaks everything: > enable TRUE > is_alarm FALSE > is_at_speed FALSE >

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread andy pugh
On 29 June 2016 at 06:42, Danny Miller wrote: > compared with actually having it running with M3: > is_at_speed becomes TRUE (duh) Do you have the motion.spindle-at-speed pin connected up? Perhaps this is what is preventing machine movement? -- atp "A motorcycle is a

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-28 Thread Danny Miller
Well, I recreated it and confirmed cycling VFD power without rebooting LinuxCNC makes the spindle run again. I looked into the HAL after the "Spindle CW" button breaks everything: enable TRUE is_alarm FALSE is_at_speed FALSE is_ready TRUE is_running TRUE reverse FALSE run TRUE watchdog_out TRUE

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-16 Thread dannym
It's modbus, sorry forgot to mention that. What baffles me is the Spindle buttons on the panel, AFAIK, just map to the same spindle-run in the HAL that M3 goes to. I remember looking at the HAL monitor on this weeks ago and IIRC it was "spindle run true, but spindle-isrunning false". The

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-16 Thread Sarah Armstrong
very difficult without a crystal ball you'll need to post your complete config folder as an archive somewhere , not just snips . so we can mimick your installation . it could be you have the spindle enable reversed in hardware , hence it works but not from the gui . ( easily done ) use the hal

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-16 Thread Gene Heskett
On Thursday 16 June 2016 02:57:46 Danny Miller wrote: > I have an X200 VFD. M3,M5,S18000 work fine, from MDI or code. My > MPG's "spindle" button works. > > On the default panel, there's a "Spindle" button flanked with a CW/CCW > indicator. Clicking any of that doesn't make the spindle go, even

Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-16 Thread andy pugh
On 16 June 2016 at 07:57, Danny Miller wrote: > My MPG's "spindle" button works. > > On the default panel, ... Clicking any of that doesn't make the spindle go, > > It's not JUST that. Once you click on any of that, the VFD *will never > run again* until power is cycled.

[Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-16 Thread Danny Miller
I have an X200 VFD. M3,M5,S18000 work fine, from MDI or code. My MPG's "spindle" button works. On the default panel, there's a "Spindle" button flanked with a CW/CCW indicator. Clicking any of that doesn't make the spindle go, even with "S" set to a valid RPM. It's not JUST that. Once you

Re: [Emc-users] Spindle control

2015-12-30 Thread Gene Heskett
On Wednesday 30 December 2015 11:17:45 andy pugh wrote: > On 30 December 2015 at 15:37, Gene Heskett wrote: > > IIRC, this spindle-at-speed thing is only effective when its called > > for by the g-code command that needs it, such as in a G76 or G33.1. > > No, if the pin is

Re: [Emc-users] Spindle control

2015-12-30 Thread andy pugh
On 30 December 2015 at 15:37, Gene Heskett wrote: > IIRC, this spindle-at-speed thing is only effective when its called for > by the g-code command that needs it, such as in a G76 or G33.1. No, if the pin is wired (it defaults to permanently true) then the behaviour is

Re: [Emc-users] Spindle control

2015-12-30 Thread Gene Heskett
Armstrong" <sarahj.armstron...@gmail.com> > > To: "Enhanced Machine Controller (EMC)" > > <emc-users@lists.sourceforge.net> Sent: Tuesday, December 29, 2015 > > 10:19:18 AM > > Subject: Re: [Emc-users] Spindle control > > > > arh , > &g

Re: [Emc-users] Spindle control

2015-12-30 Thread lloyd wilson
gt; motion.spindle-at-speed > > - Original Message - > From: "Sarah Armstrong" <sarahj.armstron...@gmail.com> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Sent: Tuesday, December 29, 2015 10:19:18 AM > Subject: Re: [Emc-

Re: [Emc-users] Spindle control

2015-12-29 Thread Todd Zuercher
rge.net> Sent: Tuesday, December 29, 2015 10:19:18 AM Subject: Re: [Emc-users] Spindle control arh , if i'm reading correctly , you wish to use an external output form your vfd to trigger ? , hence an input pin the spindle at speed signal is internally generated within linuxcnc , using the spindle

Re: [Emc-users] Spindle control

2015-12-29 Thread Sarah Armstrong
arh , if i'm reading correctly , you wish to use an external output form your vfd to trigger ? , hence an input pin the spindle at speed signal is internally generated within linuxcnc , using the spindle rpm encoder so therfore does not need an input from the vfd directly to use . so long as your

Re: [Emc-users] Spindle control

2015-12-29 Thread Dave Caroline
motion.spindle-at-speed IN BIT the IN states it is an input so you already found it. that pin being in the pins section of http://linuxcnc.org/docs/html/man/man9/motion.9.html Dave Caroline --

Re: [Emc-users] Spindle control

2015-12-29 Thread Gene Heskett
On Tuesday 29 December 2015 09:59:34 lloyd wilson wrote: > I'm trying to add a pyvcp panel to control a spindle vfd. To take > advantage of the 'at-speed' signal from the vfd to inhibit motion > until ready, the motion component of LCNC needs to be aware of the > spindle command state- from the

Re: [Emc-users] Spindle control

2015-12-29 Thread Gene Heskett
..@gmail.com> > To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> Sent: Tuesday, December 29, 2015 > 10:19:18 AM > Subject: Re: [Emc-users] Spindle control > > arh , > if i'm reading correctly , you wish to use an external output for

Re: [Emc-users] Spindle control

2015-12-29 Thread Sarah Armstrong
you can use stepconf to produce a configuration , you usually see a sets spindle-at-speed true , this overides the spindle at speed it may be in your postgui.hal file . comment it out and you should be ok On 29 December 2015 at 14:59, lloyd wilson wrote: > I'm

[Emc-users] Spindle control

2015-12-29 Thread lloyd wilson
I'm trying to add a pyvcp panel to control a spindle vfd. To take advantage of the 'at-speed' signal from the vfd to inhibit motion until ready, the motion component of LCNC needs to be aware of the spindle command state- from the documentation: *motion.spindle-at-speed* IN BIT Motion will

Re: [Emc-users] Spindle control with 7i76

2014-08-08 Thread Marius Liebenberg
17:07:57 +0200 From: Marius Liebenberg mar...@mastercut.co.za Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: [Emc-users] Spindle control with 7i76 I am setting up my spindle

Re: [Emc-users] Spindle control with 7i76

2014-08-08 Thread Peter C. Wallace
On Fri, 8 Aug 2014, Marius Liebenberg wrote: Date: Fri, 08 Aug 2014 16:54:20 +0200 From: Marius Liebenberg mar...@mastercut.co.za Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Spindle control

Re: [Emc-users] Spindle control with 7i76

2014-08-08 Thread Marius Liebenberg
@lists.sourceforge.net Subject: Re: [Emc-users] Spindle control with 7i76 Thanks Peter this solution works just great. I cannot get my drive to recognize the analog input but that is a setting that is fooling me somewhere. While measuring the voltage on the spinana signal I noticed that it stays at 0v when

  1   2   >