I think I have been able to solve it by forcing it to connect to the network I want, adding the command M552 S1 "My network".
Before I only had the M552 S1 command, without the network.
Thanks for your time and help. I hope this can help others who have the same problem.
Best posts made by amimafe
-
RE: DUET2 does not connect
-
RE: Record printing temperature and humidity
Gracias por tu ayuda. Me diste una pista de cual era el fallo y finalmente lo he podido solucionar. Era un error al indicar el número de sensor que quería.
Revisé el archivo config.g y lo configuré correctamente.Declaración de los sensores en config.g:
;DHT Sensor on Temperature Daughterboard SPI CS1 pin M308 S10 P"0.spi.cs1" Y"dht22" A"Temperatura" ; define DHT22 temperature sensor M308 S11 P"S10.1" Y"dht-humidity" A"Humedad [%]" ; Attach DHT22 humidity sensor to secondary output of temperature sensor
daemon.g:
if !exists(global.logTemps) global logTemps = false while global.logTemps ==true && job.file.fileName != null echo >>{"0:/sys/templog/templog.csv"} {sensors.analog[10].lastReading}^","^{sensors.analog[11].lastReading} G4 S30
Latest posts made by amimafe
-
RE: Layer change detection job.layer
The slicers we use add a comment on the layer changes that DUET2 recognizes.
-
RE: Layer change detection job.layer
Hi @dc42 ,
I read the postRe: Job.Layer not working anymore with 3.3rc2 and wanted to do something similar. Execute a command at each layer change. Entering the layer change comment with the laminator would not be a problem.
Is there still an option? I tried to do it with creating a variable and assigning it the job.layer value to compare with its current values but it doesn't work.
The idea was to make everything more compact with the duet firmware.Thanks again
-
RE: Layer change detection job.layer
Hi @fcwilt ,
Yes, that's the other option I had thought of, but I preferred to do it by daemon.g and if a third party manages the machine, everything is integrated with the firmware.
Thank you.
-
Layer change detection job.layer
Hi,
I have been editing daemon.g to save several values during printing in a .csv file.
I have managed to get it to work correctly and it saves them according to the time I set with the G4 command.
What I want to do now is to save the variables once per layer. I have been testing with the object "job.layer" but I have not been able to do it.
Could you give me a solution?
I have thought to create a macro that is executed in each layer change calling it from the laminator, but I would like more to execute it from daemon.gThanks
-
RE: Record printing temperature and humidity
Gracias por tu ayuda. Me diste una pista de cual era el fallo y finalmente lo he podido solucionar. Era un error al indicar el número de sensor que quería.
Revisé el archivo config.g y lo configuré correctamente.Declaración de los sensores en config.g:
;DHT Sensor on Temperature Daughterboard SPI CS1 pin M308 S10 P"0.spi.cs1" Y"dht22" A"Temperatura" ; define DHT22 temperature sensor M308 S11 P"S10.1" Y"dht-humidity" A"Humedad [%]" ; Attach DHT22 humidity sensor to secondary output of temperature sensor
daemon.g:
if !exists(global.logTemps) global logTemps = false while global.logTemps ==true && job.file.fileName != null echo >>{"0:/sys/templog/templog.csv"} {sensors.analog[10].lastReading}^","^{sensors.analog[11].lastReading} G4 S30
-
RE: Record printing temperature and humidity
Thanks for your quick response.
Daemon.g modified:
if !exists(global.logTemps) global logTemps = false while global.logTemps ==true && job.file.fileName != null echo >>{"0:/templog/templog.csv"} {state.time}^","^{sensors.analog[0].dht22.lastReading}^","^{sensors.analog[0].dht-humidity.lastReading} G4 S1
I get the following error:
Error: in file macro line 5 column 57: meta command: reached null object before end of selector string
-
RE: Minimum distance for accelerations
Hello,
I have done a lot of tests to find the optimal Jerk setting but I can't find it.
I need that for closed angles like 45º the Jerk is lower to avoid abrupt speed changes and for more open angles like 160º-180º I don't apply the Jerk and continue at constant speed.Is this possible? With meta commands this could be done?
Thanks!
-
Record printing temperature and humidity
Hi,
I am trying to edit daemon.g to make a log of a DHT22 sensor among other data. (Re: while-loop to track temperature)
I manage to create the .csv file but I always get the same error on line 5:Error: in file macro line 5 column 72: meta command: expected an expression
I am missing some number between the []?
I attach the code of my daemon.g:if !exists(global.logTemps) global logTemps = false while global.logTemps ==true && job.file.fileName != null echo >>{"0:/templog/templog.csv"} {state.time}^","^{sensors.analog[].dht22.lastReading}^","^{sensors.analog[].dht-humidity.lastReading} G4 S1
Thanks!
-
Minimum distance for accelerations
Good morning,
I have a large format printer with DUET2 WIFI and we have noticed that when the models to be printed have many short distances the machine makes many accelerations and decelerations. Is there any way to configure duet not to accelerate or decelerate if there is no minimum printing distance?
Thank you!
-
RE: Error npm run serve
@chrishamm Thanks for your help. I was finally able to compile using an older version of Node.js. Version 18.18
I want to modify some DWC parameters to suit our machine.
I hope this can help other users with the same problem.