Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to flash repetier to your Da Vinci printer video tut
#21
It was a setting in Repetier Host. Octoprint doesn't have that setting and it just seems to work. I know cura has the ability to communicate with the printer but I've never used it so I'm not sure what luck you will have with that. You could try slicing in S3D and printing with repetier or from SD card to help rule out software issues.
Reply
#22
Please share your start and end gcode! Smile
Reply
#23
So I got Octoprint running on a buddies PI and it works!

I still wish I could find out why I can't print straight from RH or S3D.

But at least I am up and running again.
Reply
#24
Here is the start and end code I use with Simplify3D.

; START code
M300 s1500 p400 ; Beep
M300 s1000 p400 ; Beep
M117 Wait for temp!
M116 ; Wait for set temperatures of Extruder & Bed
M300 s1000 p400 ; Beep
M300 s1500 p400 ; Beep
M117 Cleaning
M100 ; Cleaning
G1 Y180 ; Move right front for hand cleaning
G1 Z 10 ; Lower bed
G1 X 10 ; Move head over bed
M117 Printing
; END of start code

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

; END code
M104 S0 ; turn off Extruder
M140 S0 ; turn off Bed
G90 ; Absolute (program 0)
M117 Cleaning Head
M100 ;Cleaning
M117 Lowering Bed
G1 Z130 ; Lower bed
M300 s2500 p400 ; Beep
M300 s2000 p400 ; Beep
M300 s2500 p400 ; Beep
M300 s2000 p400 ; Beep
M84 ; disable stepper motors
M117 Printer Ready
; END code
Reply
#25
Thanks for your code, I was not aware of the beep one.
However, I see that you do not home the axes 1st and I think it is important before a print.
I finally got a great print, no error by printing from a sdhc wireless card.
Here are my start and end codes;
===start===
G28 ; Home all axes
M104 S220 ; Set nozzle temp no wait gets things heated up at same time
M190 S95 ; Set bed temp wait
M109 S220 ; Set nozzle temp wait
===========
---END---
M103 ; turn off extruder and retraction
G28 X0 Y0 ; home X and Y axis
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
M107 ; turn off fan
M127 ; turn off valve
M84 ; disable motors
---------

I will add the beep next and maybe the cleaning one if I mod the wipers because so far they are useless.
I would still appreciate if someone found a fix for printing via usb.
regards
Reply
#26
Sorry I may be late for answering but I was out of grid last 24h
in S3D you do not need any temperature control in start code
all is handled by temperature controller - if you do not check the check box "wait for temperature controller to stailize ....." of course printing will start at wrong temperature

the only control you can add is to stop all in end code but no more




here my start/end code for reference - they are for one extruder the default one used if you use 2 just need to stop both extrudersin end code
;Start
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
G28 ; Home extruder
G1 Z15.0 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
M100
G4 P2
;Indiana
M300 S1318 P240
M300 S0 P120
M300 S1396 P120
M300 S1567 P120
M300 S0 P120
M300 S2093 P960
M300 S0 P120
M300 S1174 P240
M300 S0 P120
M300 S1318 P120
M300 S1396 P960
M300 S0 P240
M300 S1567 P240
M300 S0 P120
M300 S880 P120
M300 S987 P120
M300 S0 P120
M300 S2793 P960
M300 S0 P240
M300 S880 P240
M300 S0 P120
M300 S987 P120
M300 S2093 P480
M300 S2349 P480
M300 S2637 P480




;end
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle
to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F150 ;move Z up a bit and retract filament even more
M100
G28 X0 Y0 ;move X/Y to min endstops
so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
;FunkyTown
M300 S2093 P240
M300 S2093 P240
M300 S932 P240
M300 S2093 P240
M300 S0 P240
M300 S1567 P240
M300 S0 P240
M300 S1567 P240
M300 S2093 P240
M300 S2793 P240
M300 S2637 P240
M300 S2093 P240
M300 S0 P960

PS: for repetier host / cura you must specify for which extruder, if you have more than one , for heat but they have macro for this[Image: S3D.jpg]
Reply
#27
apc7654 : I think - this thread cover all
https://forum.voltivo.com/showthread.php?tid=8333
Reply
#28
Your right, I forgot about those settings in s3d.

And I like your music code, now we need an audio output to the stereo system. lol

Quote:Sorry I may be late for answering but I was out of grid last 24h
in S3D you do not need any temperature control in start code
all is handled by temperature controller - if you do not check the check box "wait for temperature controller to stailize ....." of course printing will start at wrong temperature

the only control you can add is to stop all in end code but no more




here my start/end code for reference - they are for one extruder the default one used if you use 2 just need to stop both extrudersin end code
;Start
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
G28 ; Home extruder
G1 Z15.0 ;move the platform down 15mm
G92 E0 ;zero the extruded length
G1 F200 E3 ;extrude 3mm of feed stock
G92 E0 ;zero the extruded length again
M100
G4 P2
;Indiana
M300 S1318 P240
M300 S0 P120
M300 S1396 P120
M300 S1567 P120
M300 S0 P120
M300 S2093 P960
M300 S0 P120
M300 S1174 P240
M300 S0 P120
M300 S1318 P120
M300 S1396 P960
M300 S0 P240
M300 S1567 P240
M300 S0 P120
M300 S880 P120
M300 S987 P120
M300 S0 P120
M300 S2793 P960
M300 S0 P240
M300 S880 P240
M300 S0 P120
M300 S987 P120
M300 S2093 P480
M300 S2349 P480
M300 S2637 P480




;end
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle
to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F150 ;move Z up a bit and retract filament even more
M100
G28 X0 Y0 ;move X/Y to min endstops
so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
;FunkyTown
M300 S2093 P240
M300 S2093 P240
M300 S932 P240
M300 S2093 P240
M300 S0 P240
M300 S1567 P240
M300 S0 P240
M300 S1567 P240
M300 S2093 P240
M300 S2793 P240
M300 S2637 P240
M300 S2093 P240
M300 S0 P960

PS: for repetier host / cura you must specify for which extruder, if you have more than one , for heat but they have macro for this
Reply
#29
if you like you should try http://ddrboxman.github.io/RepRapRingtone/
and get some rttl here http://www.picaxe.com/RTTTL-Ringtones-for-Tune-Command/
Reply
#30
Lol, music is legit, I heard indiana jones and loved it Smile (canceled it before ending because it was calibration print, so I didn't hear funky town)

Oh, and, BTW, printing now works for me with these settings (the plastic wouldn't stick by default), although bed and nozzle don't heat up at the same time. Will try to combine you start GCODE with other people's versions.
Reply
#31
Hi,
you made me laugh with the songs !
Some questions;
1- When you lower the bed in the starting G-Code, I suppose that it comes back at the right place just before printing ?
2- Why are G21, G90 and M82 important ?
3- What are M100 and G4 (dwell?) for ?

Thank you
Reply
#32
Mike have a look to repetier.ino of fw, all gcode commands are described on it
Reply
#33
Thanks Luc,
Good resource, so M100 = clean nozzle.
And about the bed lowering, I would guess that it will come back up from the 1st layer code of the object ?
I'm sorry if it sounds like dumb question but I'm very new to all about g-code. I search the web before asking but it's the jungle out there.
Thanks for your time.
Regards
Reply
#34
No it do not go "back" to first layer as first layer did not started yet
all gcode done in start script is done before any first layer printing start

it go to first layer position after start code is executed,
first layer set X Y and Z position what ever was done before
you can check by saving your GCODE and open it in text editor
Reply
#35
Thanks, I appreciate your help.
Reply
#36
reading generated GCODE is very educative and slicer add generally lot of comments for readability
Reply
#37
Thread made sticky per your request.

Kieth
Reply
#38
Thanks a lot Keith - it will facilitate the search for a lot of people
Reply
#39
Hi Luc,

First and foremost, thank you for all your work and posts, I would never have managed to flash my XYZ without you.

A couple of questions if you dont mind:
In you end code you have this "G1 E-1 F300 ;retract the filament a bit before lifting the nozzle
to release some of the pressure" What is meant by 'lifting the nozzle' I didn't know the nozzle could change height.
The reason for my question is that I am having trouble getting the Z-offset to bring the bed high enough to get good first layer adhesion.
My bed is calibrate with a 0,05 feeler gauge. Z-offset has gradually been increased, so far it set to -0.4. This shows the bet at -0.5 when print starts, yet the filament still doesn't 'spread'

Could I safely use your codes with Slic3r or Cura?
Reply
#40
so far I always used Zoffset=0 in slicer and zmin/zhome=0 not sure my settings will help
I do not use auto bed and do the manual bed leveling with a sheet of paper

about lifting noozle, it is to avoid some filament go down by gravity because in hot hotend so it is melted, nothing related to noozle position.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)