On my K40 (on which I run a CNC Shield/Arduino controller and grbl firmware), my approach is to power down the laser cutter and simply swap the Y axis stepper plug with the plug on a stepper on the rotary attachment. I’ve got a simple “script” of grbl commands to adjust settings like axis limits and steps per mm for Y versus rotary. For homing on the rotary, I either just click the Y limit switch by hand or modify the homing command to skip the Y axis from the gcode file before starting the job.
I don’t need to worry about squaring things up as I’ve got pins that align the rotary when I put it in place.
Can anyone recommend decent board that can run marlin that is fairly cheap?
The word “decent” can mean many things. The common answer to this question would be a Ramps 1.4 board. It is a combination of an Arduino Mega and a companion board, and this configuration has the same microprocessor as the Rambo. A setup with drivers (no screen) will run you about $30. V1 maintains MPCNC and Lowrider firmware for this board running DRV8825 drivers. The downside to this setup is that it has less electrical protection then the Rambo, so it is much easier to damage or kill the board (usually by user mistakes).
The MKS GEN L boards are pin compatible to Ramps boards and therefore can run the V1 maintained firmware for the Ramps boards. They also run around $30.
If you want a bit of adventure, you might look at the MKS Tinybee. I don’t see it available on Amazon, but the board and drivers run $30 off Aliexpress. It runs Marlin, but I don’t know of any MPCNC that is currently using this board. I know one person was working on a build using this board and FluidNC as the firmware. The one downside for this board (beyond not having V1 maintained firmware as a starting point), is that it only has 3 dedicated endstop plugs. You would have to repurpose two other plugs to get the five plugs. The upside (beyond cost) is that it is a 32-bit board with built-in wifi.
Two other boards that are often cheaper in certain areas are the SKR Turbo boards and the SKR 1.3 boards (not to be confused with the SKR Pro 1.2). V1 maintains untested firmware for both.