@duetlover
There isn’t a lot of examples. I just cobbled this together for a temperature tower. It needs to use some Constants from the slicer and variables. I have not been able to get the Latest RRF 3.X working well yet. So, I don’t have variables yet, but hear is a Script that worked for me on layer change for the temperature tower:
;
if move.axes[2].machinePosition > 1.3 && move.axes[2].machinePosition < 1.4
echo "machinePosition=", move.axes[2].machinePosition
echo "Setting tempreture to: 240"
M104 S240
elif move.axes[2].machinePosition > 11.0 && move.axes[2].machinePosition < 11.2
echo "machinePosition=", move.axes[2].machinePosition
echo "Setting tempreture to: 245"
M104 S245
elif move.axes[2].machinePosition = 21.0 && move.axes[2].machinePosition < 21.2
echo "machinePosition=", move.axes[2].machinePosition
echo "Setting tempreture to: 250"
M104 S250
elif move.axes[2].machinePosition = 31.0 && move.axes[2].machinePosition < 31.2
echo "machinePosition=", move.axes[2].machinePosition
echo "Setting tempreture to: 255"
M104 S255
;
Sorry, keeps losing the indents
Latest posts made by guywinslow
-
RE: Gcode Meta commands - where to find allowed expressions ?
-
RE: New firmware release 1.17a
I have the same issue as demonio669 Today 18:14. I also tried putting the M226 M25 in my print file and the printer went into a pause states and never ran the Pause macro file. Also i could not get anything to operate till i power cycled. This included sending the M24 command after disconnecting the browser and reconnecting the browser to the printer
-
RE: DuetWiFiFirmware minor release 1.15c
Figured it out, Extruder issues:
M350 X0 Y0 Z0 E0:0 I0 ; Set microstepping mode
looks like my Stepper motors wont do microstepping mode. If i understand the command right. Symptoms noise steppers, Pore Speed control (Extruder). Switching to latest FW
-
RE: Firmware 1.16 released
I installed all three binaries in my printer, and tried a print. Temperature control and fan control a Lot better. But all my stepper motors start and stop now all going in a Strate line. Is there a Configuration change?
[[language]] ; Configuration file for RepRap Ormerod ; RepRapPro Ltd ; M111 S0 ; Debug on M550 PTricolour Mendel WIFI M551 Pgdww1620 M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xEA ; Set the MAC address M552 S1 ; Enable WiFi M555 P2 ; Set output to look like Marlin M575 P1 B57600 S1 ; Comms parameters for PanelDue M906 X800 Y1000 Z800 E800:800 ; Motor currents (mA) M305 P0 R4700 T10000 B3988 ; set bed thermistor parameters M307 H0 A117.7 C395.8 D1.8 B0 ; set Heater 0 PID M307 H1 A662.1 C75.5 D5.9 B0 ; set Heater 1 PID M574 X0 S1 ; Set endstop configuration M574 Y2 S0 ; Set endstop configuration M574 Z0 S1 ; Set endstop configuration M569 P0 S0 ; Set X Axis Direction M569 P1 S1 ; Set Y Axis Direction M569 P2 S0 ; Set Z Axis Direction M569 P3 S0 ; Set E0 Axis Direction M569 P4 S0 ; Set E1 Axis Direction M558 P1 X1 Y0 Z1 ; Set Z probe type M92 X100.25 Y100.25 Z4001.50 E420.00:420.00 ; Set axis steps per unit M570 S180 ; Set heater timeout M667 S0 ; set Cartesian mode M350 X16 Y16 Z16 E16:16 I0 ; Set microstepping mode M563 P0 D0 H1 ; Create tool 0 = Color 1 M563 P1 D1 H1 ; Create tool 1 = Color 2 M563 P2 D2 H1 ; Create tool 2 = Color 3 G10 P0 X00.0 Y0.0 Z0.0 S0 R0 ; Set tool 0 operating and standby temperatures G10 P1 X00.0 Y0.0 Z0.0 S0 R0 ; Set tool 1 operating and standby temperatures G10 P2 X00.0 Y0.0 Z0.0 S0 R0 ; Set tool 2 operating and standby temperatures M106 P2 T45 H1 ; Fan control, Thermostatic on Heater H1 M106 P0 F75 B1 ; Fan control, Cooling fan M572 D0 S0.05 ; Set extruder 0 pressure advance M572 D1 S0.05 ; Set extruder 1 pressure advance M201 X800 Y800 Z15 E1000 ; acceleration tweaks for improved finish M203 X15000 Y15000 Z150 E3600 ; speed tweaks for improved finish M208 X200 Y200 Z120 ; set axis max travel M208 X0.0 Y0.0 Z0.0 S1 ; set axis minimum (adjust to make X=0 the edge of the bed) G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; relative extruder moves G31 P500 Z0.35 ; Set the probe height and threshold PLA = 0.65, ABS = 0.75 T2 M500 ;Store setting in EEPROM
-
RE: Stepper motor Wiring
Hi, was looking for a Wiring forum. I was having trouble with noise getting into my Ste-per motor signals going to my extrude-rs. the result was printing a circle the extruder would over extrude on a then under extrude. I was able to mitigated to and extent with configuration, but it was still there. When i got my new WIFI board i polled the old Duet controller out of my case and put the DuetWIFI board in. this left me with wires that were tin'd with solder, but no connectors. As i was eager to try the board out i Crimped the connectors on my wires and went to get a new configuration setup for my printer. after fighting the issue stated above, i decided to try and old trick we used to use refer-bushing old equipment, and solder the wire Crimped in the connectors. another trick i used (Old Audio trick) was to twist the wire harness wires before reinstalling them. Walla, problem solved. being and older gentlemen, i was reminded of Murphy's law. Go the extra mile when changing or wiring your printer. It will save some time
-
RE: DuetWiFiFirmware minor release 1.15c
The filament would have to have a difference of .75mm to do this.
I went from:
M350 X16 Y16 Z16 E16:16 I1 ; Set microstepping mode, interpolation mode On
to
M350 X16 Y16 Z16 E16:16 I0 ; Set microstepping mode, interpolation mode OffSecond test print cam out OK. looks like its interpolation. Docs on Stepper state it needs a Good Clock pulse. Probably is noise or not up to snuf, it also explanes why its a repeting intervall. Adding to mush plastick then not enuff. All leave interpolation mode switched off
-
RE: DuetWiFiFirmware minor release 1.15c
Was ruining another test print. 4mm x 4mm 75mm square. The over extruding started at about 3mm. Looks like its over extruding, then under extruding. Then go's back to normal for 60mm, then it dos it age-an.
-
RE: DuetWiFiFirmware minor release 1.15c
Same motors, one is the Y axes, heavy mechanism, it gets slope if there the same. will fix the M350 command. I uploaded the Firmware (dc42/Version 1.16 beta 3). noisy in the steeper motors is gone.
-
RE: DuetWiFiFirmware minor release 1.15c
OK, This probably needs to be under the next release of the Firmware (dc42/Version 1.16 beta 2), but i could not find a Blog or forum for it. So hear is the info:
- Ste-per motor noise is down to a Dull rorre (Sounds like a Skipping Hart beet). Its still coming out of extrude motor when i listen to it through a Sc-row driver handle.
Temperature control, the best i can do with Auto-tune is the hot end doing +- 0.3. it is holding that. at lest for the short print times i have been testing.
Going to let this test print finish to see if it finushes.
- Ste-per motor noise is down to a Dull rorre (Sounds like a Skipping Hart beet). Its still coming out of extrude motor when i listen to it through a Sc-row driver handle.
-
RE: DuetWiFiFirmware minor release 1.15c
Ok, Installed the 1.16 Alfa. The Ste-per motor noise is Still there. I did notes its only on coordinated moves. I can calibrate, move the table around and extrude and all is well. But i run a Print and the noise is there. Note - don't get me wrong this is not machanical, its motor drive control