Re: [Emc-users] Floating Z (solenoid on PCB Mill) Hal configuration

2007-08-16 Thread Jeff Epler
Thanks -- I imagine this will be helpful to anyone with a similar system. the only thing that comes to mind is that the time emc spends on the "Z" motion had better be long enough for the solenoid to completely lower -- does this take long on your machine, or does it snap right down to the right d

Re: [Emc-users] Proglem with EMC script - understandin g error message

2007-08-16 Thread Gene Heskett
On Thursday 16 August 2007, Jeff Epler wrote: >I spotted several more errors in your program. > >> #10 = 1.4( o.d ) > >... > >> #22 = 90(final arc angle) > >Parameters up to 30 are used for subroutine arguments. Use parameters >above 30 for global variables: > >#40 = 1.4

[Emc-users] Floating Z (solenoid on PCB Mill) Hal configuration

2007-08-16 Thread [EMAIL PROTECTED]
In case anyone else has one of these PCB mills with the solenoid driven floating Z, I thought I would share my configuration changes.  The premise I worked with was that if I could take the commanded Z position and convert it to a bit output to my solenoid relay I could use the standard drill and m

Re: [Emc-users] Proglem with EMC script - understanding error message

2007-08-16 Thread Jeff Epler
I spotted several more errors in your program. > #10 = 1.4( o.d ) ... > #22 = 90(final arc angle) Parameters up to 30 are used for subroutine arguments. Use parameters above 30 for global variables: #40 = 1.4( o.d ) ... #52 = 90(final arc angle) > o20

Re: [Emc-users] Proglem with EMC script - understanding error message

2007-08-16 Thread Andre' Blanchard
I do not have time to reformat or rewrite now but here are a few things that stand out. The sub definitions should come first you are setting the top level local variables first these should be at the begining of the main program. Way too many [] EMC needs more then most controls I have used but

[Emc-users] This is a test

2007-08-16 Thread amtb
This is a test - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splun

Re: [Emc-users] Proglem with EMC script - understandin g error message

2007-08-16 Thread Gene Heskett
On Thursday 16 August 2007, [EMAIL PROTECTED] wrote: >Hi again, > >Thanks to everyone who responded to my earlier mailing. As a result and >after a considerable rewrite and correction I have now managed to get >the script to load - however, it does nothing!! When I hit 'R' or press >the play button

Re: [Emc-users] Proglem with EMC script - understanding error message

2007-08-16 Thread Alan Condit
Ian, I would not recommend using #1 - #30 as global variables. Try something like this. It works for me. #510 = 1.4 ( o.d ) #511 = 0.38 (root dia) #512 = [[#510 - #511] / 2](cut depth) #513 = 5(number of teeth) #514 = 4(length of cut

Re: [Emc-users] Proglem with EMC script - understanding error message

2007-08-16 Thread [EMAIL PROTECTED]
Hi again, Thanks to everyone who responded to my earlier mailing. As a result and after a considerable rewrite and correction I have now managed to get the script to load - however, it does nothing!! When I hit 'R' or press the play button, the screen flashes briefly and returns to the stop st

Re: [Emc-users] Just a Thought

2007-08-16 Thread paul_c
Hi Ray On Tuesday 14 August 2007 15:45, Ray Henry wrote: > There was a heated discussion at that long ago FEST meeting in Ann Arbor > when we created the EMC board.  It was related to it's (us) becoming a > legal entity. Outside of the USA, any "entity" would have little, if any power or status.

Re: [Emc-users] Proglem with EMC script - understandin g error message

2007-08-16 Thread Gene Heskett
On Thursday 16 August 2007, Stephen Wille Padnos wrote: >Gene Heskett wrote: >>[big snip] >> >>Then, down in the call statements, the syntax I've found that works >> involves passing the vars to the subroutine like this example: >> >>N0400 o100 call [#1][#2][#3][#4][#5][#6][#7][#8][#9][#10][#11][#1

Re: [Emc-users] Proglem with EMC script - understanding error message

2007-08-16 Thread Stephen Wille Padnos
Gene Heskett wrote: >[big snip] > >Then, down in the call statements, the syntax I've found that works involves >passing the vars to the subroutine like this example: > >N0400 o100 call [#1][#2][#3][#4][#5][#6][#7][#8][#9][#10][#11][#12][#13] > >The brackets are required to protect the variable

Re: [Emc-users] Proglem with EMC script - understanding error message

2007-08-16 Thread Gene Heskett
On Thursday 16 August 2007, [EMAIL PROTECTED] wrote: >Hi, > >While I have been playing around with EMC since its invention, I have >only recently started to use it seriously as I've only recently finished >(as though it will ever be 'finished') a little cnc milling machine for >making parts for the

Re: [Emc-users] Proglem with EMC script - understanding error message

2007-08-16 Thread Jeff Epler
When emc shows an error message with a "line number", it refers to the physical line number in the file, not an O- or N-number. In emc 2.1, parameters are numbers, not letters. So, for instance, you can't write #D=1.4 you must write #7=1.4 and remember that later on, #7 refers to the o.d.

Re: [Emc-users] Stepper dirves drom bsjd.com

2007-08-16 Thread Jeff Epler
On Thu, Aug 16, 2007 at 01:54:01PM +1000, Jason Cox wrote: > hi all, > just wondering if anyone has used a Q2HB44MA stepper drive > ( http://www.bsjd.com/_en/products_show.asp?Productid=424 ) as I have > just acquired some for my new mill. > which is best a step/dir signal or CW/CCW signaling

[Emc-users] Proglem with EMC script - understanding error message

2007-08-16 Thread [EMAIL PROTECTED]
Hi, While I have been playing around with EMC since its invention, I have only recently started to use it seriously as I've only recently finished (as though it will ever be 'finished') a little cnc milling machine for making parts for the antique watches I restore and other miniature parts. I

Re: [Emc-users] Macro Language

2007-08-16 Thread ben lipkowitz
On Wed, 15 Aug 2007, Sven Mueller wrote: > Also, as I mentioned in my previous mail, it's not clear how you need to > "wire" the probe in hal: which input triggers the G38.2 to stop and > print the position? I couldn't find that mentioned in the docs. motion.probe-input see http://www.linuxcnc.o