Hi all,

I am getting following errors on my axes testing the hostmot2 driver in a 2
axis stepper configuration, and am trying to determine if it is a problem in
the configuration, or a problem with the hostmot2 driver. 

The hostmot2 configuration is specified as:

loadrt hostmot2 debug_idrom=1 debug_module_descriptors=1
debug_pin_descriptors=1 debug_modules=1

loadrt hm2_5i20 config="firmware=hm2/5i20/SVST8_4.BIT num_stepgens=2
num_pwmgens=1 num_encoders=0"


I have the position command connect to axis 0 and 1 as:

net Xpos-cmd axis.0.motor-pos-cmd => hm2_5i20.0.stepgen.00.position-cmd
net Ypos-cmd axis.1.motor-pos-cmd => hm2_5i20.0.stepgen.01.position-cmd

Position feedback as:
net Xpos-fb hm2_5i20.0.stepgen.00.position-fb => axis.0.motor-pos-fb net
Ypos-fb 
hm2_5i20.0.stepgen.01.position-fb => axis.1.motor-pos-fb

The scaling set as (and shows as 1280 for the respective pins):
# set stepgen module scaling - get values from ini file 
setp hm2_5i20.0.stepgen.00.position-scale [AXIS_0]SCALE 
setp hm2_5i20.0.stepgen.01.position-scale [AXIS_1]SCALE 

And stepgen parameters as:
setp hm2_5i20.0.stepgen.00.dirsetup        0.0000002
setp hm2_5i20.0.stepgen.00.dirhold         0.0000002
setp hm2_5i20.0.stepgen.00.steplen         0.000040
setp hm2_5i20.0.stepgen.00.stepspace       0.000040

setp hm2_5i20.0.stepgen.01.dirsetup        0.0000002
setp hm2_5i20.0.stepgen.01.dirhold         0.0000002
setp hm2_5i20.0.stepgen.01.steplen         0.000040
setp hm2_5i20.0.stepgen.01.stepspace       0.000040

I don't see and enable for either stepgen or axis, but all stepgen and axis
pins related to position remain at zero when I try to move an axis, and get
following errors on that axis.

Is there still something which needs to be enabled to get these axes to
work? What else do I need to check?

Thanks,
Eric



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to