@nico_1994 said in Running a Further Laser Y1200 from DUET2 ethernet:

As @o_lampe says, use ! in the pin name to invert the pin, with the caveat that this works in RRF 3.x, but not RRF 2.x. You don't say which version of RRF you are using, but I would advise you to use the latest release version of RRF 3.x.

Open topics:
Other topics I still wane research / figure out in the next weeks are:

Water flow sensor

See https://docs.duet3d.com/en/User_manual/Tuning/Triggers#water-flow-sensor-failsafe

Water temperature sensor

Add another temperature sensor using M308
For supported temperature sensors see https://docs.duet3d.com/User_manual/Connecting_hardware/Temperature_choosing

Bed probing / Z-height calibration

See https://docs.duet3d.com/en/User_manual/Connecting_hardware#z-probe

Safety contact in the casing (detecting an open casing and shut down laser automatically for eye safety), based on this forum post

Create an input with M950, then use triggers to control what happens when the input is triggered, as described in that thread.

Turning on/off LED lights

See https://docs.duet3d.com/User_manual/Connecting_hardware/IO_Neopixel_DotStar

Turning on/off air assist

This can either be controlled as a tool fan, so behaves like 3D printer's part cooling fan, or as a manually controlled fan using a macro. See https://docs.duet3d.com/User_manual/Connecting_hardware/Fans_connecting

Turning on/off red laser dot

Configure a GPIO output with M950, then control it with M42. See https://docs.duet3d.com/User_manual/Connecting_hardware/IO_GPIO

...

The extra one is probably how to fire the laser when stationary, so you can align the mirrors. RRF 3.x generally doesn't allow for the laser to be fired without a G1 move, as a safety feature. There is a However, there are a number of workarounds. Probably the easiest is to create a dummy axis (e.g. U) using M584, and send a movement command which will fire the laser e.g.

M584 U6 ; define U axis G92 U0 ; set U axis position to zero G1 U1 F60 S255 ; turn the laser on for one second at full power

Adjust the G1 F parameter (feedrate, which is in mm per minute, so 1mm of movement at 60mm/min = 1 second) and laser power (G1 S parameter) for suitable time and power.
There is a feature request for better control over this, rather than using the workarounds: https://github.com/Duet3D/RepRapFirmware/issues/697

Another subject that comes up is framing, where the area to be cut is outlined by the laser toolhead (or the red laser dot), without actually cutting, so you can check the material is in the right place. This is usually controlled by the laser software, and the laser controller is connected by USB, so the laser software can send the movement commands directly to the controller. Duet/RRF controlled machines can be connected over USB, but running jobs this way misses out on many RRF-specific features. RRF doesn't have framing built-in. However, it may be possible to do something like the Only probe where part is to be printed script, run at the beginning of a job, and then have the option to cancel before proceeding with the job.
If you're planning on using Lightburn, see https://forum.duet3d.com/topic/34581/frame-job-boundaries/6; hopefully this feature will come soon.

Ian

T3P3 created this issue in Duet3D/RepRapFirmware open Low power M3 control for laser focus. #697