Repetier CNC with TB6600
Hello,
I am willing to run my cnc using tb6600 but motors dont move. i checked them with follwoing program-
**************
#define dirPin 40
#define stepPin 46
void setup() {
// Declare pins as output:
pinMode(stepPin, OUTPUT);
pinMode(dirPin, OUTPUT);
// Set the spinning direction CW/CCW:
digitalWrite(dirPin, HIGH);
}
void loop() {
// These four lines result in 1 step:
digitalWrite(stepPin, HIGH);
delayMicroseconds(70);
digitalWrite(stepPin, LOW);
delayMicroseconds(70);
}
#define stepPin 46
void setup() {
// Declare pins as output:
pinMode(stepPin, OUTPUT);
pinMode(dirPin, OUTPUT);
// Set the spinning direction CW/CCW:
digitalWrite(dirPin, HIGH);
}
void loop() {
// These four lines result in 1 step:
digitalWrite(stepPin, HIGH);
delayMicroseconds(70);
digitalWrite(stepPin, LOW);
delayMicroseconds(70);
}
**************
Note for delay is 70. stepper running fine at this delay.
But on repetier STEPPER_HIGH_DELAY 70 resulting in no move.
Also applied -
What next to do?(Note- No of extruder and thermistor is zero for CNC purspose)
But no luck. Stepper not moving
Comments
#define Y_ENABLE_ON 1
#define Z_ENABLE_ON 1
#define Y_ENABLE_ON 1
#define Z_ENABLE_ON 1
x enable on 1
y enable on 1
But no progress. Pressing home for any axis hang ramps as no sound from rotatory encoder until pressed reset.
15:38:53.814 : Using fast VBOs for rendering is possible
15:38:59.855 : Printer reset detected - initializing
15:38:59.867 : ?start
15:39:00.024 : N1 M110*34
15:39:00.024 : N2 M115*36
15:39:00.024 : N3 M105*36
15:39:00.024 : N4 M114*35
15:39:00.024 : N5 M111 S6*98
15:39:00.028 : N6 T0*60
15:39:00.028 : N7 M20*22
15:39:00.028 : N8 M80*19
15:39:02.487 : Free RAM:3903
15:39:02.496 : N9 M220 S100*104
15:39:02.496 : N10 M221 S100*81
15:39:02.499 : FIRMWARE_NAME:Repetier_0.92.9 FIRMWARE_URL:https://github.com/repetier/Repetier-Firmware/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:0 REPETIER_PROTOCOL:3
15:39:02.499 : N11 M111 S6*87
15:39:02.499 : PrinterMode:CNC
15:39:02.499 : N12 T0*9
15:39:02.499 : X:0.00 Y:0.00 Z:0.000 E:0.0000
15:39:02.502 : DebugLevel:6
15:39:02.502 : Begin file list
15:39:02.505 : End file list
15:39:02.508 : DebugLevel:6
15:39:27.331 : N13 G1 X50 X50 F500*73
15:47:15.790 : Free RAM:3903
15:47:15.792 : N9 M220 S100*104
15:47:15.792 : N10 M221 S100*81
15:47:15.793 : FIRMWARE_NAME:Repetier_0.92.9 FIRMWARE_URL:https://github.com/repetier/Repetier-Firmware/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:0 REPETIER_PROTOCOL:3
15:47:15.793 : N11 M111 S6*87
15:47:15.793 : N12 T0*9
15:47:15.797 : PrinterMode:CNC
15:47:15.798 : X:0.00 Y:0.00 Z:0.000 E:0.0000
15:47:15.798 : DebugLevel:6
15:47:15.800 : Begin file list
15:47:15.801 : End file list
15:47:15.802 : Error:Wrong checksum
15:47:15.802 : Resend:11
15:47:15.803 : Resend: N11 M111 S6*87
15:47:15.803 : Resend: N12 T0*9
15:47:15.808 : DebugLevel:6
> 15:57:02.981 : ok 6
> 15:57:02.981 : ok 7
> 15:57:02.981 : Begin file list
> 15:57:02.981 : End file list
> 15:57:02.981 : ok 8
> 15:57:02.984 : ok 9
> 15:57:02.984 : SpeedMultiply:100
> 15:57:02.984 : ok 10
> 15:57:02.984 : FlowMultiply:100
> 15:57:02.984 : ok 11
> 15:57:02.985 : DebugLevel:6
> 15:57:02.985 : ok 12
> 15:57:04.047 : wait
> 15:57:05.047 : wait
> 15:57:06.047 : wait
> 15:57:07.049 : wait
> 15:57:08.049 : wait
> 15:57:09.049 : wait
> 15:57:10.050 : wait
> 15:57:11.050 : wait
> 15:57:12.051 : wait
> 15:57:13.049 : wait
> 15:57:14.125 : wait
> 15:57:15.125 : wait
> 15:57:16.129 : wait
> 15:57:17.129 : wait
> 15:57:18.128 : wait
> 15:57:19.132 : wait
> 15:57:20.131 : wait
> 15:57:21.130 : wait
> 15:57:22.129 : wait
> 15:57:23.131 : wait
> 15:57:24.132 : wait
> 15:57:25.130 : wait
> 15:57:26.135 : wait
> 15:57:27.132 : wait
> 15:57:28.133 : wait
> 15:57:29.132 : wait
> 15:57:30.136 : wait
> 15:57:31.135 : wait
< 15:57:31.878 : N13 G1 Z1 F100*6
> 15:57:31.884 : ok 13
> 15:57:32.884 : wait
> 15:57:33.881 : wait
> 15:57:34.881 : wait
> 15:57:35.885 : wait
> 15:57:36.884 : wait
> 15:57:37.882 : wait
> 15:57:38.887 : wait
> 15:57:39.886 : wait
< 15:57:40.771 : N14 G1 Z0.9 F100*23
> 15:57:40.774 : ok 14
> 15:57:41.778 : wait
< 15:57:42.524 : N15 G1 Z-0.1 F100*51
> 15:57:42.527 : ok 15
> 15:57:43.527 : wait
> 15:57:44.530 : wait
> 15:57:45.529 : wait
< 15:57:46.170 : N16 G28 Z0*110
> 15:57:46.176 : ok 16
< 15:57:55.784 : N17 G28 X0*109
< 15:58:01.695 : N18 M81*35
< 15:58:10.834 : Printer reset detected - initializing
> 15:58:10.834 : start
< 15:58:10.968 : N1 M110*34
< 15:58:10.968 : N2 M115*36
< 15:58:10.968 : N3 M105*36
< 15:58:10.968 : N4 M114*35
< 15:58:10.984 : N5 M111 S6*98
< 15:58:10.985 : N6 T0*60
< 15:58:10.985 : N7 M20*22
< 15:58:10.986 : N8 M80*19
> 15:58:13.476 : Free RAM:3903
> 15:58:13.477 : ok
> 15:58:13.477 : ok 2
< 15:58:13.479 : N9 M220 S100*104
< 15:58:13.479 : N10 M221 S100*81
> 15:58:13.480 : FIRMWARE_NAME:Repetier_0.92.9 FIRMWARE_URL:https://github.com/repetier/Repetier-Firmware/ PROTOCOL_VERSION:1.0 MACHINE_TYPE:Mendel EXTRUDER_COUNT:0 REPETIER_PROTOCOL:3
< 15:58:13.480 : N11 M111 S6*87
> 15:58:13.480 : PrinterMode:CNC
< 15:58:13.480 : N12 T0*9
> 15:58:13.484 : ok 3
> 15:58:13.484 : ok 4
> 15:58:13.484 : X:0.00 Y:0.00 Z:0.000 E:0.0000
> 15:58:13.484 : ok 5
> 15:58:13.485 : DebugLevel:6
> 15:58:13.485 : ok 6
> 15:58:13.485 : ok 7
> 15:58:13.487 : Begin file list
> 15:58:13.487 : End file list
> 15:58:13.488 : ok 8
> 15:58:13.488 : ok 9
> 15:58:13.488 : SpeedMultiply:100
> 15:58:13.488 : ok 10
> 15:58:13.488 : FlowMultiply:100
> 15:58:13.488 : ok 11
> 15:58:13.488 : DebugLevel:6
> 15:58:13.489 : ok 12
> 15:58:14.553 : wait
> 15:58:15.555 : wait
> 15:58:16.554 : wait