Duet2 with Opt Laser on Ooznest Workbee
-
My machine has the Opt laser 6W add-on for the Ooznest Workbee in its default configuration. I believe that Opt recommend PWM control of between 5000-10000Hz. Our software scales (by default) the
S
formatted power range between 0-1000.https://optlasersgrav.com/cnc-laser-upgrade-kits/workbee-laser-upgrade-with-plh3d-6w-xf-laser-head
I'm still trying to safely migrate to RRF3.2 and I have been trying to replace the simple RRF2 'Laser mode on' and 'Laser mode off' macros with the RRF3.2 equivalents.
Hardware under RRF2 works as expected with the following 'Laser mode on' macro:
M307 H3 A-1 C-1 D-1 M452 P3 R1000 F5000 S1
The replacement macro I am trying is currently:
M452 C"exp.heater3" R1000 F5000
This certainly enables the laser, but at full power and it does not appear to be subsequently controllable by M3/M5, G1s with S0 or G0 moves (which in this default setting should automatically turn it off shouldn't they?) This is rather alarming, to say the least.
Has anyone had any experience or success with this setup under RRF3.2? As always any advice gratefully received...
E
PS - my firmware remains at RRF3.2.2Beta2 as per my last posting
-
@edwardp is your laser connected directly to the heater3 pin on the expansion connector? Or do you have some sort of buffer between the expansion connector and the laser? If so then you may need to invert the pin name in the M452 command.
-
Thanks @dc42. The laser is connected directly to heater 3 (pin 8 ) and that inversion does appear to be all that was required.
So, just to clarify in case anyone else is reading this:
M452 C"!exp.heater3" R1000 F5000
Will work on the toolpath post processor now.
Thanks again.
E