IP address setting
-
@Phaedrux
m122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet Ethernet 1.02 or later + DueX5
Board ID: 08DGM-917DA-G4MSJ-6J9D6-3SJ6T-19R38
Used output buffers: 1 of 26 (11 max)
=== RTOS ===
Static ram: 23836
Dynamic ram: 69932 of which 200 recycled
Never used RAM 18040, free system stack 152 words
Tasks: NETWORK(ready,10.5%,237) HEAT(notifyWait,0.0%,388) Move(notifyWait,0.0%,312) DUEX(notifyWait,0.0%,24) MAIN(running,88.9%,512) IDLE(ready,0.6%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:01:43 ago, cause: software
Last software reset at 2023-08-01 13:25, reason: User, GCodes spinning, available RAM 18040, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Step timer max interval 0
MCU temperature: min 28.7, current 30.2, max 30.6
Supply voltage: min 23.9, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min n/a
Driver 1: standstill, SG min n/a
Driver 2: standstill, SG min 0
Driver 3: standstill, SG min n/a
Driver 4: standstill, SG min n/a
Driver 5: standstill, SG min n/a
Driver 6: standstill, SG min n/a
Driver 7: standstill, SG min n/a
Driver 8: standstill, SG min n/a
Driver 9: standstill, SG min n/a
Driver 10:
Driver 11:
Date/time: 2023-08-01 13:27:12
Cache data hit count 3532371458
Slowest loop: 60.49ms; fastest: 0.18ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 1.0ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 3, maxWait 139ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 1, completed 1, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== DueX ===
Read count 1, 0.58 reads/min
=== Network ===
Slowest loop: 7.32ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
Interface state active, link 100Mbps full duplex -
@Phaedrux
SD card is correctly inserted because when I change the config its saved safely, I dont think that this is the problem. thank you for quick response. -
Please share your full config.g
Also please send M98 P"config.g" and share any errors that occur.
-
@Phaedrux hey
now I am getting the error "Your Duet rejected the HTTP request: page not found
Check that the SD card is mounted and has the correct files in its /www folder"I've took out the sd card from printer and put it into my computer, there is no problem with files.
here is the config
config.g -
@Phaedrux M98 P"config.g"
Error: Failed to enable endstops -
@Phaedrux there was no problem with the endstops before I had a sd card error, now the printer doesnt see the endstops but I didnt change anything and it was working.
Also I delete the config.g from sd card and add it back, now I dont have the error "Your Duet rejected the HTTP request: page not found
Check that the SD card is mounted and has the correct files in its /www folder" -
@Phaedrux I am sending the m119, it says no endstop for every endstop.
but when I touch the endstops the lights go on and off.I touch the y endstop and send m119 again it is still no endstop. what is the problem?
-
@siladeniz Your config.g has this at the start before any settings or commands. M98 P/macros/print_start.g.
I don't know what your macro "print_start.g" does, but calling it before configuring anything can only be a bad idea. Suggest you comment it out or delete it.
-
@deckingman oh it was for prepare the printer to print like heating the bed, bed leveling etc. it is not related with my problem
-
@siladeniz When you apply power to the printer, the first thing it does is read the contents of config.g and carry out those commands in sequential order. According to the config.g file you posted, the first commands are to set the absolute and relative coordinates preferences and the printer name and kinematics type. The next command is to run the macro entitled "print_start" which you say is used to heat the bed, level the bed etc. How do you expect to heat the ed if the bed heater hasn't yet been defined? How do you expect to level the bed if the bed motors haven't been defined or mapped to any axes? To level the bed, your macro must also home the printer so how do you expect to home the machine if the end stops haven't yet been defined? Why do you think none of this is related to your problems?
-
This post is deleted! -
@deckingman because my macros were working before I got SD card problem, and the endstops were enable.
and here is the start macro, as you can see everything is defined
-
@siladeniz said in IP address setting:
print_start.g
You can't run this macro before config.g. config.g tells the firmware about your printer hardware. It needs to execute first.
If you really wanted you could add print_start.g to the end of config.g but that it also probably a bad idea because you don't really want the printer to start moving immediately at power on. What if you're mid print and have a power failure? Or need to press emergency stop. Do you really want the printer to home immediately at that point with a print on the bed?
-
@siladeniz said in IP address setting:
"Your Duet rejected the HTTP request: page not found
Check that the SD card is mounted and has the correct files in its /www folder"This usually means that you don't have to correct files for DWC in the www folder on the root of the SD card.
Download this zip file and extract it into the www folder on your SD card.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.5/DuetWebControl-SD.zip
-
This post is deleted! -
@Phaedrux I did what you wanted and it worked for once now I cant reach the BLV, and I checked the IP address from pronter face it is correct
-
@siladeniz also when it worked it send an error: Warning: Driver 1 warning: phase A may be disconnected, phase B may be disconnected
-
M554 P192.168.1.0 ; Set default Gateway
Is 192.168.1.0 actually your router IP address? Usually it would be 192.168.1.1 not 0
If you comment out these commands
M552 P192.168.1.254 ; set IP Address M553 P255.255.255.0 ; set Netmask M554 P192.168.1.0 ; Set default Gateway
And let the Duet try to obtain a DHCP address does it successfully get an address?
Are you still trying to run print_start.g at the beginning of your config.g?
-
M350 X128 Y128 Z128:128:128 E128:128 I1 ; configure microstepping with interpolation M92 X1600 Y1600 Z12800:12800:12800 E3936:6400 ; steps per mm E1:800 E2:837 M566 X540 Y540 Z56:56:56 E480:480 ; maximum instantaneous speed changes mm/min M203 X10000 Y10000 Z1800:1800:1800 E15000:15000 ; maximum speeds (mm/s) M201 X2000 Y2000 Z100:100:100 E1000:3000 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z800 E800 I50 ; set motor currents (mA) and idle %
You should remove the extra parameters from the Z axis. You only need to set the settings for the axis once rather than each motor.
example: Z100100 should be just Z100
Extruders are different and must be set for each extruder motor since they are independant.