We receive many queries on how to connect a laser to a Mach3 breakout board. The following web address describes in details the steps required:
https://optlasers.com/info/post/mach-3-configuration-for-engraving-laser-head?page_type=post
Or you can download the PDF:
https://www.hobbytronics.co.za/Content/external/979/Mach3%20Laser%20Setup%20Guide.pdf