Small problem in need of fixing

Avatar

By fcwilt 20 April 2017 04:21

Member · 24 comments

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


Hardware: He3D K200, AnyCubic K2, Afinibot A2 (all mini-kossels) - all soon to be equipped with DuetWiFi

Avatar

By Jackal 20 April 2017 04:39

Member · 116 comments

What version of firmware are you using?

Avatar

By fcwilt 20 April 2017 06:26

Member · 24 comments

Let's see...

The main firmware is 1.18.1

The WiFi firmware is 1.03-ch

The WebControl firmware is 1.15a

Frederick


Hardware: He3D K200, AnyCubic K2, Afinibot A2 (all mini-kossels) - all soon to be equipped with DuetWiFi

Avatar

By Jackal 20 April 2017 09:33

Member · 116 comments

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
                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;

Avatar

By fcwilt 20 April 2017 17:44

Member · 24 comments

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


Hardware: He3D K200, AnyCubic K2, Afinibot A2 (all mini-kossels) - all soon to be equipped with DuetWiFi