Initial Setup of laser, laser isn't firing on G1
-
Hi All,
I'm building a new CNC engraver using a Duet 2 + Duex5 board. Were currently at the stage where all the components are wired up on the bench and checking everything works. Everything is working except the laser, which is powering up fine, but isn't firing for G1 move commands. It's also got a test button, and the laser activates properly when this button is pressed. The laser is controlled by the pwm1 plug on the Duex5 board.
I'm using an AtomStack R30 V2 - https://www.atomstack.net/products/atomstack-r30-v2-upgraded-infrared-laser-module-replacement-engraving-head?variant=44258606678266.
See my config file below, note this thing is a dedicated engraver so there's no Z axis, heaters or any of the other usual paraphernalia 3D printers have.
; Configuration file for RepRapFirmware on Duet 2 WiFi
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.5.4 on Thu Aug 15 2024 10:24:24 GMT+0800 (Australian Western Standard Time); General
G90 ; absolute coordinates
M83 ; relative extruder moves
M550 P"RMACEngraver" ; set hostname; Network
M552 S0 ; configure WiFi adapter
M586 P0 S1 ; configure HTTP
M586 P1 S1 ; configure FTP
M586 P2 S1 ; configure Telnet; Smart Drivers
M569 P1 S1 D2 ; driver 1 goes forwards (X axis)
M569 P2 S1 D2 ; driver 2 goes forwards (Y axis); Motor Idle Current Reduction
M906 I30 ; set motor current idle factor
M84 S30 ; set motor current idle timeout; Axes
M584 X1 Y2; set axis mapping
M350 X32 Y32 Z16 I1 ; configure microstepping with interpolation
M906 X2400 Y2400 ; set axis driver currents
M92 X50 Y50 ; configure steps per mm
M208 X0:200 Y0:200 Z0:200 ; set minimum and maximum axis limits
M566 X900 Y900 Z12 ; set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z180 ; set maximum speeds (mm/min)
M201 X500 Y500 Z20 ; set accelerations (mm/s^2); Kinematics
M669 K0 ; configure Cartesian kinematics; Endstops
M574 X1 S1 P"xstop" ; configure X axis endstop
M574 Y1 S1 P"ystop" ; configure Y axis endstop
M574 Z0 ; configure Z axis endstop; Disable all heaters
M140 H-1 : Disable the bed heater
M307 H1 A-1 C-1 D-1 ; Disable Heater 2 (Hotend)
M307 H1 A-1 C-1 D-1 ; Disable Heater 2 (Chamber); Lasers
M452 C"duex.pwm1" R255 F500 S1 ; configure Laser port
; M42 P"duex.pwm1" S0; Tools
M563 P0 D0 H1; create tool #0
M568 P0 R0 S0 ; set initial tool #0 active and standby temperatures to 0C; Miscellaneous
M452 ; select Laser mode
T0 select first toolOn log in to the machine I write the following commands
G28
M3 S125
G1 X50 F250
The motors move and the laser does nothing. I've double checked my wiring and I think that's correct. There's no issues flagged from an M122.If there's an obvious error in my config or commands that someone could point out it would be much appreciated.
Kind Regards
Roydon Mackay
-