Can't change current for new stepper
-
@dc42 - Any idea why the Machine Properties page isn't updating with the newly assigned currents?
-
@puterpro said in Can't change current for new stepper:
@dc42 - Any idea why the Machine Properties page isn't updating with the newly assigned currents?
I presume it means that page only sends the rr_config command to read the configuration once. If you reload DWC in your browser, it should pick up the new values. You can also send M906 with no parameters from the GCode Console to get a readback of the motor currents.
-
@dc42 said in Can't change current for new stepper:
If you reload DWC in your browser, it should pick up the new values.
Ummmm, nope. That's what I'm reporting. Warm boot or even cold shutdown doesn't change the values.
M906 reports properly. -
Strange, it's working for me:
- Load DWC 1.22.6 by entering the IP address in the browser followed by /reprap.htm (because I normally run DWC 2.0, which has no Machine Properties page)
- Check XYZE currents on Machine Properties page
- Go to GCode Console page and use M906 to change the currents
- Go back to Machine Properties page, the new currents are displayed
EDIT: but if I send the M906 command from the box at the top of the browser window when I am on the Machine Properties page, the displayed current doesn't update until I switch away from the Machine Properties page and back. So it looks like DWC only fetches the motor currents each time I switch to the Machine Properties page.
-
@dc42 - Well, let me check what version of DWC I'm on. If you look up earlier in this thread you'll see a screen grab of what I'm seeing. I just changed the current to E1100 and M906, then rebooted as suggested. I then reloaded the browser page also for fun.
Same problem, M906 displayed correct values, Machine Properties still look like the screenshot above.
EDIT: 0_1555159821794_DWC Info.txt
BTW - You need to fix the title of the RRF 3.0 post.
-
Here's my current setup:
Firmware Name: RepRapFirmware for Duet 2 Maestro
Firmware Electronics: Duet Maestro 1.0
Firmware Version: 2.02RC5(RTOS) (2018-11-28b1)
Web Interface Version: 1.22.5Should I update my Firmware?
-
Yes. 2.02 release and DWC 1.22.6 are current.
-
Thx. Do it later today and report back.
-
@dc42 said in Can't change current for new stepper:
Yes. 2.02 release and DWC 1.22.6 are current
Updated.
(because I normally run DWC 2.0, which has no Machine Properties page)
I misread that.
So Machine Properties is depreciated?
(I found it switching to the old interface after upgrade and the current listed was still wrong).
If it's depreciated I wouldn't have made a discussion of it, I'm not much for beating dead horses!!Thanks! Sorry if it was a time suck I'd never do that to you of all people! Still have a stepper currents Q but I'll separate post it.
-
I'm not sure that the Machine Properties page is deprecated, it may just be that chrishamm hasn't implemented it yet in DWC2. In particular, the facility to see the endstop states is useful.
-
For my part.
If I do not display the current values in the web page, there is a problem with the configuration.For engines that the value does not change, I redo a configuration in another location (in the config.g), I think there are conflicts following the instructions that are used later.
In my case, I had a problem with extruders on the DUEX5, which remained at 0mA, while on the DUET the command worked.
Putting this line further in the code corrected the problem.M906 E800:800 ; Set motor currents (mA);pour test>> necessaire sinon pas de courant du tout