Pete,
as far as i can see your hal file is fine ,
but
the spindle values in your ini file should be along the lines of

[SPINDLE_9]
ENCODER_SCALE = 4000.0
OUTPUT_SCALE = 10.0
#OUTPUT_MIN_LIMIT = -10.0
#OUTPUT_MAX_LIMIT = 10.0

could you let me know how you have the spindle drive connected and using
what terminals on your
7i76 . as the output terminals on the 7i76 are isolated you need to make
one side of the opto to volts or ground
dependant on how your vfd is operated

your spindle encoder is connected on encoder channel 0 which is ENCA + (
pin 7 )and IDX +(pin 13)
and using the 5vp (pin6)  and gnd (pin 9)  as the power for the encoder ,
as your using single ended TTL input here
and not differential encoders , then you will need to move  w4,w5,w6 to the
non default position (up ).

you dont say what the number of counts your encoder has but this would be
the value of Encoder_scale in the above , so change accordingly

Dave






On 17 September 2014 22:58, andy pugh <bodge...@gmail.com> wrote:

> On 17 September 2014 22:53,  <p...@wpnet.us> wrote:
>
> > On the instant reverse issue I am wondering if instead of using the
> fully isolated enable and direction outputs provided by the 7i76 if I would
> be better off setting up for fwd/rev control and using two of the general
> field outputs (I have plenty free) which should still be fine since the VFD
> is isolated itself and it's inputs are optos.
>
> That is pretty much what I have (using a 7i43) so ought to work. PCW
> might have an alternative scheme.
>
> --
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to