You are not logged in.

#1 2018-04-11 14:09:07

mandreas
Member
Registered: 2016-03-13
Posts: 136

alternate wiper run

Hi Shahin,

always happy a loyal user of your excellent program,

I would like some help on how to solve this Gcode problem:

on my "top down " I added a Wiper system,
this is the code before each layer, where the wiper is the Y engine:

G1 Z [[LayerPosition]]
[[WaitForDoneMessage]]

[[PositionSet [[LayerPosition]]]]

G1 Y165 F900
[[WaitForDoneMessage]]

This is the code after each layer:


G1 Y0 F2500
Z {[[LayerPosition]] + [[ZLiftDistance]]}
[[WaitForDoneMessage]]
[[PositionSet [[LayerPosition]]]]

Now, so set the wiper makes two runs per layer, while I would like it to do one, then  alternately run, but I do not know which command to use, any advice?

Thank Andrea

Offline

#2 2018-04-12 05:26:30

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,541

Re: alternate wiper run

Andrea,

Use something other than G1, so it does not response Z_move_done, so you can run command in async way.

Offline

#3 2018-04-13 10:10:56

mandreas
Member
Registered: 2016-03-13
Posts: 136

Re: alternate wiper run

this would be the solution, but only valid in RepRap firmware:

G92 Y [[assign zero point]]
G1 Y165 F2500
[[WaitForDoneMessage]]
M569 Y [[reverse motor direction]]

Offline

#4 2018-04-19 12:07:40

mandreas
Member
Registered: 2016-03-13
Posts: 136

Re: alternate wiper run

G0 Y{([[CurrentPosition]]==0)*165+0}

[[WaitForDoneMessage]]

if current position  is = 0  run  165mm if not run 0.mm

I tried this conditional but it does not work ..

Last edited by mandreas (2018-04-19 17:14:26)

Offline

#5 2018-07-02 12:48:45

pier78
Member
Registered: 2018-07-02
Posts: 1

Re: alternate wiper run

Hi Andrea,
i am a new nanodlp user and i saw that you are very active member an so i want try to ask you something about Nano dlp Raspberry  an arduino configurations.

I have made Lcd 8.9 3d printer with raspberry and gpio control but z axis move not well and so i've decide to try with ramps and arduino mega 2560 but with this configuration nothing happens.

Can you suggest me something to do?

Thk so much.
Bye Pier from Rimini.

Offline

Board footer

Powered by FluxBB