Sherline 2000 CNC
-
Hello people of duet3d, i'm in need of some assistance.
So i bought a sherline 2000 with cnc modifications.
I took apart the motor control box, plug the wires back, and I believe I destroyed the motor control box by shorting it. !![0_1612735188056_measurements.PNG](Uploading 100%)I was hoping I could receive advice on what motor control board I should replace it with , as well how best I would accomplish switching between manual and automatic control of the spindle speed. do i get a vfd? I know i have to use a pwm output from the duet3.
Im definitely willing to do the research, as i am currently. Any info/guidance![0_1612736533024_dc_motor_specs_sherline.PNG](Uploading 100%) is appreciated thank you. -
-
@MATHLETE417 , Both (current) Sherline stepper motors are rated for 2 amps. You need a controller capable of at least that, but preferably well over an honest 2.2A for some unused overhead for longevity. A Duet 2 will be fine, at 2.4A, if you use heat management. (Heatsinks and/or fans.)
The Duet boards are great boards; I have a handful. They may not be easy to set up, however, because the "setup wizards" are designed for 3d printers, and they leave quite a few parameters for you to figure out. For instance, they force you to set up heaters and tools, even when you do not have them in your CNC. This forum is very helpful, though, but it will not likely be a fast setup.
I actually found the Sherline LinuxCNC to be easier, but probably because it came preconfigured. I had my LinuxCNC working on the first day, and was able to tune it to my preferences as I used it. In contrast, it took quite a few days of spare time to get my Duet dialed in to the same state.
Also, the Sherline has a mechanical backlash, which guarantees some play. Duets do not have a way to compensate for this. It will work fine for hobby-quality work, but could cause the need for workarounds with precision work. I think someone on here posted a Python post-processor to add backlash compensation, so that should take care of it if you put it in your workflow.
Have fun!
-
@tenaja Thanks so much for the response.
Would you mind linking your preferences file here?
im going to look into that python post-processor
-
@MATHLETE417 Sure, I will share it, but my application only uses two axes, Y & Z. I set up X in a few places, mostly "just in case" because I used the X axis limit switch as a Trigger (to run HomeAll.g). It worked, and I never got around to removing the X axis declarations to see if I could weed them out.
; 12:37pm, 1/12/21 ; Non-Printer configuration file for Duet Wifi with V3.2 firmware ; https://duet3d.dozuki.com/Wiki/Gcode ; Communication M111 S0 ; Debug off ;*** Ethernet networking: The following lines are used for factory testing - PLEASE REMOVE THEM ;M552 0.0.0.0 ; acquire an IP address using DHCPP ;M554 P192.168.1.255 ; Gateway ;M553 P255.255.255.0 ; Netmask ;*** WIFI activation: M552 S1 ; Turn network on--NOTE: TEMPORARY M550 P"DuetMachine1" ; set printer name M551 P"1234" ; Password... M555 P2 ; Set output to look like Marlin (used in setup.) ; General preferences G90 ; Send absolute coordinates... for xyz axes M83 ; ...but relative SPINDLE moves G20 ; Work in INCHES ; CNC Mode Set M453 ; No Spindle (S), no PWM (Q), no "tool" (T) ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M569 P4 S1 ; physical drive 3 goes forwards M584 Y0 X1 Z2 E3 ; set drive mapping for LINEAR axis (only map X for the endstop Start button.) ; ---MOTOR SETUP--- ; Resolution settings--NOTE: The benefit to higher resolution is a quieter operation, IF it can keep up with speed needs. M350 X64 Y64 Z256 ; Microstepping (without interpolation) sets motor resolution M92 Y503.937 Z40314.96 ; Steps per mm for controller calculations (See notes at top of file for calculation) ; Note: Spindle (Y) is set so "1mm" = 1 revolution ; Accel & Speed limits M566 Y10.00 Z5.00 ; set maximum instantaneous speed changes (mm/min) M203 Y50000.00 ; set maximum spindle speeds (60 mm/min = 1mm/sec [z] or 1 rev/sec [y]) M203 Z30 I.1 ; set max (30) and Min (.1) Z axis speeds M201 Y65.00 Z15.00 ; set accelerations (mm/s^2) M564 S0 H0 ; Allow moves outside the "print volume" and before homing, or not. ; If the S parameter is 0, then you can send G codes to drive the RepRap outside its normal working volume ; Motor Current M906 Z500 I50 ; set motor currents (500 mA) and motor idle factor in percent (I50 = 50% at idle) M906 Y1200 I1 ; set motor currents (1200 mA) and motor idle factor in percent M84 S1 ; Set idle timeout to 1 second ; Stall Detection on Spindle (Y axis): (NOTE: This did NOT work at all.) M915 Y S-64 F0 H150 R1 ;3 ; Enable stall detection on Y & Z, up to 5 steps of stall, and run rehome.g if it stalls ; S is sensitivity; lower is higher sensitivity; S-64 is maximum sensitivity, S64 is minimum sensitivity ; R is the action to take; 3 sets it to run macro rehome.g, then continue. (R1 is for testing & Logging) ; F is the Stall Detection Filter mode--1 is less sensitive, 0 is more sensitive. ; H is minimum "full steps" per second that it detects; ; Axis maximum position Limits M208 Y0 Z0 S1 ; set axis minimum (S1) M208 Y10000 Z200 S0 ; set axis Maximum (S0) ; ---Endstops--- (for Z HOME, Start Home, and START Cycle switch sensing) M574 Z1 S1 P"!zstop" ; Z min S1=active high (required high) endstop switch M574 X1 S1 P"^!xstop" ; Z min S1=active high (required high) endstop switch M574 Y1 S1 P"^!ystop" ; Z min S1=active high (required high) endstop switch --HOME sensor switch ; ---TRIGGERS--- for initiating a "FIND HOME" Command and a Cycle Start. S0 = "active to inactive edge" (S1 is opposite) M581 T2 X S0 ; HomeAll.g run, using X limit as trigger NOTE: T{N} = runs the macro "sys/trigger{N}.g" ; Do not enable START trigger yet; do it after HOME cycle. This is how it's enabled: ; M581 T3 Y S0 ; Start a cycle, on Y limit ; ---OUTPUT Configuration for the GREEN LIGHT: M950 P1 C"fan1" Q1000 ; GREEN LAMP: create "fan1" output port 1 attached to Fan1 NOTE: enable with M42 P1 S1.0 M42 P1 S0.20 ; Make sure green lamp is DIM, at 20% power to indicate power on, but not ready. ; ---Fans... ; M950 P1 C"!fan1" Q1000 M950 F0 C"fan0" Q50000 ; create fan 0 on pin fan0 and set its frequency to 50khz, hopefully not noticeable M106 P0 S0.5 H-1 ; set fan 0 value. Thermostatic control is turned off ; ---Tools -- NOTE: a "tool" is required but not used. M563 P1 S"Mandrel" D1 F-1 ; define tool 1 (WAS D0) G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C T1 ; select the tool (required) ; --- Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue (If attached) --NOTE: TEMPORARY M302 ; Allow "no heat" moves