@dc42 Thank you very much it works, I had to reread the Documentation to remember to use two double quotes to add a double quote to a string, to set globals in a datetime format.

Best posts made by modl
-
RE: Questions regarding various job time
Latest posts made by modl
-
RE: Questions regarding various job time
@dc42 Thank you very much it works, I had to reread the Documentation to remember to use two double quotes to add a double quote to a string, to set globals in a datetime format.
-
RE: Questions regarding various job time
i think I have my answer after some testing: no, global variables are not persistent when there is a power failure or emergency cut off. Anyway this can be done ? Like written to a single file using echo and read later ? Can i read strings from another file inside a macro ?
-
RE: Questions regarding various job time
Thank you both for your answers I'll work with this in mind for now.
@dc42 if i set a start date time in the start macro , will it be persistent after machine is powered off, or there is a powerfailure ?
-
Questions regarding various job time
Hi everyone
I have a few questions I couldn't find an answer for in the different documentations and changelogs.-
Does job.pauseDuration account for time that passed while the machine was off after a pause. e.g. if i pause my print, wait for 1mn , shut down the printer for 1 minute, then switch the printer back on and resume the print, will job.pauseDuration report 60 or 120 ?
-
Is there a way to store the start date and time of a print using a macro, as a global variable, at the beginning of a print for later access and operations in other macros ?
-
Does job.timesLeft.file use simulation mode? Will it take into account pause times determined by a macro ?
Thank you in advance
Best
-
-
RE: Input shaping doesn't seem to affect Y axis
@droftarts thank you for your response !
Here is my config
; Configuration file for Duet 3 MB 6HC (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.15 on Mon Jan 09 2023 14:50:13 GMT+0100 (Central European Standard Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"cbmp" ; set printer name ; Network M552 P192.168.1.14 S1 ; disable Telnet ; Drives M569 P0.2 S1 M569 P0.3 S1 ; physical drive 0.2 goes forwards M569 P0.4 S1 ; physical drive 0.3 goes forwards M569 P0.5 S0 ; physical drive 0.5 goes backwards M569 P0.0 S1 ; physical drive 0.0 goes forwards M569 P0.1 S0 ; physical drive 0.1 goes forwards M584 X0.2 Y0.3:0.4 Z0.5 E0.0:0.1 ; set drive mapping M350 X16 Y16 Z16 E16:16 I1 ; configure microstepping with interpolation M92 X64.00 Y64.00 Z1600.00 E415.00:415.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z280.00 E1200.00:1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z40 E250.00:250.00 ; set accelerations (mm/s^2) M906 X2500 Y2500 Z2500 E600:600 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X355 Y995 Z355 S0 ; set axis maxima ; Endstops M574 X1 S1 P"io0.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in M574 Y1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in ; Z-Probe M950 S0 C"io4.out" ; create servo pin 0 for BLTouch M558 P9 C"io4.in" H5 F120 T6000 R0.3 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X0 Y25 Z4.3 ; set Z probe trigger value, offset and trigger height M556 S50 X0 Y0 Z0 ; set orthogonal axis compensation parameters M557 X2:353 Y26:995 S50 ; define mesh grid M376 H10 ; Heaters M308 S0 P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp2 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 R0.591 K0.132:0.000 D6.17 E1.35 S1.00 B0 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp0 M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 R2.419 K0.333:0.000 D5.21 E1.35 S1.00 B0 V23.8 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C M308 S2 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin temp1 M950 H2 C"out2" T2 ; create nozzle heater output on out2 and map it to sensor 2 M307 H2 R2.509 K0.345:0.000 D4.78 E1.35 S1.00 B0 V23.8 ; disable bang-bang mode for heater and set PWM limit M143 H2 S280 ; set temperature limit for heater 2 to 280C ; Fans M950 F0 C"out3" Q0 ; create fan 0 on pin out9 and set its frequency M106 P0 S1 H1:2 T100 ; set fan 0 value. Thermostatic control is turned on M950 F1 C"out7" Q0 M106 P1 S0 H-1 M106 P1 F0 M950 F2 C"out8" Q0 M106 P2 S0 H-1 M106 P2 F0 ; Tools ; set mixing ratios for tool 2 M563 P0 S"Right Extruder" D0 H1 F1:2 ; define tool 0 G10 P0 X-10 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C M563 P1 S"Left Extruder" D1 H2 F1:2 ; define tool 1 G10 P1 X10 Y0 Z0 ; set tool 1 axis offsets G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C ; Accelerometer M955 P0 C"spi.cs3+spi.cs2"; all wires connected to temp DB connector M955 P0 I50 S1344 R10 ; define accelerometer orientation M593 P"ZVDD" F65 ; Custom settings are not defined ; Miscellaneous M911 S22.5 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
And M115 response
M115 FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.4.4 ELECTRONICS: Duet 3 MB6HC v1.01 FIRMWARE_DATE: 2022-10-20 16:19:01
Yes i have double checked the orientation, accelero +x = machine +x ; accelero +z = machine -y
M593 P parameter is temporary i was playing around with it, but 66hz is what i get all the time
-
Input shaping doesn't seem to affect Y axis
Hello everyone,
I have installed and wired an LIS3DH accelerometer from Adafruit, got it to work and am able to capture data both with M956 or via the Input Shaping plugin.
However when applying any of the shapers and recapturing a motion profile, i do see a reduction in ringing for the X and Z values , but Y doesn't change or even gets worse.Y axis is driven by two steppers on two seperate drivers could it be the reason ?
Thank you in advance
Best
-
Resurrect.g questions
Hi everyone, I would like the resuming of a print after an accidental switch off or blackout to be automated. It needs to work of the power has been shut or the print paused multiple times in a row. I guess I can call M916 in config.g if resurrect.g exists. But in order for it to not trigger when i start a new print, it means i should delete or rename resurrect.g at the end of the print ? Or rename it right after it has been executed ? Both ?
Also I'm not very good at electronics and would appreciate if someone could explain to me how to wire the capacitor as per this statement "Adding a 10000uF capacitor across the VIN rail can help increase the amount of stored power " in https://docs.duet3d.com/en/User_manual/Tuning/ResumeI have tested my setup and the resurrect seems to work, it seems like i don't need to home z as my lead screw has a 2mm pitch, i'll need to tune the settings and maybe add a high endstop to z but i'm not to worried about this part.
Thank you in advance
Best -
RE: BLTouch not really working
It was actually pretty fast, and the driver is doing fine
-
RE: BLTouch not really working
@jay_s_uk OK I'll try that. Again thank you very much!