Laser Mod Delta Printer
-
Hi
I added laser module to my delta printer. When I switch laser mod on duet wifi than pres home all G0/G1 insufficient axes homed error apears. When I try to move X Y or Z axis indivicaly with G1 H2 Y5 F6000 only one tower moving. How can I fix this ?Board: Duet WiFi 1.02 or later (duetwifi102)
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 2.02(RTOS) (2018-12-24b1)
Duet WiFi Server Version: 1.25Code that I use for switch laser mod : (Using E1 Heat)
M307 H2 A-1 C-1 D-1 ; Disable Heater output on H2
M452 P2 R255 F200 ; Enable Laser mode, on output 2 (heater 2), with max intensity -
@mekala Did it work properly before you added the module?
Does it work when you comment-out those two lines in your config file?Here are some things people ask for to help you figure out your issue:
- Post your config.g using the "Code" tag </>
- Post your config-override.g
- Post the results of running m98 p"config.g" from the CGODE console.
What does the printer do when you press the "Home all" button?
Also, your firmware is pretty old, so I think someone might suggest updating at least a revision or two.
-
@alankilian
Printer works normally when not in laser mode. I have macro file for switching to laser mode:M307 H2 A-1 C-1 D-1 ; Disable Heater output on H2 M452 P2 R255 F200 ; Enable Laser mode, on output 2 (heater 2), with max intensity
When I run that macro I able to use laser module via M3 Snn command but ı cant home or move axis.
Normally when I pres home all button printer homes all axis without problem. When I switch laser mode than pres home all G0/G1 insufficient axes homed error apears.Results from running m98 p"config.g":
HTTP is anabled on port 80
FTP is anabled on port 21
TELNET is disabledConfig.g:
; Configuration file for Duet WiFi (firmware version 1.21) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v2 on Tue Jun 18 2019 19:45:29 GMT+0300 (GMT+03:00) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M665 R203.713 L470 B203.713 H412 ; Set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them ; Network M550 P"Mekala" ; Set machine name M552 S1 ; Enable network M587 S"Mekala" P"bBe993a4b3574" I192.168.1.100 J192.168.1.98 K255.255.255.0 ; Configure access point and IP addresses. You can delete this line once connected M586 P0 S1 ; Enable HTTP M586 P1 S1 ; Enable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S1 ; Physical drive 0 goes forwards M569 P1 S1 ; Physical drive 1 goes forwards M569 P2 S1 ; Physical drive 2 goes forwards M569 P3 S0 ; Physical drive 3 goes forwards s0 M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X200.00 Y200.00 Z200.00 E1550 ; Set steps per mm --412 ,420 M566 X1200.00 Y1200.00 Z1200.00 E200.00 ; Set maximum instantaneous speed changes (mm/min) 1200 M203 X18000.00 Y18000.00 Z18000.00 E3600.00 ; Set maximum speeds (mm/min) M201 X1500.00 Y1500.00 Z1500.00 E600.00 ; Set accelerations (mm/s^2) M906 X2200.00 Y2200.00 Z2200.00 E1600.00 I30 ; Set motor currents (mA) and motor idle factor in per cent 1600 , 1200 M84 S30 ; Set idle timeout ; Axis Limits M208 Z-25 S1 ; Set minimum Z ; Endstops M574 X2 Y2 Z2 S0 ; Set active low and disabled endstops ; Z-Probe M558 P0 H4 F1200 T6000 ; Disable Z probe but set dive height, probe speed and travel speed M557 R203 S25 ; Define mesh grid ; Heaters M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0 M143 H0 S200 ; Set temperature limit for heater 0 to 200C M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1 M143 H1 S280 ; Set temperature limit for heater 1 to 280C ; Fans M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off ; Tools M563 P0 D0 H1 S"Volcano" ; 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 ; Automatic power saving M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss ; Custom settings are not configured ; Miscellaneous M501 ; Load saved parameters from non-volatile memory
Config-override.g:
; config-override.g file generated in response to M500 ; This is a system-generated file - do not edit ; Delta parameters M665 L470.000 R219.598 H431.434 B220.0 X-0.211 Y0.238 Z0.000 M666 X-0.639 Y-0.497 Z1.136 A0.03 B0.11 ; Heater model parameters M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B1 M307 H1 A340.0 C140.0 D5.5 S1.00 V0.0 B0 M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0 M307 H3 A340.0 C140.0 D5.5 S1.00 V0.0 B0 M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0 M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0 M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0 M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0 G10 L2 P1 X0.00 Y0.00 Z0.00 G10 L2 P2 X0.00 Y0.00 Z0.00 G10 L2 P3 X0.00 Y0.00 Z0.00 G10 L2 P4 X0.00 Y0.00 Z0.00 G10 L2 P5 X0.00 Y0.00 Z0.00 G10 L2 P6 X0.00 Y0.00 Z0.00 G10 L2 P7 X0.00 Y0.00 Z0.00 G10 L2 P8 X0.00 Y0.00 Z0.00 G10 L2 P9 X0.00 Y0.00 Z0.00
-
@mekala said in Laser Mod Delta Printer:
firmware version 1.21
I'm not sure if M452 was supported in RRF1.21? The Wiki doesn't mention it.
Is there a reason, you don't update? -
@o_lampe
M452 mentioned here:
https://duet3d.dozuki.com/Wiki/Laser_PWM_control#Section_RepRapFirmware_2_x
Under RepRapFirmware 2.x:
M307 H3 A-1 C-1 D-1 ; Disable Heater output on H3
M452 P3 R255 F200 ; Enable Laser mode, on output 3 (heater 3), with max intensity being 255, and a PWM frequency of 200
I modified that for heater 2 laser works without problem -
Very important! If you use M452 to put your machine into Laser mode and are running Firmware 2.02 or above, you must replace all S parameters in G0/G1 commands in homing files etc. by H parameters. This is because S is now used to control laser power.
From: This link.
Maybe this is your issue?
-
@alankilian
Thanks its working now. is there a better way to do this ?