@jay_s_uk Thank you very much
Best posts made by flopes
Latest posts made by flopes
-
RE: Setting up 4th axis on laser cutter
@flopes do you have a nice way to attach an analog joystick to the duet 3d?
-
Setting up 4th axis on laser cutter
Hi. I am trying to config the 4th axis as A on the 4th driver of the Duet2 Wifi. Now the motor is installed but I cannot home the drive, since it has no home sensor.
Please help.
Thanks.
I am runing the 3.3 firmware. This is a copy of my config.
; General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Laser Cutter" ; set printer name; BOARD SETUP
M452 ; cnc mode
M950S2C"EXP.HEATER3" ;Set blower on P2/Heater3
M950P3C"EXP.HEATER4" ; set Shutter on P3/Heater4
M950P4C"EXP.HEATER5" ; set "Laser Off" on P4/Heater5
M280P2S1000 ; set blower "off" to enable it
M42P3S255 ; turn Shutter off
M42P4S255 ; turn Laser Power on
M203I0 ; set min axis speeds to 0; ROTARY AXIS
M584 A3 R1S1 ;set A axis as rotary; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 A3 ; set drive mapping
M350 X8 Y8 Z8 A8 I0 ; configure microstepping without interpolation
M92 X1600.00 Y1600.00 Z1600.00 A4.44 ; set steps per mm
M566 X180.00 Y180.00 Z180.00 A180.00 ; set maximum instantaneous speed changes (mm/min)
M203 X600.00 Y600.00 Z600.00 A43200.00 ; set maximum speeds (mm/min)
M201 X10.00 Y10.00 Z10.00 A100.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 A300 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S1 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z-60 S1 ; set axis minima
M208 X110 Y110 Z41.5 S0 -
RE: Duet2 WiFi generating polygons instead of circles
@dc42 Hello. The Beta 3.5.0 with segments of 0.02 is sufficient for my aplication at the moment.
We build this custom laser printer cut brain implants and the programs are quite long - 10's of thousands arcs connected together. Usually takes 3 days to cut one batch. During these last 6 motnhs we come up with a series of methods to minimize the offset in position from the first features cut to the last ones. We figured out there is no more mechanical possibilities for this offset to be happening. We even added temperature control on the whole printer.I believe there may be some rounding going on in the system. We also notice this offset is larger on y axis.
Do you believe we could benefit from adding encoders to the Nema17 stepper motors?
by the way we use 1600steps/mm
Thanks -
RE: Duet2 WiFi generating polygons instead of circles
@dc42 Thank you. I will give that a try. that is 5x improvement.
-
RE: Duet2 WiFi generating polygons instead of circles
@flopes
short answer = 1600steps/mm -
RE: Duet2 WiFi generating polygons instead of circles
@droftarts Board: Duet 2 WiFi (2WiFi)
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.4.4 (2022-10-20)
Duet WiFi Server Version: 1.27 -
RE: Duet2 WiFi generating polygons instead of circles
@droftarts Thank you very much for your reply.
I am using today (with my 30x version, meaning to cut 1mm, I send a 30mm long cut command)
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.16 on Wed Jun 14 2023 09:27:16 GMT-0700 (Pacific Daylight Time); General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Laser Cutter" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X8 Y8 Z8 E8 I0 ; configure microstepping without interpolation
M92 X53.33 Y53.33 Z53.33 E1.00 ; set steps per mm
M566 X660.00 Y660.00 Z660.00 E6.00 ; set maximum instantaneous speed changes (mm/min)
M203 X19800.00 Y19800.00 Z19800.00 E6.00 ; set maximum speeds (mm/min)
M201 X300.00 Y300.00 Z300.00 E1.00 ; set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 E300 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S1 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z-600 S1 ; set axis minima
M208 X3300 Y3300 Z2265.6 S0 ; set axis maxima; Endstops
M574 X2 S1 P"!^xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin !^xstop
M574 Y1 S1 P"!^ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin !^ystop
M574 Z2 S1 P"!^zstop" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin !^zstop; Z-Probe
M558 P0 H0 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X5:100 Y5:100 S5 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat 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; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off; Tools
M563 P0 S"Z Pogo" D0 H1 F0 ; define tool 0
G10 P0 X5 Y5 Z5 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
M563 P1 S"Laser" F0 ; 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; Custom settings
;(30x); Miscellaneous
M501 ; load saved parameters from non-volatile memory
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss -
RE: Duet2 WiFi generating polygons instead of circles
@dc42 Done. Any tips on where I should start?
-
RE: Duet2 WiFi generating polygons instead of circles
@dc42
Hi
Can you instruct me to increase the resolution so it does smaller radiuses? I need 30x more resolution than standard, or 3 micron radius. My machine is super slow, with a small pritable area of 100x100mm, so I am not concerned about the other end of the spectrum. Thanks