Small problem in need of fixing



  • Hi,

    I use a "type 5" Z-probe but the current web interface reports it as an unknown type.

    Be nice to fix this.

    Frederick



  • What version of firmware are you using?



  • Let's see…

    The main firmware is 1.18.1

    The WiFi firmware is 1.03-ch

    The WebControl firmware is 1.15a

    Frederick



  • I seem to have misunderstood your question but I found the answer now.
    I think this part in DuetWebControl is outdated, we only have type 1-6 now.
    comm.js
    [c]var probeType;
    switch (status.probe.type) {
    case 0:
    probeType = T("Switch (0)");
    break;
    case 1:
    probeType = T("Unmodulated (1)");
    break;
    case 2:
    probeType = T("Modulated (2)");
    break;
    case 3:
    probeType = T("Alternative (3)");
    break;
    case 4:
    probeType = T("Two Switches (4)");
    break;
    default:
    probeType = T("Unknown ({0})", status.probe.type);
    break;
    [/c]



  • Thanks for the info.

    I may have confused things by calling it a "type 5" which is how it is referenced on the DuetWifi web page for "Machine Properties" whereas the documentation on Z-probes refers to "mode 5".

    So is this something that will likely be fixed in the next release?

    Frederick


Log in to reply