On Fri, 7 Oct 2011, Viesturs L?cis wrote:

> Date: Fri, 7 Oct 2011 17:09:45 +0300
> From: "[UTF-8] Viesturs L?cis" <[email protected]>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <[email protected]>
> To: "Enhanced Machine Controller (EMC)" <[email protected]>
> Subject: [Emc-users] Zero output from stepgen on 7i43
> 
> Hello, gentlemen!
>
> I am stuck with the machine, because it seems that there are no step
> and dir pulses coming from 7i43 card. I have 4 stepgens for 4 joints
> and I do not see any output from any of them. I am using 7i43 400K
> version, SVST-4_12.BIT firmware on EMC 2.4.6
>
> In INI file I have:
> [AXIS_0]
>
> TYPE =                LINEAR
> MAX_VELOCITY =        150
> MAX_ACCELERATION =    200
>
> BACKLASH =            0.000
>
> SCALE =               314.96
>
> MIN_LIMIT =             -3.0
> MAX_LIMIT =             1000.0
>
> FERROR =              0.50
> MIN_FERROR =          0.10
>
> HOME =                  0.000
> HOME_OFFSET =           0.0
> HOME_SEARCH_VEL =       -5
> HOME_LATCH_VEL =        1
> HOME_USE_INDEX =        NO
> HOME_IGNORE_LIMITS =    NO
> HOME_IS_SHARED                1
> HOME_SEQUENCE         0
> DIRSETUP   =              2000
> DIRHOLD    =              2000
> STEPLEN    =              4000
> STEPSPACE  =              4000
>
> In HAL file I have:
> # X [0] Axis
>
> # axis enable chain
> newsig emcmot.00.enable bit
> sets emcmot.00.enable FALSE
>
> net emcmot.00.enable <= axis.0.amp-enable-out
> net emcmot.00.enable => hm2_[HOSTMOT2](BOARD).0.stepgen.00.enable
>
>
> # position command and feedback
> net emcmot.00.pos-cmd <= axis.0.motor-pos-cmd
> net emcmot.00.pos-cmd => hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-cmd
>
> net motor.00.pos-fb <= hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-fb
> net motor.00.pos-fb => axis.0.motor-pos-fb
>
>
> # timing parameters
> setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.dirsetup        [AXIS_0]DIRSETUP
> setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.dirhold         [AXIS_0]DIRHOLD
>
> setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.steplen         [AXIS_0]STEPLEN
> setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.stepspace       [AXIS_0]STEPSPACE
>
> setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.position-scale  [AXIS_0]SCALE
>
> setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.maxvel          170
> setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.maxaccel        230
>
> setp hm2_[HOSTMOT2](BOARD).0.stepgen.00.step_type       0
>
>
> I checked these things:
> 1) stepgens are enabled, at least the enable pins are "true" in HAL Config;
> 2) stepgen-pos-cmd values are changing, they receive position commands
> from joints;
>
> Why I think that there is no output:
> 1) none of motors moves or shows any kind of activity;
> 2) with multimeter, when measuring volts, I should see something above
> 0.00V on step pin and definitely more on dir pin in one of 2
> directions - I jogged both directions, nothing happened on any of
> stepgen outputs.
>
> Why do I think that problem is in Mesa card:
> 1) I removed some other LPT breakout board few hours ago, everything
> was working with it, I am using existing wiring;
> 2) I triplechecked, if step and dir leads are soldered to correct pins
> on 50-pin header and that it is connected to P3 connector.
>
> What am I missing here?
>
> Viesturs
>

Can you disconnect your external wiring and try the example HAL/INI file? (the 
hm2-stepper/7i43) then check the step/dir pins (check the dmesg or correct.PIN 
file for pinout)




> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to