Welcome! Log In Create A New Profile

Advanced

firmware and web upgrade

Posted by redblunt 
firmware and web upgrade
March 30, 2014 06:54AM
hi there comunity,

i just gave birth to my ormerod couple days ago and stumbled
over a couple of problems (using firmware 057a-16-01-2014):

-i know upgrade it but thats a problem of mine too :-)

-so first of all i did the comissioning instructiuons, heating and senosores were fine
coming up to the first print z homing went to low - correcting that it came
up to be to high well - i read upgrade the firmware. but i recognized within
starting the second print try my extruder heater took about 20min to come
up to 172 C° but didnt come up further so whats that?

-my setbed.g does not do anything i suppose there is more to the source code than:
 G30 P0 X61.17 Y0 Z-10
 G30 P1 X61.17 Y179.94 Z-10.89
 G30 P2 X217.14 Y179.94 Z-11.1
 G30 P3 X217.14 Y16.1 Z-10.10


-2nd i tried to upgrade the firmware to dc's latest Y. by exchanging the files in the release folder.
within that i also changed the web application (also changed the ip adress - but totaly messed
up the page - no pictures eg) and the firmware does not response either.

please help me fellows

red (as my ormerod is)
Re: firmware and web upgrade
March 30, 2014 08:53AM
can someone provide me with some links?
what is bossac
a tuzorial for adding ivurns webtemplate



ty red
Re: firmware and web upgrade
March 30, 2014 09:17AM
Hi Red,
take a look
[reprappro.com]
you must download software
[arduino.cc]

Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Re: firmware and web upgrade
March 30, 2014 09:21AM
Quote
redblunt
can someone provide me with some links?
what is bossac

Hi redblunt

I can help you with this part, You will find bossac.exe in your Arduino IDE 1.5.5\hardware\tools folder, notice that when you run bossac it needs the firmware file in the same folder

You can find a bit more about flashing the firmware in this tread:
[forums.reprap.org]

Erik also the red
Re: firmware and web upgrade
March 30, 2014 09:34AM
Quote
redblunt

G30 P0 X61.17 Y0 Z-10
G30 P1 X61.17 Y179.94 Z-10.89
G30 P2 X217.14 Y179.94 Z-11.1
G30 P3 X217.14 Y16.1 Z-10.10

Hey something wrong with you setbed routine Your first point (P0) should always be at zero, here's the documentation, I have truncated/added a bit as to make it more understandable for myself :-):

Quote

Bed Plane Compensation

M561 (make sure that your Ormerod has no compensation set already)

M556 S100 X0 Y0 Z0 (This resets all orthogonal axis compensation to zero)

Decide on a rectangle at the four corners - Good values of X and Y might be X = 60 and 180, Y = 20 and 180
Always put the points in clockwise order round the rectangle

Raise the nozzle to around 10mm above the bed, home the X and Y axes

G1 X60 Y20 (move to pos.)
lower the nozzle to near touchdown
G92 Z0 (to set this point as Z=0)
write down Z coordinate value = 0
G30 P0 (records the current nozzle position as the 1. point for the bed compensation calculation)
Raise Z by two or three mm

G1 X60 Y180 (move to pos.)
lower the nozzle to near touchdown
M114 (to read Z coordinate value - or in Pronterface, press ‘GET POS’)
write down Z coordinate value = ?
G30 P1 (records the current nozzle position as the 2. point for the bed compensation calculation)
Raise Z by two or three mm

G1 X180 Y180 (move to pos.)
lower the nozzle to near touchdown
M114 (to read Z coordinate value - or in Pronterface, press ‘GET POS’)
write down Z coordinate value = ?
G30 P2 (records the current nozzle position as the 3. point for the bed compensation calculation)
Raise Z by two or three mm

G1 X180 Y20 (move to pos.)
lower the nozzle to near touchdown
M114 (to read Z coordinate value - or in Pronterface, press ‘GET POS’)
write down Z coordinate value = ?
G30 P3 S (records the current nozzle position as the 4. and final point - ‘S’ tells the system to calculate the equation to do the bed compensation)

leave the nozzle just above the bed and run the G Code file CIRCLE.G (should be on the SD card)
This will run the machine in a big circle at the current height
Z axis drive screw rotating is the compensation in action.

----------------------------------------------------------------------------------------

You can put the Z readings you jotted down in a file so you don’t have to do this every time the machine is run. Say the Z readings were 0.0, -0.3, 0.2, -0.5. Then use a text editor to create a file called setbed.g containing:

G30 P0 X60 Y20 Z0.0

G30 P1 X60 Y180 Z-0.3

G30 P2 X180 Y180 Z0.2

G30 P3 X180 Y20 Z-0.5 S

Put setbed.g in the gcodes folder on your SD card. (It is best not to put the G30s in config.g. If you do that the machine won’t be in its standard state when it powers up.)

To set the bed compensation, just run setbed.g as if it were a file to print.

Erik
Re: firmware and web upgrade
March 30, 2014 01:59PM
thank you Erik and Dario read both your first to posts and executed them. dc s y firmware is up and running!
starting the calibration now. reporting back when finished


red
KP
Re: firmware and web upgrade
March 30, 2014 02:21PM
I don't know if you realised it from reading Eriks post but your setbed.g is missing the 'S' from the end of the P3 line, that's why it does nothing.


Kev.
Re: firmware and web upgrade
March 30, 2014 03:03PM
thanks again Erik for your reinterpretation of the documentation i just did it.

so following up and continuing with my questions:

1. in the setbed.g is my code line A this:
 
 G30 P0 X60 Y0 Z0.0
 G30 P1 X60 Y170 Z-0.9
 G30 P2 X220 Y170 Z-1.0
 G30 P3 X220 Y0 Z0.0
or B this:
 M561; no compensation already
 M556 S100 X0 Y0 Z0; zeroes all orthogonal compensation

 G30 P0 X60 Y0 Z0.0
 G30 P1 X60 Y170 Z-0.9
 G30 P2 X220 Y170 Z-1.0
 G30 P3 X220 Y0 Z0.0

2. as shown in your documentation above the command "G30 P0" tells the firmware were to fire the sensore
does it also save the results? or will it only be available till i restart the duet?

3. if i load that file over pronterface is it writen to the sd card or do i have to upload it by shunting down and
taking the sd out of the duet?
4. will the homing procedure home eg x to its total dead end or would it home to the point were its told to be
at the total end

red
Re: firmware and web upgrade
March 30, 2014 03:06PM
i forgot question number five and six:

5. how to stop the http feeds pronterface gets? or can i only do that with arduino?

6. is there a way to dead stop the printing cause with the standard webinterface i can only pause it
or do i have to reset with pronterface/arduino

Edited 1 time(s). Last edit at 03/30/2014 03:20PM by redblunt.


Red Ormerod No. 281

Mods:
-My Bedsupport Mk2
-My upper z mount
-Davek0974s Aluminium X-Rib
-iamburnys Z Gears
-Form232-teks Cthulhu cooling ductg
-MasonStonehenges spring-loaded extruder

RepRapFirmware-0.78k-dc42,
web interface 0.99, Win7
Re: firmware and web upgrade
March 30, 2014 03:51PM
Quote
redblunt
thanks again Erik for your reinterpretation of the documentation i just did it.

so following up and continuing with my questions:

1. in the setbed.g is my code line A this:
 
 G30 P0 X60 Y0 Z0.0
 G30 P1 X60 Y170 Z-0.9
 G30 P2 X220 Y170 Z-1.0
 G30 P3 X220 Y0 Z0.0 S


Yes like that, but as KP kindly noted, you was missing the "S" in the end of the last line (‘S’ tells the system to calculate the equation to do the bed compensation) - if you don't ad the "S" the sedbed.g file will do no bed compensation at all

Quote

2. as shown in your documentation above the command "G30 P0" tells the firmware were to fire the sensore
does it also save the results? or will it only be available till i restart the duet?

It will just hang in memory, so yes you will have to "print" (run) the setbed.g after restart

Quote

3. if i load that file over pronterface is it writen to the sd card or do i have to upload it by shunting down and
taking the sd out of the duet?

You can load the file in pronterface and then chose upload to SD-card, it will then end up in the gcodes folder with your other print files

Quote

4. will the homing procedure home eg x to its total dead end or would it home to the point were its told to be
at the total end

I'm not sure if I understand you correct but the the homing position of the axis's is defined in homez.g, homex.g and homey.g in the sys folder of you SD-card

Hope someone else will chip in..and of cause correct me If I'm wrong - I don't run any bed compensation myself as my bed now is mechanically stable

Erik
Re: firmware and web upgrade
March 30, 2014 03:58PM
The answer to question 5 is either to remove the command M111 S1 from config.g, or send M111 S0 from Pronterface.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: firmware and web upgrade
March 30, 2014 04:06PM
thanks again to you Erik, the answeres were very iluminating after i took a closer look at the home files :-)

also thanks to you dc!

Edited 1 time(s). Last edit at 03/30/2014 04:36PM by redblunt.


Red Ormerod No. 281

Mods:
-My Bedsupport Mk2
-My upper z mount
-Davek0974s Aluminium X-Rib
-iamburnys Z Gears
-Form232-teks Cthulhu cooling ductg
-MasonStonehenges spring-loaded extruder

RepRapFirmware-0.78k-dc42,
web interface 0.99, Win7
Re: firmware and web upgrade
March 30, 2014 04:39PM
If it would help, I can change the firmware to store the G30 Pxxx values in flash memory, so that they will be remembered. But they would still get erased whenever you update the firmware, because there is no EEPROM memory separate from the flash on the Duet board.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: firmware and web upgrade
March 30, 2014 04:57PM
thank you very much dc,
i appreciate your effort and offer - dont know wether to answere yes or no.
right now at least im fine, i need to learn more about the machine itself
before you code to much comfort in it :-)


sincerely red


Red Ormerod No. 281

Mods:
-My Bedsupport Mk2
-My upper z mount
-Davek0974s Aluminium X-Rib
-iamburnys Z Gears
-Form232-teks Cthulhu cooling ductg
-MasonStonehenges spring-loaded extruder

RepRapFirmware-0.78k-dc42,
web interface 0.99, Win7
Re: firmware and web upgrade
March 30, 2014 05:04PM
back to question 5:

with the M111 S0 command i kill all feeds of the duet also how
can i still get the heating infos?
Re: firmware and web upgrade
March 30, 2014 05:20PM
question 7:

now that i am ready to start my first print i zero z and run my setbed (who long does it take to finish? ran from the webserver it gets stuck did it manually then) so im set up to run ormaxis.g first the x axis move i think then the z axis sets down and crashes in the bed
Re: firmware and web upgrade
March 30, 2014 05:44PM
If the z axis is crashing into the bed, it probably means that you don't have the right M558 command in config.g or your G31 parameters are incorrect. You may wish to comment the G28 homing commands out of ormaxis.g and home manually before printing.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: firmware and web upgrade
March 30, 2014 05:58PM
my config.g

; RepRapPro Ormerod
; Standard configuration G Codes
M111 S1; 
Debug on
M550 POrmerod
;Set the machine's name

M551 Preprap;Set the password

M552 P192.168.178.55;Set the IP address

M553 P255.255.255.0; Set netmask

M554 P192.168.178.1;Set the gateway

M555 P2;Emulate Marlin USB output

M92 E420;Set extruder steps/mm

G21 ;Work in mm

G90 ;Absolute positioning

M83 ; Extrusions relative

M558 P1; Turn Z Probe on

G31 Z1.40 P684 ; Set Z probe height and threshold

M906 X800 Y800 Z800 E800 ; 
Motor currents (mA)
T0 ; 
Select extruder 0
M557 P0 X0 Y0

i homed manualy no success
i also recalibrated the zprobe no success
Re: firmware and web upgrade
March 30, 2014 06:20PM
also tried printing from pronterface z crashes too.
i set G92 Z0 when the extruder was 5mm above the bed
also crashed - so it must be config or the sensor (says my mind)

when i start the print the z probe goes down fast (1 steps i guess)
when its nearly touching the bed it goes down slow (0.1 steps)
at this point its starts pusching down the bed and suddenly
z speeds up again to hit the bed witch (1step speed)

i know that the speed is messured differently still thats how it feels
Re: firmware and web upgrade
March 30, 2014 06:53PM
ill open up a new topic for the crashing case because the head line doesnt fit anymore

moved to: http://forums.reprap.org/posting.php?340

so please admin close
Sorry, only registered users may post in this forum.

Click here to login