[Emc-users] For Jon Elson, Q on the 12 volts for the servo amp

2015-07-26 Thread Gene Heskett
Jon;

I have some wall warts for a defunct portable phone charger base that 
measures, no load, 13.1 volts.  I am considering using one of them for 
the 12 volts your pwm servo amp needs.

This is not enough overvoltage to make a 7812 work, and if the logic draw 
is 100 mills I expect it will sag to below 13 volts.  Is this usable as 
is?

Cheers, Gene Heskett
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Before i go bonkers: M98, M99

2015-07-26 Thread Dave Caroline
Linuxcnc supports subroutines with a different syntax

http://linuxcnc.org/docs/html/gcode/o-code.html

Dave Caroline

On 26/07/2015, John Thornton j...@gnipsel.com wrote:
 Just because code is available in other controls doesn't automagicly
 mean it is included in LinuxCNC. That is an unrealistic expectation...

 On 7/26/2015 6:29 AM, Andreas Pettersson wrote:
 It don't seem that LinuxCNC supports M98 and M99 for repetitive tasks..
 like cutting slots with a specific distance..

 For example..

 G91 G21
 F30
 G1x-4.12
 G0x5
 M98 P1000 L9
 G0x2
 G90
 G0Z50
 M30

 o1000
 G0Z2.34
 G1x-5
 G0x5
 M99
 %

 (this would work in Mach3, for making several grooves on a cnc lathe).

 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Before i go bonkers: M98, M99

2015-07-26 Thread Marcus Bowman
Instead of that
M98 P1000 L9
use
O1000 CALL
to execute the subroutine once.

If you want to execute it more than once, use a loop (REPEAT, WHILE .. 
ENDWHILE, or DO ... WHILE)

You should also define the subroutines before the main program.

So your program could be:

O1000 SUB
 G0Z2.34
 G1x-5
 G0x5
O1000 ENDSUB

 G91 G21
 F30
 G1x-4.12
 G0x5
O200 REPEAT [9]
O1000 CALL
O200 ENDREPEAT

 G0x2
 G90
 G0Z50
 M30
 %


I have not run this, but I think it should work, minor typos notwithstanding.

Regards,

Marcus


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Before i go bonkers: M98, M99

2015-07-26 Thread Andreas Pettersson
It don't seem that LinuxCNC supports M98 and M99 for repetitive tasks.. 
like cutting slots with a specific distance..

For example..

G91 G21
F30
G1x-4.12
G0x5
M98 P1000 L9
G0x2
G90
G0Z50
M30

o1000
G0Z2.34
G1x-5
G0x5
M99
%

(this would work in Mach3, for making several grooves on a cnc lathe).

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Before i go bonkers: M98, M99

2015-07-26 Thread andy pugh
On 26 July 2015 at 12:29, Andreas Pettersson andr...@roughedge.se wrote:
 It don't seem that LinuxCNC supports M98 and M99 for repetitive tasks..
 like cutting slots with a specific distance..

 M98 P1000 L9

I am not 100% certain what that does, but I think you can have the
same effect with

O200 REPEAT [9]
O1000 CALL
O200 ENDREPEAT

O1000 SUB
...
O1000 ENDSUB


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

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] For Jon Elson, Q on the 12 volts for the servo amp

2015-07-26 Thread Jon Elson
On 07/26/2015 02:51 AM, Gene Heskett wrote:
 Jon;

 I have some wall warts for a defunct portable phone charger base that
 measures, no load, 13.1 volts.  I am considering using one of them for
 the 12 volts your pwm servo amp needs.

 This is not enough overvoltage to make a 7812 work, and if the logic draw
 is 100 mills I expect it will sag to below 13 volts.  Is this usable as
 is?


As long as you can be sure it won't ever surge over 15 V 
when inductive stuff is turned off, it should be fine.  The 
FET drivers and CMOS logic on the PWM amp have no 
regulation.  I usually test with a 9 V wallwart power 
supply that runs about 11.8 V under that load, but that is 
just for the test bench.



--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Before i go bonkers: M98, M99

2015-07-26 Thread Andreas Pettersson
This is the solution.. Just needed to change the output to a diff. 
syntax model. It does basicly the same thing so. =)

Thanks.

// A

Den 2015-07-26 kl. 14:55, skrev Dave Caroline:
 Linuxcnc supports subroutines with a different syntax

 http://linuxcnc.org/docs/html/gcode/o-code.html

 Dave Caroline

 On 26/07/2015, John Thornton j...@gnipsel.com wrote:
 Just because code is available in other controls doesn't automagicly
 mean it is included in LinuxCNC. That is an unrealistic expectation...

 On 7/26/2015 6:29 AM, Andreas Pettersson wrote:
 It don't seem that LinuxCNC supports M98 and M99 for repetitive tasks..
 like cutting slots with a specific distance..

 For example..

 G91 G21
 F30
 G1x-4.12
 G0x5
 M98 P1000 L9
 G0x2
 G90
 G0Z50
 M30

 o1000
 G0Z2.34
 G1x-5
 G0x5
 M99
 %

 (this would work in Mach3, for making several grooves on a cnc lathe).

 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Before i go bonkers: M98, M99

2015-07-26 Thread John Thornton
Just because code is available in other controls doesn't automagicly 
mean it is included in LinuxCNC. That is an unrealistic expectation...

On 7/26/2015 6:29 AM, Andreas Pettersson wrote:
 It don't seem that LinuxCNC supports M98 and M99 for repetitive tasks..
 like cutting slots with a specific distance..

 For example..

 G91 G21
 F30
 G1x-4.12
 G0x5
 M98 P1000 L9
 G0x2
 G90
 G0Z50
 M30

 o1000
 G0Z2.34
 G1x-5
 G0x5
 M99
 %

 (this would work in Mach3, for making several grooves on a cnc lathe).

 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Before i go bonkers: M98, M99

2015-07-26 Thread Kirk Wallace
On 07/26/2015 04:29 AM, Andreas Pettersson wrote:
 It don't seem that LinuxCNC supports M98 and M99 for repetitive tasks..
 like cutting slots with a specific distance..

I haven't looked at how it is done but it looks like Tormach's version 
has M98, M99
http://www.tormach.com/m98.html
http://www.tormach.com/m99.html

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

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] For Jon Elson, Q on the 12 volts for the servo amp

2015-07-26 Thread Gene Heskett
On Sunday 26 July 2015 12:30:42 Jon Elson wrote:
 On 07/26/2015 02:51 AM, Gene Heskett wrote:
  Jon;
 
  I have some wall warts for a defunct portable phone charger base
  that measures, no load, 13.1 volts.  I am considering using one of
  them for the 12 volts your pwm servo amp needs.
 
  This is not enough overvoltage to make a 7812 work, and if the logic
  draw is 100 mills I expect it will sag to below 13 volts.  Is this
  usable as is?

 As long as you can be sure it won't ever surge over 15 V
 when inductive stuff is turned off, it should be fine.  The
 FET drivers and CMOS logic on the PWM amp have no
 regulation.  I usually test with a 9 V wallwart power
 supply that runs about 11.8 V under that load, but that is
 just for the test bench.

On hooking it up to the servo amp today, it makes 11.56 volts with the 
last digit wandering 20 mv.  So it should work.  Whole box is now 
assembled, lid installed after blowing out any drilling debris from 
making the lid screws, and turned it all on with the switch on a surge 
arresting extension cord, no smoke, the night light used for a power off 
bleeder on the motor supply lights normally, which I believe is a good 
sign.  Now I need to get another 5i25 from Peter, its blown something 
and will not initialize, or reflash.  It was pulled partially out of the 
socket by the data cable while powered up, a definite no-no.  Other 
cards installed in the same slot work fine.  I'd clean off the shelf and 
put it in its final resting place, but its 50+ lbs  I'll rest a bit 
before I try setting it on a shelf 6 feet up.

Some furniture yet to assemble, some midden heap to move and dispose of 
too, so without a 5i25 card, I can spend some time doing that.

Cheers, Gene Heskett
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Before i go bonkers: M98, M99

2015-07-26 Thread andy pugh
On 26 July 2015 at 17:01, Kirk Wallace kwall...@wallacecompany.com wrote:
 I haven't looked at how it is done but it looks like Tormach's version
 has M98, M99

Tormach docs might still be referring to Mach3?

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

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Before i go bonkers: M98, M99

2015-07-26 Thread Kirk Wallace
On 07/26/2015 09:18 AM, andy pugh wrote:
 On 26 July 2015 at 17:01, Kirk Wallace kwall...@wallacecompany.com wrote:
 I haven't looked at how it is done but it looks like Tormach's version
 has M98, M99

 Tormach docs might still be referring to Mach3?


Oops, for PathPilot it is Issue 824 and is still open, sorry about that.
http://www.tormach.com/pathpilot_tracking.html#issues

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

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users