You are not logged in.

#1 2021-02-12 15:22:20

raranjbar
Member
Registered: 2017-11-22
Posts: 25

which version Marlin

Hi
I use Mks gen 1.4.
which version marlin should I use and What settings should I make on Marlin?

Offline

#2 2021-02-12 18:48:04

bigfilsing
Member
Registered: 2016-11-20
Posts: 306

Re: which version Marlin

Marlin 1.1.9.1 will work just fine for your control board .

in confguration_adv.h  you need to enable NanoDLP Sync support

https://marlinfw.org/meta/download/

Last edited by bigfilsing (2021-02-13 00:39:48)

Offline

#3 2021-02-13 05:32:17

raranjbar
Member
Registered: 2017-11-22
Posts: 25

Re: which version Marlin

Thank you
No need to set endstop?

Offline

#4 2021-02-13 07:32:37

bigfilsing
Member
Registered: 2016-11-20
Posts: 306

Re: which version Marlin

raranjbar wrote:

Thank you
No need to set endstop?

The endstop is already configured   check config,h  about line 500 see below
You may need to invert the logic of the endstop in Marlin thou

When you first conect to NanoDLP go to the terminal window and send "M119" that should report back the status if the endstops
It should report either "OPEN" or "TRIGGERED"

It should be TRIGGERED when the endstop is reached Test it by pressing the endstop then sending M119
IF it reads OPEN when pressed you will have to invert the logic in Marlin   config,h

In Marlin 1.1.9  look in config.h  about line 500
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.

You will also have to remove the "#"  thats in front of the define statement
But try the M119 test first as you may be lucky and not have to do any editing

Good luck

Last edited by bigfilsing (2021-02-13 07:33:26)

Offline

#5 2021-02-13 11:27:10

raranjbar
Member
Registered: 2017-11-22
Posts: 25

Re: which version Marlin

Hi bigfilsing

Can you remote with anydesk and install marlin for me?

Offline

#6 2021-02-13 11:31:56

raranjbar
Member
Registered: 2017-11-22
Posts: 25

Re: which version Marlin

When send M28 "Home",motor move then stop

Offline

#7 2021-02-13 12:48:10

bigfilsing
Member
Registered: 2016-11-20
Posts: 306

Re: which version Marlin

raranjbar wrote:

Hi bigfilsing

Can you remote with anydesk and install marlin for me?

No sorry thats beyond what im willing to do.
I use my PC for secure work and i will never connect to anything remotely

There are many tutorials on you tube where you can see exactly what needs to be done

Offline

#8 2021-02-13 12:50:43

bigfilsing
Member
Registered: 2016-11-20
Posts: 306

Offline

#9 2021-02-13 19:03:39

raranjbar
Member
Registered: 2017-11-22
Posts: 25

Re: which version Marlin

Thank you bigfilsing
I can not enable max_z.How can enable it?

this is my seting

// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
#define USE_ZMAX_PLUG

// Enable pullup for all endstops to prevent a floating state
#define ENDSTOPPULLUPS
#if DISABLED(ENDSTOPPULLUPS)
  // Disable ENDSTOPPULLUPS to set pullups individually
  //#define ENDSTOPPULLUP_XMAX
  //#define ENDSTOPPULLUP_YMAX
  #define ENDSTOPPULLUP_ZMAX
  //#define ENDSTOPPULLUP_XMIN
  //#define ENDSTOPPULLUP_YMIN
  //#define ENDSTOPPULLUP_ZMIN
  //#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe.



// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#define INVERT_Z_DIR false


// Direction of endstops when homing; 1=MAX, -1=MIN
// :[-1,1]
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

Last edited by raranjbar (2021-02-13 20:07:12)

Offline

#10 2021-02-14 03:04:02

bigfilsing
Member
Registered: 2016-11-20
Posts: 306

Re: which version Marlin

That looks like it should work and have Zmax enabled
To test endstops use terminal and send  M119 
They should report either "open" or "triggered"

Offline

Board footer

Powered by FluxBB