You are not logged in.

#1 2018-05-19 21:54:01

L.Merino
Member
Registered: 2017-11-02
Posts: 28

[[StopPosition]] [[CurrentPosition]]

Hello, I'm trying to use these two variables to make a formula, but I find that they always have the same value.

[[StopPosition]] 10

[[CurrentPosition]] 0.05

Can I be doing something wrong for this to happen?

I am using the NanoDLP1832 version

Thank you

Offline

#2 2018-05-20 02:56:32

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

Re: [[StopPosition]] [[CurrentPosition]]

You probably do not update position [[SetPosition]] as it required for RAMPS board.

Offline

#3 2018-05-20 14:15:48

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: [[StopPosition]] [[CurrentPosition]]

Actually, I have done a quiz in which I put [[SetPosition]] to 20, and then I check it with [[CurrentPosition]], and it indicates that it is 0.05

Offline

#4 2018-05-21 03:18:18

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

Re: [[StopPosition]] [[CurrentPosition]]

Which positioning you are using Absolute or Relative?

Offline

#5 2018-05-21 10:18:15

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: [[StopPosition]] [[CurrentPosition]]

Absolute

Offline

#6 2018-05-28 03:38:37

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

Re: [[StopPosition]] [[CurrentPosition]]

Please, share a debug file.

Offline

#7 2018-05-28 14:43:41

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: [[StopPosition]] [[CurrentPosition]]

Offline

#8 2018-05-31 04:33:00

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

Re: [[StopPosition]] [[CurrentPosition]]

There is a communication issue between pi and ramps, see if baudrate matches on both end and try change cable, you should not receive non english characters from RAMPS.

Offline

#9 2018-05-31 09:23:37

L.Merino
Member
Registered: 2017-11-02
Posts: 28

Re: [[StopPosition]] [[CurrentPosition]]

Thanks, perform tests.

Offline

Board footer

Powered by FluxBB