Re: [Emc-users] xml for G540 and pncconf with 5i25?

2012-07-27 Thread Bryce Johnson
Is this how you would configure the hal?

setp   hm2_5i25.0.stepgen.04.steplen 1
setp   hm2_5i25.0.stepgen.04.stepspace   1
setp   hm2_5i25.0.stepgen.04.step_type2
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 +
  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 1, 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


Re: [Emc-users] xml for G540 and pncconf with 5i25?

2012-07-27 Thread Peter C. Wallace
On Fri, 27 Jul 2012, Bryce Johnson wrote:

 Date: Fri, 27 Jul 2012 11:29:20 -0500
 From: Bryce Johnson sie...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] xml for G540 and pncconf with 5i25?
 
 Is this how you would configure the hal?

 setp   hm2_5i25.0.stepgen.04.steplen 1
 setp   hm2_5i25.0.stepgen.04.stepspace   1
 setp   hm2_5i25.0.stepgen.04.step_type2
 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:

You would need to set the stepgens position scale to 1 to get a 10KHz 
square wave.



Peter Wallace
Mesa Electronics

--
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


Re: [Emc-users] xml for G540 and pncconf with 5i25?

2012-07-27 Thread Bryce Johnson
That worked.  Thanks Peter!

On Fri, Jul 27, 2012 at 11:44 AM, Peter C. Wallace p...@mesanet.com wrote:

 On Fri, 27 Jul 2012, Bryce Johnson wrote:

  Date: Fri, 27 Jul 2012 11:29:20 -0500
  From: Bryce Johnson sie...@gmail.com
  Reply-To: Enhanced Machine Controller (EMC)
  emc-users@lists.sourceforge.net
  To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 
  Subject: Re: [Emc-users] xml for G540 and pncconf with 5i25?
 
  Is this how you would configure the hal?
 
  setp   hm2_5i25.0.stepgen.04.steplen 1
  setp   hm2_5i25.0.stepgen.04.stepspace   1
  setp   hm2_5i25.0.stepgen.04.step_type2
  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:

 You would need to set the stepgens position scale to 1 to get a 10KHz
 square wave.



 Peter Wallace
 Mesa Electronics


 --
 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


Re: [Emc-users] xml for G540 and pncconf with 5i25?

2012-07-25 Thread Kirk Wallace
On Tue, 2012-07-24 at 20:47 -0700, Peter C. Wallace wrote:
... snip
 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)

I have gotten 1 kHz to work. 
http://wallacecompany.com/machine_shop/G540/g540_siig_1kHz.jpg 
http://wallacecompany.com/machine_shop/G540/ 

It depends on how hard the drive circuit can drive the G540 input. A
buffer chip or transistor that can quickly drive the signal to 5 Volts
and 0 Volts will be able to get more charge into the G540's pump
capacitor and may get the frequency down to 500 Hz.
http://wallacecompany.com/machine_shop/G540/G540_upper_bottom_z-1b.png 

 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 1, 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)

I just use a parallel port, buffer and HAL's charge pump component.
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?About_Charge_Pumps 

The G540 also has a pump bypass. See Step 3 here:
http://www.geckodrive.com/g540-initial-setup-guide 


-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
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


Re: [Emc-users] xml for G540 and pncconf with 5i25?

2012-07-24 Thread Chris Morley



 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
  
--
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


Re: [Emc-users] xml for G540 and pncconf with 5i25?

2012-07-24 Thread Peter C. Wallace
On Wed, 25 Jul 2012, Chris Morley wrote:

 Date: Wed, 25 Jul 2012 00:47:48 +
 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 1, 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