On Thu, 18 Sep 2014, p...@wpnet.us wrote:

> Date: Thu, 18 Sep 2014 11:32:22 -0500
> From: p...@wpnet.us
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <emc-users@lists.sourceforge.net>
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] New to LinuxCNC and PnCConf and need some help...
> 
>> From the hal:
>
> # ---Encoder feedback signals/setup---
>
> setp    hm2_5i25.0.encoder.00.counter-mode 1
> setp    hm2_5i25.0.encoder.00.filter 1
> setp    hm2_5i25.0.encoder.00.index-invert 0
> setp    hm2_5i25.0.encoder.00.index-mask 0
> setp    hm2_5i25.0.encoder.00.index-mask-invert 0
> setp    hm2_5i25.0.encoder.00.scale  [SPINDLE_9]ENCODER_SCALE
>
> net spindle-revs              <=  hm2_5i25.0.encoder.00.position
> net spindle-vel-fb            <=  hm2_5i25.0.encoder.00.velocity
> net spindle-index-enable     <=>  hm2_5i25.0.encoder.00.index-enable
>
> Counter-mode 1 is single input? A and Index?
>
> Also, even if the encoder setup was wrong, or not set at all, shouldn't I get 
> some movement in LinuxCNC followed by an error perhaps? I get absolutely no 
> movement in LinuxCNC yet in PnCConf open loop test it works.
>
> Thanks,
>
>   Pete C.


Pretty odd, one thing I would to is use halmeter and read the counter mode
to verify thats it indeed set true (1 is technically not correct ist shoud be 
set true)

  man hostmot2 for details


>
>
> ------Original Mail------
> From: "Peter C. Wallace" <p...@mesanet.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Thu, 18 Sep 2014 09:26:45 -0700 PDT
> Subject: Re: [Emc-users] New to LinuxCNC and PnCConf and need some help...
>
> On Thu, 18 Sep 2014, p...@wpnet.us wrote:
>
>> Date: Thu, 18 Sep 2014 11:20:16 -0500
>> From: p...@wpnet.us
>> Reply-To: "Enhanced Machine Controller (EMC)"
>>     <emc-users@lists.sourceforge.net>
>> To: emc-users@lists.sourceforge.net
>> Subject: Re: [Emc-users] New to LinuxCNC and PnCConf and need some help...
>>
>> This seems to be pointing to one issue, when I do this in the open loop 
>> test, the box that displays "hm2_5i25.0.encoder.00.position" just jumps 
>> between 0 and 0.00025 regardless of whether I have "single input encoder" 
>> checked.
>>
>> Still not being able to get any spindle operation at all from LinuxCNC makes 
>> me wonder if there is some bug in 2.6.3
>>
>
> Jumping between counts is a sure sign that the encoder is not in up/down mode
> check the hal file for the proper encoder mode setting
>
>
>>
>> ------Original Mail------
>> From: "andy pugh" <bodge...@gmail.com>
>> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
>> Sent: Thu, 18 Sep 2014 15:07:21 +0100
>> Subject: Re: [Emc-users] New to LinuxCNC and PnCConf and need some help...
>>
>> On 18 September 2014 14:56,  <p...@wpnet.us> wrote:
>>> I figured I'd just get the spindle running at a known speed and put a 
>>> frequency counter on it to calculate CPR
>>
>> It's easier just to reset the encoder, then turn the spindle through
>> one turn, and see what the number is.
>>
>>
>> --
>> 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
>>
>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.  Video for Nerds.  Stuff that Matters.
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.  Video for Nerds.  Stuff that Matters.
> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
> _______________________________________________
> 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.


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&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