Visicut enables the z-axis to be set at the start of each job which is great and my shiny new powered table would allow optimum focus to be set according to the thickness of the material being lasered.
Unfortunately the 'move z-axis' (SimpleCode 2) command is designed to be asynchronous. This means that the job starts cutting while the table is still being moved and a long way from focus.
I found that the firmware LaosMotion::Write() function seems to be where this command is dealt with, but I can't understand what makes it be handled asynchronously compared to command 0 which is synchronous. Sorry, not a C++ programmer :(
Any clues gratefully received. I've raised an issue #93
RE: Asynchronous z-axis - Added by TheGuv about 9 years ago
Raised on Github: https://github.com/LaosLaser/Firmware/issues/16