User Tools

Site Tools


quickstart:mycnc-quick-start:homing_setup

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
quickstart:mycnc-quick-start:homing_setup [2019/06/07 13:55] ivanquickstart:mycnc-quick-start:homing_setup [2020/01/17 11:15] ivan
Line 2: Line 2:
  
 This article is designed to introduce the reader to the basics of the homing procedure using myCNC software. The homing procedure is done using sensors (optical, mechanical, etc) that are set up on the edges of the machine's working surface in order to find the initial machine position (the Home position). This setup can be done for every axis that your machine is using. This article is designed to introduce the reader to the basics of the homing procedure using myCNC software. The homing procedure is done using sensors (optical, mechanical, etc) that are set up on the edges of the machine's working surface in order to find the initial machine position (the Home position). This setup can be done for every axis that your machine is using.
 +
 +A lot of times, the homing procedure is initiated automatically upon program start, etc. To initiate the process manually, a Homing XYZ button is available in the Mill tab of the myCNC software (in X1366M, X1366M4, X1366M4E and X1366V profiles - available in the Plasma/Gas tabs in X1366P and X1366G profiles respectively):
 +
 +{{:quickstart:mycnc-quick-start:homing-handler-005-m138.png}}
  
 In order to set up the homing procedure, do the following: In order to set up the homing procedure, do the following:
  
-1. Go to **CNC Settings > Config > Macro List > M138**, and comment out the axes and commands which are not required for your particular setup by adding **;** in front of the commands, as shown in the screenshot below. For the configuration used in this example, the machine uses three axes (x, y and z), so the a-axis is not required, as well as the commands in the first half of the macro. +1. Go to **CNC Settings > Config > Macro List > M138**, and set up the homing procedure for the necessary axes by commenting out the axes and commands which are not required for your particular setup. This is done by adding **;** in front of the commands, as shown in the screenshot below. For the configuration used in this example, the machine uses three axes (x, y and z), so the a-axis is not required, as well as the commands in the first half of the macro. 
 {{:quickstart:mycnc-quick-start:qs-homing-003.png}} {{:quickstart:mycnc-quick-start:qs-homing-003.png}}
  
 The code for a three-axes machine will therefore look like this: The code for a three-axes machine will therefore look like this:
 <code> <code>
-;G10L80 P7391 Q0+;G10L80 P7391 Q0 
 ;G10L80 P7392 Q0 ;G10L80 P7392 Q0
 ;G10L80 P7393 Q0 ;G10L80 P7393 Q0
Line 21: Line 25:
 Note that the Z axis comes first, as the machine usually needs to lift the tool up before moving it in the xy-plane as to not crash into any obstacles.  Note that the Z axis comes first, as the machine usually needs to lift the tool up before moving it in the xy-plane as to not crash into any obstacles. 
  
-2. Open **CNC Settings > Config > Macro Wizard** and select the particular axis for which you would like to run the homing procedure for (Homing X in case of this example). The screen presented to you will look as follows:+2. Open **CNC Settings > Config > Macro Wizard** and select the particular axis you would like to run the homing procedure for (Homing X in case of this example). The screen presented to you will look as follows:
 {{:quickstart:mycnc-quick-start:qs-homing-001.png}} {{:quickstart:mycnc-quick-start:qs-homing-001.png}}
  
-3. Select the **Homing direction** for the machine. This is selected depending on where your sensor is located in relation to the working bit of the machine. If the machine will have to move in the negative x, y or z direction to find it, select **-**, if it will have to move in the positive x, y or z direction then select **+**.+3. Select the **Homing direction** for the machine. This is selected depending on where your sensor is located in relation to the working bit of the machine. If the machine will have to move in the negative x, y or z direction to find it, select **-**. If the machine will have to move in the positive x, y or z directionselect **+**.
 {{:quickstart:mycnc-quick-start:qs-homing-002.png}} {{:quickstart:mycnc-quick-start:qs-homing-002.png}}
  
-4. Select your sensor number (depending on where you have connected it) and its type (normally opened or normally closed). +4. Select your sensor number (depending on the input number to which you have connected the sensor) and its type (normally opened or normally closed). 
 {{:quickstart:mycnc-quick-start:qs-homing-004.png}} {{:quickstart:mycnc-quick-start:qs-homing-004.png}}
  
-Note that the normally opened or normally closed does not depend on the particular sensor you are using, but rather on the way it has been set up in myCNC software. In case of this example, Sensor 5 is used, with it being normally opened as can be seen in the System Diagnostics window:+Note that the normally opened or normally closed does not depend on the particular sensor or sensor type you are using, but rather on the way it has been set up in myCNC software. In case of this example, Sensor 5 is used, with it being normally opened as can be seen in the System Diagnostics window:
 {{:quickstart:mycnc-quick-start:qs-homing-005.png}} {{:quickstart:mycnc-quick-start:qs-homing-005.png}}
  
 {{:quickstart:mycnc-quick-start:qs-homing-006.png}} {{:quickstart:mycnc-quick-start:qs-homing-006.png}}
  
-As can be seen from the System Diagnostics window, Sensor 5 is normally open as the indicator light is not on. However, that behaviour can be inverted in **CNC Settings > Config > Hardware > Common Hardware Settings**, so it is always recommended to check the System Diagnostics window to find out how the normal behaviour of the sensor has been set up. +As can be seen from the System Diagnostics window, Sensor 5 is normally open as the indicator light is not on. However, that behaviour can be inverted in **CNC Settings > Config > Hardware > Common Hardware Settings**, so it is always recommended to check the System Diagnostics window to find out what the normal behaviour of the sensor has been set up as
  
-5. Choose your Limits behaviour in the **Ignore Limits** field. Set the checkmark to ON if the sensor you are using for homing is the same as the one you are using for your limits (most common case), and set it to OFF if you are using multiple sensors. +5. Choose your Limits behaviour in the **Ignore Limits** field. Set the check mark to ON if the sensor you are using for homing is the same as the one you are using for your limits (most common case), and set it to OFF if you are using multiple sensors. 
 {{:quickstart:mycnc-quick-start:qs-homing-007.png}} {{:quickstart:mycnc-quick-start:qs-homing-007.png}}
  
-6. The **Soft Stop** setting allows for a gradual stop after the sensor has been passed (especially useful with optical sensors). It is highly beneficial to use the soft stop setting in order to not damage the machine moving at a high homing speed that's coming to an abrupt stop. +6. The **Soft Stop** setting allows for a gradual stop after the sensor has been passed (especially useful with optical sensors). It is highly beneficial to use the soft stop setting in order to not damage the machine moving at a high homing speed that's coming to an abrupt stop due to triggering the sensor
 {{:quickstart:mycnc-quick-start:qs-homing-008.png}} {{:quickstart:mycnc-quick-start:qs-homing-008.png}}
  
-The Soft Stop time being specified in **CNC Settings > Config > Preferences > Start/Stop**. Note that there must be some clearing after the sensor as to allow for the Soft Stop to take place without crashing into an obstacle (such as a wall). +The Soft Stop time can be specified in **CNC Settings > Config > Preferences > Start/Stop**. Note that there must be some clearing after the sensor has been passed, as to allow for the Soft Stop to take place without crashing into an obstacle (such as a wall). 
 {{:quickstart:mycnc-quick-start:qs-homing-009.png}} {{:quickstart:mycnc-quick-start:qs-homing-009.png}}
  
-7. The Distance to Home Sensor has to be set up to be slightly higher than the maximum length that the working piece will have to travel to find the homing sensor.+7. The Distance to Home Sensor should be set to be slightly higher than the maximum length that the working piece will have to travel to find the homing sensor. This depends on the particular size of your machine
 {{:quickstart:mycnc-quick-start:qs-homing-010.png}} {{:quickstart:mycnc-quick-start:qs-homing-010.png}}
  
-8. It is sometimes desirable to set the homing position to be slightly further away from the edge at which the sensor is located. Using the Gap setting, the user can add a gap between the sensor position and the new software Home position (5 mm in case of this example). The Gap Speed will describe the speed with which the machine moves between the sensor and the gap end:+8. It is sometimes desirable to set the homing position to be slightly further away from the edge at which the sensor is located, so that the Home position is not right at the very edge of the working space. Using the Gap setting, the user can add a gap between the sensor position and the new software Home position (5 mm in case of this example). The Gap Speed will describe the speed with which the machine moves between the sensor (located at the edge) and the gap end (located closer to the centre):
 {{:quickstart:mycnc-quick-start:qs-homing-011.png}} {{:quickstart:mycnc-quick-start:qs-homing-011.png}}
  
-9. The **Speed** field specifies the speed at which the machine is moving during its initial movement towards the sensor. After the machine triggers the sensor, it starts to move back in order to find the precise spot at which the sensor has been triggered, at the **Slow Speed**+9. The **Speed** field specifies the speed at which the machine is moving during its initial movement towards the sensor. After the machine triggers the sensor, it starts to move back in order to find the precise spot at which the sensor has been triggered, at the **Slow Speed**.
 {{:quickstart:mycnc-quick-start:qs-homing-012.png}} {{:quickstart:mycnc-quick-start:qs-homing-012.png}}
  
Line 60: Line 64:
 11. Choose whether you want to reset your Work Position or not after the homing is done. 11. Choose whether you want to reset your Work Position or not after the homing is done.
  
-12. Choose your Macro filename (it is recommended to keep the default macro filenames unless otherwise required).+12. Choose your Macro filename (it is recommended to keep the default macro filenames unless otherwise required). The default macro filenames are as follows: 
 +  * M131 for the Homing X procedure 
 +  * M132 for the Homing Y procedure 
 +  * M133 for the Homing Z procedure 
 +  * M138 for Homing XYZ 
  
 13. Add any necessary macros to the Macro Header and Macro Footer if so desired. These will be added in the beginning or in the end of the Homing procedure respectively. THESE FIELDS ARE USUALLY LEFT BLANK. 13. Add any necessary macros to the Macro Header and Macro Footer if so desired. These will be added in the beginning or in the end of the Homing procedure respectively. THESE FIELDS ARE USUALLY LEFT BLANK.
Line 82: Line 90:
 {{:quickstart:mycnc-quick-start:qs-homing-016.png}} {{:quickstart:mycnc-quick-start:qs-homing-016.png}}
  
-1. Set the checkmark to ON for the **Encoder Index/Z Home Detection**+1. Set the checkmark to ON for the **Encoder Index/Z Home Detection** in order to use this setting.
  
 2. As with the sensor from Step 4 of the regular procedure, set your sensor number and its normal behaviour.  2. As with the sensor from Step 4 of the regular procedure, set your sensor number and its normal behaviour. 
  
-3. Set the **Distance to Encoder Z Sensor** (usually used on Linear Encoders). This is useful when a linear encoder is located a fair distance away, and is set to be slightly smaller (on the scale of nearly a millimeter) than the actual distance to the encoder. This setting is not necessary, however it does allow the user to lower the required time on the Encoder Z Home Detection. +3. Set the **Distance to Encoder Z Sensor** (usually used on Linear Encoders). This is useful when a linear encoder is located some distance away from the sensor, and is set to be slightly smaller (on the scale of nearly a millimeter) than the actual distance to the encoder. This setting is not necessary, however it does allow the user to lower the required time that the machine spends on the Encoder Z Home Detection. 
  
quickstart/mycnc-quick-start/homing_setup.txt · Last modified: 2022/10/21 13:54 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki