Config.g issue
-
For starters, check for typos. Right off the bat I see a few typos in your config.g file:
on M563 you have "PO" instead of "P0"
on m584 the M should be capitalizedThe M501 at the end of config.g is calling for the loading of config-override.g, so you'll want to post that here too.
It also wouldn't hurt to post a diagram of how you've connected the stepper drivers to the board, and also what make/model the stepper drivers are (so active high/low can be set properly, as well as step width).
-
kl-5056 from automation technologies. auto active high low whatever they set them selves as far as pulse goes. dir would still work 1 direction. pulse width 1.2us step+ to step+ step- to step- and so on. fully matched polarities on all connections. it worked before using the test ports the latest diagram say not to use. I removed those singal leads when I saw the update. this was a running machine. I only move to the expansion header as per instruction. now I have no machine.
-
Yes, when you were using test points, the machine needed to be configured to use drives 0-4. Now you're using drives 5-11, and need to set things up accordingly. This is done in the M569 commands, which are still set up for drives 0-4 it seems.
I've never heard of an "auto active high low", I don't know how that would be possible - how would the stepper driver guess what a signal is supposed to mean? The product manual for the KL-5056 states that high enables the driver, low disables the driver. But in your M569 commands you have a mix of some active high, some active low.
Have you corrected the aforementioned typos? Where do things stand now? What about the config-override.g? A wiring diagram would still be helpful, both for now and for any future troubleshooting/questions.
I understand you're frustrated, but please see that you're trying to do something uncommon and unconventional, and therefore difficult. This is further complicated by only providing partial information. There are a lot of folks trying to help, it wouldn't hurt to show them some appreciation, too.
-
; Configuration file for Duet Ethernet (firmware version 1.17)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Mon Oct 23 2017 18:51:17 GMT-0400 (Eastern Standard Time); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates…
M83 ; ...but relative extruder moves
M555 P1 ; Set firmware compatibility to look like RepRapFirmare
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X295 Y295 Z207 S0 ; Set axis maxima; Endstops
M574 X2 Y1 Z1 S0 ; Define active high microswitches
M558 P5 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to BLTOUCH, the axes for which it is used and the probe + travel speeds
G31 P50 X50 Y10 Z.7 ; Set Z probe trigger value, offset and trigger height
M557 X35:200 Y35:200 S20 ; Define mesh grid
M557 R78; tools
M563 P0 D6:8:9 H1 F2
G10 P0 S0 R0 X0 Y0; Drives
M569 P10 S1 R1 T2 ; Drive 10 goes forwards
M569 P11 S1 R1 T2 ; Drive 11 goes forwards
M569 P5 S1 R1 T2 ; Drive 5 goes forwards
M569 P6 S1 R1 T2 ; Drive 6 goes forwards
M569 P8 S1 R1 T2 ; Drive 8 goes forwards
M569 P9 S1 R1 T2 ; Drive 9 goes forwards
M584 X10 Y11 Z5 E6:8:9
M350 X16 Y16 Z16 E16:16:16 I0 ; Configure microstepping without interpolation
M92 X100 Y100 Z3200 E80:80:80 ; Set steps per mm
M566 X900 Y900 Z12 E120:120:120 ; Set maximum instantaneous speed changes (mm/min)
M203 X4000 Y4000 Z180 E1200:1200:1200 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 E250:250:250 ; Set accelerations (mm/s^2)
M906 X0 Y0 Z0 E0:0:0 ; Set motor currents (mA)
M84 S0 ; Disable motor idle current reduction; Heaters
M143 S260 ; Set maximum heater temperature to 260C
M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M307 H7 A1 C1 D1
; Tools
M563 P0 D0 H1 ; 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; Network
M550 P kathryn printer ; Set machine name
M540 PBE:EF:DE:AD:FE:ED ; Set MAC address
M552 P0 S1 ; Enable network and acquire dynamic address via DHCP
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Fans
M106 P0 S1 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S1 I F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured
; Miscellaneous
-
Yes, it is possible to run 12 steppers from a Duet.
If you don't have a config-override.g, then you shouldn't be calling M501 (at the end of config.g).
I'm asking for a wiring diagram because it is necessary to know how things are connected in order to set up config.g. I don't have any way of knowing how to set up the active high/low parameter without seeing how you've connected things, for example. If the stepper enable is not configured correctly, no motion will result.
It looks like you still haven't fixed the typos I mentioned in the first post, nor the M569 commands. It looks like you changed the comments on the M569 commands, but not the commands themselves. The comments are ignored by firmware, they are just there as human-readable notes.
I don't know how else to try to help when you're not following the suggested fixes. I do wish you the best with your build.
-
i didn't run the config program the admin did
-
that was generated for me and I on changed axis requirements
-
pasta function pasted the wrong copy sorry
-
I took your updated config file posted above (looks like you deleted your post and posted a new version while I was posting), and can verify that the step/direction signals are being generated, see attached.
I verified all of the axes, even though it meant taking the time to update my dev board's firmware.
-
Ok thanks for that. I have movement on x and z only. they are on drives of different controller ends. 1 on lcd and the other expansion. z only move during homing which fails. I can jog x only. y and all three extruders are dead sticks still. now everytime I make a change to the config via web I can't reconnect. it's the same ethernet connection. I removed the enable leads to auto enable drives. that worked for enable and I have some movement. But the connection error say can't connect to firmware. I can access the web control be address but not reconnect. I have to use usb and repeteir host to send M552 S1 everytime the un plug usb, because the ethernet wont connect with usb even plug in. I am power my desktop and the printer from the same power supply so gnd is common.