Indded that's what I suggested. AFAIK you could specify a lower frequency if your laser allows modulation this way. I'd rather use this as a discrete output to turn the laser on and off.
Posts made by thomas_rudloff
-
RE: Duet Maestro Laser Control
-
Duet Maestro Laser Control
I am going to finish my machine using the Duet Maestro board. I have a 43mm mount where I want to mount e.g. an extruder or laser.
Can I use the heater pin to control the laser? Of course with a different configuration loaded.
-
Home All Speed
Were can I recall the firmware version. Is one of the latest.
My actual HomeAll.g
G91 ; relative positioning
M584 Z2 U3 V4 ; split Z
G1 H1 Z5 U5 V5 F1800 ; move Z, U and V up until the endstop is triggeredG1 H1 X240 Y200 Z150 U150 V150 F1800 ; move quickly to X or Y endstop and stop there (first pass)
M584 Z2:3:4 ; Join Z, U, V
G90 ; absolute positioningWorks like expected until the X or Y endstop is hit and then gives more speed to the remaining X or Y homing. Yet I did not figure if or how it is related to Z axis.
-
RE: Three Z Axis Endstops
Many thanks to all. I guess I got it.
The x8 is a relic from the time I used TB6600s for the Z Axis and is just preliminary. I will change this later. Wish I would be that far already. -
RE: Three Z Axis Endstops
This is the console output for M119. How do I associate the endstops to the axis and tell min or max endstop?
M119
Endstops - X: not stopped, Y: not stopped, Z: at max stop, U: at min stop, V: not stopped, Z probe: not stopped -
Three Z Axis Endstops
I have three Z steppers called Z, U and V with separate endstops . The V endstop does not work. I changed cable and switch. When I have all endstops lid the V stepper tries to turn. I bet it is a typo. But I cannot find it. One typo I fixed. But this didn't do the trick.
; Configuration file for Duet Maestro (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Sun Aug 04 2019 20:08:20 GMT+0200 (Central European Summer Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder movesM667 S1 ; Select CoreXY mode
; Network
M550 P"My Printer" ; Set machine name
M551 P"7072560" ; Set password
M552 P192.168.1.10 S1 ; Enable network and set IP address
M553 P255.255.0.0 ; Set netmask
M554 P0.0.0.0 ; Set gateway
M586 P0 S1 ; Enable HTTP
M586 P1 S1 ; Enable FTP
M586 P2 S1 ; Enable Telnet; Drives
M569 P0 S0 ; Physical drive 0 goes backwards
M569 P1 S1 ; Physical drive 1 goes forwards
M569 P2 S0 ; Physical drive 2 goes backwards
M569 P3 S0 ; Physical drive 2 goes backwards
M569 P4 S0 ; Physical drive 2 goes backwards
M569 P5 S1 ; Physical drive 5 goes forwards
M569 P6 S1 ; Physical drive 6 goes forwards
M584 X0 Y1 Z2 U3 V4 E5:6 ; Apply custom drive mapping
M671 X380:0:0 Y120:240:0 ; leadscrews at rear middle, front left and front rightM350 X8 Y8 Z8 U8 V8 E8:8 I0 ; Configure microstepping without interpolation
M92 X160.00 Y160.00 Z1600.00 U1600.00 V1600.00 E635.69:635.69 ; Set steps per mm
M566 X900.00 Y900.00 Z90.00 U90.00 V90.00 E120.00:120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z300.00 U300.00 V300.00 E1200.00:1200.00 ; Set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z1.00 U1.00 V1.00 E250.00:250.00 ; Set accelerations (mm/s^2)
M906 X800.00 Y800.00 Z1600.00 U1600.00 V1600.00 E800.00:800.00 ; Set motor currents (mA)
M84 S0 ; Disable motor idle current reduction; Endstops
M574 X0 Y1 Z2 U3 V4 S0 ; Set active low and disabled endstops; Join Z Axis
M584 Z2:3:4 ; Join Z, U, V; Axis Limits
M208 X0 Y0 Z0 U0 V0 S1 ; Set axis minima
M208 X200 Y160 Z160 U160 V160 S0 ; Set axis maxima; Z-Probe
M558 P5 H5 F120 T6000 ; Set Z probe type to switch and the dive height + speeds
G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
M557 X0:200 Y0:160 S20 ; Define mesh grid; Heaters
M305 P0 X500 R ; Configure PT1000 for heater 0
M143 H0 S90 ; Set temperature limit for heater 0 to 90C; Fans
; Tools
M563 P0 D0 ; 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
M563 P1 D1 ; Define tool 1
G10 P1 X0 Y0 Z0 ; Set tool 1 axis offsets
G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C; Automatic saving after power loss is not enabled
; Custom settings
M555 P2 ; Set output to look like Marlin; Miscellaneous
T0 ; Select first tooland
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v2 on Sun Aug 04 2019 20:08:21 GMT+0200 (Central European Summer Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
M584 Z2 U3 V4 ; split Z
G1 S1 Z165 U165 V165 F1800 ; move Z, U and V up until the endstop is triggered
M584 Z2:3:4 ; Join Z, U, V -
RE: Temp sensor fault when extruder motor engaged
Cross talk? One cable is running closer to the stepper cable? Switching of the stepper might cause large transients. I assume the filtering capacitors on the thermocouple board are way to small. I do not know how to put a shield on the thermocouple cable since it has two different wires and the end at thermocouple board makes the cold junction opposed to the hot junction at the heating block.
I just viewed the picture of the product. They omitted the capacitors at all. Works fine on production test, but not in real world.
-
RE: if top speed = requested speed motor stalls???
The opto coupler in those TB6600 are a mess. I read from many people that they had problems and from supporters, that those TB6600 take the most support effort. I pulsed them with an AWG (Waveform Generator) and hat lost steps at constant rate. Note: You need to discharge the LED in an opto coupler to minimize pulse width distortion. It seems the protection circuit in those drivers prevents this, what leads to lost steps. This could also explain why accellaration works fine because the DC point might get shifted.
The transfer ratio of these opto couplers is very bad. This might result in the fact, that even if you are overloading the controller you do not have enough current to drive them propperly.
I know they are only EUR6.00 in China. Adding the same amount of money for quality couplers make them work. But at this point the difference to the dual stepper add on board is not very much. You should consider how much money your life time is worth while. Meanwhile I see the mod as a proof of concept and hopefully get the add on cards today by DHL Express.
-
RE: Z endstop at high end should set Z position to maximum
Thanks to all
Just deleting the R does the trick. I read somewhere that on newer boards the defaults are OK.
-
RE: Closed loop for X and Y
If highest print quallity is the issue ball screws look more reasonable to me.
-
RE: Z endstop at high end should set Z position to maximum
Oh, now I see it thanks. I chose the PT1000 because, if I understood right what I read, are supported without adapter and was able to buy some at Conrad on a Saturday. Meanwhile I ordered a thermocouple adapter board, that is, hopefully, on the way today. I have K-types at home. Now I recall that printers usually use 100k NTC for the bed. Is this the NTC the way to go for best serviceability? Precission is not that much an issue on my opinion, because you need to tweak to filament and bed anyway.
-
RE: News on Duet 3 release?
This sounds great and is exactly what my nephew and me were thinking abaout.
-
RE: if top speed = requested speed motor stalls???
Put 3.3V on the TB6600 control inputs and measure the current. The current is probably more than the Duet can drive reliable and results in lost steps.
I replaced the optos in the TB6600 by Toshiba TLP2x61. Where x is for the different packages and need some "creative" soldering to fit.
Maybe I can send a picture this evening.
-
RE: Z endstop at high end should set Z position to maximum
Oh sorry, I need some practice on reporting here. It is a Maestro board. Now with the latest release software. Just for completeness.
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v2 on Mon Jul 29 2019 18:46:55 GMT+0200 (Central European Summer Time)
G91 ; relative positioning
G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 Z165 F1800 ; move Z up until the endstop is triggered
;G92 Z0 ; set Z position to axis minimum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 S2 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioningI set back the range to positive values from zero like it was before I started trying different configuration.
I have the three Z stepper on three external TB6600 (modified the opto-coupler of this garbage to make it work) and a 74HC245 as driver (the only suitable chip conrad had in stock) together with a fancy circuitry for synchronization at the Z stop I developed. But this was a mistake either. The board can do this better. I read today. So I will change this to the internal drive and use a TB6600 for the extruder. Or better the add on board. We will see. I hope I will find the article about Z axis synchronization with Z probing again. It looked like it was made for me.
-
RE: Z endstop at high end should set Z position to maximum
Deleting the malicious line from homez.g and homeall.g does the trick. DC42 mentioned somewhere that the firmware sets the value correct upon hitting the end stop. So no need to mess it up.
The PT1000 does not work on the bed thermistor input either. It tells a short when connected and an open circuit when disconnected. I measure a slightly different voltage. Does someone save a few Cents by not using 0.1% resistors or does the CPU have such a bad reference voltage?
-
RE: Z endstop at high end should set Z position to maximum
Flashed 2.03
PT1000 on C gives approx 1.1V and Error shorted sensor. Disconnecting the sensor gives a different error. Seems I am on the right port.
-
RE: Z endstop at high end should set Z position to maximum
Thanks,
I thought of problems of the RC either and will try the release today. Last time I looked, this seemed to be the latest version. The problem is, that this is too complex to know everything at the beginning. I can do root cause analysis on aircraft electronic failures, but I am an absolute beginner on Duett. So please guide me.
Concerning the Z Axis settings: This was my latest setup. It has the advantage of setting the Z value to zero manually. The config tool does not set to maximum in any configuration I tried. Is the source code available? I will fix it myself if no one does.
It is to early to tweak the config files by hand. I still have to do some improvements on the hardware.
-
RE: Z endstop at high end should set Z position to maximum
Sorry,
I am building up the machine. Since I do not get emails when a post arrives I look once a while here. Here is my latest config.
; Configuration file for Duet Maestro (firmware version 1.21)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v2 on Sun Jul 28 2019 21:29:09 GMT+0200 (Central European Summer Time); General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder movesM667 S1 ; Select CoreXY mode
; Network
M550 P"My Printer" ; Set machine name
M551 P"7072560" ; Set password
M552 P192.168.1.10 S1 ; Enable network and set IP address
M553 P255.255.0.0 ; Set netmask
M554 P0.0.0.0 ; Set gateway
M586 P0 S1 ; Enable HTTP
M586 P1 S1 ; Enable FTP
M586 P2 S1 ; Enable Telnet; Drives
M569 P0 S0 ; Physical drive 0 goes backwards
M569 P1 S1 ; Physical drive 1 goes forwards
M569 P6 S0 ; Physical drive 6 goes backwards
M569 P3 S1 ; Physical drive 3 goes forwards
M569 P4 S1 ; Physical drive 4 goes forwards
M569 P5 S1 ; Physical drive 5 goes forwards
M584 X0 Y1 Z6 E3:4:5 ; Apply custom drive mapping
M350 X8 Y8 Z8 E8:8:8 I0 ; Configure microstepping without interpolation
M92 X160.00 Y160.00 Z1600.00 E635.69:635.69:635.69 ; Set steps per mm
M566 X900.00 Y900.00 Z90.00 E120.00:120.00:120.00 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z300.00 E1200.00:1200.00:1200.00 ; Set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z1.00 E250.00:250.00:250.00 ; Set accelerations (mm/s^2)
M906 X800.00 Y800.00 Z800.00 E800.00:800.00:800.00 ; Set motor currents (mA)
M84 S0 ; Disable motor idle current reduction; Axis Limits
M208 X0 Y0 Z-155 S1 ; Set axis minima
M208 X200 Y160 Z0 S0 ; Set axis maxima; Endstops
M574 X1 Y1 Z2 S0 ; Set active low and disabled endstops; Z-Probe
M558 P5 H5 F120 T6000 ; Set Z probe type to switch and the dive height + speeds
G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
M557 X0:200 Y0:160 S20 ; Define mesh grid; Heaters
M305 P0 X503 R ; Configure PT1000 for heater 0
M143 H0 S90 ; Set temperature limit for heater 0 to 90C; Fans
; Tools
M563 P0 D0 ; 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
M563 P1 D1 ; Define tool 1
G10 P1 X0 Y0 Z0 ; Set tool 1 axis offsets
G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C
M563 P2 D2 ; Define tool 2
G10 P2 X0 Y0 Z0 ; Set tool 2 axis offsets
G10 P2 R0 S0 ; Set initial tool 2 active and standby temperatures to 0C; Automatic saving after power loss is not enabled
; Custom settings
M555 P2 ; Set output to look like Marlin; Miscellaneous
T0 ; Select first toolI thought this board was ready to use. OK, I got this with 2.02RC5(RTOS) (2018-11-28b1) flashed. Should I go back to a release version? I cannot waste time to do software testing. I wanted a board ready to work, Now I connected the bed heater and a PT1000 and got an error that the termister is shorted. I meassure 1.1V at the input what is appropriate with a PT1000 and a 2.2k pullup resistor. It is the C-input. The bed input I did not find on the Maestro.
-
RE: Z endstop at high end should set Z position to maximum
Thanks,
then this might solve today. Actually I am integrating a Z Probe mechanism. I have three switches on the bed and want to probe the tool itself. The reason is that I have a 43mm mount where I want to mount a laser, an extruder or even a mill. Maybe you can point me to the direction (link) and save me a lot of time figuring this out.