Commit 4f773087 authored by Jake Read's avatar Jake Read
Browse files

clarify microsteps, configur8 for clank-cz

parent 28c1a6a7
......@@ -28,12 +28,12 @@ is; no warranty is provided, and users accept all liability.
// 8: DACs go full width
//#define C_SCALE 8 // on init
// MICROSTEP_COUNT
// 1: do 1 tick of 256 table, for full resolution
// 2: 128 steps
// 4: 64 steps
// 8: 32 steps
// 16: 16 steps
// 32: 8 steps
// 1: do 1 tick of 256 table, for full resolution, this is 64 'microsteps'
// 2: 32 microsteps
// 4: 16 microsteps
// 8: 8 microsteps
// 16: 4 microsteps
// 32: full steps
#define MICROSTEP_COUNT 1
// AIN1 PB06
......
......@@ -9,17 +9,20 @@ OSAP* osap = new OSAP("stepper motor drop");
VPort_UCBus_Drop* vPortUcBusDrop = new VPort_UCBus_Drop();
// clank cz:
// Z: Bus Drop 5, Axis Pick 2, Invert ?, SPU 1386.6666667
// TC: Bus Drop 4,
// YL: Bus Drop 1, Invert true
// YR: Bus Drop 2, Invert false
// X: Bus Drop 3, Invert false
// AXIS SPU INVERT
// X: 320 false
// YL: 320 true
// YR: 320 false
// Z: 462.2- false
// E: 830 currently false, not sure
// per bondtech, for BMG on 16 microsteps, do 415: we are 32 microsteps
// https://www.bondtech.se/en/customer-service/faq/
#define AXIS_PICK 0 // E: 3Z: 2, Y: 1, X: 0
#define AXIS_INVERT false // Z: ?, YL: ?, YR: ?, X: ?
#define SPU 320.0F //1386.6666667F // always posiive! z: 3200, xy: 400, clank-cz: xy: 320
#define C_SCALE 0.4F // 0-1, floating
#define TICKS_PER_PACKET 20.0F
#define AXIS_PICK 2 // E: 3 Z: 2, Y: 1, X: 0
#define AXIS_INVERT false
#define SPU 924.4445F
#define C_SCALE 0.6F // 0-1, floating
#define TICKS_PER_PACKET 25.0F
void setup() {
ERRLIGHT_SETUP;
......
Subproject commit 294a5dac3711b23a9cf2386355954c6610c450a3
Subproject commit d5c874d218be169e6b71fa6e57ff3345aaf62246
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment