User Tools

Site Tools


mycnc:mycnc_setup_examples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mycnc:mycnc_setup_examples [2019/05/24 10:35] ivanmycnc:mycnc_setup_examples [2019/06/10 09:33] ivan
Line 309: Line 309:
  
  
 +===How to set up Homing Handler===
 +
 +If the machine has stopped unexpectedly, due to things like an emergency stop button press/power failure/etc, it is sometimes necessary to prompt the user to run the Homing procedure again before allowing any further actions to be taken in order to safely calibrate the machine. In order to do that, a software PLC is put in place called the **HOMING_HANDLER**
 +
 +The Homing Handler can be set up by using the following instructions:
 +
 +1. Go to **Settings > Config > PLC > Software PLC** and select **HOMING_HANDLER**
 +{{:mycnc:homing-handler-001.png}}
 +
 +2. In the HOMING_HANDLER code, put the two forward slashes in front of the **exit(99);** line, commenting it out.
 +{{:mycnc:homing-handler-002.png}}
 +
 +Note that the axes for which the homing is not required (Axis C in this case) have also been commented out. If only select axes need to be included in the homing procedure after the emergency stop, these can be configured in the code by adding/deleting forward slashes in front of the respective axes' commands.
 +{{:mycnc:homing-handler-003.png}}
 +
 +At this point, in an emergency stop situation, myCNC will prompt the user to run the homing procedure for the selected axes before any other action is taken after starting the machine back up again.
 +
 +In order to disable the Homing Handler, add the two forward slashes in front of **exit(99);** again, then Save and reload the application. 
  
  
mycnc/mycnc_setup_examples.txt · Last modified: 2024/01/30 12:09 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki