User:Mcmaster/uv2000cnc

From Microwiki
Jump to: navigation, search

Sherline 2000 CNC info

FIXME : why is R18 broken?

FIXME : melted wire

Spindle CNC

2015-11-26: sent them e-mail. No idea if anyone still listens to that address (ceased operation in 2008)…but who knows

2015-11-26: posted on CNCZone

Problem: I got this system 8 or so years ago to learn machining and build robots. At the time I was learning plenty with manual milling and didn't really step up to do real CNC machining until much later. That's when I realized:

    • Didn't come with spindle CNC instructions (encoder, driving)
    • This is not a Sherline option
    • Although the encoder does look like the Sherline one]]
    • The company that did it went out of bussiness

I could try poking around CNCZone and such (probably still should) its probably simple enough that some reasonably quick tinkering will get it working. I tried guessing settings in the Axis GUI before without success.

Overview

Standard Sherline driver box has a mini-DIN connector on the side labeled "Spindle". This goes to the spindle controller that has a matching plug as well as an RJ-11 for a tachometer. The spindle controller also has a switch for "manual" or "CNC". When flipped to CNC the spindle stops.

Internals

The driver box has a 26 pin header (J6) that is presumably for accessories. An IDC cable runs to an IDC to mini-DIN converter board is mounted to the top of the driver box. It has a few capacitors (PWM smoothing?) but is otherwise blank. There are unused pads for some ICs and other components. I suspect the mini-DIN is essentially directly connected to the DB-25.

Driver

Mcmaster sherline 8760tms ext.jpg

Mcmaster sherline 8760tms ext mini-din.jpg

Mcmaster sherline 8760tms int j6.jpg

Mcmaster sherline 8760tms int.jpg

Mcmaster sherline 8760tms int melted wire.jpg

Mcmaster sherline 8760tms int mini-din.jpg

Spindle

Mcmaster sherline 6513tms ext front.jpg

Mcmaster sherline 6513tms ext top.jpg

Mcmaster sherline 6513tms ext tach.jpg

Sherline standard pinout

8760 driver box]]

Pin Name I/O Description
Notes
1 I Input from EMC (may be ignored in other systems)
2 I X Direction
3 I X Step
4 I Y Direction
5 I Y Step
6 I Z Direction
7 I Z Step
8 I A Direction
9 I A Step
10 N/C
11 O Output to EMC (may be ignored in other systems)
12 O Output to EMC, XYZ home (may be ignored in other systems)
13 N/C
14 I Input from EMC, C1 (may be ignored in other systems)
15 N/C
16 I Input from EMC, C2 (may be ignored in other systems)
17 N/C
18-25 Ground

Mini-DIN pinout

Mcmaster sherline 8760tms ext mini-din pinout.jpg


DIN

pin

DB25

pin

IDC10

pin
Name Description
Notes
1 16 6
2 1 1
3 18-25 10 GND Ground
4 N/C 8
5 14 2
6 15 4

My pinout

Augmented from TMS e-mail and other research

Pin Name I/O Description
Notes
1 I Spindle enable
2 I X Direction
3 I X Step
4 I Y Direction
5 I Y Step
6 I Z Direction
7 I Z Step
8 I A Direction
9 I A Step
10 N/C
11 O Output to EMC (may be ignored in other systems)
12 O Output to EMC, XYZ home (may be ignored in other systems)
13 N/C
14 I Spindle PWM/Data
15 Spindle Index (Tach)
16 I Spindle Clock
17 N/C
18-25 Ground

TMS e-mail 2015-11-26

The spindle controller setup is a DigiSpeed controller from Homann Designs[1], with a custom mini-din board we had him make for us (similar to his mini-din breakout board[2]). (The additional capacitor soldered onto the breakout board is to smooth out the tach signal back to the PC.)

There were a few small modifications to the PC board in the Sherline controller, just cutting signals to unused pins on the internal header, and adding a +5V supply to the header.

The signals form the PC are an enable, a PWM signal for the spindle speed, +5, GND, and the tach return to the PC. From my notes, the connections are:

Pin 1 - Enable Pin 14 - PWM/Data Pin 15 - Index (Tach) Pin 16 - Clock Pin 17 - +5V Pin 18 - Ground

(The pin numbers are the corresponding pins from the DB25 going to the parallel port).

In normal operation, the Clock isn't used, but it can be used to re-program the DigiSpeed, I have a custom Mach3 profile somewhere that I used for this, if you need it I can dig it up. When I set up the units, I pre-programmed a custom throttle curve into the DigiSpeed to give a linear speed output from the spindle, so you should be all set.

I'm not sure if you'll be able to get it working with EMC using the spindle sticker that I sent with the kit, this one was designed to work with Mach3 (and be backward compatible with the Sherline DRO readout box). The tach gives six pulses per revolution and one of the pulses is twice as long to serve as an index mark. Mach3 will automatically sort this out and the index mark allows cutting CNC threads on the lathe (where the controller can re-sync to the same groove for multiple passes). If you're just using it for the mill, then EMC may work so long as you can tell it that there are six pulses per rev. If that turns out to be an issue, you can replace the sticker with one that has only a single black mark (you may have to try different inks as some black inks don't absorb the IR light from the tach LED, I used a laser printer).

There wasn't any documentation because the version of Mach 3 that we sold came with a profile that was pre-set for this configuration and it was all plug-and-play. You should be able to download a copy of it from our web site[3].

[1] [1]] [2] [2]] [3] http://tabletopmachineshop.com/files/]]


Spindle calibration (high torque belt)

Mcmaster uv2000cnc spincal.png

RPM = 29.515 PWM + -105.126 R: 0.999673 P: 0.000000 Std err: 0.075895 ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' PWM RPM 3.6 0.0 100.0 2846.3