Calibration of z units
July 23, 2020 01:24AM
I defined "Inch_mode_support" in marlin. And used G21 in my code. Then also my Z axis takes values in cm instead of mm. However my X and Y axis takes values in mm only. Refer examples below:

Eg.1
G21;
G1 x100 y100 z0.2;

When I run this, my X and y axis moves by 100mm each and my z axis moves by 0.2cm i.e 2mm.

Eg.2
G21;
G1 x100 y100 z0.02;

Now my z axis moves by 0.2mm

I don't know why this is happening. How to resolve this problem.
Re: Calibration of z units
July 23, 2020 02:36AM
What version of marlin?
Re: Calibration of z units
July 23, 2020 09:09AM
Please do not spam multiple duplicate posts or risk being banned. One duplicate can happen, but four is just egocentric.

To answer, did you try G20 instead of G21?


http://www.marinusdebeer.nl/
Re: Calibration of z units
July 23, 2020 11:39PM
I am using Marlin-bugfix -1.1.x
Re: Calibration of z units
July 24, 2020 02:15AM
Yes I checked with G20 also
When I entered,
G20;
G1x0.5y0.5z1;

Then my X and Y axis moves by 12.7cm each and z axis moves by 25.4 cm

Need suggestions on this.waiting for your prompt reply
Thank you.
Re: Calibration of z units
July 24, 2020 02:45AM
Do you have a LCD?

I tried current bugfix 1.1.x

The display on lcd is correct both for eg1 and eg2
Re: Calibration of z units
July 24, 2020 03:20AM
Yes I have display. But when I connect USB to my laptop then only LCD turns ON, but by just simply turn on the power supply, my LCD don't glow. Also text on LCD are discontinuous. I don't know why this is happening.
In command window when I connect to pronterface, it says SD card ok.

Currently I am facing two issues:
1) unit system for axis
2) about LCD display
Re: Calibration of z units
July 24, 2020 03:41AM
1) your using really old firmware. You should be using marlin 2
2) your using really old obsolete systems of measurement. you should be only using mm.

your power issues sounds like the standard ramps issue with a dead voltage regulator on the mega.

Edited 1 time(s). Last edit at 07/24/2020 03:42AM by Dust.
Re: Calibration of z units
July 24, 2020 03:54AM
I will try to use marlin 2 now. But will that resolve my both issues?

1) I am using mm unit system only. My X and y axis moves in mm but z axis moves in cm. Is this issue because of marlin version?
2) for my display issue, what you said I didn't understand. Can you please elaborate little bit. What should I do so that my LCD will work without connecting to my laptop.
Re: Calibration of z units
July 24, 2020 04:49AM
Your second issue sounds like a hardware issue, so no firmware can fix it

is it a ramps? you havent said..

If it is a ramps, then the voltage regulator on the mega may be damaged. you need to replace it or the entire mega.
Re: Calibration of z units
July 24, 2020 05:06AM
Yes I am using ramps 1.4 and mega 2560
Re: Calibration of z units
July 24, 2020 10:49AM
I installed Marlin 2.0 as per your suggestion.
1) But again same problem persists. Even more strange is happening.
E.g.
G21;
G1 x0.5 y0.5 z0.5 ; in this my X and y axis moves by 12.7. cm each and z-axis moves by 0.5 cm.

2) And one more issue came is that of EPROM i.e. EEPROM version mismatch (MEPROM=V56 Marlin=V76)

How to resolve these issue. Please help me.
Re: Calibration of z units
July 24, 2020 11:16AM
For more clarification, I am using lead screw for z axis of 4 start and pitch is 2.
Re: Calibration of z units
July 24, 2020 11:50AM
M502 then m500 to reset eeprom contents

when you set steps on each axis did you set steps/mm or steps per inch? as 0.5mm on that would be out a factor of 12.7

it needs to be steps/per mm

Edited 2 time(s). Last edit at 07/24/2020 11:58AM by Dust.
Re: Calibration of z units
July 24, 2020 12:30PM
I solved my axis movement problem. Actually my z steps was 4000 so I set that to 400. And now I am getting exact movement.
Thanks for your help and time given to me.

But that EEPROM version problem still there.
Re: Calibration of z units
July 25, 2020 02:23AM
enable #define EEPROM_AUTO_INIT in Configuration.h
Re: Calibration of z units
July 28, 2020 01:36PM
Thank you for your suggestions.

My display works only when I connect cable to my laptop. But just by simply turn ON the power supply my display don't work.
You said that it is because of voltage problem. so how can I check my voltage going into thr display and how can I control that? Where this voltage regulator to adjust voltage. I am using ramps 1.4 and aurdino 2560. Please give me suggestions on this.

Thanks in advance
Sorry, only registered users may post in this forum.

Click here to login