Dev2: G30 always homes first

2»

Comments

  • edited October 2020
    Sorry for forgetting to activate debug output. Can I activate this permanently?

    I added the line in the config and changed the homeAxes as you described. Upload and M111 S7:

    Autolevel enabled:
    Send:22:19:16.504: N22 G28
    Recv:22:19:16.504: minPosOff: -65.09 -100.08 -0.09
    Recv:22:19:16.504: maxPosOff: 458.00 400.00 160.47
    Recv:22:19:16.505: rotMin: -0.09 -0.08 -0.09
    Recv:22:19:16.505: rotMax: 0.00 0.00 0.47
    Recv:22:19:16.505: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:22:19:16.505: Info:Autoleveling disabled
    Recv:22:19:16.505: X:-65.09 Y:399.92 Z:160.172 E:0.0000
    Recv:22:19:16.556: Move CX:-65.09 CY:399.92 CZ:160.17 OX:0.00 l:5.00 f:45.00
    Recv:22:19:16.556: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:22:19:16.799: Move CX:-65.09 CY:399.92 CZ:155.17 OX:0.00 l:7.50 f:9.00
    Recv:22:19:16.799: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:22:19:17.414: Move CX:-65.09 CY:399.92 CZ:162.67 OX:0.00 l:0.56 f:45.00
    Recv:22:19:17.414: Move DX:0.00 DE:0.00 DY:0.00 DZ:-0.56
    Recv:22:19:17.554: Move CX:-65.09 CY:399.92 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:22:19:17.554: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:22:19:17.763: Move CX:-65.09 CY:394.92 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:22:19:17.763: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:22:19:18.435: Move CX:-65.09 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:22:19:18.435: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:19:18.746: Move CX:-60.09 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:22:19:18.746: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:19:19.358: Move CX:-67.59 CY:400.00 CZ:160.00 OX:0.00 l:0.09 f:45.00
    Recv:22:19:19.358: Move DX:0.09 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:19:19.467: minPosOff: -65.09 -100.08 -0.09
    Recv:22:19:19.467: maxPosOff: 458.00 400.00 160.47
    Recv:22:19:19.467: rotMin: -0.09 -0.08 -0.09
    Recv:22:19:19.467: rotMax: 0.00 0.00 0.47
    Recv:22:19:19.468: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:22:19:19.468: Info:Autoleveling enabled
    Recv:22:19:19.468: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:22:19:19.468: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.39 f:30.00
    Recv:22:19:19.468: Move DX:0.00 DE:0.00 DY:0.00 DZ:0.39
    Recv:22:19:19.545: SelectTool:0
    Recv:22:19:19.545: Axis failed:1
    Recv:22:19:19.545: Warning:Move to illegal position prevented! Position should not be trusted any more!
    Recv:22:19:19.546: XT:-65.00 YT:400.00 ZT:160.00
    Recv:22:19:19.546: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.21 f:30.00
    Recv:22:19:19.546: Move DX:-0.09 DE:0.00 DY:-0.08 DZ:0.17
    Recv:22:19:19.546: Position before select
    Recv:22:19:19.546: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:19:19.546: SelectTool:0
    Recv:22:19:19.601: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:19:19.601: Echo:N22 G28

    auto level disabled:
    Send:22:20:02.223: N24 G28
    Recv:22:20:02.224: Info:Autoleveling disabled
    Recv:22:20:02.224: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:20:02.275: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:22:20:02.275: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:22:20:02.518: Move CX:-65.00 CY:400.00 CZ:155.00 OX:0.00 l:7.50 f:9.00
    Recv:22:20:02.518: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:22:20:03.133: Move CX:-65.00 CY:400.00 CZ:162.50 OX:0.00 l:0.56 f:45.00
    Recv:22:20:03.133: Move DX:0.00 DE:0.00 DY:0.00 DZ:-0.56
    Recv:22:20:03.273: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:22:20:03.273: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:22:20:03.482: Move CX:-65.00 CY:395.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:22:20:03.482: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:22:20:04.155: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:22:20:04.155: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:20:04.437: Move CX:-60.00 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:22:20:04.437: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:20:05.047: Move CX:-67.50 CY:400.00 CZ:160.00 OX:0.00 l:0.09 f:45.00
    Recv:22:20:05.047: Move DX:0.09 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:20:05.156: Info:Autoleveling disabled
    Recv:22:20:05.156: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:20:05.156: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.56 f:30.00
    Recv:22:20:05.156: Move DX:0.00 DE:0.00 DY:0.00 DZ:0.56
    Recv:22:20:05.246: SelectTool:0
    Recv:22:20:05.246: Position before select
    Recv:22:20:05.246: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:20:05.246: SelectTool:0
    Recv:22:20:05.246: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:20:05.246: Echo:N24 G28


    Hope I did everything correct.

    edit: To be absolutely sure I downloaded the latest version, changed the lines which you mentioned and tried G28 again:

    Send:22:54:58.794: N23 M320
    Recv:22:54:58.794: minPosOff: -65.09 -100.08 -0.09
    Recv:22:54:58.794: maxPosOff: 458.00 400.00 160.47
    Recv:22:54:58.794: rotMin: -0.09 -0.08 -0.09
    Recv:22:54:58.794: rotMax: 0.00 0.00 0.47
    Recv:22:54:58.795: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:22:54:58.795: Info:Autoleveling enabled
    Recv:22:54:58.795: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:22:54:58.795: Echo:N23 M320
    Send:22:55:07.512: N24 G28
    Recv:22:55:07.512: minPosOff: -65.09 -100.08 -0.09
    Recv:22:55:07.512: maxPosOff: 458.00 400.00 160.47
    Recv:22:55:07.512: rotMin: -0.09 -0.08 -0.09
    Recv:22:55:07.512: rotMax: 0.00 0.00 0.47
    Recv:22:55:07.513: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:22:55:07.513: Info:Autoleveling disabled
    Recv:22:55:07.513: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:55:07.563: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:22:55:07.563: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:22:55:07.806: Move CX:-65.00 CY:400.00 CZ:155.00 OX:0.00 l:7.50 f:9.00
    Recv:22:55:07.806: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:22:55:08.454: Move CX:-65.00 CY:400.00 CZ:162.50 OX:0.00 l:0.56 f:45.00
    Recv:22:55:08.454: Move DX:0.00 DE:0.00 DY:0.00 DZ:-0.56
    Recv:22:55:08.594: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:22:55:08.594: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:22:55:08.802: Move CX:-65.00 CY:395.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:22:55:08.802: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:22:55:09.464: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:22:55:09.464: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:55:09.673: Move CX:-60.00 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:22:55:09.673: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:55:10.294: Move CX:-67.50 CY:400.00 CZ:160.00 OX:0.00 l:0.09 f:45.00
    Recv:22:55:10.294: Move DX:0.09 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:55:10.330: minPosOff: -65.09 -100.08 -0.09
    Recv:22:55:10.330: maxPosOff: 458.00 400.00 160.47
    Recv:22:55:10.330: rotMin: -0.09 -0.08 -0.09
    Recv:22:55:10.330: rotMax: 0.00 0.00 0.47
    Recv:22:55:10.330: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:22:55:10.330: Info:Autoleveling enabled
    Recv:22:55:10.330: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:22:55:10.331: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.39 f:30.00
    Recv:22:55:10.331: Move DX:0.00 DE:0.00 DY:0.00 DZ:0.39
    Recv:22:55:10.408: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.21 f:30.00
    Recv:22:55:10.408: Move DX:-0.09 DE:0.00 DY:-0.08 DZ:0.17
    Recv:22:55:10.408: Position before select
    Recv:22:55:10.408: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:55:10.408: SelectTool:0
    Recv:22:55:10.517: Warning:Move to illegal position prevented! Position should not be trusted any more!
    Recv:22:55:10.517: XT:-65.09 YT:399.92 ZT:160.17
    Recv:22:55:10.517: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:55:10.517: Echo:N24 G28
    Send:22:55:42.896: N25 M321
    Recv:22:55:42.896: minPosOff: -65.09 -100.08 -0.09
    Recv:22:55:42.896: maxPosOff: 458.00 400.00 160.47
    Recv:22:55:42.896: rotMin: -0.09 -0.08 -0.09
    Recv:22:55:42.896: rotMax: 0.00 0.00 0.47
    Recv:22:55:42.897: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:22:55:42.897: Info:Autoleveling disabled
    Recv:22:55:42.897: X:-65.09 Y:399.92 Z:160.172 E:0.0000
    Recv:22:55:42.897: Echo:N25 M321
    Send:22:55:46.049: N26 G28
    Recv:22:55:46.049: Info:Autoleveling disabled
    Recv:22:55:46.049: X:-65.09 Y:399.92 Z:160.172 E:0.0000
    Recv:22:55:46.100: Move CX:-65.09 CY:399.92 CZ:160.17 OX:0.00 l:5.00 f:45.00
    Recv:22:55:46.100: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:22:55:46.343: Move CX:-65.09 CY:399.92 CZ:155.17 OX:0.00 l:7.50 f:9.00
    Recv:22:55:46.343: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:22:55:46.959: Move CX:-65.09 CY:399.92 CZ:162.67 OX:0.00 l:0.56 f:45.00
    Recv:22:55:46.959: Move DX:0.00 DE:0.00 DY:0.00 DZ:-0.56
    Recv:22:55:47.099: Move CX:-65.09 CY:399.92 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:22:55:47.099: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:22:55:47.307: Move CX:-65.09 CY:394.92 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:22:55:47.307: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:22:55:47.978: Move CX:-65.09 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:22:55:47.978: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:55:48.187: Move CX:-60.09 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:22:55:48.187: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:55:48.798: Move CX:-67.59 CY:400.00 CZ:160.00 OX:0.00 l:0.09 f:45.00
    Recv:22:55:48.798: Move DX:0.09 DE:0.00 DY:0.00 DZ:0.00
    Recv:22:55:48.833: Info:Autoleveling disabled
    Recv:22:55:48.833: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:55:48.834: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.56 f:30.00
    Recv:22:55:48.834: Move DX:0.00 DE:0.00 DY:0.00 DZ:0.56
    Recv:22:55:49.006: Position before select
    Recv:22:55:49.007: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:55:49.007: SelectTool:0
    Recv:22:55:49.007: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:55:49.007: Echo:N26 G28

  • Debug level M111 is set fixed in Printer.cpp
    uint8_t Printer::debugLevel = 6; ///< Bitfield defining debug output. 1 = echo, 2 = info, 4 = error, 8 = dry run., 16 = Only communication, 32 = No moves

    But normally you do not want echo on.

    The problem is getting really crazy. It seems we've done everything correct.
    Recv:22:55:42.896: minPosOff: -65.09 -100.08 -0.09
    Recv:22:55:42.896: maxPosOff: 458.00 400.00 160.47

    This is what is used for x and y transformed as limit.
    Then you get:
    Recv:22:55:10.408: Position before select
    Recv:22:55:10.408: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:22:55:10.408: SelectTool:0
    Recv:22:55:10.517: Warning:Move to illegal position prevented! Position should not be trusted any more!
    Recv:22:55:10.517: XT:-65.09 YT:399.92 ZT:160.17
    and as you see you are within limits. Only critical is XT which is within limits if I ignore roundings not visible. But min/maxPosOff have 0.1% increased values of rotMin/max to fix that. But maybe since float is not high precision it is even higher.

    So current guess since all values look ok is to increase the allowed deviations a bit. This is in MotionLevel1.cpp line 311
    void Motion1::updateRotMinMax() {

    where they get computed. It is actually this part:
    for (fast8_t i = 0; i <= Z_AXIS; i++) {
    rotMax[i] *= 1.001;
    rotMin[i] *= 1.001;
    minPosOff[i] += rotMin[i];
    maxPosOff[i] += rotMax[i];
    }

    When it is only rounding we should modify it into something that also adds a constant for rounding errors. So please try
    for (fast8_t i = 0; i <= Z_AXIS; i++) {
    rotMax[i] += 0.01;
    rotMin[i] -= 0.01;
    minPosOff[i] += rotMin[i];
    maxPosOff[i] += rotMax[i];
    }

    instead. This gives us 0.01mm extra in all directions. Float has 6 digits relevant so that should be significant for printers up to 10 meter and 0.01mm won't hurt loosing as print space.
  • edited October 2020
    I tried it with replacing the lines
    a)
    for (fast8_t i = 0; i <= Z_AXIS; i++) {
            //rotMax[i] *= 1.001;
            //rotMin[i] *= 1.001;
             rotMax[i] += 0.01;
            rotMin[i] -= 0.01;
            minPosOff[i] += rotMin[i];
            maxPosOff[i] += rotMax[i];
        }
    and I tried it by adding the

    for (fast8_t i = 0; i <= Z_AXIS; i++) {
            rotMax[i] *= 1.001;
            rotMin[i] *= 1.001;
             rotMax[i] += 0.01;
            rotMin[i] -= 0.01;
            minPosOff[i] += rotMin[i];
            maxPosOff[i] += rotMax[i];
        }

    lines. So increasing it by 0.1% and 0.01 mm.
    Both have the warnings, but I show only the latter version:

    Send:23:31:19.941: N28 M321
    Recv:23:31:19.941: Info:Autoleveling disabled
    Recv:23:31:19.941: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:31:19.941: Echo:N28 M321
    Send:23:31:22.567: N29 G28
    Recv:23:31:22.677: Info:Autoleveling disabled
    Recv:23:31:22.678: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:31:22.728: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:31:22.728: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:23:31:22.971: Move CX:-65.00 CY:400.00 CZ:155.00 OX:0.00 l:7.50 f:9.00
    Recv:23:31:22.971: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:23:31:23.587: Move CX:-65.00 CY:400.00 CZ:162.50 OX:0.00 l:0.58 f:45.00
    Recv:23:31:23.587: Move DX:0.00 DE:0.00 DY:0.00 DZ:-0.58
    Recv:23:31:23.729: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:31:23.729: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:23:31:23.938: Move CX:-65.00 CY:395.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:23:31:23.938: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:23:31:24.550: Move CX:-65.00 CY:402.50 CZ:160.00 OX:0.00 l:0.01 f:45.00
    Recv:23:31:24.550: Move DX:0.00 DE:0.00 DY:-0.01 DZ:0.00
    Recv:23:31:24.621: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:31:24.621: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:31:24.878: Move CX:-60.00 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:23:31:24.878: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:31:25.606: Move CX:-67.50 CY:400.00 CZ:160.00 OX:0.00 l:0.10 f:45.00
    Recv:23:31:25.606: Move DX:0.10 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:31:25.643: Info:Autoleveling disabled
    Recv:23:31:25.643: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:31:25.643: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.58 f:30.00
    Recv:23:31:25.643: Move DX:0.00 DE:0.00 DY:0.00 DZ:0.58
    Recv:23:31:25.735: Position before select
    Recv:23:31:25.735: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:31:25.735: SelectTool:0
    Recv:23:31:25.735: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:31:25.735: Echo:N29 G28

    Recv:23:31:50.652: Echo:N30 M320
    Send:23:31:54.863: N31 G28
    Recv:23:31:54.863: minPosOff: -65.10 -100.09 -0.10
    Recv:23:31:54.863: maxPosOff: 458.01 400.01 160.48
    Recv:23:31:54.863: rotMin: -0.10 -0.09 -0.10
    Recv:23:31:54.863: rotMax: 0.01 0.01 0.48
    Recv:23:31:54.864: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:23:31:54.864: Info:Autoleveling disabled
    Recv:23:31:54.864: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:31:54.914: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:31:54.914: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:23:31:55.157: Move CX:-65.00 CY:400.00 CZ:155.00 OX:0.00 l:7.50 f:9.00
    Recv:23:31:55.157: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:23:31:55.804: Move CX:-65.00 CY:400.00 CZ:162.50 OX:0.00 l:0.58 f:45.00
    Recv:23:31:55.804: Move DX:0.00 DE:0.00 DY:0.00 DZ:-0.58
    Recv:23:31:55.946: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:31:55.946: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:23:31:56.154: Move CX:-65.00 CY:395.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:23:31:56.154: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:23:31:56.767: Move CX:-65.00 CY:402.50 CZ:160.00 OX:0.00 l:0.01 f:45.00
    Recv:23:31:56.767: Move DX:0.00 DE:0.00 DY:-0.01 DZ:0.00
    Recv:23:31:56.837: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:31:56.837: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:31:57.046: Move CX:-60.00 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:23:31:57.046: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:31:57.669: Move CX:-67.50 CY:400.00 CZ:160.00 OX:0.00 l:0.10 f:45.00
    Recv:23:31:57.669: Move DX:0.10 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:31:57.705: minPosOff: -65.10 -100.09 -0.10
    Recv:23:31:57.705: maxPosOff: 458.01 400.01 160.48
    Recv:23:31:57.705: rotMin: -0.10 -0.09 -0.10
    Recv:23:31:57.705: rotMax: 0.01 0.01 0.48
    Recv:23:31:57.705: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:23:31:57.705: Info:Autoleveling enabled
    Recv:23:31:57.705: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:23:31:57.705: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.41 f:30.00
    Recv:23:31:57.705: Move DX:0.00 DE:0.00 DY:0.00 DZ:0.41
    Recv:23:31:57.869: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.21 f:30.00
    Recv:23:31:57.869: Move DX:-0.09 DE:0.00 DY:-0.08 DZ:0.17
    Recv:23:31:57.869: Position before select
    Recv:23:31:57.869: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:31:57.869: SelectTool:0
    Recv:23:31:57.924: Warning:Move to illegal position prevented! Position should not be trusted any more!
    Recv:23:31:57.924: XT:-65.09 YT:399.92 ZT:160.17
    Recv:23:31:57.924: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:31:57.924: Echo:N31 G28


    I used
     for (fast8_t i = 0; i <= Z_AXIS; i++) {
            rotMax[i] *= 1.001;
            rotMin[i] *= 1.001;
             rotMax[i] += 10.01;
            rotMin[i] -= 10.01;
            minPosOff[i] += rotMin[i];
            maxPosOff[i] += rotMax[i];
        }


    Send:23:38:05.907: N20 M321
    Recv:23:38:05.907: Info:Autoleveling disabled
    Recv:23:38:05.907: X:0.00 Y:0.00 Z:0.000 E:0.0000
    Recv:23:38:05.907: Echo:N20 M321
    Send:23:38:08.215: N21 G28
    Recv:23:38:08.215: Info:Autoleveling disabled
    Recv:23:38:08.215: X:0.00 Y:0.00 Z:0.000 E:0.0000
    Recv:23:38:08.267: Move CX:0.00 CY:0.00 CZ:0.00 OX:0.00 l:5.00 f:45.00
    Recv:23:38:08.267: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:23:38:08.509: Move CX:0.00 CY:0.00 CZ:-5.00 OX:0.00 l:7.50 f:9.00
    Recv:23:38:08.509: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:23:38:09.131: Move CX:0.00 CY:0.00 CZ:2.50 OX:0.00 l:20.58 f:45.00
    Recv:23:38:09.131: Move DX:0.00 DE:0.00 DY:0.00 DZ:-20.58
    Recv:23:38:09.845: Move CX:0.00 CY:0.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:38:09.845: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:23:38:10.054: Move CX:0.00 CY:-5.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:23:38:10.055: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:23:38:10.669: Move CX:0.00 CY:2.50 CZ:160.00 OX:0.00 l:10.01 f:45.00
    Recv:23:38:10.669: Move DX:0.00 DE:0.00 DY:-10.01 DZ:0.00
    Recv:23:38:11.040: Move CX:0.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:38:11.040: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:38:11.249: Move CX:5.00 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:23:38:11.249: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:38:11.926: Move CX:-2.50 CY:400.00 CZ:160.00 OX:0.00 l:10.10 f:45.00
    Recv:23:38:11.926: Move DX:10.10 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:38:12.249: Info:Autoleveling disabled
    Recv:23:38:12.249: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:38:12.249: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:20.58 f:30.00
    Recv:23:38:12.249: Move DX:0.00 DE:0.00 DY:0.00 DZ:20.58
    Recv:23:38:13.028: Position before select
    Recv:23:38:13.028: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:38:13.028: SelectTool:0
    Recv:23:38:13.029: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:38:13.029: Echo:N21 G28
    Send:23:38:52.421: N22 M320
    Recv:23:38:52.421: minPosOff: -75.10 -110.09 -10.10
    Recv:23:38:52.422: maxPosOff: 468.01 410.01 170.48
    Recv:23:38:52.422: rotMin: -10.10 -10.09 -10.10
    Recv:23:38:52.422: rotMax: 10.01 10.01 10.48
    Recv:23:38:52.422: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:23:38:52.422: Info:Autoleveling enabled
    Recv:23:38:52.422: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:23:38:52.422: Echo:N22 M320
    Send:23:38:57.025: N23 G28
    Recv:23:38:57.025: minPosOff: -75.10 -110.09 -10.10
    Recv:23:38:57.025: maxPosOff: 468.01 410.01 170.48
    Recv:23:38:57.025: rotMin: -10.10 -10.09 -10.10
    Recv:23:38:57.025: rotMax: 10.01 10.01 10.48
    Recv:23:38:57.025: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:23:38:57.026: Info:Autoleveling disabled
    Recv:23:38:57.026: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:38:57.077: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:38:57.077: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:23:38:57.320: Move CX:-65.00 CY:400.00 CZ:155.00 OX:0.00 l:7.50 f:9.00
    Recv:23:38:57.320: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:23:38:57.936: Move CX:-65.00 CY:400.00 CZ:162.50 OX:0.00 l:20.58 f:45.00
    Recv:23:38:57.936: Move DX:0.00 DE:0.00 DY:0.00 DZ:-20.58
    Recv:23:38:58.585: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:780.16 f:45.00
    Recv:23:38:58.585: Move DX:0.00 DE:0.00 DY:780.16 DZ:0.00
    Recv:23:38:58.919: Move CX:-65.00 CY:1180.16 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:38:58.919: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:23:38:59.128: Move CX:-65.00 CY:1175.16 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:23:38:59.128: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:23:38:59.644: Move CX:-65.00 CY:1182.66 CZ:160.00 OX:0.00 l:10.01 f:45.00
    Recv:23:38:59.644: Move DX:0.00 DE:0.00 DY:-10.01 DZ:0.00
    Recv:23:38:59.987: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:814.67 f:45.00
    Recv:23:38:59.987: Move DX:-814.67 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:39:00.321: Move CX:-879.67 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:23:39:00.321: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:39:00.529: Move CX:-874.67 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:23:39:00.529: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:39:01.034: Move CX:-882.17 CY:400.00 CZ:160.00 OX:0.00 l:10.10 f:45.00
    Recv:23:39:01.034: Move DX:10.10 DE:0.00 DY:0.00 DZ:0.00
    Recv:23:39:01.386: minPosOff: -75.10 -110.09 -10.10
    Recv:23:39:01.386: maxPosOff: 468.01 410.01 170.48
    Recv:23:39:01.386: rotMin: -10.10 -10.09 -10.10
    Recv:23:39:01.386: rotMax: 10.01 10.01 10.48
    Recv:23:39:01.386: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:23:39:01.386: Info:Autoleveling enabled
    Recv:23:39:01.387: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:23:39:01.387: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:20.41 f:30.00
    Recv:23:39:01.387: Move DX:0.00 DE:0.00 DY:0.00 DZ:20.41
    Recv:23:39:02.160: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.21 f:30.00
    Recv:23:39:02.160: Move DX:-0.09 DE:0.00 DY:-0.08 DZ:0.17
    Recv:23:39:02.161: Position before select
    Recv:23:39:02.161: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:39:02.161: SelectTool:0
    Recv:23:39:02.216: Warning:Move to illegal position prevented! Position should not be trusted any more!
    Recv:23:39:02.216: XT:-65.09 YT:399.92 ZT:160.17
    Recv:23:39:02.216: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:23:39:02.216: Echo:N23 G28

    I see by looking on my printer the following movement:
    1. Homing z
    2. moving down definetly more than 10 mm (I think roundabout 26, right?
    3. Homing y
    4. Moving y to smaller values, roughly 10 mm?
    5. Homing x
    6. Moving x to higher values
    7. It moves up (to larger z values), bit the other axis are not moving anymore.

    Is this intended?
    By the way: The result seems to be okay from my observed movements, but I don't understand why the multiplication of a negative value (here -65mm in the x-axis) gives the correct value. I would guess that for a negatiove axis value one should multiply it by 0.999 instead of 1.001 ?!

    edit: mistake. So in any case it should be 0.999 if this results in a real movement to have some safety-space around it? You may see, I am not familiar. So if you think my thought is rubbish, ignore ist.
  • What we wanted was increasing allowed dimension. min is always negative so -10 * 1.1 is -11 which is more to outside.
    I like your idea adding 10 as well. Here you have
    Recv:23:39:01.386: minPosOff: -75.10 -110.09 -10.10
    Recv:23:39:01.386: maxPosOff: 468.01 410.01 170.48
    For position
    Recv:23:39:02.216: XT:-65.09 YT:399.92 ZT:160.17

    So for xy it is definitively no rounding error here. Objectively it must be Z then having a rounding error. It shows 160.000 in official coordinates and gets compared with stored z max. So also one of the other results showed y axis please add debug message sin the failing position test. Here a good version:
    PrinterTypeCartesian.cpp line 34

    bool PrinterType::positionAllowed(float pos[NUM_AXES], float zOfficial) {
    if (Printer::isNoDestinationCheck()) {
    return true;
    }
    if (Printer::isHoming() || Motion1::endstopMode == EndstopMode::PROBING) {
    return true;
    }
    // Extra contrain to protect Z conditionbased on official coordinate system
    if (zOfficial < Motion1::minPos[Z_AXIS] || zOfficial > Motion1::maxPos[Z_AXIS]) {
    Com::printFLN(PSTR("Z-Test failed:"), zOfficial, 6);
    Com::printFLN(PSTR("zmax:"), Motion1::maxPos[Z_AXIS], 6);
    return false;
    }
    for (fast8_t i = 0; i < Z_AXIS; i++) {
    if (Motion1::axesHomed & axisBits[i]) {
    if (pos[i] < Motion1::minPosOff[i]
    || pos[i] > Motion1::maxPosOff[i]) {
    Com::printFLN(PSTR("Axis failed:"), (int32_t)i);
    Com::printFLN(PSTR("pos:"), pos[i], 6);
    return false;
    }
    }
    }
    return true;
    }

    If it fails z test you might add a epsilon there:

    if (zOfficial+0.01 < Motion1::minPos[Z_AXIS] || zOfficial > Motion1::maxPos[Z_AXIS] + 0.01) {

    Your debug info said 160.000 so 0.01 should be more then safe to catch it if that is the problem.

    Your sequence analysis is correct. In the debug info
    Recv:23:39:01.387: Move DX:0.00 DE:0.00 DY:0.00 DZ:20.41
    Recv:23:39:02.160: Move DX:-0.09 DE:0.00 DY:-0.08 DZ:0.17

    DX/DY/DZ are delta = relative motion distances. The last z move is adjusting to rotation.

    The big z back move after z homing:
    Recv:23:38:57.936: Move DX:0.00 DE:0.00 DY:0.00 DZ:-20.58
     is 
    dest[axis] -= rotMax[axis]; // -10.10
    dest[axis] += rotMin[axis]; // 10.48
    so in sum 20.58 to compensate rotation

    And at the end you undo this. Would normally be much smaller it's just the 10mm you added on top.


  • edited October 2020
    First the result: It seems to be solved! Thank you very much! I add the protocol downwards.
    1. trying with your first version: Failed
    2. Trying with Epsilon Z = 10.01: SUCCESS
    3. Tryiung with Epsilon Z=0.01: SUCCESS
    4. Removing rotMax[i] += 10.01; and rotMin[i] -= 10.01; : SUCCESS

    Shall I try to undo other changes to remove unneeded code?
    I suggest you add the changes on github, I download and test it again (again using my old config).

    //The protocol:

    Hope there are all debuglevel you need:
    ##########################################################
    Version without epsilon z:
    Recv:14:20:53.053: Echo:N18 M111 S7
    Send:14:20:56.676: @getip
    Send:14:20:56.697: N19 M117 192.168.137.1:3344
    Recv:14:20:56.697: Echo:N19 M117 192.168.137.1:3344
    Send:14:21:13.402: N20 M321
    Recv:14:21:13.402: Info:Autoleveling disabled
    Recv:14:21:13.402: X:0.00 Y:0.00 Z:0.000 E:0.0000
    Recv:14:21:13.402: Echo:N20 M321
    Send:14:21:20.275: N21 G28
    Recv:14:21:20.275: Info:Autoleveling disabled
    Recv:14:21:20.275: X:0.00 Y:0.00 Z:0.000 E:0.0000
    Recv:14:21:20.325: Move CX:0.00 CY:0.00 CZ:0.00 OX:0.00 l:5.00 f:45.00
    Recv:14:21:20.325: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:14:21:20.569: Move CX:0.00 CY:0.00 CZ:-5.00 OX:0.00 l:7.50 f:9.00
    Recv:14:21:20.569: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:14:21:21.195: Move CX:0.00 CY:0.00 CZ:2.50 OX:0.00 l:20.58 f:45.00
    Recv:14:21:21.195: Move DX:0.00 DE:0.00 DY:0.00 DZ:-20.58
    Recv:14:21:21.859: Move CX:0.00 CY:0.00 CZ:160.00 OX:0.00 l:780.16 f:45.00
    Recv:14:21:21.859: Move DX:0.00 DE:0.00 DY:780.16 DZ:0.00
    Recv:14:21:22.193: Move CX:0.00 CY:780.16 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:21:22.194: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:14:21:22.403: Move CX:0.00 CY:775.16 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:21:22.403: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:14:21:22.931: Move CX:0.00 CY:782.66 CZ:160.00 OX:0.00 l:10.01 f:45.00
    Recv:14:21:22.931: Move DX:0.00 DE:0.00 DY:-10.01 DZ:0.00
    Recv:14:21:23.263: Move CX:0.00 CY:400.00 CZ:160.00 OX:0.00 l:814.67 f:45.00
    Recv:14:21:23.263: Move DX:-814.67 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:21:23.596: Move CX:-814.67 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:21:23.596: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:21:23.804: Move CX:-809.67 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:21:23.804: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:21:24.298: Move CX:-817.17 CY:400.00 CZ:160.00 OX:0.00 l:10.10 f:45.00
    Recv:14:21:24.298: Move DX:10.10 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:21:24.661: Info:Autoleveling disabled
    Recv:14:21:24.661: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:21:24.661: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:20.58 f:30.00
    Recv:14:21:24.661: Move DX:0.00 DE:0.00 DY:0.00 DZ:20.58
    Recv:14:21:25.441: Position before select
    Recv:14:21:25.441: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:21:25.441: SelectTool:0
    Recv:14:21:25.441: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:21:25.441: Echo:N21 G28
    Send:14:21:37.693: N22 M320
    Recv:14:21:37.694: minPosOff: -75.10 -110.09 -10.10
    Recv:14:21:37.694: maxPosOff: 468.01 410.01 170.48
    Recv:14:21:37.694: rotMin: -10.10 -10.09 -10.10
    Recv:14:21:37.694: rotMax: 10.01 10.01 10.48
    Recv:14:21:37.694: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:21:37.694: Info:Autoleveling enabled
    Recv:14:21:37.694: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:14:21:37.694: Echo:N22 M320
    Send:14:21:43.327: N23 G28
    Recv:14:21:43.327: minPosOff: -75.10 -110.09 -10.10
    Recv:14:21:43.327: maxPosOff: 468.01 410.01 170.48
    Recv:14:21:43.327: rotMin: -10.10 -10.09 -10.10
    Recv:14:21:43.327: rotMax: 10.01 10.01 10.48
    Recv:14:21:43.327: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:21:43.328: Info:Autoleveling disabled
    Recv:14:21:43.328: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:21:43.379: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:21:43.379: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:14:21:43.622: Move CX:-65.00 CY:400.00 CZ:155.00 OX:0.00 l:7.50 f:9.00
    Recv:14:21:43.622: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:14:21:44.238: Move CX:-65.00 CY:400.00 CZ:162.50 OX:0.00 l:20.58 f:45.00
    Recv:14:21:44.238: Move DX:0.00 DE:0.00 DY:0.00 DZ:-20.58
    Recv:14:21:44.857: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:780.16 f:45.00
    Recv:14:21:44.857: Move DX:0.00 DE:0.00 DY:780.16 DZ:0.00
    Recv:14:21:45.188: Move CX:-65.00 CY:1180.16 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:21:45.188: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:14:21:45.397: Move CX:-65.00 CY:1175.16 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:21:45.397: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:14:21:45.925: Move CX:-65.00 CY:1182.66 CZ:160.00 OX:0.00 l:10.01 f:45.00
    Recv:14:21:45.925: Move DX:0.00 DE:0.00 DY:-10.01 DZ:0.00
    Recv:14:21:46.257: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:814.67 f:45.00
    Recv:14:21:46.257: Move DX:-814.67 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:21:46.592: Move CX:-879.67 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:21:46.592: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:21:46.801: Move CX:-874.67 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:21:46.801: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:21:47.304: Move CX:-882.17 CY:400.00 CZ:160.00 OX:0.00 l:10.10 f:45.00
    Recv:14:21:47.305: Move DX:10.10 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:21:47.655: minPosOff: -75.10 -110.09 -10.10
    Recv:14:21:47.655: maxPosOff: 468.01 410.01 170.48
    Recv:14:21:47.655: rotMin: -10.10 -10.09 -10.10
    Recv:14:21:47.656: rotMax: 10.01 10.01 10.48
    Recv:14:21:47.656: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:21:47.656: Info:Autoleveling enabled
    Recv:14:21:47.656: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:14:21:47.656: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:20.41 f:30.00
    Recv:14:21:47.656: Move DX:0.00 DE:0.00 DY:0.00 DZ:20.41
    Recv:14:21:48.430: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.21 f:30.00
    Recv:14:21:48.430: Move DX:-0.09 DE:0.00 DY:-0.08 DZ:0.17
    Recv:14:21:48.430: Position before select
    Recv:14:21:48.430: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:21:48.430: SelectTool:0
    Recv:14:21:48.485: Z-Test failed:160.000015
    Recv:14:21:48.486: zmax:160.000000
    Recv:14:21:48.486: Warning:Move to illegal position prevented! Position should not be trusted any more!
    Recv:14:21:48.486: XT:-65.09 YT:399.92 ZT:160.17
    Recv:14:21:48.486: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:21:48.486: Echo:N23 G28

    ##########################################################
    Version with epsilon=10.01 on z:
    Recv:14:28:10.098: Echo:N19 M111 S7
    Send:14:28:13.094: @getip
    Send:14:28:13.108: N20 M117 192.168.137.1:3344
    Recv:14:28:13.109: Echo:N20 M117 192.168.137.1:3344
    Send:14:28:16.713: N21 M321
    Recv:14:28:16.713: Info:Autoleveling disabled
    Recv:14:28:16.713: X:0.00 Y:0.00 Z:0.000 E:0.0000
    Recv:14:28:16.713: Echo:N21 M321
    Send:14:28:28.350: N22 G28
    Recv:14:28:28.350: Info:Autoleveling disabled
    Recv:14:28:28.350: X:0.00 Y:0.00 Z:0.000 E:0.0000
    Recv:14:28:28.401: Move CX:0.00 CY:0.00 CZ:0.00 OX:0.00 l:5.00 f:45.00
    Recv:14:28:28.401: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:14:28:28.644: Move CX:0.00 CY:0.00 CZ:-5.00 OX:0.00 l:7.50 f:9.00
    Recv:14:28:28.644: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:14:28:29.261: Move CX:0.00 CY:0.00 CZ:2.50 OX:0.00 l:20.58 f:45.00
    Recv:14:28:29.261: Move DX:0.00 DE:0.00 DY:0.00 DZ:-20.58
    Recv:14:28:29.923: Move CX:0.00 CY:0.00 CZ:160.00 OX:0.00 l:780.16 f:45.00
    Recv:14:28:29.923: Move DX:0.00 DE:0.00 DY:780.16 DZ:0.00
    Recv:14:28:30.255: Move CX:0.00 CY:780.16 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:28:30.255: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:14:28:30.464: Move CX:0.00 CY:775.16 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:28:30.464: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:14:28:30.993: Move CX:0.00 CY:782.66 CZ:160.00 OX:0.00 l:10.01 f:45.00
    Recv:14:28:30.993: Move DX:0.00 DE:0.00 DY:-10.01 DZ:0.00
    Recv:14:28:31.324: Move CX:0.00 CY:400.00 CZ:160.00 OX:0.00 l:814.67 f:45.00
    Recv:14:28:31.324: Move DX:-814.67 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:28:31.657: Move CX:-814.67 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:28:31.657: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:28:31.866: Move CX:-809.67 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:28:31.866: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:28:32.370: Move CX:-817.17 CY:400.00 CZ:160.00 OX:0.00 l:10.10 f:45.00
    Recv:14:28:32.370: Move DX:10.10 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:28:32.723: Info:Autoleveling disabled
    Recv:14:28:32.723: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:28:32.723: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:20.58 f:30.00
    Recv:14:28:32.723: Move DX:0.00 DE:0.00 DY:0.00 DZ:20.58
    Recv:14:28:33.503: Position before select
    Recv:14:28:33.503: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:28:33.503: SelectTool:0
    Recv:14:28:33.503: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:28:33.503: Echo:N22 G28
    Send:14:28:46.620: N23 M320
    Recv:14:28:46.620: minPosOff: -75.10 -110.09 -10.10
    Recv:14:28:46.620: maxPosOff: 468.01 410.01 170.48
    Recv:14:28:46.621: rotMin: -10.10 -10.09 -10.10
    Recv:14:28:46.621: rotMax: 10.01 10.01 10.48
    Recv:14:28:46.621: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:28:46.621: Info:Autoleveling enabled
    Recv:14:28:46.621: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:14:28:46.621: Echo:N23 M320
    Send:14:28:50.733: N24 G28
    Recv:14:28:50.733: minPosOff: -75.10 -110.09 -10.10
    Recv:14:28:50.733: maxPosOff: 468.01 410.01 170.48
    Recv:14:28:50.733: rotMin: -10.10 -10.09 -10.10
    Recv:14:28:50.733: rotMax: 10.01 10.01 10.48
    Recv:14:28:50.734: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:28:50.734: Info:Autoleveling disabled
    Recv:14:28:50.734: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:28:50.784: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:28:50.784: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:14:28:51.027: Move CX:-65.00 CY:400.00 CZ:155.00 OX:0.00 l:7.50 f:9.00
    Recv:14:28:51.027: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:14:28:51.655: Move CX:-65.00 CY:400.00 CZ:162.50 OX:0.00 l:20.58 f:45.00
    Recv:14:28:51.655: Move DX:0.00 DE:0.00 DY:0.00 DZ:-20.58
    Recv:14:28:52.317: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:780.16 f:45.00
    Recv:14:28:52.317: Move DX:0.00 DE:0.00 DY:780.16 DZ:0.00
    Recv:14:28:52.650: Move CX:-65.00 CY:1180.16 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:28:52.650: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:14:28:52.858: Move CX:-65.00 CY:1175.16 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:28:52.858: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:14:28:53.386: Move CX:-65.00 CY:1182.66 CZ:160.00 OX:0.00 l:10.01 f:45.00
    Recv:14:28:53.386: Move DX:0.00 DE:0.00 DY:-10.01 DZ:0.00
    Recv:14:28:53.718: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:814.67 f:45.00
    Recv:14:28:53.718: Move DX:-814.67 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:28:54.053: Move CX:-879.67 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:28:54.053: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:28:54.262: Move CX:-874.67 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:28:54.262: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:28:54.754: Move CX:-882.17 CY:400.00 CZ:160.00 OX:0.00 l:10.10 f:45.00
    Recv:14:28:54.754: Move DX:10.10 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:28:55.117: minPosOff: -75.10 -110.09 -10.10
    Recv:14:28:55.117: maxPosOff: 468.01 410.01 170.48
    Recv:14:28:55.117: rotMin: -10.10 -10.09 -10.10
    Recv:14:28:55.117: rotMax: 10.01 10.01 10.48
    Recv:14:28:55.117: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:28:55.117: Info:Autoleveling enabled
    Recv:14:28:55.117: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:14:28:55.118: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:20.41 f:30.00
    Recv:14:28:55.118: Move DX:0.00 DE:0.00 DY:0.00 DZ:20.41
    Recv:14:28:55.892: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.21 f:30.00
    Recv:14:28:55.892: Move DX:-0.09 DE:0.00 DY:-0.08 DZ:0.17
    Recv:14:28:55.892: Position before select
    Recv:14:28:55.892: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:28:55.892: SelectTool:0
    Recv:14:28:55.948: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:28:55.948: Echo:N24 G28

    --> success
    ##########################################################
    Version with epsilon=0.01 on z:

    Send:14:32:46.256: N21 M321
    Recv:14:32:46.256: minPosOff: -75.10 -110.09 -10.10
    Recv:14:32:46.256: maxPosOff: 468.01 410.01 170.48
    Recv:14:32:46.256: rotMin: -10.10 -10.09 -10.10
    Recv:14:32:46.256: rotMax: 10.01 10.01 10.48
    Recv:14:32:46.257: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:32:46.257: Info:Autoleveling disabled
    Recv:14:32:46.257: X:0.00 Y:0.00 Z:0.000 E:0.0000
    Recv:14:32:46.257: Echo:N21 M321
    Send:14:32:49.653: N22 G28
    Recv:14:32:49.653: Info:Autoleveling disabled
    Recv:14:32:49.653: X:0.00 Y:0.00 Z:0.000 E:0.0000
    Recv:14:32:49.704: Move CX:0.00 CY:0.00 CZ:0.00 OX:0.00 l:5.00 f:45.00
    Recv:14:32:49.704: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:14:32:49.946: Move CX:0.00 CY:0.00 CZ:-5.00 OX:0.00 l:7.50 f:9.00
    Recv:14:32:49.946: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:14:32:50.595: Move CX:0.00 CY:0.00 CZ:2.50 OX:0.00 l:20.58 f:45.00
    Recv:14:32:50.595: Move DX:0.00 DE:0.00 DY:0.00 DZ:-20.58
    Recv:14:32:51.261: Move CX:0.00 CY:0.00 CZ:160.00 OX:0.00 l:780.16 f:45.00
    Recv:14:32:51.261: Move DX:0.00 DE:0.00 DY:780.16 DZ:0.00
    Recv:14:32:51.593: Move CX:0.00 CY:780.16 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:32:51.593: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:14:32:51.801: Move CX:0.00 CY:775.16 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:32:51.801: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:14:32:52.331: Move CX:0.00 CY:782.66 CZ:160.00 OX:0.00 l:10.01 f:45.00
    Recv:14:32:52.331: Move DX:0.00 DE:0.00 DY:-10.01 DZ:0.00
    Recv:14:32:52.664: Move CX:0.00 CY:400.00 CZ:160.00 OX:0.00 l:814.67 f:45.00
    Recv:14:32:52.664: Move DX:-814.67 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:32:52.998: Move CX:-814.67 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:32:52.998: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:32:53.206: Move CX:-809.67 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:32:53.206: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:32:53.698: Move CX:-817.17 CY:400.00 CZ:160.00 OX:0.00 l:10.10 f:45.00
    Recv:14:32:53.698: Move DX:10.10 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:32:54.061: Info:Autoleveling disabled
    Recv:14:32:54.061: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:32:54.061: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:20.58 f:30.00
    Recv:14:32:54.062: Move DX:0.00 DE:0.00 DY:0.00 DZ:20.58
    Recv:14:32:54.841: Position before select
    Recv:14:32:54.841: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:32:54.841: SelectTool:0
    Recv:14:32:54.841: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:32:54.841: Echo:N22 G28
    Send:14:33:06.526: N23 M320
    Recv:14:33:06.526: minPosOff: -75.10 -110.09 -10.10
    Recv:14:33:06.526: maxPosOff: 468.01 410.01 170.48
    Recv:14:33:06.526: rotMin: -10.10 -10.09 -10.10
    Recv:14:33:06.526: rotMax: 10.01 10.01 10.48
    Recv:14:33:06.527: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:33:06.527: Info:Autoleveling enabled
    Recv:14:33:06.527: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:14:33:06.527: Echo:N23 M320
    Send:14:33:08.994: N24 G28
    Recv:14:33:08.994: minPosOff: -75.10 -110.09 -10.10
    Recv:14:33:08.994: maxPosOff: 468.01 410.01 170.48
    Recv:14:33:08.995: rotMin: -10.10 -10.09 -10.10
    Recv:14:33:08.995: rotMax: 10.01 10.01 10.48
    Recv:14:33:08.995: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:33:08.995: Info:Autoleveling disabled
    Recv:14:33:08.995: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:33:09.046: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:33:09.046: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:14:33:09.289: Move CX:-65.00 CY:400.00 CZ:155.00 OX:0.00 l:7.50 f:9.00
    Recv:14:33:09.289: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:14:33:09.904: Move CX:-65.00 CY:400.00 CZ:162.50 OX:0.00 l:20.58 f:45.00
    Recv:14:33:09.905: Move DX:0.00 DE:0.00 DY:0.00 DZ:-20.58
    Recv:14:33:10.556: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:780.16 f:45.00
    Recv:14:33:10.556: Move DX:0.00 DE:0.00 DY:780.16 DZ:0.00
    Recv:14:33:10.887: Move CX:-65.00 CY:1180.16 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:33:10.887: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:14:33:11.097: Move CX:-65.00 CY:1175.16 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:33:11.097: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:14:33:11.625: Move CX:-65.00 CY:1182.66 CZ:160.00 OX:0.00 l:10.01 f:45.00
    Recv:14:33:11.625: Move DX:0.00 DE:0.00 DY:-10.01 DZ:0.00
    Recv:14:33:11.958: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:814.67 f:45.00
    Recv:14:33:11.958: Move DX:-814.67 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:33:12.293: Move CX:-879.67 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:33:12.293: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:33:12.503: Move CX:-874.67 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:33:12.503: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:33:13.006: Move CX:-882.17 CY:400.00 CZ:160.00 OX:0.00 l:10.10 f:45.00
    Recv:14:33:13.006: Move DX:10.10 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:33:13.356: minPosOff: -75.10 -110.09 -10.10
    Recv:14:33:13.357: maxPosOff: 468.01 410.01 170.48
    Recv:14:33:13.357: rotMin: -10.10 -10.09 -10.10
    Recv:14:33:13.357: rotMax: 10.01 10.01 10.48
    Recv:14:33:13.357: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:33:13.357: Info:Autoleveling enabled
    Recv:14:33:13.357: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:14:33:13.357: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:20.41 f:30.00
    Recv:14:33:13.357: Move DX:0.00 DE:0.00 DY:0.00 DZ:20.41
    Recv:14:33:14.132: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.21 f:30.00
    Recv:14:33:14.132: Move DX:-0.09 DE:0.00 DY:-0.08 DZ:0.17
    Recv:14:33:14.132: Position before select
    Recv:14:33:14.132: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:33:14.132: SelectTool:0
    Recv:14:33:14.187: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:33:14.187: Echo:N24 G28
    --> success

    ##########################################################
    Version with changes in motionlevel1:

    // rotMax[i] += 10.01;
    //rotMin[i] -= 10.01;

    Send:14:36:55.825: N18 M111 S7
    Recv:14:36:55.825: DebugLevel:7
    Recv:14:36:55.825: debug:Echo:On
    Recv:14:36:55.825: debug:Info:On
    Recv:14:36:55.825: debug:Errors:On
    Recv:14:36:55.825: debug:DryRun:Off
    Recv:14:36:55.826: debug:Communication:Off
    Recv:14:36:55.826: debug:NoMoves:Off
    Recv:14:36:55.826: debug:Endstops:Off
    Recv:14:36:55.826: Echo:N18 M111 S7
    Send:14:36:57.437: @getip
    Send:14:36:57.454: N19 M117 192.168.137.1:3344
    Recv:14:36:57.455: Echo:N19 M117 192.168.137.1:3344
    Send:14:37:03.646: N20 M321
    Recv:14:37:03.646: Info:Autoleveling disabled
    Recv:14:37:03.646: X:0.00 Y:0.00 Z:0.000 E:0.0000
    Recv:14:37:03.646: Echo:N20 M321
    Send:14:37:15.655: N21 G28
    Recv:14:37:15.655: Info:Autoleveling disabled
    Recv:14:37:15.655: X:0.00 Y:0.00 Z:0.000 E:0.0000
    Recv:14:37:15.706: Move CX:0.00 CY:0.00 CZ:0.00 OX:0.00 l:5.00 f:45.00
    Recv:14:37:15.706: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:14:37:15.949: Move CX:0.00 CY:0.00 CZ:-5.00 OX:0.00 l:7.50 f:9.00
    Recv:14:37:15.949: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:14:37:16.564: Move CX:0.00 CY:0.00 CZ:2.50 OX:0.00 l:0.56 f:45.00
    Recv:14:37:16.564: Move DX:0.00 DE:0.00 DY:0.00 DZ:-0.56
    Recv:14:37:16.654: Move CX:0.00 CY:0.00 CZ:160.00 OX:0.00 l:750.13 f:45.00
    Recv:14:37:16.654: Move DX:0.00 DE:0.00 DY:750.13 DZ:0.00
    Recv:14:37:16.987: Move CX:0.00 CY:750.13 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:37:16.987: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:14:37:17.196: Move CX:0.00 CY:745.13 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:37:17.196: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:14:37:17.724: Move CX:0.00 CY:400.00 CZ:160.00 OX:0.00 l:784.64 f:45.00
    Recv:14:37:17.724: Move DX:-784.64 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:37:18.057: Move CX:-784.64 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:37:18.057: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:37:18.267: Move CX:-779.64 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:37:18.267: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:37:18.757: Move CX:-787.14 CY:400.00 CZ:160.00 OX:0.00 l:0.09 f:45.00
    Recv:14:37:18.758: Move DX:0.09 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:37:18.793: Info:Autoleveling disabled
    Recv:14:37:18.793: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:37:18.794: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.56 f:30.00
    Recv:14:37:18.794: Move DX:0.00 DE:0.00 DY:0.00 DZ:0.56
    Recv:14:37:18.884: Position before select
    Recv:14:37:18.884: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:37:18.884: SelectTool:0
    Recv:14:37:18.884: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:37:18.884: Echo:N21 G28
    Send:14:37:22.497: N22 M320
    Recv:14:37:22.497: minPosOff: -65.09 -100.08 -0.09
    Recv:14:37:22.497: maxPosOff: 458.00 400.00 160.47
    Recv:14:37:22.497: rotMin: -0.09 -0.08 -0.09
    Recv:14:37:22.497: rotMax: 0.00 0.00 0.47
    Recv:14:37:22.497: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:37:22.497: Info:Autoleveling enabled
    Recv:14:37:22.497: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:14:37:22.497: Echo:N22 M320
    Send:14:37:27.152: N23 G28
    Recv:14:37:27.153: minPosOff: -65.09 -100.08 -0.09
    Recv:14:37:27.153: maxPosOff: 458.00 400.00 160.47
    Recv:14:37:27.153: rotMin: -0.09 -0.08 -0.09
    Recv:14:37:27.153: rotMax: 0.00 0.00 0.47
    Recv:14:37:27.153: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:37:27.153: Info:Autoleveling disabled
    Recv:14:37:27.153: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:37:27.204: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:37:27.204: Move DX:0.00 DE:0.00 DY:0.00 DZ:-5.00
    Recv:14:37:27.448: Move CX:-65.00 CY:400.00 CZ:155.00 OX:0.00 l:7.50 f:9.00
    Recv:14:37:27.448: Move DX:0.00 DE:0.00 DY:0.00 DZ:7.50
    Recv:14:37:28.063: Move CX:-65.00 CY:400.00 CZ:162.50 OX:0.00 l:0.56 f:45.00
    Recv:14:37:28.063: Move DX:0.00 DE:0.00 DY:0.00 DZ:-0.56
    Recv:14:37:28.203: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:37:28.203: Move DX:0.00 DE:0.00 DY:-5.00 DZ:0.00
    Recv:14:37:28.411: Move CX:-65.00 CY:395.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:37:28.411: Move DX:0.00 DE:0.00 DY:7.50 DZ:0.00
    Recv:14:37:29.072: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:5.00 f:45.00
    Recv:14:37:29.072: Move DX:5.00 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:37:29.376: Move CX:-60.00 CY:400.00 CZ:160.00 OX:0.00 l:7.50 f:9.00
    Recv:14:37:29.376: Move DX:-7.50 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:37:29.998: Move CX:-67.50 CY:400.00 CZ:160.00 OX:0.00 l:0.09 f:45.00
    Recv:14:37:29.998: Move DX:0.09 DE:0.00 DY:0.00 DZ:0.00
    Recv:14:37:30.105: minPosOff: -65.09 -100.08 -0.09
    Recv:14:37:30.105: maxPosOff: 458.00 400.00 160.47
    Recv:14:37:30.105: rotMin: -0.09 -0.08 -0.09
    Recv:14:37:30.105: rotMax: 0.00 0.00 0.47
    Recv:14:37:30.106: transform: 1.00000 0.00000 0.00057 -0.00000 1.00000 0.00052 -0.00057 -0.00052 1.00000
    Recv:14:37:30.106: Info:Autoleveling enabled
    Recv:14:37:30.106: X:-64.91 Y:400.08 Z:159.828 E:0.0000
    Recv:14:37:30.106: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.39 f:30.00
    Recv:14:37:30.106: Move DX:0.00 DE:0.00 DY:0.00 DZ:0.39
    Recv:14:37:30.184: Move CX:-65.00 CY:400.00 CZ:160.00 OX:0.00 l:0.21 f:30.00
    Recv:14:37:30.184: Move DX:-0.09 DE:0.00 DY:-0.08 DZ:0.17
    Recv:14:37:30.184: Position before select
    Recv:14:37:30.184: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:37:30.184: SelectTool:0
    Recv:14:37:30.239: X:-65.00 Y:400.00 Z:160.000 E:0.0000
    Recv:14:37:30.239: Echo:N23 G28
    --> SUCCESS





  • Ok
    Recv:14:21:48.485: Z-Test failed:160.000015
    Recv:14:21:48.486: zmax:160.000000

    shows clearly it is just a rounding error we have here. Just uploaded a fixed version so no more tests required. You can just use latest version without any changes.
  • Again, thanks a lot!
Sign In or Register to comment.