Re: [Emc-users] 6i25 StepGen

2013-07-05 Thread andy pugh
On 6 July 2013 00:29, Kirk Wallace kwall...@wallacecompany.com wrote:
 I need to output quadrature stepping from a 6i25.

Do you mean 6i25?

There are many 6i25 firmwares that output step pulses, those are
always FPGA-sourced rather than daughterboard sourced.

The standard 7i76 firmware will be stepping furiously on the pins
described in dmesg.

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

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 6i25 StepGen

2013-07-05 Thread Peter C. Wallace
On Fri, 5 Jul 2013, Kirk Wallace wrote:

 Date: Fri, 05 Jul 2013 16:29:44 -0700
 From: Kirk Wallace kwall...@wallacecompany.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] 6i25 StepGen
 
 I need to output quadrature stepping from a 6i25. Do I have any options
 in this regard, other than bit banging or external circuitry? Thank you.


Sure the Hostmot2 stepgen has 3 output modes:

0 step/dir
1 up/down
2 quadrature


Note that the quadrature output rate is 4 times the rate of the other modes

(man hostmot2)


 -- 
 Kirk Wallace
 http://www.wallacecompany.com/machine_shop/
 http://www.wallacecompany.com/E45/

 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 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.


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 6i25 StepGen

2013-07-05 Thread Kirk Wallace
On 07/05/2013 05:13 PM, andy pugh wrote:
 On 6 July 2013 00:29, Kirk Wallace kwall...@wallacecompany.com wrote:
 I need to output quadrature stepping from a 6i25.

 Do you mean 6i25?

 There are many 6i25 firmwares that output step pulses, those are
 always FPGA-sourced rather than daughterboard sourced.

 The standard 7i76 firmware will be stepping furiously on the pins
 described in dmesg.


Hello Andy. I have a 6i25 without any daughter boards. I want to use it 
to provide A, B, and Z signals to test an encoder input circuit. When I 
looked at the Hostmot2 Stepgen, step/dir was the only output type. The 
software Stepgen component has a wide range of output types, but is too 
slow.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 6i25 StepGen

2013-07-05 Thread Kirk Wallace
On 07/05/2013 05:38 PM, Peter C. Wallace wrote:
... snip
 Sure the Hostmot2 stepgen has 3 output modes:

 0 step/dir
 1 up/down
 2 quadrature
... snip

Sure enough, I see it now.

Parameters -
step_type - (u32, RW) Output format, like the step_type modparam to the 
software stegen(9) component. 0 = Step/Dir, 1 = Up/Down, 2 = Quadrature. 
In Quadrature mode (step_type=2), the stepgen outputs one complete Gray 
cycle (00 - 01 - 11 - 10 - 00) for each step it takes. 

Thank you Peter.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users