Welcome to ModelEngineMaker !If you have problems registering or logging in, please use the contact menu option to request assistance.
My machine also runs a version of LinuxCNC, and I modified the code to use the LinuxCNC calling conventions. I was getting a divide by 0 error code on program load, but could single step into O003, but then I got a jump back to the beginning of the main program. After I shut my machine down I added a couple of extra [] pairs that looked like they might be needed. Code is posted below if you want to try it.