6XD step signal
-
I've been trying to get the 6XD board to work with a creatbot d600. I've read other posts in this forum, but I'm not sure if anyone has done the conversion with this board. It seems like the stepper drivers are open-collector inputs and I'm unable to control them with sending 5v and connecting to step- dir- en- pins. Per the instructions I've connected a pull-up resistor to the 5v and pins. I'm able to invert the en and dir pins, but I'm not able to invert the step pin. Is there a way to configure this?
Here is my config:
; Configuration file for Duet 3 MB 6XD (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.16 on Tue Jun 13 2023 14:40:22 GMT-0700 (Pacific Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"D600" ; set printer name ; Network ;M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 E1 I1 T5:5:10:100 ; physical drive 0.0 goes forwards M569 P0.1 S1 ; physical drive 0.1 goes forwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P0.3 S1 ; physical drive 0.3 goes forwards ;M569 P0.0 T5:5:10:100 M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping M92 X266.67 Y266.67 Z960.00 E392.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E360.00 ; set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z600.00 E4980.00 ; set maximum speeds (mm/min) M201 X1000.00 Y1000.00 Z100.00 E400.00 ; set accelerations (mm/s^2) M906 X3800 Y1000 Z1000 E1000 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X540 Y600 Z600 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!io0.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in M574 Y1 S1 P"!io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in M574 Z1 S1 P"!io3.in" ; configure z crash sensor ; Z-Probe M950 S1 C"vfd" ; create servo pin 1 M558 P5 C"^!io2.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds G31 P500 X0 Y0 Z10.5 ; set Z probe trigger value, offset and trigger height M557 X15:500 Y15:580 S50 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T10000 B3988 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S110 ; set temperature limit for heater 0 to 110C M308 S1 P"temp1" Y"thermistor" T100000 B4725 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C M308 S2 P"temp2" Y"thermistor" T100000 B3950 ; configure sensor 2 as thermistor on pin temp2 M950 H2 C"out2" T2 ; create chamber heater output on out2 and map it to sensor 2 M307 H2 B0 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit M141 H2 ; map chamber to heater 2 M143 H2 S80 ; set temperature limit for heater 2 to 80C ; Fans M950 F0 C"out3" Q500 ; create fan 0 on pin out3 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"out5" Q500 ; create fan 2 on pin out5 and set its frequency M106 P2 S1 H1 T45 ; set fan 2 value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings are not defined ; Miscellaneous M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
Also M122:
M122 === Diagnostics === RepRapFirmware for Duet 3 MB6XD version 3.4.5 (2022-11-30 19:41:59) running on Duet 3 MB6XD v1.0 or later (SBC mode) Board ID: 0JD2M-999AL-D25SW-6J1FG-3SJ6J-K4XH3 Used output buffers: 1 of 40 (12 max) === RTOS === Static ram: 151200 Dynamic ram: 66268 of which 44 recycled Never used RAM 133160, free system stack 219 words Tasks: SBC(resourceWait:,0.6%,487) HEAT(notifyWait,0.0%,360) Move(notifyWait,0.0%,351) CanReceiv(notifyWait,0.0%,944) CanSender(notifyWait,0.0%,336) CanClock(delaying,0.0%,343) MAIN(running,98.4%,1232) IDLE(ready,1.0%,29), total 100.0% Owned mutexes: HTTP(MAIN) === Platform === Last reset 00:00:51 ago, cause: software Last software reset at 2023-07-07 13:12, reason: User, GCodes spinning, available RAM 133204, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task SBC Freestk 0 n/a Error status: 0x00 Step timer max interval 18190 MCU temperature: min 38.4, current 38.7, max 38.9 Supply voltage: min 12.8, current 12.8, max 12.8, under voltage events: 0, over voltage events: 0, power good: yes 12V rail voltage: min 12.3, current 12.3, max 12.4, under voltage events: 0 Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0 Events: 0 queued, 0 completed Driver 0: ok Driver 1: ok Driver 2: ok Driver 3: ok Driver 4: ok Driver 5: ok Date/time: 2023-07-07 13:13:34 Slowest loop: 28.79ms; fastest: 0.03ms === Storage === Free file entries: 10 SD card 0 not detected, interface speed: 37.5MBytes/sec SD card longest read time 0.0ms, write time 0.0ms, max retries 0 === Move === DMs created 125, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters 2 -1 -1 -1, ordering errs 0 === GCodes === Segments left: 0 Movement lock held by null HTTP* is doing "M122" in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger* is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === CAN === Messages queued 457, received 0, lost 0, boc 0 Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 50 (min 50), ts 259/0/0 Tx timeouts 0,0,258,0,0,197 last cancelled message type 30 dest 127 === SBC interface === Transfer state: 5, failed transfers: 1, checksum errors: 0 RX/TX seq numbers: 2473/2473 SPI underruns 0, overruns 0 State: 5, disconnects: 0, timeouts: 0 total, 0 by SBC, IAP RAM available 0x2b770 Buffer RX/TX: 0/0-0, open files: 0 === Duet Control Server === Duet Control Server v3.4.5 Code buffer space: 4096 Configured SPI speed: 8000000Hz, TfrRdy pin glitches: 0 Full transfers per second: 47.81, max time between full transfers: 137.8ms, max pin wait times: 499.7ms/161.5ms Codes per second: 1.89 Maximum length of RX/TX data transfers: 2865/852
-
@Josh34 are the motors not moving at all, or moving incorrectly?
Do you have the part number of the stepper drivers that you have connected the 6XD to?
Have you tried leaving the stepper driver enable wires disconnected? For many stepper drivers, this results in the drive being permanently enabled, which means you can concentrate on getting the motor moving and worry about getting the correct enable signal later.