mycnc:flatbed_correction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
mycnc:flatbed_correction [2019/07/08 12:04] – ivan | mycnc:flatbed_correction [2019/12/20 11:51] – ivan | ||
---|---|---|---|
Line 28: | Line 28: | ||
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) releseased(L0)) | ||
+ | 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) releseased(L0)) | ||
+ | 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 | ||
+ | </ |
mycnc/flatbed_correction.txt · Last modified: 2022/12/01 11:37 by ivan