Is this how you would configure the hal?

setp   hm2_5i25.0.stepgen.04.steplen         10000
setp   hm2_5i25.0.stepgen.04.stepspace       10000
setp   hm2_5i25.0.stepgen.04.step_type        2
setp   hm2_5i25.0.stepgen.04.control-type     1
setp   hm2_5i25.0.stepgen.04.enable     1
setp   hm2_5i25.0.stepgen.04.velocity-cmd    .25

I thought that seemed like everything but I can't get it to work.  Also I
loaded the G540x2.bit  file into the mesa.

On Tue, Jul 24, 2012 at 10:47 PM, Peter C. Wallace <p...@mesanet.com> wrote:

> On Wed, 25 Jul 2012, Chris Morley wrote:
>
> > Date: Wed, 25 Jul 2012 00:47:48 +0000
> > From: Chris Morley <chrisinnana...@hotmail.com>
> > Reply-To: "Enhanced Machine Controller (EMC)"
> >     <emc-users@lists.sourceforge.net>
> > To: EMC <emc-users@lists.sourceforge.net>
> > Subject: Re: [Emc-users] xml for G540 and pncconf with 5i25?
> >
> >
> >
> >
> >> Date: Tue, 24 Jul 2012 17:28:53 -0500
> >> From: sie...@gmail.com
> >> To: emc-users@lists.sourceforge.net
> >> Subject: [Emc-users] xml for G540 and pncconf with 5i25?
> >>
> >> I got a G540 so I switched over the 5i25 firmware to the G540x2.  Was
> there
> >> an XML file for use with pncconf?   I did some searching and couldn't
> come
> >> up with anything.  I had used the prob_rfx2 xml with the BOB I had
> >> previously.
> >>
> >> Thanks
> >> Bryce
> >
> > I have not made a XML file for this yet... I thought it had a charge
> pump component,
> > which PNCconf doesn't know about but I can not see that in the PIN file,
> so I
> > should be able to build one the PNCconf can already use... I'll see if I
> have time tonight.
> >
> > Chris M
>
> The latest G540 configuration uses a one output stepgen for the chargepump
> due to that rather annoying G540 "feature" that the chargepump needs a
> 10 KHz frequency which would force the use of a base thread if the bit was
> just GPIO (dont know why 500 Hz would not have done, oh well)
>
> The chargepump stepgens are at the end numerically so dont interfere with
> the G540s stepgen assignment (they are stepgen 8 (P3) and 9 (P2))
>
>
> There are a couple ways to get a square wave out of the stepgen. One is to
> set
> the position scale to 10000, set stepgen output mode to quadrature and
> operating mode to velocity and finally set the velocity to .25 (this is .25
> instead of 1 because quadrature mode counts 4x as fast at step/dir mode)
>
>
>
> >
> >
> ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > 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.
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to