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 revision
Previous revision
Next revisionBoth sides next revision
mycnc:mycnc_setup_examples [2019/05/24 10:35] ivanmycnc:mycnc_setup_examples [2020/05/22 14:04] ivan
Line 2: Line 2:
  
 === How to set up Axes and Pulses per Unit === === How to set up Axes and Pulses per Unit ===
 +
 +Video tutorial: {{youtube>x9xj4D-TQcU?large}}
  
 During the initial setup, the axes on your machine (X, Y, Z, A, etc) may be plugged differently from the desired software configuration. In order to assign the correct motor to the axis in the myCNC software: During the initial setup, the axes on your machine (X, Y, Z, A, etc) may be plugged differently from the desired software configuration. In order to assign the correct motor to the axis in the myCNC software:
Line 9: Line 11:
 2. Navigate to **Motor Outputs Configuration**  2. Navigate to **Motor Outputs Configuration** 
  
-3. Assign the correct axis to each attached motor +3. Assign the connected motors to the needed axes. 
  
 {{:mycnc:setup:axes-motors-software-setup-001.jpg}} {{:mycnc:setup:axes-motors-software-setup-001.jpg}}
  
-In the same window, the general calibration for the pulses per unit can be performed. This is done in order to calibrate the software readings of the machine (how much the machine "thinks" it has moved) versus the actual physical movements of the machine. To do that:+In the same window, the general calibration for the pulses per unit can be performed. This is done in order to calibrate the software readings of the machine (how much the machine "thinks" it has moved) versus the actual physical movements of the machine (how much it has actually moved). To do that:
  
 1. Physically record the position of the spindle/knife/sensor/etc on the machine with a ruler, caliper, camera attached to the machine arm, etc. 1. Physically record the position of the spindle/knife/sensor/etc on the machine with a ruler, caliper, camera attached to the machine arm, etc.
Line 31: Line 33:
 If the new number of pulses per unit is brought up too high without changing the maximum motor speed, the motors will start making jerking movements when moved. This is due to keeping the **Max Speed** the same. In order to eliminate the jerking movements, bring down the **Max Speed** value in CNC Settings > Axes/Motors until the movement is smooth again. If the new number of pulses per unit is brought up too high without changing the maximum motor speed, the motors will start making jerking movements when moved. This is due to keeping the **Max Speed** the same. In order to eliminate the jerking movements, bring down the **Max Speed** value in CNC Settings > Axes/Motors until the movement is smooth again.
 {{:mycnc:setup:calibration-software-setup-003.jpg}} {{:mycnc:setup:calibration-software-setup-003.jpg}}
 +
 +Max Speed is set in units/second (mm/s or inch/s), depending on what units you have chosen in your G-codes settings. 
 +
 +  * //NOTE: Overspeed acts in a manner  similar to CPU overclocking. Motion acceleration is increased together with motion speed when the overspeed is increased. Since toolpath planner does not have access to "Overspeed" value, a significant increase in Overspeed value up from 100% may cause issues, especially for analog servo control. Overspeed should be limited to 100% if you need to be sure the machine does not exceed "Max Speed".//
 +
 +7. Set the Backlash in units (mm/inch) for each axis. Backlash is the value that allows for some unexpected play in the machine due to clearance or looseness of mechanical parts. When the controller sends a movement command to the motor, the motor may turn briefly before any actual axis movement begins. That turn is defined as backlash, and can be accounted for in this setting.
  
 === How to set up Tangential Knife Cutting === === How to set up Tangential Knife Cutting ===
Line 309: Line 317:
  
  
 +===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