Re: [Emc-users] Rigid tapping

2023-08-14 Thread John Dammeyer
How would that be done in the HAL file? And BTW, Peter could probably explain why but when I bumped the RPM up to 100 and then looked at the velocity output and it mirrored the 1 RPM velocity profile. Just at higher rate.I'm guessing that even though the HAL rate is 1mS inside the MESA it's

Re: [Emc-users] Rigid tapping

2023-08-14 Thread Sam Sokolik
Would you ever be tapping that slow? If you are - then yes - higher resolution or try interpolation.. (Will that be bad in rigid tapping reversals? Threading on a lathe interpolation works great - but that is one direction...). The green machine had a gear tooth encoder - about 40 ish teeth.

Re: [Emc-users] Rigid tapping

2023-08-14 Thread Chris Albertson
I think with encoders that are not symmetric 50/50, you need to look only at the leading edges. (Or only at the trailing edges) Yes,this cuts the resulution in half but removes the nose.I think for somethig with a lot of rotational inertia, like a spindle, you can use interpolation to get

Re: [Emc-users] Rigid tapping

2023-08-14 Thread gene heskett
On 8/14/23 20:18, John Dammeyer wrote: Hi Gene, It's why I'm filtering. And yes. I agree, at this slow a speed I suspect what I will find is two different velocities reported from edge to edge. I'm guessing when the speed is fast (small gap) then a faster than required distance/vel is

Re: [Emc-users] Rigid tapping

2023-08-14 Thread Peter Wallace
On Mon, 14 Aug 2023, John Dammeyer wrote: Date: Mon, 14 Aug 2023 16:36:16 -0700 From: John Dammeyer Reply-To: "Enhanced Machine Controller (EMC)" To: "'Enhanced Machine Controller (EMC)'" Subject: Re: [Emc-users] Rigid tapping Hi Andy, I don't know. How can I tell? The encoder is

Re: [Emc-users] Rigid tapping

2023-08-14 Thread John Dammeyer
Hi Gene, It's why I'm filtering. And yes. I agree, at this slow a speed I suspect what I will find is two different velocities reported from edge to edge. I'm guessing when the speed is fast (small gap) then a faster than required distance/vel is implemented. Then on the next wider pulse it's

Re: [Emc-users] Rigid tapping

2023-08-14 Thread John Dammeyer
Hi Andy, I don't know. How can I tell? The encoder is connected to the MESA 7i92H and according to my documentation is noisy so needs to be filtered. In either case it looks like the MESA board is providing Velocity and Position. I'd make a guess that based on its own internal clock it

Re: [Emc-users] Rigid tapping

2023-08-14 Thread gene heskett
On 8/14/23 15:53, John Dammeyer wrote: This thread has some good information about this https://sourceforge.net/p/emc/mailman/message/34363029/ For interest sake I set my mill up to turn 1 RPS with my 60 tooth non-symmetrical encoder (4mm slots, 2.5mm teeth) and then ran the power tapping

Re: [Emc-users] Rigid tapping

2023-08-14 Thread andy pugh
On Mon, 14 Aug 2023 at 20:57, John Dammeyer wrote: > What I found is that it moved in short spurts. Are you using straight encoder position, or position-interpolated? (this might not be an option depending on what is counting the encoder pulses) -- atp "A motorcycle is a bicycle with a

[Emc-users] Rigid tapping

2023-08-14 Thread John Dammeyer
This thread has some good information about this https://sourceforge.net/p/emc/mailman/message/34363029/ For interest sake I set my mill up to turn 1 RPS with my 60 tooth non-symmetrical encoder (4mm slots, 2.5mm teeth) and then ran the power tapping G-Code to see what the knee Z axis would

Re: [Emc-users] Drilling holes in the back of a stepper motor

2023-08-14 Thread John Dammeyer
I don't recall if I finished off this thread with a report on the results. Here's a photo of how it worked out. I connected the encoder to a dsPIC33ch128mp504 which was on a PIM installed into the Microchip Explorer 16 development board. I used my ELS to run the motor and encoder pulses were