Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
28 Jan 2025 18:26
Replied by tommylight on topic Spindle Pulses Lost in System

Spindle Pulses Lost in System

Category: General LinuxCNC Questions

Slow optocouplers.
Better quality BOB should help, or just get 2 fast optos.
  • 10K
  • 10K's Avatar
28 Jan 2025 18:08
Spindle Pulses Lost in System was created by 10K

Spindle Pulses Lost in System

Category: General LinuxCNC Questions

My lathe spindle originally had an Index pulse and 10 encoder pulses per revolution. From the problems discussed in
      forum.linuxcnc.org/38-general-linuxcnc-q...peed?start=40#319800
I thought it would be better if I generated more than 10 pulses per spindle revolution.

I built a ring to fit on my lathe pulley with 180 teeth. I picked this size because it had the most teeth that I though I could machine. They were about 1/16" width and depth. I found that the proximity probe I was using could not detect these small teeth. I replaced it with a Hall Effect Sensor =11.0ptS38J-22ADSO-5KJA5 from Standex Electronics. Here's the installation:
 

Here's what the output looks like at 400 RPM on my oscilloscope:
 

This is about 24V. The frequency of the signal is about 6 cycles in 5 mS, or 1,200 Hz. Expected signal is 180 pulses * 400 RPM / 60  = 1,200 Hz. So far, so good.

The signal goes into a breakout board with optoisolators. I can see the signal on the input and output side of the optos, so I know it's going into the circuit OK. I don't see any missed pulses on the oscilloscope. The breakout board feeds a Mesa 7i92.

When I pull up the encoder inputs in HalScope, I see:
 

Not good. I should see 180 pulses between the index pulses. I'm seeing about 10. Plus, one of the index pulses is missing.

I have a separate DRO that also displays the spindle RPM. If I compare it to the RPM shown on LinuxCNC, they match from 0-150 RPM, then for higher speeds LinuxCNC shows speeds lower than 150.  So if the lathe is at 500 RPM on the DRO, LinuxCNC shows about 60 RPM. Again, I can see on the oscilloscope that I'm getting all the pulses.

Here is my .INI and .HAL files. Any ideas?

File Attachment:

File Name: Monarch_10...1-28.hal
File Size:7 KB
 

File Attachment:

File Name: Monarch_10...1-28.ini
File Size:6 KB
Displaying 19831 - 19832 out of 19832 results.
Time to create page: 1.254 seconds
Powered by Kunena Forum