implementing gantrykins

More
16 Nov 2012 17:25 #26664 by cncbasher
Replied by cncbasher on topic implementing gantrykins
did you modify the gantry-hs files to suit your setup at all ? , you need to modify these to suit your steppers and connections used
use step config to make a machine setup and then modify this to suit using the gantry sample files ...

what stepper drives are you using and or breakout etc . , connections for switches homing etc
perhaps post you hal and ini files and they can be checked over

the more information we have the easier it is to guide you

Please Log in or Create an account to join the conversation.

More
16 Nov 2012 18:05 #26665 by decoyable
Replied by decoyable on topic implementing gantrykins
i did make a stepconfig with the settings of the parallell port and so on the speed values aren't modified yet but i first wanted to try to make it function at all.
here are the contents of the gantry folder that i'm using + the stepconfig file in the next post will be the rest of the files.

Please Log in or Create an account to join the conversation.

More
16 Nov 2012 18:06 #26666 by decoyable
Replied by decoyable on topic implementing gantrykins
here are the rest of the files
Attachments:

Please Log in or Create an account to join the conversation.

More
16 Nov 2012 18:12 #26667 by decoyable
Replied by decoyable on topic implementing gantrykins
here is also the datasheet of the driver we use.
it may not contain evverything you need but thats all the info we have about it...
Attachments:

Please Log in or Create an account to join the conversation.

More
16 Nov 2012 21:04 #26672 by andypugh
Replied by andypugh on topic implementing gantrykins

steppermotors dont move with the screen. Only when i jog them i seem to get a single tick in the motors when i click + and - a lot but its still just one step they take.


You may have the step and direction pins switched. (Or the wrong polarity on the step signal, which is easily fixed in HAL/Stepconf)

Please Log in or Create an account to join the conversation.

More
16 Nov 2012 21:58 #26676 by cncbasher
Replied by cncbasher on topic implementing gantrykins
you seem to have the step & direction lines the wrong way round , perhaps you can check ..
it appears this particular board likes direction on pin 2 and step on 3 and the same for the other axis , rather than the more popular step then direction pins i.e step 2 dir 3 ( which is the order of your hal file )

so swap over the pin configuration in stepconf and see how you go .. or just edit the step dir pin numbers in the hal files

Please Log in or Create an account to join the conversation.

More
18 Nov 2012 20:49 #26748 by decoyable
Replied by decoyable on topic implementing gantrykins
Ok i'll check that but it'd surprise me because i used the settings from within the datasheet that i sent you, and this probably wont solve the problem with the home switches i think i also checked those settings in the same datasheet...

Please Log in or Create an account to join the conversation.

More
18 Nov 2012 22:15 #26753 by cncbasher
Replied by cncbasher on topic implementing gantrykins
check your gantry.hal file and you have the entrys as :

net xstep => parport.0.pin-02-out
setp parport.0.pin-02-out-reset 1
net xdir => parport.0.pin-03-out

looking at page 4 of the pdf of the breakout board shows lpt pin 2 as Direction x & pin 3 as Step x
which would become :

net xstep => parport.0.pin-03-out
setp parport.0.pin-03-out-reset 1
net xdir => parport.0.pin-02-out
The following user(s) said Thank You: decoyable

Please Log in or Create an account to join the conversation.

More
18 Nov 2012 22:38 - 18 Nov 2012 22:46 #26754 by cncbasher
Replied by cncbasher on topic implementing gantrykins
you also do not have any entrys in your gantry.hal file for the home and limit switches .
i presume you are using both limit and home as the same switch ,, so you need to add the following ...

in your gantry.hal file

first add the parrell port pins for the limit and home switches
( pins as per your pdf ) so change as approprate if needed

net both-home-x <= parport.0.pin-10-in
net both-home-y <= parport.0.pin-12-in
net both-home-z <= parport.0.pin-13-in
net both-home-a <= parport.0.pin-15-in

then under each approprate axis add the following

net both-home-x => axis.0.home-sw-in
net both-home-x => axis.0.neg-lim-sw-in
net both-home-x => axis.0.pos-lim-sw-in

net both-home-y => axis.1.home-sw-in
net both-home-y => axis.1.neg-lim-sw-in
net both-home-y => axis.1.pos-lim-sw-in

net both-home-z => axis.2.home-sw-in
net both-home-z => axis.2.neg-lim-sw-in
net both-home-z => axis.2.pos-lim-sw-in

net both-home-a => axis.3.home-sw-in
net both-home-a => axis.3.neg-lim-sw-in
net both-home-a => axis.3.pos-lim-sw-in

also add a emergency stop on parrell port pin 11

net estop-ext <= parport.0.pin-11-in
( this is a normaly closed switch as opposed to limits and home which are usualy open )
again connect this switch to gnd
if you dont have an emergency stop switch then just use a wire link from the bob pin to gnd


then in your ini file add the line under each axis
HOME_IGNORE_LIMITS = YES

that should get you close apart from duplicating the extra x axis
Last edit: 18 Nov 2012 22:46 by cncbasher.
The following user(s) said Thank You: decoyable

Please Log in or Create an account to join the conversation.

More
23 Nov 2012 18:08 #26875 by decoyable
Replied by decoyable on topic implementing gantrykins
Thank you so much i did what you told me and it worked like a charm.
i tried running a program and it worked.
my steppermotors were revving like crazy but it worked!
now i just have to figure out how to adjust the speed of the motors.

one more question is there any way to duplicate the x-axis instead of the y-axis? that would be awesome!

Please Log in or Create an account to join the conversation.

Time to create page: 0.102 seconds
Powered by Kunena Forum