On Wed, 28 Aug 2019, John Dammeyer wrote:

Date: Wed, 28 Aug 2019 21:05:58 -0700
From: John Dammeyer <jo...@autoartisans.com>
Reply-To: "Enhanced Machine Controller (EMC)"
    <emc-users@lists.sourceforge.net>
To: "'Enhanced Machine Controller (EMC)'" <emc-users@lists.sourceforge.net>
Subject: Re: [Emc-users] MESA 7i92H Saga

This what the halcmd produced for the Y axis.

   28  bit   IN           TRUE  hm2_7i92.0.stepgen.02.control-type
   28  s32   OUT        -31361  hm2_7i92.0.stepgen.02.counts
   28  float OUT             0  hm2_7i92.0.stepgen.02.dbg_err_at_match
   28  float OUT             0  hm2_7i92.0.stepgen.02.dbg_ff_vel
   28  float OUT             0  hm2_7i92.0.stepgen.02.dbg_pos_minus_prev_cmd
   28  float OUT             0  hm2_7i92.0.stepgen.02.dbg_s_to_match
   28  s32   OUT             0  hm2_7i92.0.stepgen.02.dbg_step_rate
   28  float OUT             0  hm2_7i92.0.stepgen.02.dbg_vel_error
   28  bit   IN           TRUE  hm2_7i92.0.stepgen.02.enable <== z-enable
   28  float IN              0  hm2_7i92.0.stepgen.02.position-cmd
   28  float OUT      1.306705  hm2_7i92.0.stepgen.02.position-fb ==> z-pos-fb
   28  float IN              0  hm2_7i92.0.stepgen.02.velocity-cmd <== z-output
   28  float OUT             0  hm2_7i92.0.stepgen.02.velocity-fb

There is no line like this.
     26  bit   RW          FALSE  hm2_7i95.0.stepgen.01.direction.invert_output

Do I just add this to the HAL file?
setp   hm2_7i92.0.stepgen.02.direction.invert_output TRUE

Is it that simple?
John

It is that simple if you are using 2.8 and above

Your list above shows no parameters

the command should be

halcmd show all *stepgen*


Peter Wallace
Mesa Electronics


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to