mycnc:flatbed_correction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mycnc:flatbed_correction [2019/07/08 12:04] – ivan | mycnc:flatbed_correction [2022/12/01 11:37] (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 screen presented to you will be the following: | + | The following |
- | {{: | + | {{youtube> |
- | First of all, **enable** flatbed correction: | + | To set up flatbed correction, go into **Settings > Config > Technology > Special Purpose > Flatbed Correction**. The screen presented to you will be the following: |
- | {{: | + | {{: |
- | Next, the table on this settings page presents | + | After the setup process has been completed, |
- | Using the AutoMeasure | + | ====Automatic measuring |
- | {{:mycnc:flatbed-update-007-automeasure.png}} | + | To begin the probing process, the **Auto Measure Procedure** button can then be pressed. Note that if you leave the flatbed |
- | In order to use the M402 macro, move 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. | + | * **Note:** Flatbed correction **must be disabled** prior to beginning taking |
- | {{: | + | After the measurement procedure has completed and all the points are logged, select the Reference Z value. The Reference Z value should be chosen to be between the minimum and the maximum measure point, preferably somewhere in the middle between the two. |
- | In order to remove any of the table level discrepancy values, you can press the Delete button | + | * **Note:** The myCNC flatbed correction feature is limited |
- | {{: | + | ====Manual measuring procedure==== |
+ | |||
+ | In order to use the M402 macro for manual point measurement, | ||
+ | |||
+ | 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 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. | ||
+ | |||
+ | * **Note:** The flatbed correction procedure relies on measuring points starting from 0 to the limits of the working table (in the positive direction). In that regard, working tables with negative X/Y ranges (for example, a working table which is specified as being //X 0...2000// and //Y -3000...0// will not be able to properly utilize the flatbed correction functionality. | ||
+ | |||
+ | ====M402 macro==== | ||
+ | |||
+ | The code for the M402 macro can be found below: | ||
+ | |||
+ | < | ||
+ | (Surface measure macro) | ||
+ | G28.2 Z0 (save current Z into Register1.Z) | ||
+ | |||
+ | M88 L1 P15 (watch for input(P) to be closed (L1) - EDIT THIS) | ||
+ | G91 G0 Z -35.000 F 200 | ||
+ | (move down, stop if sensor triggered) | ||
+ | G91 G0 Z 2.000 F 400 | ||
+ | M89 L1 P15 (watch for input(P) to be closed (L1) - EDIT THIS) | ||
+ | G91 G0 Z -2.000 F 20.0 | ||
+ | |||
+ | G4 P0.2 | ||
+ | |||
+ | G90 G10 L81 P8171 Q5021 | ||
+ | G90 G10 L81 P8172 Q5022 | ||
+ | G90 G10 L81 P8173 Q5023 | ||
+ | |||
+ | G90 G10 L80 P8170 Q1 | ||
+ | |||
+ | G91 G0 Z10 | ||
+ | </ | ||
+ | |||
+ | 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). | ||
+ | |||
+ | ==== X1366V Flatbed button ==== | ||
+ | |||
+ | The Tangential Cutting profile (X1366V) features the following button on its main screen in the coordinates section: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | This button toggles the display of the Z-axis coordinate with/ | ||
+ | |||
+ | * Button OFF - Current Z-axis coordinate (pos-axis-2) | ||
+ | * Button ON - Current Z-axis coordinate with flatbed correction (global variable #8233) | ||
+ | |||
+ | Note that this does not toggle the correction itself on/off, but merely the way the Z-axis coordinate is displayed. | ||
- | 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. |
mycnc/flatbed_correction.txt · Last modified: 2022/12/01 11:37 by ivan