@resam said in Laser/ CNC Support in RRF - gCode Semantics:
@dc42 said in Laser/ CNC Support in RRF - gCode Semantics:
This is what I am thinking of implementing:
Add an extra parameter letter to G1 commands with the same meaning as S currently has. Possibly H, because S1 or H1 indicates a Homing move. This letter would be supported in all modes.
When M452 is used to set the machine to Laser mode, if the M452 command includes the S parameter then the meaning of S in G1 commands changes to laser power.
For G0 commands, the laser power will always be zero and any S parameter will be ignored.
A G1 command with no S parameter will be executed with the laser power set according to the most recent M3 command.
The number that follows the S parameter in the M452 command is the S value in G1 commands that corresponds to full power.
Comments?
@dc42 any progress on this? I didn't see anything about this in the 2.0RC's - is it going to make it, or do you target this for a possible future 2.1 release?
Firmware 2.0 is for the switch to RTOS and for bug fixes, so major enhancements like the laser support will have to wait for 2.01.