¨A https://www.nanodlp.com /forum/viewtopic.php?pid=3582 Z:/Server HD/Library/WebServer/Documents/Web Sites/nanoDLP/www.nanodlp.com/forum/viewtopic098a.php https://www.nanodlp.com /forum/search.php?search_id=965196820&p=2 Z:/Server HD/Library/WebServer/Documents/Web Sites/nanoDLP/www.nanodlp.com/forum/viewtopic098a.php.z x ²Z]Z ÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ ÐI k/ OK text/html utf-8 gzip ÈiH k/ ÿÿÿÿ ‹¢™k Tue, 16 Jan 2018 01:51:38 GMT p‘æèµâе⠵â¸læ@µâ ªZ]Z ÿÿÿÿÿÿÿÿ k/
You are not logged in.
Pages: 1
Hello!
I try to use direct motor control. I connect motor driver and endstop to the GPIO pins.
It works but not enought correctly... When I try to move platform down - it works. But when I try to move it up it doesn't move and change "Current position" to "0".
What's the problem?
Or I need to use RAspberry board only with RAMPS?
Offline
It is a limit switch issue.
Offline
Mikhail As per Shahins post it does sound like a limit switch issue . The reason is this. When you power on a machine it has no way of knowing where an axis is until that axis has been homed so it will limit motion until it has homed and hit the limit switch at least once. From what you have written it sounds like your limit switch is wired wrong or the logic in the software needs changing
Offline
I use optic sensor wired on GND (20), +5V (2) and Limit (signal) (18). Enable Pin State Hight.
RAMPS doesn't know corrent position on power on. It make position at "0" and move up only.
Offline
At power on the z axis will only move towards home until it has been triggered once.
So you potentially have a couple of problems . Either your motor is working in reverse and /or you end stop logic is incorrect.
So we can use terminal commands to see whats going wrong .
So power off your machine then manually turn the Z axis until its about half way up its travel.
Send the M119 to find out the end stop status This will give you feedback on whether the end stop is triggered or not.
If you place an object in the lightbeam of the end stop it should read triggered and without the object it should be open.
If this doesnt work then either your endstop logic is incorrect or the end stop itself isnt working.
When you are confident the endstop is working then try this >>
Power on the machine but be ready to kill the power if needed.
In terminal send the Gcode command G28 The axis should move towards your end stop ( down) and stop when the end stop is reached.
If it doesnt you can either change the direction in the firmware or change the wiring of the stepper motor
Offline
Ok! bigfilsing, thank you!
I forget that my stepper driver can be wired in 2 ways. I'll chek it
Offline
Pages: 1