IP address setting
-
@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.