× Forum Header

Only 1 axis responds after initial setup

More
05 Nov 2010 09:07 #5095 by andypugh
Razorbackhog wrote:

What is the best methodology to trace a circuit on one of these boards?


Something which occurred to me in another form thread, you might be able to figure things out using this little widget, you can toggle p-port pins and see what happens.

wiki.linuxcnc.org/emcinfo.pl?Parallel_Port_Tester

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

More
06 Nov 2010 16:31 #5114 by bchager
i am a nubie and following this thread noticed you are having the same problem i am. I thik i have solve mine. i have the same controler you have. so mabe it will workfor you use the very same para. pin setup in the manual that came with the board.

pin 1 X step
pin 2 Amp enable
pin 3 y dir
pin 4 Zdir
pin 5 Z stp
pin 6 Amp enable chk in invert box
pin 7 Xdir
pin 8 Y stp The main thing is put the check in these 2 boxes
pin 9 Spinel pwm
pin 14 Amp enable chk in invert box
pin 16 dig out 1
pin17 dig out 2

hope this works for you it did for me regads BCH

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

  • urslee
  • urslee's Avatar
  • Visitor
  • Visitor
06 Nov 2010 18:24 #5118 by urslee
Replied by urslee on topic Re:Only 1 axis responds after initial setup
Hi

I have the 4 Axis board of this make.
When I use the Stepconf Wizzard it writes only xenable for the Amp. enable
pin config in the "MyMachine.hal"

It looks like this after Stepconf Wizzard

net xdir => parport.0.pin-01-out
net zstep => parport.0.pin-03-out
setp parport.0.pin-03-out-reset 1
net xenable => parport.0.pin-04-out
net xenable => parport.0.pin-05-out
net zdir => parport.0.pin-06-out
net ydir => parport.0.pin-07-out
net ystep => parport.0.pin-14-out
setp parport.0.pin-14-out-reset 1
net xstep => parport.0.pin-16-out
setp parport.0.pin-16-out-reset 1
net xenable => parport.0.pin-17-out


but it should look like this:

net xdir => parport.0.pin-01-out
net zstep => parport.0.pin-03-out
setp parport.0.pin-03-out-reset 1
net xenable => parport.0.pin-04-out
net zenable => parport.0.pin-05-out
net zdir => parport.0.pin-06-out
net ydir => parport.0.pin-07-out
net ystep => parport.0.pin-14-out
setp parport.0.pin-14-out-reset 1
net xstep => parport.0.pin-16-out
setp parport.0.pin-16-out-reset 1
net yenable => parport.0.pin-17-out


Because you'll find this in the AXIS part of the hal file:

for AXIS_0
net xenable axis.0.amp-enable-out => stepgen.0.enable

for AXIS_1
net yenable axis.1.amp-enable-out => stepgen.1.enable

and for AXIS_2
net zenable axis.2.amp-enable-out => stepgen.2.enable


All I can say this Board works very well here with this config


Lee

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

More
08 Nov 2010 03:23 #5150 by Razorbackhog
I tried the invert trick on pins 6 and 14 using the manufacturer's recommended settings otherwise. The X and Y axis appear to respond correctly, but the Z is erratic. I tried swapping the motors on the different axis and they all work fine on X and Y, but Z is not responding correctly. Using the step config test window, X and Y go their proscribed distance and then the opposite direction for the same distance and repeat that over and over until I stop the test. Z goes the proscribed distance, but when it completes that instead of going in the opposite direction it may go the same or opposite and never the same way with any consistency.

I think I will play with the settings on Z a little and see what happens. I also need to go take a look at the hal file as Lee pointed out and see if that is also contributing to the problem.

I will also hook X and Y up to the CNC machine and see how they run at that point.

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

More
08 Nov 2010 11:40 #5156 by andypugh
Inverting the step signals can sometimes help. (from what you have said you have just inverted the direction signals).
You could also try turning off the "reset" which may give a more stable step pulse, but only half the frequency.

It is just possible that you have the step, direction and enable signals swapped on the Z axis. Step-as-direction would give you movement in a random direction. I can't, off hand, explain how it would actually move in that situation, but it might be a complex interaction inside the driver ship.

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

More
17 Nov 2010 04:03 #5363 by Razorbackhog
BCH had the winning solution after all.

I unchecked the two invert boxes (6 and 14) and then rechecked them and all 3 axis responded correctly.

I don't know if the HAL file had errors (as Lee pointed out above) and the second time cleared that up, but it working for now.

I also suspect that the Compaq Presario laptop is inducing some of this as this was not the first time that something responded one way and when the same settings were reapplied it responded differently. I am going to put a parallel port into a new desktop and see if it will work better.

I think we can close this thread out on my account anyway. I am now trying to figure out how to actually use EMC2 vice the Step Config. Thanks for the help and I will pop up on some of the other forums I am sure as I work my way through this.

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

Time to create page: 0.106 seconds
Powered by Kunena Forum