Re: [Emc-users] Another 5i25-7i76 question - spindle encoder this time.

2014-10-02 Thread andy pugh
On 2 October 2014 03:14, John Alexander Stewart ivatt...@gmail.com wrote:
 I see nothing - no counts, no action on the input.

It might be worth looking at the A-input pin as GPIO, just to make
sure that it is working electrically. (GPIO 16, or possibly 33
depending on which header you are on)

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Another 5i25-7i76 question - spindle encoder this time.

2014-10-02 Thread John Alexander Stewart
Two great ideas - I'll be in my workshop after work to have a peek.

Thank you - John A. Stewart.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Another 5i25-7i76 question - spindle encoder this time.

2014-10-01 Thread John Alexander Stewart
My 7i76 mill is working very well.

The last setup before I put everything in its place is to get Andy Pugh's
automatic spindle software gearing to work.

I have a spindle encoder, that is not-differential, and does not have an
index. 16 pulses per rev.

I have it wired such that the 3 jumpers (W4, W5, W6) are in the left hand
position (closest to the 25 pin connector), and a wire goes to the ENCA+,
TB3, pin 7. This should put it in TTL mode, with the pulse train going to
ENCA+.

Between pin 7 and pin 1 (gnd) when spinning the spindle manually, I get
between 0.8v and 5.65v on my digital voltmeter.

Input power, 7i76 manual, page 49, says Input Common Mode Range -7 to +12
volts. Input TTL threshold is 1.4 to 1.8v.

I HAVE NOT connected (or jumpered) any other input wires for this encoder -
they are left floating.

The encoder.00.counter-mode is set to 1
encoder.00.filter set to 1
encoder.00.index-invert set to 0, index-mask-invert to 0, latch-enable to 0
encoder.00.scale set to 16

I see nothing - no counts, no action on the input.

I also don't have much luck googling this stuff - maybe I need to practice
more.

Does the above look reasonable? Should I jumper the ENCB, IDX, lines
somewhere?

Yours confusingly,
John A. Stewart.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Another 5i25-7i76 question - spindle encoder this time.

2014-10-01 Thread Peter C. Wallace
On Wed, 1 Oct 2014, John Alexander Stewart wrote:

 Date: Wed, 1 Oct 2014 22:14:16 -0400
 From: John Alexander Stewart ivatt...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] Another 5i25-7i76 question - spindle encoder this time.
 
 My 7i76 mill is working very well.

 The last setup before I put everything in its place is to get Andy Pugh's
 automatic spindle software gearing to work.

 I have a spindle encoder, that is not-differential, and does not have an
 index. 16 pulses per rev.

 I have it wired such that the 3 jumpers (W4, W5, W6) are in the left hand
 position (closest to the 25 pin connector), and a wire goes to the ENCA+,
 TB3, pin 7. This should put it in TTL mode, with the pulse train going to
 ENCA+.

 Between pin 7 and pin 1 (gnd) when spinning the spindle manually, I get
 between 0.8v and 5.65v on my digital voltmeter.

 Input power, 7i76 manual, page 49, says Input Common Mode Range -7 to +12
 volts. Input TTL threshold is 1.4 to 1.8v.

 I HAVE NOT connected (or jumpered) any other input wires for this encoder -
 they are left floating.

 The encoder.00.counter-mode is set to 1
 encoder.00.filter set to 1
 encoder.00.index-invert set to 0, index-mask-invert to 0, latch-enable to 0
 encoder.00.scale set to 16

 I see nothing - no counts, no action on the input.

 I also don't have much luck googling this stuff - maybe I need to practice
 more.

 Does the above look reasonable? Should I jumper the ENCB, IDX, lines
 somewhere?

 Yours confusingly,
 John A. Stewart.

This sounds familiar, can you check the the countermode is indeed set true?
I think pncconf sets the counter mode it two places so you think you have 
counter mode set true but its not...


 --
 Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
 Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
 Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
 Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
 http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/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.


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users