mycnc:flatbed_correction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:flatbed_correction [2019/06/17 12:44] – ivan | mycnc:flatbed_correction [2019/12/20 12:01] – ivan | ||
---|---|---|---|
Line 5: | Line 5: | ||
In order to account for this, go into **Settings > Config > Technology > Special Purpose > Flatbed Correction**. | In order to account for this, go into **Settings > Config > Technology > Special Purpose > Flatbed Correction**. | ||
- | The screen presented to you will look similar to the following | + | The screen presented to you will be the following: |
- | {{: | + | {{: |
- | First of all, **enable** | + | First of all, **enable** flatbed correction: |
- | {{: | + | {{: |
- | Next, the table on the settings page presents a number of values in the XY-plane and their z-positions. These values can either be inputted manually | + | Next, the table on this settings page presents a number of values in the XY-plane and their z-positions. These values can either be recorded by using the AutoMeasure procedure (recommended) or by using a sensor and recording |
- | {{: | + | 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. |
+ | |||
+ | {{: | ||
+ | |||
+ | 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. | ||
+ | |||
+ | {{: | ||
In order to remove any of the table level discrepancy values, you can press the Delete button for each particular value. | In order to remove any of the table level discrepancy values, you can press the Delete button for each particular value. | ||
- | {{: | + | {{: |
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 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. | ||
+ | |||
+ | ====M402 macro==== | ||
+ | |||
+ | The code for the M402 macro can be found below: | ||
+ | |||
+ | < | ||
+ | (Surface measure macro) | ||
+ | G28.2 Z0 (save current Z into Register1.Z) | ||
+ | |||
+ | M89 L1 P8 (watch for input(P) to be closed (L1) - EDIT THIS) | ||
+ | G91 G0 Z -35.000 F 400.0 | ||
+ | (move down, stop if sensor triggered) | ||
+ | G91 G0 Z 2.000 F 800.0 | ||
+ | M89 L1 P8 (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 8 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.txt · Last modified: 2022/12/01 11:37 by ivan