You are not logged in.

#1 2016-03-16 21:56:27

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Gcode Guide

nanoDLP's gcode design goal is to provide both synchronized movement and position recovery after crashes.

Both zero level at bottom and and at top supported but as RAMPS boards' zero point is at the bottom our sample will concentrate on that.

RAMPS with Marlin/Grbl patched firmwares

Start of Print

G90 ; Put positioning in absolute mode
G28 ; Homing
[[WaitForDoneMessage]] ; Wait until movement completed, require firmwares to patched for Z_move_comp, if you do not want to use patched firmware you can use [[Delay n.n]] instead
[[PositionSet 0]] ; Set current position on nanodlp so it could be recovered in case of failure

Before Layer

G1 Z[[LayerPosition]] ; Move to layer position
[[WaitForDoneMessage]] ; Wait for the movement finished
[[PositionSet [[LayerPosition]]]] ; Save layer position as the current position

After Layer

G1 Z{[[LayerPosition]]+[[ZLiftDistance]]} ; Lift to wait position
[[WaitForDoneMessage]] ; Wait for the movement finished
[[PositionChange [[ZLiftDistance]]]] ; Again update position

Resume Print

G90 ; Put positioning in absolute mode
G92 Z[[CurrentPosition]] Y0 X0 ; System crashed so we need to recover current position from nanodlp and set it on RAMP
G1 Z[[LayerPosition]] ; Move to layer position
...

Offline

#2 2017-01-12 10:16:25

jmbringenio
Member
Registered: 2016-12-20
Posts: 8

Re: Gcode Guide

hi shanin, do you know if with 1322 nanodlp version, we can do what i describe below? (using botton-up printer b9c yellow resin, arduino uno ramps)

number of burn layers: 3
layer 1: cure for 100 sec + wait for 20 sec NO LIFTING after this + cure another 50 sec + wait 2 sec + lift 8 mm
layer 2: cure for 100 sec + wait for 20 sec NO LIFTING after this + cure another 30 sec + wait 2 sec + lift 4 mm
layer 3: cure for 100 sec + wait for 20 sec NO LIFTING after this + cure another 25 sec + wait 2 sec + lift 4 mm

normal layers: dinamic cure 30 sec for first 20 layers and 25 for rest of them lift 5 mm after each layer

I want to do this cause im having huge problems in adherence, using Aluminium, metacrilate and no results.

Offline

#3 2017-01-12 19:52:37

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Gcode Guide

You should use dynamic lifting and dynamic cure time to do what you have described above.

If you have not done, anodize your platform. Also make sure it is in full contact with tank surface and completely parallel to it for the first layer.

Offline

#4 2017-05-08 23:19:31

haipham
Member
Registered: 2017-05-05
Posts: 8

Re: Gcode Guide

I cant connect with custome GRBL and board on Adruino Uno R3, i see G code is same but have some small difference G Code to control title.
Can i patch this GRBL to work with NAnoDlp?
Thanks

Offline

#5 2017-05-09 18:03:19

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Gcode Guide

There is couple of patched GRBL out there but majority of are using Marlin. So if you can first try marlin.

Offline

#6 2017-08-24 03:34:53

kisnoge
Member
Registered: 2016-12-08
Posts: 4

Re: Gcode Guide

Hello shanin,
My printer motor connect step dir to RPi board direct.
How to place command on Before Layer,After Layer ext... for move z axis to print?
Thanks

Offline

#7 2017-08-24 05:51:52

Shahin
Administrator
Registered: 2016-02-17
Posts: 1,834

Re: Gcode Guide

You do not need to fill gcode boxes if you are using direct control as it should work out of box.

Offline

Board footer

Powered by FluxBB