User Tools

Site Tools


mycnc:flatbed_correction

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mycnc:flatbed_correction [2019/12/20 12:01]
ivan
mycnc:flatbed_correction [2020/02/24 14:21] (current)
ivan
Line 1: Line 1:
 =====myCNC Flatbed Correction===== =====myCNC Flatbed Correction=====
  
-This article discusses the flatbed correction feature built into myCNC software which is often useful when the working table is not even or has certain spots which are higher or lower than the reference position. This is especially useful in cases when something like a tangential knife needs to go over the uneven table, with up to a millimeter of play being involved, resulting in a cut that does not actually go through the working material properly. ​+This article discusses the flatbed correction feature built into myCNC software which is often useful when the working table is not even or has certain spots which are higher or lower than the reference position. This is especially useful in cases when something like a tangential knife needs to go over the uneven table, resulting in a cut that does not actually go through the working material properly, or alternatively a cut that goes far too deep into the material
  
-In order to account for this, go into **Settings > Config > Technology > Special Purpose > Flatbed Correction**.+In order to account for this, flatbed correction is used. 
 + 
 +The following video goes over the basic process of setting up flatbed correction within myCNC software: 
 + 
 +{{youtube>​7XkUFfnOVVM?​large}} 
 + 
 +To set up flatbed correction, ​into **Settings > Config > Technology > Special Purpose > Flatbed Correction**.
  
 The screen presented to you will be the following: The screen presented to you will be the following:
  
-{{:​mycnc:​flatbed-update-001-main-screen.png}}+{{:​mycnc:​flatbed-update-009.png}}
  
-First of all**enable** flatbed correction:+  * After the setup process has been completed, a table of points in the XY-plane and their Z-positions will be presented on this page. These values can either be recorded by using the AutoMeasure procedureor by using a sensor and recording each point individually by using the M402 macro.
  
-{{:​mycnc:​flatbed-update-004-enabled.png}}+  * Using the AutoMeasure procedure, the operator can set the measurement distances for the X and Y axes as well as the number of points at which the height measurements will be taken for the XY-plane
  
-Next, the table on this settings page presents a number of values ​in the XY-plane and their z-positionsThese values can either be recorded by using the AutoMeasure procedure (recommended) or by using a sensor and recording each point individually by using the M402 macro (older versions).+    * **Note:** Flatbed correction **must be disabled** prior to beginning taking the measurementsotherwise ​the existing flatbed correction adjustments will conflict with new correction ​values. ​**Reload** ​the application after disabling flatbed correction
  
-Using the AutoMeasure procedure, the operator can set the reference z-height, the number of points at which the height measurements will be taken for the XY-plane, and the coordinates on which the measurements will be taken. ​The **Auto Measure Procedure** button can then be pressed to begin the probing process.+  * The **Auto Measure Procedure** button can be pressed to begin the probing process.
  
-{{:mycnc:flatbed-update-007-automeasure.png}}+    * //NOTEIf you leave the flatbed ​correction setting screen while the procedure is running, the measurement program will be paused until you return back to the screen.// 
  
-In order to use the M402 macromove the sensor ​to the position you want to measure, then press the **Measure (M402) ​and Save** button. This will lower the sensor down until contactthen lift it back up and record ​the z-position at which the sensor was triggered+  * After the measurement procedure has completed and all the points are loggedselect ​the Reference Z value. The Reference Z value should be chosen ​to be between ​the minimum ​and the maximum measure pointpreferably somewhere in the middle between ​the two.
  
-{{:mycnc:flatbed-update-005-m402.png}}+    * //NOTEThe myCNC flatbed ​correction feature is limited to 1000 pulses (+ or -) from the Reference Z position. Depending on the number of pulses per unit that you have set up in the Axes/Motors window, this may be anywhere from a centimeter to a fraction of a millimeter. If the machine moves above or below the 1000 pulses limit, it will not be able to accurately correct for flatbed distortion until it is back down below the limit. This is why the reference Z value must be selected correctly// 
  
-In order to remove any of the table level discrepancy values, you can press the Delete ​button ​for each particular value.+  * In order to use the M402 macro for manual point measurementmove the sensor to the position ​you want to measure, then press the **Measure (M402) and Save** ​button. This will lower the sensor down until contact, then lift it back up and record the z-position at which the sensor was triggered
  
-{{:​mycnc:​flatbed-update-006-delete.png}}+After the measurements have been taken and the Reference Z has been entered, press the Save CFG button, enable Flatbed correction and reload the application
  
-By adding these correction points, myCNC software will use triangulation in order to create ​a complete ​updated map of the working table. From here on, whenever Flatbed Correction is enabled, the machine will automatically adjust the z-axis height of the working tool in order to adjust for the table level changes depending on where in the XY-plane it currently is.+By adding these correction points, myCNC software will create ​an updated ​Z-axis ​map of the working table. From here on, whenever Flatbed Correction is enabled, the machine will automatically adjust the z-axis height of the working tool in order to adjust for the table level changes depending on where in the XY-plane it currently is.
  
 ====M402 macro==== ====M402 macro====
Line 37: Line 43:
 G28.2 Z0 (save current Z into Register1.Z) ​   ​ G28.2 Z0 (save current Z into Register1.Z) ​   ​
  
-M89 L1 P8 (watch for input(P) to be closed (L1) - EDIT THIS)   +M88 L1 P15 (watch for input(P) to be closed (L1) - EDIT THIS)   
-G91 G0 Z -35.000 F 400.0 +G91 G0 Z -35.000 F 200 
 (move down, stop if sensor triggered) (move down, stop if sensor triggered)
-G91 G0 Z 2.000 F 800.0  +G91 G0 Z 2.000 F 400 
-M89 L1 P8 (watch for input(P) to be closed (L1) - EDIT THIS)      ​+M89 L1 P15 (watch for input(P) to be closed (L1) - EDIT THIS)      ​
 G91 G0 Z -2.000 F 20.0  G91 G0 Z -2.000 F 20.0 
            
Line 55: Line 61:
 </​code>​ </​code>​
  
-Here, you have to edit the two lines with the EDIT THIS comments. In the input P, you have to specify the input number for the sensor (set as in this example), and in the L field you have to specify the behaviour that will be interpreted as the sensor being triggered (0 for a normally closed sensor which will be opened when triggered, and 1 for a normally open sensor which will be closed at contact). ​+Here, you have to edit the two lines with the EDIT THIS comments. In the input P, you have to specify the input number for the sensor (set as 15 in this example), and in the L field you have to specify the behaviour that will be interpreted as the sensor being triggered (0 for a normally closed sensor which will be opened when triggered, and 1 for a normally open sensor which will be closed at contact). ​
mycnc/flatbed_correction.1576861319.txt.gz · Last modified: 2019/12/20 12:01 by ivan