Sherline Mill

From NYC Resistor Wiki
Jump to navigation Jump to search

We have a 4-axis sherline 5410 cnc mill in a beautiful cabinet made by the former owner.

It has x, y, z, and a. The spindle is manual control with max 6000rpm.

It is controlled by a tinyG (v8) board, connected to a Raspberry Pi 3b+.

The pi is running cncjs accessible via https://cnc.local

todo

We have been donated microswitches. Next step is adding homing.

resources

Sherline Support 1-800-541-0735

Motor Specifications https://www.sherline.com/product/67127-stepper-motor/#specifications

TinyG settings https://github.com/synthetos/TinyG/wiki/TinyG-Configuration-for-Firmware-Version-0.97

current settings

// GLOBAL
$gun=0 // inches mode
// MOTORS
$1ma=0    // motor 1 => axis 0 => x-axis
$1sa=1.8  // step angle 1.8deg
$1mi=1    // microstepping x1 => no microstepping
$1tr=0.05 // 0.05 inches per revolution

$2ma=1    // motor 2 => axis 1 => y-axis
$2sa=1.8  // step angle 1.8deg
$2mi=1    // microstepping x1 => no microstepping
$2tr=0.05 // 0.05 inches per revolution

$3ma=2    // motor 3 => axis 2 => z-axis
$3sa=1.8  // step angle 1.8deg
$3mi=1    // microstepping x1 => no microstepping
$3tr=0.05 // 0.05 inches per revolution

$4ma=3    // motor 4 => axis 3 => a-axis (rotation)
$4sa=1.8  // step angle 1.8deg
$4mi=1    // microstepping x1 => no microstepping
$aam=1    // Standard axis mode, rotational axis in degrees
$4tr=5    // 5 degrees per revolution
// MOVEMENT
// jerk maximum
$xjm=20,000,000 //  20  in/min^3 * 1 million
$yjm=20,000,000 //  20  in/min^3 * 1 million
$zjm=2,000,000  //   2  in/min^3 * 1 million
$ajm=12800000   // 325 deg/min^3 * 1 million
~$ajm=324000 deg/min^3 * 1 million~ // was this before
// COORDINATES (travel min and max)
$xtn=0
$xtm=9
$ytn=0
$ytm=5.5
$ztn=0
$ztm=6.5
// SPEEDS & FEEDS
// here seems to be the magic?
// https://github.com/synthetos/TinyG/wiki/TinyG-Tuning
$xvm=11 // 11 in/min max velocity (G0 movement)
$xfr=22 // 22 in/min max feedrate (G0 movement)
$yvm=11 // 11 in/min max velocity (G0 movement)
$yfr=22 // 22 in/min max feedrate (G0 movement)
$zvm=11 // 11 in/min max velocity (G0 movement)
$zfr=22 // 22 in/min max feedrate (G0 movement)
$avm=???? // ??? in/min max velocity (G0 movement)
$afr=???? // ??? in/min max velocity (G0 movement)
// POWER MANAGEMENT
$mt=0.5  // 1/2 second power timeout
$1pm=2   // only power while moving
$2pm=2   // only power while moving
$3pm=2   // only power while moving
$4pm=2   // only power while moving
// HOMING
$xsn=0 // no min switch
$xsx=0 // no max switch
$ysn=0 // no min switch
$ysx=0 // no max switch
$zsn=0 // no min switch
$zsx=0 // no max switch
$asn=0 // no min switch
$asx=0 // no max switch