Re: [Emc-users] Can G code subs RECURSIVELY call themselves?

2011-03-14 Thread Igor Chudov
Thank you on both counts! Here's my sub to make a turner's cube: (Makes a turner's cube. See projects.txt for formulas). O sub #= #1 (X Center) #= #2 (Y Center) # = #3 (Current Z) # = #4 (Side) # = #5 (Mill Diameter) #= #6 #= #7 # = [# * #/2] O if [ #

Re: [Emc-users] Can G code subs RECURSIVELY call themselves?

2011-03-14 Thread Kim Kirwan
Hi Igor, Good to write to you. I have been following your BP2 project with great interest. >From the docs, EMC2 User Manual v2.4, Chapter 17.1, page 121: [Subroutines] may be called from other functions, and may call themselves recursively if it makes sense to do so. The maximum subroutine nesti

Re: [Emc-users] higher speed spindle

2011-03-14 Thread gene heskett
On Tuesday, March 15, 2011 12:02:14 AM Edward Bernard did opine: > Gene- > Take a look at the spindle Paul Jones makes: > http://www.angelfire.com/az2/proff/index.html. I think that's what you > had in mind, yes? VXB has cheap bearings: http://www.vxb.com/. Have > fun! > > -Greg > Already did Ed

Re: [Emc-users] higher speed spindle

2011-03-14 Thread Edward Bernard
Gene- Take a look at the spindle Paul Jones makes: http://www.angelfire.com/az2/proff/index.html. I think that's what you had in mind, yes? VXB has cheap bearings: http://www.vxb.com/. Have fun! -Greg From: gene heskett To: Enhanced Machine Controller (EMC)

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Jon Elson
> On 14 March 2011 10:50, John Thornton wrote: > >> Is it not amazing that the hillbillies from backwoods Missouri with a >> 3rd grade education can make a rotary phase converter without all the >> math... >> > Of course! The trick is the windings in the motor do all the math for

[Emc-users] Can G code subs RECURSIVELY call themselves?

2011-03-14 Thread Igor Chudov
I am thinking about making a turner's cube on a mill. It is an easy task, but for elegance, I would really like to write a turner's cube subroutine that would call itself recursively. O sub ... ... ... O if [something] O call [...] O endif ... O endsub Can I do that? --

[Emc-users] higher speed spindle

2011-03-14 Thread gene heskett
Hi everybody; I did some back of the napkin measuring this evening, with an eye toward building a vice for wood to hang down over the left front edge of the table of my micro mill, then either strip an old wallered out bearings B&D router, the crap they sold 20 years ago for $29.95, replace its

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Peter Blodow
Kirk Wallace schrieb: > On Mon, 2011-03-14 at 22:55 +0100, Peter Blodow wrote: > >> Kirk, >> >> "Neutral" is not to be considered. You have two wires coming from the >> supplier. Adding a capacitor makes three of them. The two mains lines >> are 180 degrees apart by definition. The capacitor

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Kirk Wallace
On Mon, 2011-03-14 at 22:55 +0100, Peter Blodow wrote: > Kirk, > > "Neutral" is not to be considered. You have two wires coming from the > supplier. Adding a capacitor makes three of them. The two mains lines > are 180 degrees apart by definition. The capacitor makes a third phase > 90 degrees

Re: [Emc-users] Icon for pyVCP

2011-03-14 Thread Kirk Wallace
On Mon, 2011-03-14 at 12:22 -0400, Mark Wendt wrote: > On 03/14/2011 12:20 PM, Kirk Wallace wrote: > > On Mon, 2011-03-14 at 05:37 -0400, Mark Wendt wrote: > > ... snip > >>Are you already starting it from a launcher on the desktop? > > ... snip > > > > Yes, I tried that a couple of times, but

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Peter Blodow
Hello Andy, it's just the same here, if you separate the usual three phase supply into three separate 230 V-systems, each defined to ground. I was talking about a, say, small household, where only one of these phases is available. Other households in the same building may have others of the thr

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Peter Blodow
Kirk, "Neutral" is not to be considered. You have two wires coming from the supplier. Adding a capacitor makes three of them. The two mains lines are 180 degrees apart by definition. The capacitor makes a third phase 90 degrees between them. Connect your motor, and it will be running, regardl

Re: [Emc-users] How to access the SERVO_PERIOD from a component?

2011-03-14 Thread Kirk Wallace
On Mon, 2011-03-14 at 12:22 -0700, Kirk Wallace wrote: ... snip > I think SERVO PERIOD is in the Linux environment as well as many > other .ini file variables. Try 'env' to see all of the environment > variables. For a particular variable use 'echo $variable' such as 'echo > $PATH'. I haven't check

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Kirk Wallace
On Mon, 2011-03-14 at 14:54 -0500, Igor Chudov wrote: > Kirk, I believe that now you got everything completely right. > i Thank you. This is why I value when people let me know when I may be wrong. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Igor Chudov
Kirk, I believe that now you got everything completely right. i On Mon, Mar 14, 2011 at 2:42 PM, Kirk Wallace wrote: > On Mon, 2011-03-14 at 17:58 +0100, Peter Blodow wrote: > ... snip > > A capacitor connected to one leg of the two-phase system produces a 90 > > degree phase shift relative to

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread andy pugh
On 14 March 2011 19:42, Kirk Wallace wrote: > In case my attachment doesn't go through, here is my graphical study of > a rotary three phase converter: > http://www.wallacecompany.com/machine_shop/EMC2/three_phase_converter-1a.png You have 2-phase power? In the UK we get one phase and line neut

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Kirk Wallace
On Mon, 2011-03-14 at 17:58 +0100, Peter Blodow wrote: ... snip > A capacitor connected to one leg of the two-phase system produces a 90 > degree phase shift relative to this lead. Using this as a mock three > phase system, you will have 180 + 90 +90 degrees for a revolution > including a direct

Re: [Emc-users] How to access the SERVO_PERIOD from a component?

2011-03-14 Thread Kirk Wallace
On Mon, 2011-03-14 at 18:56 +0100, jros wrote: > Hi, > > I'm doing a component derivated from motenc that simulates a virtual > machine. It would be nice If I could get the value of the SERVO PERIOD, > As I need it to make the integral of the state. > > Thanks in advance, > > Javier I think SER

Re: [Emc-users] How to access the SERVO_PERIOD from a component?

2011-03-14 Thread andy pugh
On 14 March 2011 17:56, jros wrote: > I'm doing a component derivated from motenc that simulates a virtual > machine. It would be nice If I could get the value of the SERVO PERIOD, If you are using comp, then you can use the variable fperiod. (which is the period in seconds in floating point for

[Emc-users] How to access the SERVO_PERIOD from a component?

2011-03-14 Thread jros
Hi, I'm doing a component derivated from motenc that simulates a virtual machine. It would be nice If I could get the value of the SERVO PERIOD, As I need it to make the integral of the state. Thanks in advance, Javier --

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Kirk Wallace
On Mon, 2011-03-14 at 05:50 -0500, John Thornton wrote: > Is it not amazing that the hillbillies from backwoods Missouri with a > 3rd grade education can make a rotary phase converter without all the > math... > > Interesting discussion. > > John If a conclusion is true, there are different wa

Re: [Emc-users] DEBUG, rtapi_print_msg, dmesg

2011-03-14 Thread jros
Thank you, It works!, Javier On Mon, 2011-03-14 at 16:10 +, andy pugh wrote: > On 14 March 2011 15:56, jros wrote: > > Hi, > > > > I can not get mesages on dmesg using > > > > rtapi_print_msg(RTAPI_MSG_WARN... > > rtapi_print_msg(RTAPI_MSG_INFO... > > > > only > > > > rtapi_print_msg(RTAPI_

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Peter Blodow
Gentlemen, using a "phase pusher" capacitor is a cheap and common workaround when a three phase supply isn't available. I have used this with a lathe for some time, since a machine like this doesn't need its full power most of the time and it always starts idling without load. Ordinary three p

Re: [Emc-users] Icon for pyVCP

2011-03-14 Thread Mark Wendt
On 03/14/2011 12:20 PM, Kirk Wallace wrote: > On Mon, 2011-03-14 at 05:37 -0400, Mark Wendt wrote: > ... snip >> Are you already starting it from a launcher on the desktop? > ... snip > > Yes, I tried that a couple of times, but mostly I have been trying to > get back to the terminal from the

Re: [Emc-users] Icon for pyVCP

2011-03-14 Thread Kirk Wallace
On Mon, 2011-03-14 at 05:37 -0400, Mark Wendt wrote: ... snip > Are you already starting it from a launcher on the desktop? ... snip Yes, I tried that a couple of times, but mostly I have been trying to get back to the terminal from the halcmd: prompt, which needs to happen first. -- Kirk W

Re: [Emc-users] DEBUG, rtapi_print_msg, dmesg

2011-03-14 Thread andy pugh
On 14 March 2011 15:56, jros wrote: > Hi, > > I can not get mesages on dmesg using > > rtapi_print_msg(RTAPI_MSG_WARN... > rtapi_print_msg(RTAPI_MSG_INFO... > > only > > rtapi_print_msg(RTAPI_MSG_ERR... > > I've changed the debug level from 0 to 0x7FFF as indicated in > emcglb.h. There may be

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Les Newell
I do the same for the headstock lubrication pump and spindle motor cooling fan on my lathe. I used the 'select on test' technique - I just tried a bunch of different values until I had the minimum running current while still starting reliably. For phase converter duty you play around with the c

[Emc-users] DEBUG, rtapi_print_msg, dmesg

2011-03-14 Thread jros
Hi, I can not get mesages on dmesg using rtapi_print_msg(RTAPI_MSG_WARN... rtapi_print_msg(RTAPI_MSG_INFO... only rtapi_print_msg(RTAPI_MSG_ERR... I've changed the debug level from 0 to 0x7FFF as indicated in emcglb.h. The verbosity of the output increases, but the messages I' intending

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread dave
On Mon, 2011-03-14 at 15:41 +, andy pugh wrote: > On 14 March 2011 15:30, gene heskett wrote: > > > If I read it right, it is being said that perhaps a capacitor of the > > correct value to create a usable phase lead, from L1 or L2 to L3, will > > start a 3 phase motor on single phase power,

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread andy pugh
On 14 March 2011 15:30, gene heskett wrote: > If I read it right, it is being said that perhaps a capacitor of the > correct value to create a usable phase lead, from L1 or L2 to L3, will > start a 3 phase motor on single phase power, direction of the rotation > dependent on which 2 the capacitor

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread gene heskett
On Monday, March 14, 2011 10:50:03 AM John Thornton did opine: > Is it not amazing that the hillbillies from backwoods Missouri with a > 3rd grade education can make a rotary phase converter without all the > math... > > Interesting discussion. > Interesting indeed John. I have stayed out of it

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Ed Nisley
On Mon, 2011-03-14 at 11:00 +, andy pugh wrote: > which caused some worrying sizzling noises. Obviously, your radio isn't turned up nearly loud enough... (Which helps with car repairs, too.) -- Ed http://softsolder.com

Re: [Emc-users] CAM-related question

2011-03-14 Thread Stuart Stevenson
On Sat, Mar 12, 2011 at 4:30 PM, Viesturs Lācis wrote: > Hello, gentlemen! > > I would like to ask, if anyone has an idea, how to create a code to > produce this kind of part (both files contain the same model, I just > saved it in 2 different formats): > http://www.cutting.lv/fileadmin/user_uploa

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread andy pugh
On 14 March 2011 10:50, John Thornton wrote: > Is it not amazing that the hillbillies from backwoods Missouri with a > 3rd grade education can make a rotary phase converter without all the > math... I made a step-up rotary phase converter with no mathematics at all. 240V in between star-point and

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread John Thornton
Is it not amazing that the hillbillies from backwoods Missouri with a 3rd grade education can make a rotary phase converter without all the math... Interesting discussion. John Kirk Wallace wrote: > On Mon, 2011-03-14 at 00:04 -0400, Przemek Klosowski wrote: > >> On Wed, Mar 9, 2011 at 12:

Re: [Emc-users] Icon for pyVCP

2011-03-14 Thread Mark Wendt
On 03/13/2011 12:07 PM, Kirk Wallace wrote: > I have a stand alone pyVCP application that configures a Modbus device. > I would like to have an icon and script that invokes the application. > The problem is that halrun requires the -I (interactive) option. When I > close the application, a terminal

Re: [Emc-users] Single to Three Phase Rotary Converters

2011-03-14 Thread Kirk Wallace
On Mon, 2011-03-14 at 00:04 -0400, Przemek Klosowski wrote: > On Wed, Mar 9, 2011 at 12:35 AM, Kirk Wallace > wrote: > > > Let me try to provide more details on my understanding of the phase > > timing of DIY converters. Attached is a schematic of a common rotary > > converter. The source is here:

[Emc-users] new software

2011-03-14 Thread a
Hi I found very interesting software http://www.intact-solutions.com/technology.php It is about Finite elements that can be very important when design large tool, fixture and teen wall part. To manufacture -cut very complex and big part it is not enough to have good CAD/CAM and good CNC machine.