Welcome to ModelEngineMaker !If you have problems registering or logging in, please use the contact menu option to request assistance.
Sounds like a cunning plan
If you are already using LinuxCNC then the easiest route is to edit the HAL file by adding the six lines of code I showed earlier. No need to understand the intricacies of the HAL programming language. I have done that for you, so just copy and paste into the HAL file.