You are not logged in.

#1 2017-03-06 09:08:31

binfordboy
Member
Registered: 2017-02-28
Posts: 17

Bug on Z Axis Calibration Page

Setup:
nanodlp Build #1364
direct gpio
No Endstop

Everything is fine so far. Z-Axis is moving pretty fast in the right direction and the right distance by pressing buttons. But all moving up Buttons did not actualize the Current Level in the Platform Information. This leads to incorrect Z-values. Down Buttons are OK.

Offline

#2 2017-03-06 09:31:38

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

Re: Bug on Z Axis Calibration Page

Are you sure you have selected correct positioning mode? (absolute/relative)

Offline

#3 2017-03-06 10:29:07

binfordboy
Member
Registered: 2017-02-28
Posts: 17

Re: Bug on Z Axis Calibration Page

I just click on the buttons :-) Where do i have to select the mode on the calibration page?

All Buttons work correct in term of positioning the hardware.
down buttons movement is shown on page, up buttons not.

Offline

#4 2017-03-07 03:03:14

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

Re: Bug on Z Axis Calibration Page

Go to setup page there are some settings available regarding Z-Axis.

Offline

#5 2017-03-07 11:22:03

binfordboy
Member
Registered: 2017-02-28
Posts: 17

Re: Bug on Z Axis Calibration Page

I use a own driver board with direct control. I thought there is no need for Gcode then.

1: move down with the down buttons on the calibration page to my desired bottom level.
2: press my own "set Zero" Button: executes:

[[PositionSet 0.0]] ;
[[PositionChange 0.0]] ;

Page show:
Current     0.000000     0
Log show:
Gcode    Position change 0 to 0
Gcode    Position set to 0

3: Press "10 mm up" Button
Z-Axis moves up 10mm but Page shows wrong value:
Current     0.000000     0
(expected value: Current: 10.000 800)
Log:
Pulsing    Moving Up 800 pulses 10 mm
Pulsing    Movement Finished Pulse 800 / 800 ; Height 0 / -800 ; Time 0.539836226

4. Press "10 mm down" Button:
Z-Axis moves down 10mm but Page show wrong value:
Current     -10.000000     -800
( it should show Current: 0.000 -800)
Log:
Pulsing    Moving Down 800 pulses 10 mm
Pulsing    Movement Finished Pulse 800 / 800 ; Height -800 / 0 ; Time 0.540065577

If it is a general setup problem why is the axis moving correctly?
Motor and Movement and Direct GPIO settings are OK. No GCode used except for the Custom Button in Step 2

Offline

#6 2017-03-07 15:03:09

binfordboy
Member
Registered: 2017-02-28
Posts: 17

Re: Bug on Z Axis Calibration Page

found the problem.
button up do not reload the ajax for the platform information.
If i press then another button the values get messed up. If i reload the whole page before pressing the next button the correct values are set. It seems to be a ajax reload problem on the page for all up Buttons.

Last edited by binfordboy (2017-03-07 15:14:27)

Offline

#7 2017-03-07 22:42:07

binfordboy
Member
Registered: 2017-02-28
Posts: 17

Re: Bug on Z Axis Calibration Page

Shahin wrote:

Go to setup page there are some settings available regarding Z-Axis.

Nope. Not for direct movement. They only show   up when usb Shield is selected and Direct io is disabled.

Last edited by binfordboy (2017-03-07 22:44:10)

Offline

#8 2017-03-08 07:23:03

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

Re: Bug on Z Axis Calibration Page

You are right, z calibration page get realtime data. As the movement still not completed and it does not have ajax information are not always correct.
Do it has any other issue?

Offline

#9 2017-03-08 09:39:30

binfordboy
Member
Registered: 2017-02-28
Posts: 17

Re: Bug on Z Axis Calibration Page

Shahin wrote:

z calibration page get realtime data. As the movement still not completed and it does not have ajax information are not always correct.

My Z-Axis is really fast. The behaviour only affects the Buttons for upwards moving. Even for small movements. May trigger the Ajax with a small delay?

Shahin wrote:

.
Do it has any other issue?

Don't no so far. I'm just in the middle of building my printer.

Actually I dont use any endstop. Accidentally i fried the chip of my optical endstop :-(

But both Buttons on the axis-callibration page try to use them, even when i disabled the endstop on the setup page. Therefore i made my own "set  Zero" Button.
Any chance to probe for using endstop or not for the nanodlp Buttons?

Another Question: Do I have to adjust "Axis Direction" and "Movement Positioning" fields on setup page for direct movement and bottom up configuration?

Do I have to use all these [[WaitForDoneMessage]] [[Delay Seconds]] and [[GPIOWaitForLow]] stuff when using direct control with only a stepper driver and no ramps, arduino etc.?

And the last Question for today:
All Input boxes for length input use step="0.001". So it is not possible to match my resolution on Inputs where mm is used. The values loaded use the right number of digits, but i'm not able to submit them. Any chance to give the mm inputs more digits?

Offline

Board footer

Powered by FluxBB