Stephen Wille Padnos wrote: > Jon Elson wrote: > >>Clearly, index-enable is getting shut off before the index pulse >>comes true. I cannot see how the hardware or driver, as it is >>now written, can do this. >> >> > > Me either. There's only one place in the driver where index-enable gets > set low, and it's inside the check for index-flag!=0. > > As for the ini files and such, can you zip them up and stick them on the > wiki? I'd like to see all the hal files. > I have placed a zip file straight from Stuart Stevenson on my web server at : http://jelinux.pico-systems.com/codes/dahlih.zip
[Users - please note this should be considered pathological code, for debugging purposes only, at least until we figure out why it isn't working right.] >>INPUT_SCALE = 10000 >>OUTPUT_SCALE = -1.0 >> >> > > Dunno why the sign is different here, but I'll assume the motors go in > the right direction ... > Sure, this is an analog servo machine, to accomodate the polarity of the motor wiring it could be either way. > >>MIN_LIMIT = -20.0 >>MAX_LIMIT = 20.0 >>FERROR = 10.0 >> >> > > This appears to be mm, or very very wide tolerance for testing purposes > He had servo amp problems, too, so it was faulting out a lot. > >>[snip] >> >># Second axis >>[AXIS_1] >> >>TYPE = LINEAR >>HOME = 0.000 >>MAX_VELOCITY = 2.0 >>MAX_ACCELERATION = 6.0 >>UNITS = -1.0 >> >> > > Does anyone know what happens if you have negative units? This seems almost pathological, units can't be negative. "I need a minus one inch length of bar stock, please." This is on the 2nd axis, so it shouldn't affect the X axis, but it sure seems that it is wrong. > > I can't really do any hardware testing because I don't have rev 2 > firmware here. I could send you an EPROM for the PWM controller if you want, the stepper hasn't been fully updated yet until I find out what is going on, here. None of this makes sense unless you have an encoder with index pulse, so few stepper controller users will run into this trouble. Jon ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
