Re: [Emc-users] almost for how helpful

2009-05-18 Thread sam sokolik
I think you can still get IBM keyboards (made with the same pattens) 

http://pckeyboards.stores.yahoo.net//index.html

:)  ah the good old days.
sam

Mark Wendt (Contractor) wrote:
 I remember those.  We had them by the thousands here at the Lab, back 
 when the Big Iron was king.  Orange was a little easier on the eyes 
 than that ugly shade of green.  Perhaps that's why it was so 
 effective as the splash screen for the Matrix movies - the green 
 that is.  I haven't touched an Apple keyboard in years.  If I recall, 
 their old keyboards were pretty decent.  Where does one find decent 
 keyboards today?  I haven't seen one in a long, long time.

 Mark

 At 10:15 AM 5/18/2009, you wrote:
   
 Orange 8). And a big yes regarding the tactile feedback. The worst are
 Apple Keyboards. They are like touching a pork chop in a plastic bag.
 I loved to 'hack' the living heck out of the older keyboards. Today I
 fear my fingers would jam right through 8).
 On the other hand... there are still good key boards. But do I pay
 that price? Na I rather poke a dead pork chop than pay $100 haha.
 Rainer


 On Mon, May 18, 2009 at 6:05 AM, Mark Wendt (Contractor)
 mark.we...@nrl.navy.mil wrote:
 
 Speaking of VT100's and such, you know what I really miss?  The
 feel of the older keyboards that DEC and IBM used to sell.  There
 was just a more robust feel to the keystroke, like you were actually
 typing on a real keyboard.  There just doesn't seem to be the tactile
 feel in these modern keyboards.

 So, was it monochromatic green or orange?  ;-)

 Mark
   


 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables 
 unlimited royalty-free distribution of the report engine 
 for externally facing server and web deployment. 
 http://p.sf.net/sfu/businessobjects
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mesa-Hm2

2009-05-29 Thread sam sokolik
I was in the reading room with a popular science... ;)

also they say the milk might taste more burnt..  (I never noticed that)

love you
sam

Sebastian Kuzminsky wrote:
 Terry wrote:
   
 If I change this line:

 CONFIG=firmware=hm2/5i20/SVST8_4.BIT num_encoders=3 num_pwmgens=4 
 num_stepgens=1

 to this:

 CONFIG=firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=4 
 num_stepgens=0

 I can have the step gen pins as gpio pins?

 Also I can have the pins that are listed as the encoders (and pwms) on 
 channels that
 are numbered larger than the four that I am using? (4,5,6,ect)

 I hope this is right as it sounds good to me.
 

 Yes, that's it exactly.  :-)


   
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mesa-Hm2

2009-05-29 Thread sam sokolik
heh - sorry about that..  I know love is a strong word...  ;)

(replied to the wrong email)

sam sokolik wrote:
 I was in the reading room with a popular science... ;)

 also they say the milk might taste more burnt..  (I never noticed that)

 love you
 sam

 Sebastian Kuzminsky wrote:
   
 Terry wrote:
   
 
 If I change this line:

 CONFIG=firmware=hm2/5i20/SVST8_4.BIT num_encoders=3 num_pwmgens=4 
 num_stepgens=1

 to this:

 CONFIG=firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=4 
 num_stepgens=0

 I can have the step gen pins as gpio pins?

 Also I can have the pins that are listed as the encoders (and pwms) on 
 channels that
 are numbered larger than the four that I am using? (4,5,6,ect)

 I hope this is right as it sounds good to me.
 
   
 Yes, that's it exactly.  :-)


   
 
 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
 is a gathering of tech-side developers  brand creativity professionals. Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing,  
 iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
 Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Inspiration please......

2009-05-31 Thread sam sokolik
The cnczone link tom posted is what I have been working on.   The 
current schem/pictures are here
http://www.electronicsam.com/images/KandT/servostart/schem/latestcurrentlimit/
use at your own risk :)

It might be overkill for your application but might give you some 
ideas.  The input is PWM/PWM (sending pwm in one input is cw - sending 
pwm in the other input is ccw) (plus an enable).  I have run this 
directly from the printer port but am using the pluto for faster encoder 
counting when using it to run closed loop (servo).  It has been lightly 
tested up to 22a 180v.  (the limit right now is the boot strap diodes 
are only rated for 200v).  For my app that should be fine as 150-160v is 
where my servos max out.
This thing has evolved slowly over the last few years.  Started out as a 
simple opto-isolated h-bridge.  Added current limit and enable.  (this 
when thru a few iterations as I had some issues with current paths and 
current sensing)  finally after fighting current sensing issues (mainly 
trying to filter out the mosfet turn on spike) I added a blanking 
circuit. (makes it so the current sense circuit doesn't read anything 
for aprox first 5us the mosfets turn on).

The way it is setup - the circuit is really designed for 20khz or lower pwm.
couple videos of the previous versions.. ;)
http://www.youtube.com/watch?v=qY-FCN5ZXkgfeature=channel_page
http://www.youtube.com/watch?v=i3zB1ZJv8cMfeature=channel_page

picture of latest version (one I brought to Wichita.)
http://www.electronicsam.com/images/KandT/servostart/schem/latestcurrentlimit/right.JPG
people had fun turning the servo shaft and running it into current 
limit.  (it was set to 5a at the time)

sam



Tom wrote:
 Ian Wright watchm...@... writes:

   
 Hi,

 I'm looking for inspiration as to how I can use a 12 volt 
 6-8 Amp motor
 to drive my mini-mill spindle. I'm currently using an old 
 mains voltage
 teleprinter motor which, although it does the job admirably, 
 is as noisy
 as hell and I have to leave the room while it screeches 
 away. I've now
 got this nice little 12 pole 12 volt motor which should do 
 the job
 better and quieter but, while I am fitting it, I would like 
 to get some
 automatic control over its speed. So, does anyone know of any
 schematics/circuits which I could build to allow me to hook 
 the motor up
 to EMC2 and send it meaningful M3 / M4's?

 Ian
 
 Ian W. Wright
 Sheffield  UK
 


 Hello Ian,

 Since you mention schematics/circuits I am assuming that you intend to 
 build 
 your own H bridge controller for the 12V spindle motor that you have. True? 
 If 
 so, you will need to decide on what control signal (0-10-vdc + dir, pwm + 
 dir) 
 you will use. If, for example, you decide to use 0-10vdc + dir then you will 
 need to decide how to output it (CNC4PC, Mesa 5i20, motenc, etc.) and how to 
 properly isolate it so that switching noise from the spindle 
 amplifier/H-bridge 
  motor commutator does not interfere with the logic side of your controls. 

 Once you have an isolated spindle control signal, then you can adapt any 
 number 
 of H bridge controllers to use that signal. The Unitrode UC1637 is an H 
 bridge 
 controller that can be configured to use a 0-10v control signal, and could be 
 used to control a homebrew H bridge consisting of P channel high side / N 
 channel low side mosfets. See the datasheet here:
 http://www.iutenligne.net/ressources/etudes_realisations/Lequeu/kart/pdf/SLUA13
 7.pdf

 Here is a link to an open source dc servo design discussion that might help.
 http://www.cnczone.com/forums/showthread.php?t=25929

 Good luck,
 Tom


 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
 is a gathering of tech-side developers  brand creativity professionals. Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing,  
 iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
 Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.339 / Virus Database: 270.12.46/2145 - Release Date: 05/31/09 
 05:53:00

   

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Emc-users 

Re: [Emc-users] Inspiration please......

2009-05-31 Thread sam sokolik
I switched to igbt's because I got a good deal on them and they are 51A 
at 900v.  (yes they seem to be running a bunch cooler than the mosfets I 
was trying. - like it is hard for me to tell if they are getting warm at 
20a.)  The inital mosfets I was using had a Rds that was way to high.  
You just couldn't get the heat away from them at anything above 10-15A.  
JohnK schooled me quite a few times on what the specs really mean :). 
Thanks again John!

I am very happy with the current design.  (at least I have not destroyed 
it yet) 

The big servos we are going to use are pretty much 1:1 as far as amp vs 
current.   So 5 amps is about 5 ft-lbs.

sam

Tom wrote:
 sam sokolik sa...@... writes:
 

   
 The cnczone link tom posted is what I have been working on.   The 
 current schem/pictures are here

 
 http://www.electronicsam.com/images/KandT/servostart/schem/latestcurrentlimit/
   
 use at your own risk :)

 

 snip...

 Good to hear from you Sam! Thanks for the recent links.
 I wish I had been able to make to the Fest, I 
 would have looked forward to meeting you and comparing notes...

 Nice work on the blanking circuit. 
 Did you switch to power IGBTs? Are they running cooler?

 Amazing how much holding power you can get with 5 amps on those big servos.

 Tom



 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
 is a gathering of tech-side developers  brand creativity professionals. Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing,  
 iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
 Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.339 / Virus Database: 270.12.46/2145 - Release Date: 05/31/09 
 05:53:00

   

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Show Hidden Files and Directories????

2009-06-30 Thread sam sokolik
from here
http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2009-04-28.txt

I think kirk first noticed it
I also think it is fixed in the development version.

The gist of it is - don't click on the check box - click on the words.

2009-04-28 20:42:09 skunkworks 8.04 latest livecd
2009-04-28 20:42:25 skunkworks aj12
2009-04-28 20:43:16 jepler and the lockup happens after you click 
show hidden files and directories
2009-04-28 20:43:17 jepler ?
2009-04-28 20:43:21 skunkworks yes
2009-04-28 20:43:24 jepler before you do anything else, or the screen 
contents refresh?
2009-04-28 20:43:34 archivist ok now fired up emc and axis stops the show
2009-04-28 20:43:35 skunkworks the check doesn't actually check either
2009-04-28 20:44:22 archivist and the contents dont change in the window
2009-04-28 20:44:33 skunkworks you can go right into axis - file open 
- then try to check the checkbox.
2009-04-28 20:44:35 jepler aha!  finally it did it for me too
2009-04-28 20:44:41 crice I just went to my home folder using axis 
open and clicked on show hidden.
2009-04-28 20:44:47 jepler you guys all click the box.  I was clicking 
the words next to it
2009-04-28 20:45:02 skunkworks heh - odd
2009-04-28 20:45:07 toastatwork toastatwork has quit
2009-04-28 20:45:22 skunkworks clicking on the words works?
2009-04-28 20:45:26 archivist odd bug of the year
2009-04-28 20:45:33 jepler skunkworks: it does for me
2009-04-28 20:45:53 jepler well now I know how I'll be spending my evening
2009-04-28 20:46:09 jepler thanks all for crashing your computers for me
2009-04-28 20:46:13 skunkworks does here also


a...@conceptmachinery.com wrote:
 hi
 can i remove everything that with ~ mark?
 what happen if i got 1000 files and i have problem find what i need?
 my editor same as on all EMC2.
 i did not add anything.
 thanks
 aram

   
 Depending on the editor, they make a 'backup' of a file with a tilde ( ~ )
 appended
 to the file name.

 You don't have to delete them, unless you are running low on space or you
 are a little OCD :)

 IHS ... Jack


 On Tue, Jun 30, 2009 at 12:02 AM, a...@conceptmachinery.com wrote:

 
 Hi
 when i try to click on Show Hidden Files and Directories 
 to check box my computer freezes and i need cut power to restart.
 why it happened?

 Also what is the reason for Linux show files with this  ~ that not
 exist?
 i delete file and it still show with mark  ~ .
 Can i remove that files?

 after while i may have 1000 file deleted, so they all will there with ~
 mark??

 thanks
 aram




 --
 ___
 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] atom processor

2009-07-30 Thread sam sokolik
I have played with this board 
http://www.newegg.com/Product/Product.aspx?Item=N82E16813121359

nothing stellar but works (latency's stay just under 20us) Using the 
stock emc2 livecd. YMMV

sam

Douglas Pollard wrote:
 Hi all,  Have just lost my shop cnc computer motherboard gone as best I 
 can tell.   Have been looking  on line a new computers and there are a 
 couple cheap ones  with an atom processor 1.6 ghtz   a couple gigs of 
 ram am wondering if anyone has used this processor with Emc.
 Anybody got any ideas on this.
   Thanks, Doug

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Realistic spindle encoder count for parallel port?

2009-09-16 Thread sam sokolik
I don't know how many have seen this but it really shows how flexable 
emc2 is.  This is rigid tapping through the printer port.  (and it is 
just cool)  He is using a 360ppr encoder.

http://www.youtube.com/watch?v=C740zS9R9kk

You can read about it here.

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Pjm

sam

Jon Elson wrote:
 Steve Blackmore wrote:
   
 On Tue, 15 Sep 2009 20:24:16 -0500, you wrote:

   
 
 On Tue, 2009-09-15 at 11:06 -0400, Dave wrote:
 
   
   
 
 IMO you'd want it to be no more than a pulse wide or the threading may
 start at any of the pulses that the index spans.
 
   
 Strange behaviour? - It should start on either the rising or falling
 edge, if it starts anywhere else it needs fixing. 
   
 
 This whole thread is about using the SOFTWARE enocder counter (a HAL 
 component) for the
 spindle position.  It is software sampling of the encoder signals, so 
 the rising edge would be detected
 at the first sample where index was noticed to be true.  But, of course, 
 if the sample rate was slower than
 the quadrature count rate, the encoder counter would not be able to 
 reliably count position anyway!
 So, stretching the index pulse wider than one encoder count would not 
 actually help anything, unless
 you were wanting to just sense the index pulse and ignore the quadrature 
 count.

 All in all, I think the whole exercise is a big mistake.  If you want to 
 use the software encoder counter, you
 need a low resolution encoder, maybe as low as 25 cycles/rev, or 100 
 quadrature counts/rev.  At 1000 RPM
 or 16.67 RPS, that would give 1667 counts/second, plenty safe for 
 software counting.  I would think this would still
 give perfectly smooth following of the axis.  If you insist on a higher 
 resolution encoder, then you should be using
 a hardware encoder counter.  Any possibility of accidentally running the 
 spindle at a speed where the software counter
 loses track will eventually occur and bite you!

 Jon

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2009-09-30 Thread sam sokolik
Check to see what output you are using from the encoder hal componant..  
*encoder.*/N/*.position-interpolated does what you need.

'*Position in scaled units, interpolated between encoder counts. Only 
valid when velocity is approximately constant, do not use for position 
control'

http://linuxcnc.org/docs/2.3/html/man/man9/encoder.9.html
*
sam
*
Steve Blackmore wrote:
 On Wed, 30 Sep 2009 10:50:58 +0100, you wrote:

   
 I am intending to make a better encoder. I think my problem is an
 unfortunate combination of things one of which is too-infrequent
 position updates,
 

 I think one of the problems I have is that there seems to be no
 averaging on my spindle encoder values. I've done a test today that
 highlights that problem. I ran a 1.5mm pitch thread at 200 rpm, with a
 125 ppr encoder and recorded the sound. The Z stepper is machine
 gunning, stop/start/stop/start etc and not running smoothly. The spindle
 speed isn't changing ( both my o'scope and a frequency counter confirm
 that) but my system seems to think it is and incorrectly adjusts the Z
 axis accordingly!

 I've no idea how, or if it's possible to average the encoder readout?

 Steve Blackmore
 --

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2009-09-30 Thread sam sokolik
sorry - I meant replace the line with

net spindle-position *encoder.*/0/*.position-interpolated* = 
motion.spindle-revs

sam 





Steve Blackmore wrote:
 On Wed, 30 Sep 2009 15:57:12 +0100, you wrote:

   
 On Wed, 30 Sep 2009 14:26:24 +0100, you wrote:

 
 2009/9/30 Steve Blackmore st...@pilotltd.net:

   
 I've no idea how, or if it's possible to average the encoder readout?
 
 Yes, you need to make a small change to your HAL file, see:
 http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,view/catid,24/id,369/limit,6/limitstart,42/lang,en/#891
   
 position-interpolated  - that's even worse :(
 

 For interest, these are the only lines in my hal file that refer to
 encoder, can anybody see anything wrong or missing?

 loadrt encoder num_chan=1

 setp encoder.0.position-scale 500.00
 net spindle-position encoder.0.position = motion.spindle-revs
 net spindle-velocity encoder.0.velocity = motion.spindle-speed-in
 net spindle-index-enable encoder.0.index-enable =
 motion.spindle-index-enable
 net spindle-phase-a encoder.0.phase-A
 net spindle-phase-b encoder.0.phase-B
 net spindle-index encoder.0.phase-Z

 Steve Blackmore
 --

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2009-09-30 Thread sam sokolik
Try changning

net spindle-position encoder.0.position = motion.spindle-revs

to

*net encoder.0**.position-interpolated *= motion.spindle-revs

(if I did that right) and see if the low rpm jitter is gone.

sam

Steve Blackmore wrote:
 On Wed, 30 Sep 2009 15:57:12 +0100, you wrote:

   
 On Wed, 30 Sep 2009 14:26:24 +0100, you wrote:

 
 2009/9/30 Steve Blackmore st...@pilotltd.net:

   
 I've no idea how, or if it's possible to average the encoder readout?
 
 Yes, you need to make a small change to your HAL file, see:
 http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,view/catid,24/id,369/limit,6/limitstart,42/lang,en/#891
   
 position-interpolated  - that's even worse :(
 

 For interest, these are the only lines in my hal file that refer to
 encoder, can anybody see anything wrong or missing?

 loadrt encoder num_chan=1

 setp encoder.0.position-scale 500.00
 net spindle-position encoder.0.position = motion.spindle-revs
 net spindle-velocity encoder.0.velocity = motion.spindle-speed-in
 net spindle-index-enable encoder.0.index-enable =
 motion.spindle-index-enable
 net spindle-phase-a encoder.0.phase-A
 net spindle-phase-b encoder.0.phase-B
 net spindle-index encoder.0.phase-Z

 Steve Blackmore
 --

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2009-09-30 Thread sam sokolik
lets try that one more time.  (again - sorry)  I have to stop copy and 
pasting

net spindle-position encoder.0.position-interpolated = motion.spindle-revs



Steve Blackmore wrote:
 On Wed, 30 Sep 2009 15:57:12 +0100, you wrote:

   
 On Wed, 30 Sep 2009 14:26:24 +0100, you wrote:

 
 2009/9/30 Steve Blackmore st...@pilotltd.net:

   
 I've no idea how, or if it's possible to average the encoder readout?
 
 Yes, you need to make a small change to your HAL file, see:
 http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,view/catid,24/id,369/limit,6/limitstart,42/lang,en/#891
   
 position-interpolated  - that's even worse :(
 

 For interest, these are the only lines in my hal file that refer to
 encoder, can anybody see anything wrong or missing?

 loadrt encoder num_chan=1

 setp encoder.0.position-scale 500.00
 net spindle-position encoder.0.position = motion.spindle-revs
 net spindle-velocity encoder.0.velocity = motion.spindle-speed-in
 net spindle-index-enable encoder.0.index-enable =
 motion.spindle-index-enable
 net spindle-phase-a encoder.0.phase-A
 net spindle-phase-b encoder.0.phase-B
 net spindle-index encoder.0.phase-Z

 Steve Blackmore
 --

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders

2009-10-03 Thread sam sokolik
when you get a chance - try the interpolated output from the encoder.

sam

Steve Blackmore wrote:
 On Fri, 02 Oct 2009 15:24:24 -0400, you wrote:

   
 Page 5 and 6 show it but not at a good time scale, page 7 from the base 
 thread sample shows it very clearly Steve.  Noise.  Until that is gone (and 
 encoder A output could have a closer to 50% duty cycle too, I'd almost 
 return 
 that one in fact if its sealed and non adjustable), it isn't going to work, 
 not even if we make sacrifices. :)

 I have to assume the encoders cabling is shielded, and the shield ends at 
 the 
 encoder so there is no connection via the shield to the machine by way of 
 how 
 the encoder is mounted and driven.  That would be what we call a ground 
 loop, 
 and that is usually a no-no. 
 

 Thanks Gene, that gave me clue and I found it - The encoder cable had a
 strand from the shield touching the plug at the controller end. Much,
 much better now, but still has the odd glitch, from where I don't know.
 disconnecting all the grounds didn't get rid of it.

 As for the 50% duty cycle, can't do anything about that other than
 replace the encoder.

 But - running at slow speed it's MUCH better, and running my test 1.5mm
 pitch test file at my normal 700 rpm it's not noticeable at all.

 Have a look at the difference :)

 http://filebin.ca/brcenc/encoder.pdf


 Steve Blackmore
 --

 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G68 coordinate system rotations (apparently it's been implemented?!?!)

2009-10-26 Thread sam sokolik
I do not know where you get the g68 code but coordinate rotation is 
implemented in the development version of emc2. -This is done using g10. 
   Direction for getting it here 
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#On_Ubuntu_6_06_or_8_04_from_source
definition here
http://www.linuxcnc.org/docs/devel/html/gcode_main.html#sub:G10:-Set-Coordinate
http://www.linuxcnc.org/docs/devel/html/gcode_main.html#sec:G10-L20

I have played with it -  Works great :)
http://www.electronicsam.com/images/KandT/testing/rotate1.png
http://www.electronicsam.com/images/KandT/testing/rotate.png

sam




Colin MacKenzie wrote:
 According to this recent page...
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?action=browsediff=3id=EmcFeatures

 ...G68 has been implemented. However, I have 2.3.3 installed and it says 
 unknown gcode. I've been looking forward to this gcode for a long time. I 
 would use it to easily correct any misalignments of the workpiece. For 
 example, in drilling pcb's I would touch off at one drill point (or any 
 reference point), go to an opposite drill point and compute the necessary 
 rotation in the XY plane. I would automate this process in my drill file 
 gcode generator.

 Sure, there are ways of realigning the workpiece, but I often end up a few 
 mils or so off and it takes longer.

 Anyone know the true status of this feature? I heard a year ago it would be 
 tough to implement because of the nature of emc's framework. (??)

 C
 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Has anyone ever done a Kitamura?MyCenter/EMC?conversion?

2009-10-31 Thread sam sokolik
Hey!  Did you end up using your home made pwm drives?

(samco on cnczone)

sam

kestreltom wrote:
 Jon Elson el...@... wriotes:


   
 Darn, there are no skylights in my basement!  I've wondered if a 
 slightly taller machine
 could be positioned just under the right spot under a kitchen cabinet, 
 but I don't really
 want to poke too many more holes in the main level floor sheets.

 Jon
 

 Hey Jon, 

 Skylights I have in the house, but the mill is in the barn where I just
 slide the door back and voila -  fresh air and backlighting. 
 Notice the background in the video here:

 http://www.youtube.com/watch?v=ognNuQzcXRw

 During the summer months this can be beguiling, but come winter I dream of 
 insulation and sheetrock.

 Tom



 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.423 / Virus Database: 270.14.42/2473 - Release Date: 10/31/09 
 21:14:00

   

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle drive

2009-11-14 Thread sam sokolik
look at pwmgen.
http://linuxcnc.org/docs/2.3/html/man/man9/pwmgen.9.html
it has a pwm up/down mode.

I have goofed around with it a bit..
http://www.youtube.com/watch?v=eUmFKOVepYY

sam

Ian W. Wright wrote:
 Thanks Dave and Kirk for your suggestions, they are food for 
 thought. The little motor I have will be powerful enough for 
 the time being and runs at 10,000rpm - almost all the 
 milling I do is with cutters of 3/16 and under - mostly 1mm 
 or less. I won't be using the motor as the spindle - I have 
 a nice ball-raced spindle that I made with preloaded races, 
 and so I will be belt driving it at almost 1:1 ratio. I did 
 think I had seen a reference to just hooking the parallel 
 port to a FET but I couldn't locate the reference again and 
 I am a bit hesitant about getting high power so close to the 
 parallel port. I will probably try an H-bridge of FETs or 
 power transistors with some buffering between that and the 
 parallel port. Has anyone figured out how to output forward 
 and reverse PWM signals yet or a PWM signal with two other 
 pins giving a forward and reverse signal? I noticed one post 
 mentioning PDM - what's that?
 Thanks,  Ian

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.425 / Virus Database: 270.14.65/2502 - Release Date: 11/14/09 
 07:43:00

   

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] remove unwanted copper between tracks and pads

2009-12-02 Thread sam sokolik
I have had very good luck with gcode.ulp.  The gcode will require some 
editing (or changing of the script) if you don't have a tool length sensor.
It has a roughing mill and fine mill.  You can also tell it how many 
passes for each tool.
I set the first tool length manually - then it touches the tool length 
sensor - then after each subsequence tool change - the tool length is 
automatically set with the tool length sensor.

http://git.unpy.net/view/eagle.git

a few trys... :)
http://www.electronicsam.com/images/KandT/servostart/amp.JPG
http://www.electronicsam.com/images/KandT/servostart/top.JPG
http://www.electronicsam.com/images/KandT/servostart/schem/newcurrentlimit/bottom.JPG
http://www.electronicsam.com/images/KandT/servostart/schem/newcurrentlimit/top.JPG

sam



Andy Pugh wrote:
 2009/12/2 Jon Elson el...@pico-systems.com:

   
 http://www.pcbgcode.org/

   
 This requires you to use Eagle as the PCB package, I'm guessing that it
 doesn't accept input from any other packages.
 

 It also cuts round the traces for the circuit which seems to not
 meet the requirements of the original query.

   
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mesa 5i20 5i23

2010-01-06 Thread sam sokolik
The 50 pin cables are garden variety scsi cables.   Doesn't everyone 
have a stash of these? ;)  I would think any computer repair store would 
all but give you some if you asked.

sam

On 1/6/2010 03:15 PM, John Thornton wrote:
 The 5i23 will not gain you anything for use with EMC.
 As stated they do not come with cables. The cables are 50 pin not the more 
 common ones
 used in computers that have like 42 pins or something like that. There are 
 several daughter
 boards including a breakout board. There are pictures on the Mesa web site
 http://www.mesanet.com/ just go to Anything I/O FPGA Cards.

 John

 On 6 Jan 2010 at 10:03, Flying Electron wrote:


 I'm leaning towards getting a mesa 5i20 or 5i23, but had a few
 questions
 that someone might be able to answer.

 Does anyone have a picture of what the mesa 5i20 or 5i23 looks like
 when
 it is installed?  Did it come with cables for the IO?  Is there a
 breakout board for it?

 Thanks!

 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast
 and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
  


 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mesa 5i20 5i23

2010-01-06 Thread sam sokolik
It is kinda an inside joke.  It started being just a simple h-bridge 
using the irf high side drivers.  Then I thought I would add cycle by 
cycle current limit.  figured out after a few failures that I needed 
some sort of blanking circuit.  Some where along the way an enable was 
added.  (still only lightly tested)

So - the 'simple' h-bridge isn't so simple any more. :)

sam

Stuart Stevenson wrote:
 simple is the emphasis here?

 On Wed, Jan 6, 2010 at 4:36 PM, Stephen Wille Padnos spad...@sover.netwrote:

   
 Stuart Stevenson wrote:
 
 just expressing my ignorance - what will 3 phase PWMs do?

   
 I suspect the idea is to drive 3-phase servos/motors with 3-phase
 simple H-bridges similar to the (2-phase)ones Skunkworks has made.

 - Steve



 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 


   
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.432 / Virus Database: 270.14.127/2603 - Release Date: 01/06/10 
 07:35:00

   

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Servo Drives

2010-01-07 Thread sam sokolik
http://www.electronicsam.com/images/KandT/pcbmill/bldcenc2.jpg

The keling servos I got (also the KL23BLS-115) have 2 very shallow 
tapped  holes that line up to the mounting holes of the encoder.
I found some laptop assembly screws that just happened to be the right 
length.  Mariss seems to love these encoders over the cheap us-digital 
ones for his step/dir servo drives

YMMV

sam


On 1/7/2010 03:36 PM, Flying Electron wrote:
 Wow!  Thank you so much for the link.  The amps on ebay looks pretty
 much exactly what I am looking for.  I looked at the datasheet for the
 issue with the drive inputs being commoned at +5V like you pointed out,
 but I'm pretty sure I can hack up something to deal with that, like run
 the signals through a microcontroller to do whatever translation is
 necessary.  I especially like that they are all mounted in a nice box
 for me already :-)

 Getting closer.  Mesa card + Servo Amps are picked out.  Keling motors
 look good.

 Do you know if that amt102-v encoder need anything special to mount on
 the back of a NEMA 23 brushless motor like an adapter plate or anything
 like that?  Or do encoders and motors have standard mounting patterns so
 that all encoders fit all motors nicely?

 Yesterday I had no idea what I needed to buy or even what questions to
 ask, and today everything looks doable.



 sam sokolik wrote:

 there are always deals if you are patient.  Like...
 *KL23BLS-115*KL23BLS_115.pdf*: $52/pcs brushless servos
 digikey amt102-v encoder 29.95.-up to 2048 line - adjustable.
 ebay 3 amc amplifiers that take pwm+dir
 http://cgi.ebay.com/3-AXIS-A-M-C-PWM-Brushless-SERVO-AMPLIFIER-ASSEMBLY-NEW_W0QQitemZ260516353589QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item3ca7fc1635
 179.95

 Not including shipping for 3 axis...  (not including mesa hardware)
 $425.80
 closed loop - priceless... ;)

 You would want to do your homework though - like the drive inputs seem
 to be common-ed to +5v.  (probably not an issue)
 (if I did the math right)
 sam


 *
 On 1/7/2010 01:29 PM, Flying Electron wrote:

  
 I'm deciding on what servo drive to use with the mesa FPGA card and it
 doesn't look too bad since there are not too many low cost options.  I'm
 constrained to a NEMA 23 size motor since a NEMA 23 stepper is on the
 machine right now and I want it to be a direct swap.  So far I've found
 from searching on google and from people's suggestions here on the
 mailing list:

 Drives
 ---
 [brushless] Pico Brushless PWM Servo Amp $150
 [brushed] Pico PWM Servo Amplifier $125

 Motors
 
 [brushless] Pico Size 23 Brushless Servo (61ozin continous, 180ozin
 peak, 1000 CPR) $120
 [brushless] Keling KL23BLS-115 Brushless Servo (61ozin continous, 180
 ozin peak, 1000 CPR) $134
 [brushed]  Keling KL23-130-60 Brushed Servo (50ozin continous, 350ozin
 peak, 1000 CPR) $162

 Not Suitable
 -
 dmm-tech.com -- RS232 based communication not PWM
 gecko   -- EMC2 cannot control PID loop (step/dir input, not
 pwm)
 viper -- EMC2 cannot control PID loop (step/dir input,
 not pwm)
 rutex -- EMC2 cannot control PID loop (step/dir input,
 not pwm)

 Most of the servo drives I have found have the PID loop built into
 them.  Is this the normal case?

 Is it possible to run a brushed DC servo with just a simple H-Bridge
 controlled directly by the PWM output and a direction signal?  I was
 looking at the Freescale MC33886 which I think could make a very simple
 and cheap H-Bridge.
 http://search.digikey.com/scripts/DkSearch/dksus.dll?Detailname=MC33886VW-ND
 http://search.digikey.com/scripts/DkSearch/dksus.dll?Detailname=MC33886VW-ND

 Anybody know of any companies or products I may have missed in my search?




 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

  
 --
 This SF.Net email

Re: [Emc-users] PWM input to EMC2

2010-01-13 Thread sam sokolik
Isn't emc awesome? :)

I usually set the screen shot utillity to take a picture after 2 
seconds.  (with the realtime running sometimes the screen refresh takes 
a second on slower computers.)

sam

On 1/13/2010 12:47 PM, Flying Electron wrote:
 Thanks everyone for all the advice.  I got it to work using an encoder
 measuring the frequency of the pulses from the microcontroller.  I put a
 dial gauge on the panel in axis to watch the pressure and an LED to
 watch the probe.  It is beyond cool being able to see the pressure in
 realtime while the machine is on.  These virtual axis panels are great
 for saving money instead of getting physical gauges.  I included a
 screenshot of the axis gui.  The dial gauge bounces around in realtime
 as the pressure changes.  I guess screenshots and axis previews don't
 get along?  Or maybe it's my video driver.  I don't know why it's all
 messed up where the preview plot is, it looks fine on the screen.

 http://www.flyingelectron.com/Pics/probe.png

 The SPI looks very interesting since the AVR microcontroller I am using
 supports SPI.  I need to look into that more after I get the machine up
 and running again.



 Kirk Wallace wrote:

 On Tue, 2010-01-12 at 16:59 -0700, Sebastian Kuzminsky wrote:
 ... snip

  
 Analog input into emc2 might be accomplished by adding SPI support to
 hostmot2, and writing a driver for an SPI ADC.  Some work has been done
 in this direction by various folks (search the mailing list archives and
 irc logs if you're curious), but so far nothing has solidified.


 Just in case:
 http://www.wallacecompany.com/machine_shop/EMC2/serial_adc/
 http://www.wallacecompany.com/machine_shop/EMC2/serial_dac/



  
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Jog under PAUSE / tool cnange

2010-03-19 Thread sam sokolik
I have had really good luck with a generic microswitch for tool length 
probing.  When I tested it - the repeatability was .001
I only set the length for the first tool - it touches the microswitch 
for reference.  The rest of the tools are referenced to that one.

Happy with it.
http://electronicsam.com/images/KandT/servostart/schem/newcurrentlimit/bottom.JPG
http://electronicsam.com/images/KandT/servostart/schem/newcurrentlimit/top.JPG
(this one lost vacuum on the perimeter cut..  (murphys law... ) ;)
http://electronicsam.com/images/KandT/servostart/amp.JPG

sam

On 3/19/2010 04:16 AM, Gene Heskett wrote:
 On Friday 19 March 2010, Slavko Kocjancic wrote:

 Gene Heskett pravi:
  
 On Wednesday 17 March 2010, Slavko Kocjancic wrote:

 [...]

 And that sounds like a good idea too.  But it needs a flat top, just in
 case you miss the exact xy spot. :-)

 That's not a problem. When I go to the woods to collect some mushrooms I
 don't see it just until I put my foot over it. So mushrooms I pick have
 nearly all flat top :D

  
 Chuckle, several times even.  Been there, done that, somebody stole the t-
 shirt. ;-)




--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] C Style Extensions for GCode

2010-04-06 Thread sam sokolik
well - that is just cool!
Nice work

sam

Flying Electron Inc wrote:
 Hi All,

 I wrote a python extension for axis that allows C language style extensions
 to the GCode if anyone wants to give it a try.

 http://tsemsb.blogspot.com/2010/04/cgcc-gcode-with-c-constructs.html

 It allows you to write code like this:

 // Constants
 const float X_Holes = 10;
 const float Y_Holes = 10;

 // Loop
 for (float y = 0; y  Y_Holes; y++) {
 for (float x = 0; x  X_Holes; x++) {
 if (x != y) {
 G00 Z1
 G00 X[x] Y[y]
 G01 Z0 F1
 G00 Z1
 }
 }
 }

 and it gets translated into regular GCode with o-words.

 Lawrence
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.437 / Virus Database: 271.1.1/2794 - Release Date: 04/06/10 
 06:32:00

   
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Old scales - any hope?

2010-04-11 Thread sam sokolik
I have started looking at the scales that came with the mill we are 
working on - I had figured that the where some version of a linear 
resolver... bit it isn't 1 coil in - 2 out for sin/cos.  The way I 
understand it - the send a 250hz square wave to the outside of each 
coil.  the 2 centertaps are summed together to get the position.  (I 
assume the output of the centertap is the reletive postion comparing it 
to the input square wave.  I was thinking that maybe something like JonE 
resolver to quadature converter would work - but I am not sure now...   
We could always resorect the old circuits.. :) but I would rather not.

each of the 4 coils measure 114ohms

This is the circuit that sent the square wave to the head and summed the 
centertaps.
http://electronicsam.com/images/KandT/conversion/accupinscirc.jpg

this is what the head reads...
http://electronicsam.com/images/KandT/conversion/accupins.JPG

thanks again
sam








--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Old scales - any hope?

2010-04-11 Thread sam sokolik
there are actually 4 coils.  Each head has 2 shielded cables coming from 
the head - each cable has 4 conductors + shield.  At the controller  - 
the 2 coils on each cable are hooked together to form a center tapped 
setup.   (agian - if I have it right - they excite the 2 outside 
connections of the 2 center tapped hookups - then the center taps get 
summed together and shaped. this from trying to read the desciption on 
the schematic I scanned - plus you can see the coil hookups) :)

thanks
sam

Jon Elson wrote:
 Andy Pugh wrote:
   
 Thinking about this some more, I think it is a quadrature LVDT.
 As we discussed on IRC it is a lot like an LVDT with multiple
 armatures. The thing is, if you only have that then you can't infer
 direction. By having two offset read-heads in quadrature you can tell
 direction.
   
 
 Well, a classic LVDT is a non-repeating position measuring device.

 The Farrand Inductosyn can be run like this, but the difference is that 
 the pattern of exciting windings repeats periodically.
 The Inductosyn has no pole teeth, and the long scale has a continuous 
 zig zag of traces on a ceramic or PCB substrate.
 Obviously, the scale has low resistance and inductance, therefore it 
 requires a lot of drive current.  The pick-up sensor is usually a short 
 length of identical zig zags, with the sin and cos sensor 90 degrees out 
 of phase relative to the long scale.

 The GE and other sensors were made to offer a similar device but get 
 around the Farrand patents, which were quite well written and precluded 
 any closely similar scheme.  Having slots and no coils on the long scale 
 was different enough to not infringe on Farrand.  These could be made 
 with 3 coils, and the variation of magnetic coupling between the teeth 
 and the coils changes the amount of excitation that gets to the sense 
 coils.  I don't know how you do this with only 2 coils, and it probably 
 restricts the excitation and sense circuits quite a bit.

 Jon

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.437 / Virus Database: 271.1.1/2804 - Release Date: 04/11/10 
 06:32:00

   
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Old scales - any hope?

2010-04-16 Thread sam sokolik
Here are some more pictures...  (top red thing is the read head)
http://electronicsam.com/images/KandT/conversion/accpinset1.jpg
http://electronicsam.com/images/KandT/conversion/accpinset.jpg

This is how I understand it as of today ;)

There are 4 coils - they are hooked up in a center tap config (see 
schem) - 2 sets of 2 coils. An excitation signal (250khz square wave) is 
sent to the outside connections of the 2 center tapped coils. The center 
taps are summed together and turned into a square wave. That square wave 
is shifted compared to the exciter signal depending on the position 
relative to the .1 pin.

Now the way I think the controller did it was this - it had a 250khz 
clock - they used this to count the shift between the exciter signal and 
the summed square wave back from the center taps. this would give you 
250khz/250hz - 1000 divisions within each pin.

thanks
sam


On 4/11/2010 08:03 PM, Jon Elson wrote:
 sam sokolik wrote:

 there are actually 4 coils.  Each head has 2 shielded cables coming from
 the head - each cable has 4 conductors + shield.  At the controller  -
 the 2 coils on each cable are hooked together to form a center tapped
 setup.   (agian - if I have it right - they excite the 2 outside
 connections of the 2 center tapped hookups - then the center taps get
 summed together and shaped. this from trying to read the desciption on
 the schematic I scanned - plus you can see the coil hookups) :)

  
 I don't know, looking at the jpg of the schematic, it doesn't really
 look like the windings will work the way you want for the AD chip.  It
 really doesn't look like there is an excitation winding and a pair of
 sense windings.  With 114 Ohms per coil, the drive requirement can't be
 terribly high, so that may not be a problem.  If the AD chip can be made
 to work, the resolution will be 4096 counts per period of the teeth on
 the long scale.  That probably is OK, as I think these teeth are about
 10 per inch.  Ah, yes, I see it IS a GE Accupin scale, I had already
 guessed it might be from your description.  The way one of these schemes
 worked is they drove sine-wave signals in quadrature to the two sin/cos
 windings, and then looked at the time of the zero crossing on the other
 winding.  That told the position of the windings relative to each
 other.  This one almost sounds like it works the same way, but the
 description says square wave.  So, maybe they are using some analog
 scheme to also sense the voltage of the output as well as the phase.

 Anyway, it looks like this may be fairly hard to make work.

 Jon

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Old scales - any hope?

2010-04-16 Thread sam sokolik
Here is how the head lines up with the pins (showing that 2 heads line 
up and 2 are .05 off.)
http://electronicsam.com/images/KandT/conversion/accupinlineup.jpg

Also I made a mistake in the previous email - the excitation signal 
going to the heads is 250hz - not 250khz

On 4/16/2010 09:02 AM, sam sokolik wrote:
 Here are some more pictures...  (top red thing is the read head)
 http://electronicsam.com/images/KandT/conversion/accpinset1.jpg
 http://electronicsam.com/images/KandT/conversion/accpinset.jpg

 This is how I understand it as of today ;)

 There are 4 coils - they are hooked up in a center tap config (see
 schem) - 2 sets of 2 coils. An excitation signal (250khz square wave) is
 sent to the outside connections of the 2 center tapped coils. The center
 taps are summed together and turned into a square wave. That square wave
 is shifted compared to the exciter signal depending on the position
 relative to the .1 pin.

 Now the way I think the controller did it was this - it had a 250khz
 clock - they used this to count the shift between the exciter signal and
 the summed square wave back from the center taps. this would give you
 250khz/250hz - 1000 divisions within each pin.

 thanks
 sam


 On 4/11/2010 08:03 PM, Jon Elson wrote:

 sam sokolik wrote:

  
 there are actually 4 coils.  Each head has 2 shielded cables coming from
 the head - each cable has 4 conductors + shield.  At the controller  -
 the 2 coils on each cable are hooked together to form a center tapped
 setup.   (agian - if I have it right - they excite the 2 outside
 connections of the 2 center tapped hookups - then the center taps get
 summed together and shaped. this from trying to read the desciption on
 the schematic I scanned - plus you can see the coil hookups) :)



 I don't know, looking at the jpg of the schematic, it doesn't really
 look like the windings will work the way you want for the AD chip.  It
 really doesn't look like there is an excitation winding and a pair of
 sense windings.  With 114 Ohms per coil, the drive requirement can't be
 terribly high, so that may not be a problem.  If the AD chip can be made
 to work, the resolution will be 4096 counts per period of the teeth on
 the long scale.  That probably is OK, as I think these teeth are about
 10 per inch.  Ah, yes, I see it IS a GE Accupin scale, I had already
 guessed it might be from your description.  The way one of these schemes
 worked is they drove sine-wave signals in quadrature to the two sin/cos
 windings, and then looked at the time of the zero crossing on the other
 winding.  That told the position of the windings relative to each
 other.  This one almost sounds like it works the same way, but the
 description says square wave.  So, maybe they are using some analog
 scheme to also sense the voltage of the output as well as the phase.

 Anyway, it looks like this may be fairly hard to make work.

 Jon

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


  
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Old scales - any hope?

2010-04-16 Thread sam sokolik
the main thing is that it is already on the machine... To replace them 
with something new would require a total disassemble of the saddle and 
table..  We will be using the encoders on the servos for position 
initially - the scales will be more of an experiment... ;)

We just found this...
http://www.google.com/patents?id=NqpNEBAJprintsec=drawingzoom=4#v=onepageqf=false

Gives a better block diagram...  (it is a patent to add temp comp to the 
circuit...)

sam

On 4/16/2010 12:50 PM, Jon Elson wrote:
 Andy Pugh wrote:

 However, I think just applying a 250Hz square wave and an oscilloscope
 should at least tell you what comes out of the terminals and then you
 can figure it out from there. A $15 Arduino with a power OP amp can
 produce the excitation, sample the output, time it to 62nS resolution
 and convert it to encoder-style pulses.


  
 The drive excitation has to be VERY carefully balanced, as the output
 signal is MUCH smaller than the drive.
 Other than that, yes, you could probably build a modern circuit with
 good micro or FPGA to do all the counting, etc.
 Not completely sure it is worth it.

 Jon

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Old scales - any hope?

2010-04-16 Thread sam sokolik
Thanks for the link - they seem to be compatible with the inductosyn 
type scales..  That is a generation newer than our scales.  I did email 
them for s and g's - but have not heard back

Dave wrote:
 Sam did you get any info from that company in Detroit who has the 
 converter boxes? At the time, I thought the cost was reasonable 
 considering it is a tested unit.

 Dave

 On 4/16/2010 2:00 PM, sam sokolik wrote:
   
 the main thing is that it is already on the machine... To replace them
 with something new would require a total disassemble of the saddle and
 table..  We will be using the encoders on the servos for position
 initially - the scales will be more of an experiment... ;)

 We just found this...
 http://www.google.com/patents?id=NqpNEBAJprintsec=drawingzoom=4#v=onepageqf=false

 Gives a better block diagram...  (it is a patent to add temp comp to the
 circuit...)

 sam

 On 4/16/2010 12:50 PM, Jon Elson wrote:

 
 Andy Pugh wrote:

  
   
 However, I think just applying a 250Hz square wave and an oscilloscope
 should at least tell you what comes out of the terminals and then you
 can figure it out from there. A $15 Arduino with a power OP amp can
 produce the excitation, sample the output, time it to 62nS resolution
 and convert it to encoder-style pulses.




 
 The drive excitation has to be VERY carefully balanced, as the output
 signal is MUCH smaller than the drive.
 Other than that, yes, you could probably build a modern circuit with
 good micro or FPGA to do all the counting, etc.
 Not completely sure it is worth it.

 Jon

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


  
   
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.437 / Virus Database: 271.1.1/2814 - Release Date: 04/16/10 
 06:31:00

   


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Old scales - any hope?

2010-04-16 Thread sam sokolik
interesting.

Chris found this - this is pretty close to the time frame of our 
machine.  probably an eb (one newer iirc)
http://www.google.com/patents?id=fhRaEBAJprintsec=abstractzoom=4source=gbs_overview_rcad=0#v=onepageqf=false
 
sam

Jan de Kruyf wrote:
 Hello,
 Unless I am very wrong this patent is a non-flyer.
 The old G-E systems had a discriminator that measured the difference
 in phase between the command pulse train and the feed-back pulse
 train, and the output of the discriminator was the input to the drive
 amplifier.
 So how on earth you can insert a random pulse in the command pulse
 stream evades me completely. You would just upset the discriminator
 output and it would have little effect on the actual motion of the
 machine.
 And at worse you would lose sync all together like indeed in a stepper setup.

 Jan


 On Fri, Apr 16, 2010 at 8:00 PM, sam sokolik sa...@empirescreen.com wrote:
   
 the main thing is that it is already on the machine... To replace them
 with something new would require a total disassemble of the saddle and
 table..  We will be using the encoders on the servos for position
 initially - the scales will be more of an experiment... ;)

 We just found this...
 http://www.google.com/patents?id=NqpNEBAJprintsec=drawingzoom=4#v=onepageqf=false

 Gives a better block diagram...  (it is a patent to add temp comp to the
 circuit...)

 sam

 On 4/16/2010 12:50 PM, Jon Elson wrote:
 
 Andy Pugh wrote:

   
 However, I think just applying a 250Hz square wave and an oscilloscope
 should at least tell you what comes out of the terminals and then you
 can figure it out from there. A $15 Arduino with a power OP amp can
 produce the excitation, sample the output, time it to 62nS resolution
 and convert it to encoder-style pulses.



 
 The drive excitation has to be VERY carefully balanced, as the output
 signal is MUCH smaller than the drive.
 Other than that, yes, you could probably build a modern circuit with
 good micro or FPGA to do all the counting, etc.
 Not completely sure it is worth it.

 Jon

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


   
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


 No virus found in this incoming message.
 Checked by AVG - www.avg.com 
 Version: 8.5.437 / Virus Database: 271.1.1/2814 - Release Date: 04/16/10 
 06:31:00

   


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Detecting limits without switches

2010-06-06 Thread sam sokolik
I could maybe see monitoring following error...  When the servo hit the 
limit - the error would increase.  You could then use some logic that 
says when the following error reaches a certain amount - trip the 
'virtual' limit switch.  Maybe..   I could see lots of issues and as 
gene says - you would want to limit the output to the servos.  If you 
have any I (in the pid) the pid loop will 'wind up' pretty quick sending 
the servos to maximum.

Big picture it seems possible...  :)  (but I am just thinking out loud)

sam

On 6/6/2010 11:09 AM, Neil Baylis wrote:
 Many printers  plotters do not use limit switches. Instead, they move the
 print head slowly towards the end stop until the motor stalls, and then back
 off from that point a certain distance and that's the home position or soft
 limit.

 What, roughly, do I need to do with EMC to get this behavior?

 Neil
 --
 ThinkGeek and WIRED's GeekDad team up for the Ultimate
 GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
 lucky parental unit.  See the prize list and enter to win:
 http://p.sf.net/sfu/thinkgeek-promo
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How does EMC Control 3 Axis Mills with Stepper Motors and Linear Encoders?

2010-08-18 Thread sam sokolik
  The one  big advantage is stall recovery.  You can just turn the 
machine back on after the crash and emc still knows where you are.  (no 
re-homing needed).

sam

On 8/18/2010 10:38 AM, Kirk Wallace wrote:
 On Tue, 2010-08-17 at 18:11 -0400, Don Stanley wrote:
 ... snip
 Did you recognise it is a CNC converted mill that I
 wanted to move to EMC2?
  Thanks again
  Don
 I still contend that encoder feedback on a stepper system has no proven
 advantage, unless you have a very special stepper driver that drives the
 stepper as a high pole count brushless DC servo with a very high count
 encoder on the motor shaft. Encoders would only be useful for a stepper
 machine with hand wheels, while being used as a manual machine with a
 DRO. EMC2 can be configured to do it, but I consider it an academic
 endeavor, since a plain stepper system would work just as well as is, or
 a standard servo would work just as well, only faster.

 I may be wrong, but this is my current understanding.

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How does EMC Control 3 Axis Mills with Stepper Motors and Linear Encoders?

2010-08-18 Thread sam sokolik
  Hmmm - backlash isn't going to get any better using scales - and the 
machine setup is impossible at best..  backlash is bad bad bad..

as far as your stepper  .2 and .1?  Direct coupled?That 
must be taking into account the micro stepping?  You cannot depend on 
micro stepping for accurate positioning.   About all you can really 
count on is full step (and maybe half steps if you are lucky).

sam

On 8/18/2010 2:15 PM, Don Stanley wrote:
 Hi Dave, Kirk, Chris, Sam
 A serious thanks for your input.
 I'm going to outline my thinking below and would be grateful for
 your feedback, pro or con.

 Years ago I converted a new JET Mill (Bridgeport knee knock off)
 to CNC. The Ball Screw I used (Rockford) was not the stiffest
 thing on the planet. Although they were a reputable company,
 I am getting a lot of backlash (apparently flexing the Y arm) during
 static moves and who knows under load.
 Also with my current Step Generator and CNC Software
 supplier I am having to buy a needed new feature upgrade too often.

 I am hoping EMC2 and linear encoder strips (.0002XY and .0005Z)
 resolution will make all the above problems go away.
 The Mill is equipped as follows:
 -  Stepper Motors are 4000 inch pound torque direct coupled to the
  ball screws and knee lift shaft.
 -  Stepper resolution X Y is .2 and Z is .1 per step. That's
better than the brush less DC servo motors I used recently.
 -  The micro stepper motor drivers use 80 Volt DC motor power which
   kicks the typically slow stepper motors fast enough for milling.
 -  The spindle VFD is analog 0-5 volts. I plan to a filter a PWM or PDM
pin for that.
 -   The tool change is manual with a tool length sensor to correct the
   Z offset. I plan to use the Probe sensor input and a G Code
   subroutine to do the offset change in EMC2.

  Thanks again;   I am looking forward to your input.
  Don

 PS. Please forgive sending your long email back but I'm getting a
Lightening storm, got to go!



 On Wed, Aug 18, 2010 at 12:31 PM, Davee...@dc9.tzo.com  wrote:

 I disagree...  If I had high res scales available that could keep up
 with the slew rates of the axes, I would try to incorporate them into
 the system.

 They could compensate for pitch errors in the screws or worn screws.  I
 still think that any backlash may still cause big problems, but you can
 oftentimes tighten or replace nuts
 to get rid of that.

 Here is one axis (see below) that is used in a closed position loop system:

 This axis drives a feed roller which feeds a strip into a machine.  The
 feedback device - an encoder,  has a knurled wheel on the encoder shaft
 and the encoder wheel is in contact with the strip.

 We went to a closed loop system since the strip drive is friction driven
 and tends to slip a little..  With the encoder and the closed position
 loop, position control is very good even with high feed rates up to 30
 inches per second.

 This setup uses Mesa hardware...and the Hostmot2 driver.  This system
 uses a 5i20 PCI board a 7i47 board since using a LPT port at these
 speeds is not possible.

 I think you could do the same thing using an LPT port interface but you
 would have to go much slower and use the hal components for Stepgen and
 the encoder counter, etc  but I suspect it would work.

 Dave  (Dave911 on the IRC)


  Section of the INI file

 [AXIS_0]

 #
 # Step timing is 2.2 us steplen + 3.3 us stepspace
 # That gives 5.5 us step period = 181 khz KHz step freq
 #
 #5.25 in diameter roller x 3.1415 = 16.485 inches of feed per rev
 #16.485/15:1 gearbox = 1.099 inches of feed per rev
 #
 # at 2500 pulses per rev on the motor encoder, turns out to be 1819.83
 pulses per inch of travel
 #
 # was 25 max vel and 60 accel
 #
 #A corrected value is entered below.

 TYPE =  LINEAR
 MAX_VELOCITY =   30
 MAX_ACCELERATION =   80
 BACKLASH =   0.000

 # scale is pulses ouput from EMC2 per inch of material travel
 SCALE =   2274

 MIN_LIMIT = -999.99
 MAX_LIMIT = 999.99

 #old value
 #FERROR = 0.050
 #MIN_FERROR = 0.005

 FERROR = 10.00


 #HOME =  0.000
 #HOME_OFFSET =   0.10
 #HOME_SEARCH_VEL =   0.0
 #HOME_LATCH_VEL =0.0
 #HOME_USE_INDEX =NO
 #HOME_IGNORE_LIMITS =YES

 # these are in nanoseconds
 DIRSETUP   =  3300
 DIRHOLD=  3300
 STEPLEN=  2200
 STEPSPACE  =  3300


 Here is the hal file section for that axis:

 # ###
 #
 # HAL file for HostMot2 with 3 steppers
 #
 # Derived from Ted Hyde's original hm2-servo config
 #
 # Based up work and discussion with Seb  Peter  Jeff
 # GNU license references - insert here. www.linuxcnc.org
 #
 #
 # 

 # ###
 # Core EMC/HAL Loads
 # ###

 # kinematics
 

Re: [Emc-users] Mini ITX systems.

2010-08-26 Thread sam sokolik
  it does have a printer port header on the motherboard.

sam

On 8/26/2010 7:09 PM, Peter Homann wrote:
 Hi,

 It doesn't have one. You could use this one instead.

 http://www.newegg.com/Product/Product.aspx?Item=N82E16813131396

 Cheers,

 Peter.

 Speaker To-Dirt wrote:
 Hi Andy:

 I may be showing my ignorance here, but while searching on your
 motherboard, because I'm about to do the same thing you are, I found
 this 

 http://www.newegg.com/Product/Product.aspx?Item=N82E16813121399Tpk=D510MO

  Where's the parallel port? Am I missing something?

Look at some posts last week we had some informative back and forth with
 links on this very subject.

 Andrew

 Message: 6
 Date: Thu, 26 Aug 2010 22:08:02 +0100
 From: Andy Ibbotsonandyi_w...@btinternet.com
 Subject: [Emc-users] Mini ITX systems
 To:emc-users@lists.sourceforge.net
 Message-ID:af3523a7303846fc9b25ca56960ec...@eeepc
 Content-Type: text/plain;   
 charset=iso-8859-1

 Hello Everyone,
 I have a question re. systems built around mini ITX
 motherboards.  What I have in mind is to build a system
 using the Intel D510MO motherboard (good choice re.
 latency?), picoPSU, solid state SATA disk.  I want to
 minimise the size of the computer so no CD / DVD drives, my
 question is how do I get EMC2 on to the system?  Can I
 install from a USB memory?  Any help will be greatly
 appreciated.
 Regards
 Andy






 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 -
 http://www.homanndesigns.com


 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-09-06 Thread sam sokolik
  2 axis moving!

http://www.youtube.com/watch?v=QU_O_Z7Vv8c

sam

On 8/26/2010 4:38 PM, sa...@empirescreen.com wrote:
 Well - I fail at copy and paste...

 this should work better.

 I thought I would give an update on our ongoing project.

 This is a 60's vintage NC that used hydraulic servos.  we are converting it 
 to EMC2 using not quite as old Inland servos. (80's vintage) they are 8 brush 
 low rpm high torque.  (with the amc drives we are using - it will be 40ft-lbs 
 peak.)  We are using 2 mesa 5i20 boards as we are needing a good 70+ i/o + 
 atleast 7 encoder counters and 5 +/-10v outputs.  We are at the point where 
 the machine is waking up.  the mesa hardware is awesome (thank to peter and 
 seb for their work).

 Be sure to watch the 2 videos at the end of this email.

 lets see if I can create a linear picture show...
 this is what the machine looked like in the 60s
 http://electronicsam.com/images/KandT/oldkandt.JPG

 this is what the machine looks like now
 http://electronicsam.com/images/KandT/DSCCurrent.JPG

 getting rid of the old control
 http://www.electronicsam.com/images/control.jpg

 this is the old electrical box
 http://electronicsam.com/images/KandT/conversion/mainelectricalbox.JPG

 we welded 2 of the same boxes together for new electronics.
 http://electronicsam.com/images/KandT/conversion/moreelec.jpg

 here is it mostly hooked up
 http://electronicsam.com/images/KandT/conversion/mostio.JPG

 This is the x,z,b gearbox - the old control used 1 hydraulic servo to run all 
 3 axis
 http://electronicsam.com/images/KandT/conversion/xaxis/start.JPG

 open
 http://electronicsam.com/images/KandT/conversion/xaxis/start.JPG

 stripped
 http://electronicsam.com/images/KandT/conversion/xaxis/stripped.JPG

 shafts extended out so we can hook the servos up.
 http://electronicsam.com/images/KandT/conversion/xaxis/3shafts.JPG

 servo plate mounted
 http://electronicsam.com/images/KandT/conversion/servo/x-zservo_mount.jpg

 belts (B axis still needs a solution)
 http://electronicsam.com/images/KandT/conversion/servo/belts.jpeg

 Because we are still using the z axis drive train that goes up though the 
 saddle - we needed to get the backlash out of it.  It uses split gears to do 
 that.  Grinding 1 washer thinner takes the backlash out of 5 sets of gears. 
 the washer is the spacer between the 2 lower small gears.
 http://electronicsam.com/images/KandT/conversion/zaxis/gears.JPG

 we still have to mount the y axis servo. - The plan is to direct couple into 
 this shaft.
 http://electronicsam.com/images/KandT/conversion/yaxis/yaxisshaft.JPG

 here is the tool chain logic working...
 http://www.youtube.com/watch?v=4nuRea6615s

 here is the first closed loop movement with the x axis
 http://www.youtube.com/watch?v=FgOqEz5Tk-Y

 Getting there :)  Very happy with the progress.  (I only work on it about 
 once a week.)

 sam


 On Thu, 26 Aug 2010 16:27:29 -0500
   sa...@empirescreen.com  wrote:
 I thought I would give an update on our ongoing project.

 This is a 60's vintage NC that used hydraulic servos.  we are converting it 
 to EMC2 using not quite as old Inland servos. (80's vintage) they are 8 
 brush low rpm high torque.  (with the amc drives we are using - it will be 
 40ft-lbs peak.)  We are using 2 mesa 5i20 boards as we are needing a good 
 70+ i/o + atleast 7 encoder counters and 5 +/-10v outputs.  We are at the 
 point where the machine is waking up.  the mesa hardware is awesome (thank 
 to peter and seb for their work).

 Be sure to watch the 2 videos at the end of this email.

 lets see if I can create a linear picture show...
 this is what the machine looked like in the 60s
 http://electronicsam.com/images/KandT/oldkandt.JPG

 this is what the machine looks like now
 http://electronicsam.com/images/KandT/DSCCurrent.JPG

 getting rid of the old control
 http://www.electronicsam.com/images/control.jpg

 this is the old electrical box
 http://electronicsam.com/images/Kand...ctricalbox.JPG

 we welded 2 of the same boxes together for new electronics.
 http://electronicsam.com/images/Kand...n/moreelec.jpg

 here is it mostly hooked up
 http://electronicsam.com/images/Kand...ion/mostio.JPG

 This is the x,z,b gearbox - the old control used 1 hydraulic servo to run 
 all 3 axis
 http://electronicsam.com/images/Kand...axis/start.JPG

 open
 http://electronicsam.com/images/Kand...axis/start.JPG

 stripped
 http://electronicsam.com/images/Kand...s/stripped.JPG

 shafts extended out so we can hook the servos up.
 http://electronicsam.com/images/Kand...is/3shafts.JPG

 servo plate mounted
 http://electronicsam.com/images/Kand...ervo_mount.jpg

 belts (B axis still needs a solution)
 http://electronicsam.com/images/Kand...rvo/belts.jpeg

 Because we are still using the z axis drive train that goes up though the 
 saddle - we needed to get the backlash out of it. It uses split gears to do 
 that. Grinding 1 washer thinner takes the backlash out of 5 sets of gears. 
 Don't think the previous 

Re: [Emc-users] Servos cannot calm down -- maybe I should go away from velocity mode in amplifiers?

2010-09-13 Thread sam sokolik
  shouldn't this be done systematically?  (it could be done all in emc 
with halscope)

First tune the velocity loop in amp
-send a step response to the drive (square wave) and scope the responce.
-Adjust the loop gain of the amp to get the best waveform - (match the 
square wave the best you can)

Then from that point

Tune the PID FF0-FF2

I found what got me close is something Chris had said on irc.
Make sure you calculate the output scale for what you want.  Like for me
200ipm at .9v out
(200/60)/.9=3.7 for output_scale.

I made sure FF1 was 1 (set P to 10 and D to 1 iirc for starters)

than I commanded a slow move (1ipm) and adjusted the gain of the amp 
until the following error was 0 or as close as I could get it.

Instantly - my movement was smooth with no overshoot.

I still need to tune better - but that sets the amp very well.

sam  (sorry - I seem to be rambling)



On 9/13/2010 9:37 AM, Igor Chudov wrote:
 I posted a message to this list that my servo motors cannot calm down
 after a motion.

 Right now my amplifiers are set to velocity mode and I use a
 tachometer for velocity feedback. So, the amps themselves have a
 velocity loop that they close. There is essentially two loops per
 axis, one in EMC2 and one in the amplifier.

 Unfortunately, my efforts  to tune PID to calm the mill down, have not
 been successful. If I turn down the gain parameters, the mill starts
 getting following errors, if I turn them up, the motors have hard
 times calming down.

 If, when the mill cannot calm down, I hit F2 (which for me inhibits
 the amps), and then F2 again, the bothersome buzzing stops.

 I am now thinking that I should reconsider my entire approach and use
 a different mode to avoid two loops per axis.

 My amplifiers offer the following modes:

 1) Velocity (tachometer) mode, which is the current setting
 2) Current or Torque mode (amplifier controls torque/current)
 3) Voltage mode (amplifier maintains voltage)
 4) IR compensation (not sure what it is exactly, probably compensated
 for resistance losses in windings).

 So... Would you think that I should switch to, say, torque mode or voltage 
 mode?

 Any thoughts?

 - Igor

 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] FF0, FF1, FF2

2010-09-14 Thread sam sokolik
  A few things to look at - My inital hookup of the amc drives to the 
mesa hardware was wrong.  ( I had just hooked +/- up to the drive with 
the shield hooked to ground.)

I did some searching and found this
http://www.a-m-c.com/download/document/support/general/instnotes.pdf
Look at section 3.1 - I used the wiring examples there.  The thing 
smoothed out.


Also - this goes into tuning
http://www.a-m-c.com/download/document/support/analog/tuning_procedure.pdf


On 9/14/2010 8:34 AM, Igor Chudov wrote:
 Guys, honest, I did look for explanations and did not find enough.

 Could someone explain what are FF0, FF1 and FF2 parameters pertaining
 to tuning a servo loop?

 Thanks

 - Igor

 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Rigid tapping on a CNC mill

2010-09-27 Thread sam sokolik
  all you need is a quadature encoder + index installed on your 
spindle.  (and some way to get it into emc.)

I don't know if you have the same mill as jonE - but he used an existing 
gear in his mill as an encoder.

http://pico-systems.com/bridge_spindle.html

sam

emc w

On 9/27/2010 11:21 AM, Igor Chudov wrote:
 On Mon, Sep 27, 2010 at 11:56 AM, Jon Andersonjanders1...@comcast.net  
 wrote:
   On 9/27/2010 7:32 AM, Igor Chudov wrote:
 I have a possible job to do to drill and tap 200 holes. The more I
 think, the more it seems that I would be served well if I get rigid
 tapping to work.
 Thought just occurred to me, EMC will thread mill, right? Given the
 number of holes, you might consider popping for a Thriller made by Emuge.
 Properly programmed, it will drill, thread, and chamfer the hole. Emuge
 has details of how to program the thread milling, use that data in a
 subroutine.
 I'm not familiar with subroutine calls with repeats, but done properly,
 I think you could get away with a sub call for one row, a sub call
 repeating that row call in the other axis, and the subroutine itself.

 A potential job several years ago would have involved huge amounts of
 drilling and tapping 1/4-20 blind holes. Had the job come through I
 would have quickly gotten into a machining center. I contacted Emuge for
 some details on cycle time. Given a 10K spindle and proper coolant, an
 engineer told me to expect a cycle time of a few seconds per hole. You
 don't have that RPM or high volume coolant, but it should give you an
 idea. Of course, being mostly hobby, gotta weigh time vs money...
 I have high enough volume coolant for this application. My top RPM for
 a long job is 2,600 RPM.

 --
 Start uncovering the many advantages of virtual appliances
 and start using them to simplify application deployment and
 accelerate your shift to cloud computing.
 http://p.sf.net/sfu/novell-sfdev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] handwheel tapping

2010-09-30 Thread sam sokolik
  Maybe you could use what andy did with his gear hobbing?

I don't know exactly how he did it - (maybe using the gearing hal comp?) 
I could see using a vcp that you would enter the tpi and it woud slave 
the spindle to z with that ratio.  Then as you jogged the z axis - the 
spindle would follow.

http://www.youtube.com/watch?v=ZhICrb0Tbn4

sam

On 9/30/2010 8:41 AM, Stuart Stevenson wrote:
 Gentlemen,
I am working on a project on the Enshu. I am not sure how valuable it will
 be but I sure want to try it. I want to tap threads using the MPG.
The spindle drive is a full servo. The spindle motor has a resolver for
 feedback to the spindle drive. The EMC2 DAC signal to the spindle drive is
 +-10V. I have found a quadrature signal out of the spindle drive. This
 spindle drive uses the resolver feedback to generate this quadrature signal
 (A and B). The spindle has a prox and amplifier that feeds a signal into a
 daughterboard on the spindle drive for spindle orientation during tool
 change. The daughter board has a pin that outputs a pulse once per
 revolution corresponding to the radial position of the spindle. I intend to
 use the A and B as encoder feedback into EMC and the orientation pulse as an
 index pulse into EMC. This will allow full servo control of the spindle as a
 C axis.
I would like ideas on the best way to implement this. I would like to have
 the spindle set up as a C axis but without a C axis display on the screen
 (unless I am using the C axis as an actual C axis but that is another
 project). I don't think I NEED any display for the spindle for this project.
 I think I would like to be able to command a G code to engage the spindle
 and an F code for feedrate to move the C and Z in a coordinated fashion.
 Maybe I am thinking backwards. Maybe driving the Z axis with the MPG and the
 C (spindle) coordinated with the Z is the best way.
Since I am thinking 'manual' then maybe a button is better than a G code.
 If I had a button how would I tell the machine the pitch of the thread?
 Maybe a screen display like the FO/SO/MV displays. This would adjust in
 proper increments per the chosen units and allow the MPG to set the pitch
 prior to engaging the coordination button.
 thoughts - comments - ideas
 thanks
 Stuart


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-10-05 Thread sam sokolik
  3 axis moving! ;)

http://www.youtube.com/watch?v=pOHL_KlUdqw

sam

On 9/6/2010 11:38 AM, sam sokolik wrote:
2 axis moving!

 http://www.youtube.com/watch?v=QU_O_Z7Vv8c

 sam

 On 8/26/2010 4:38 PM, sa...@empirescreen.com wrote:
 Well - I fail at copy and paste...

 this should work better.

 I thought I would give an update on our ongoing project.

 This is a 60's vintage NC that used hydraulic servos.  we are converting it 
 to EMC2 using not quite as old Inland servos. (80's vintage) they are 8 
 brush low rpm high torque.  (with the amc drives we are using - it will be 
 40ft-lbs peak.)  We are using 2 mesa 5i20 boards as we are needing a good 
 70+ i/o + atleast 7 encoder counters and 5 +/-10v outputs.  We are at the 
 point where the machine is waking up.  the mesa hardware is awesome (thank 
 to peter and seb for their work).

 Be sure to watch the 2 videos at the end of this email.

 lets see if I can create a linear picture show...
 this is what the machine looked like in the 60s
 http://electronicsam.com/images/KandT/oldkandt.JPG

 this is what the machine looks like now
 http://electronicsam.com/images/KandT/DSCCurrent.JPG

 getting rid of the old control
 http://www.electronicsam.com/images/control.jpg

 this is the old electrical box
 http://electronicsam.com/images/KandT/conversion/mainelectricalbox.JPG

 we welded 2 of the same boxes together for new electronics.
 http://electronicsam.com/images/KandT/conversion/moreelec.jpg

 here is it mostly hooked up
 http://electronicsam.com/images/KandT/conversion/mostio.JPG

 This is the x,z,b gearbox - the old control used 1 hydraulic servo to run 
 all 3 axis
 http://electronicsam.com/images/KandT/conversion/xaxis/start.JPG

 open
 http://electronicsam.com/images/KandT/conversion/xaxis/start.JPG

 stripped
 http://electronicsam.com/images/KandT/conversion/xaxis/stripped.JPG

 shafts extended out so we can hook the servos up.
 http://electronicsam.com/images/KandT/conversion/xaxis/3shafts.JPG

 servo plate mounted
 http://electronicsam.com/images/KandT/conversion/servo/x-zservo_mount.jpg

 belts (B axis still needs a solution)
 http://electronicsam.com/images/KandT/conversion/servo/belts.jpeg

 Because we are still using the z axis drive train that goes up though the 
 saddle - we needed to get the backlash out of it.  It uses split gears to do 
 that.  Grinding 1 washer thinner takes the backlash out of 5 sets of gears. 
 the washer is the spacer between the 2 lower small gears.
 http://electronicsam.com/images/KandT/conversion/zaxis/gears.JPG

 we still have to mount the y axis servo. - The plan is to direct couple into 
 this shaft.
 http://electronicsam.com/images/KandT/conversion/yaxis/yaxisshaft.JPG

 here is the tool chain logic working...
 http://www.youtube.com/watch?v=4nuRea6615s

 here is the first closed loop movement with the x axis
 http://www.youtube.com/watch?v=FgOqEz5Tk-Y

 Getting there :)  Very happy with the progress.  (I only work on it about 
 once a week.)

 sam


 On Thu, 26 Aug 2010 16:27:29 -0500
sa...@empirescreen.com   wrote:
 I thought I would give an update on our ongoing project.

 This is a 60's vintage NC that used hydraulic servos.  we are converting it 
 to EMC2 using not quite as old Inland servos. (80's vintage) they are 8 
 brush low rpm high torque.  (with the amc drives we are using - it will be 
 40ft-lbs peak.)  We are using 2 mesa 5i20 boards as we are needing a good 
 70+ i/o + atleast 7 encoder counters and 5 +/-10v outputs.  We are at the 
 point where the machine is waking up.  the mesa hardware is awesome (thank 
 to peter and seb for their work).

 Be sure to watch the 2 videos at the end of this email.

 lets see if I can create a linear picture show...
 this is what the machine looked like in the 60s
 http://electronicsam.com/images/KandT/oldkandt.JPG

 this is what the machine looks like now
 http://electronicsam.com/images/KandT/DSCCurrent.JPG

 getting rid of the old control
 http://www.electronicsam.com/images/control.jpg

 this is the old electrical box
 http://electronicsam.com/images/Kand...ctricalbox.JPG

 we welded 2 of the same boxes together for new electronics.
 http://electronicsam.com/images/Kand...n/moreelec.jpg

 here is it mostly hooked up
 http://electronicsam.com/images/Kand...ion/mostio.JPG

 This is the x,z,b gearbox - the old control used 1 hydraulic servo to run 
 all 3 axis
 http://electronicsam.com/images/Kand...axis/start.JPG

 open
 http://electronicsam.com/images/Kand...axis/start.JPG

 stripped
 http://electronicsam.com/images/Kand...s/stripped.JPG

 shafts extended out so we can hook the servos up.
 http://electronicsam.com/images/Kand...is/3shafts.JPG

 servo plate mounted
 http://electronicsam.com/images/Kand...ervo_mount.jpg

 belts (B axis still needs a solution)
 http://electronicsam.com/images/Kand...rvo/belts.jpeg

 Because we are still using the z axis drive train that goes up though the 
 saddle - we needed to get the backlash out of it. It uses split

Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-10-06 Thread sam sokolik
  Worked a bit on the tool changer arm.

http://www.youtube.com/watch?v=ovxW8TKBGWU

sam

On 10/5/2010 10:15 AM, sam sokolik wrote:
3 axis moving! ;)

 http://www.youtube.com/watch?v=pOHL_KlUdqw

 sam

 On 9/6/2010 11:38 AM, sam sokolik wrote:
 2 axis moving!

 http://www.youtube.com/watch?v=QU_O_Z7Vv8c

 sam

 On 8/26/2010 4:38 PM, sa...@empirescreen.com wrote:
 Well - I fail at copy and paste...

 this should work better.

 I thought I would give an update on our ongoing project.

 This is a 60's vintage NC that used hydraulic servos.  we are converting it 
 to EMC2 using not quite as old Inland servos. (80's vintage) they are 8 
 brush low rpm high torque.  (with the amc drives we are using - it will be 
 40ft-lbs peak.)  We are using 2 mesa 5i20 boards as we are needing a good 
 70+ i/o + atleast 7 encoder counters and 5 +/-10v outputs.  We are at the 
 point where the machine is waking up.  the mesa hardware is awesome (thank 
 to peter and seb for their work).

 Be sure to watch the 2 videos at the end of this email.

 lets see if I can create a linear picture show...
 this is what the machine looked like in the 60s
 http://electronicsam.com/images/KandT/oldkandt.JPG

 this is what the machine looks like now
 http://electronicsam.com/images/KandT/DSCCurrent.JPG

 getting rid of the old control
 http://www.electronicsam.com/images/control.jpg

 this is the old electrical box
 http://electronicsam.com/images/KandT/conversion/mainelectricalbox.JPG

 we welded 2 of the same boxes together for new electronics.
 http://electronicsam.com/images/KandT/conversion/moreelec.jpg

 here is it mostly hooked up
 http://electronicsam.com/images/KandT/conversion/mostio.JPG

 This is the x,z,b gearbox - the old control used 1 hydraulic servo to run 
 all 3 axis
 http://electronicsam.com/images/KandT/conversion/xaxis/start.JPG

 open
 http://electronicsam.com/images/KandT/conversion/xaxis/start.JPG

 stripped
 http://electronicsam.com/images/KandT/conversion/xaxis/stripped.JPG

 shafts extended out so we can hook the servos up.
 http://electronicsam.com/images/KandT/conversion/xaxis/3shafts.JPG

 servo plate mounted
 http://electronicsam.com/images/KandT/conversion/servo/x-zservo_mount.jpg

 belts (B axis still needs a solution)
 http://electronicsam.com/images/KandT/conversion/servo/belts.jpeg

 Because we are still using the z axis drive train that goes up though the 
 saddle - we needed to get the backlash out of it.  It uses split gears to 
 do that.  Grinding 1 washer thinner takes the backlash out of 5 sets of 
 gears. the washer is the spacer between the 2 lower small gears.
 http://electronicsam.com/images/KandT/conversion/zaxis/gears.JPG

 we still have to mount the y axis servo. - The plan is to direct couple 
 into this shaft.
 http://electronicsam.com/images/KandT/conversion/yaxis/yaxisshaft.JPG

 here is the tool chain logic working...
 http://www.youtube.com/watch?v=4nuRea6615s

 here is the first closed loop movement with the x axis
 http://www.youtube.com/watch?v=FgOqEz5Tk-Y

 Getting there :)  Very happy with the progress.  (I only work on it about 
 once a week.)

 sam


 On Thu, 26 Aug 2010 16:27:29 -0500
 sa...@empirescreen.comwrote:
 I thought I would give an update on our ongoing project.

 This is a 60's vintage NC that used hydraulic servos.  we are converting 
 it to EMC2 using not quite as old Inland servos. (80's vintage) they are 8 
 brush low rpm high torque.  (with the amc drives we are using - it will be 
 40ft-lbs peak.)  We are using 2 mesa 5i20 boards as we are needing a good 
 70+ i/o + atleast 7 encoder counters and 5 +/-10v outputs.  We are at the 
 point where the machine is waking up.  the mesa hardware is awesome (thank 
 to peter and seb for their work).

 Be sure to watch the 2 videos at the end of this email.

 lets see if I can create a linear picture show...
 this is what the machine looked like in the 60s
 http://electronicsam.com/images/KandT/oldkandt.JPG

 this is what the machine looks like now
 http://electronicsam.com/images/KandT/DSCCurrent.JPG

 getting rid of the old control
 http://www.electronicsam.com/images/control.jpg

 this is the old electrical box
 http://electronicsam.com/images/Kand...ctricalbox.JPG

 we welded 2 of the same boxes together for new electronics.
 http://electronicsam.com/images/Kand...n/moreelec.jpg

 here is it mostly hooked up
 http://electronicsam.com/images/Kand...ion/mostio.JPG

 This is the x,z,b gearbox - the old control used 1 hydraulic servo to run 
 all 3 axis
 http://electronicsam.com/images/Kand...axis/start.JPG

 open
 http://electronicsam.com/images/Kand...axis/start.JPG

 stripped
 http://electronicsam.com/images/Kand...s/stripped.JPG

 shafts extended out so we can hook the servos up.
 http://electronicsam.com/images/Kand...is/3shafts.JPG

 servo plate mounted
 http://electronicsam.com/images/Kand...ervo_mount.jpg

 belts (B axis still needs a solution)
 http://electronicsam.com/images/Kand...rvo/belts.jpeg

Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-10-18 Thread sam sokolik
  I still have to really tune all the axis.  (velocity mode amps seem to 
be pretty forgiving - all I did so far was calculate the output scale 
and adjust the following error at a slow ipm by adjusting the amps loop 
gain.) (P=20 D=1 FF1 =1)

We need to get something hooked in for the B axis.  I cannot wait to try 
the locked rotorys that Chris added emc.  (our B axis is lifted before 
it is rotated.  It sits on a coupling that gives it 5 degree increments. 
)  Then the pallet transferring needs to be worked out.  No major 
problems so far.  We have been fixing a lot of little issues like oiling 
and such.

sam

On 10/18/2010 5:16 AM, Mark Wendt (Contractor) wrote:
 Schweet!  What else do you have left to do Sam?

 Mark

 At 09:44 AM 10/17/2010, you wrote:
 I think we have the spindle/tool change working well.  Next is
 pallet change and B axis.  This video shows it find the tool - rapid
 to the g30 home tool change position - then spindle orient and then
 transfer the tool.

 http://www.youtube.com/watch?v=KplU8hkI0AQ

 sam


 --
 Download new Adobe(R) Flash(R) Builder(TM) 4
 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
 Flex(R) Builder(TM)) enable the development of rich applications that run
 across multiple browsers and platforms. Download your free trials today!
 http://p.sf.net/sfu/adobe-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-10-28 Thread sam sokolik
pallet load/unload.  still have to copy the ladder for the other pallet 
station.

http://www.youtube.com/watch?v=9xDPqFXo_5w

sam



On 10/18/2010 8:17 AM, sam sokolik wrote:
I still have to really tune all the axis.  (velocity mode amps seem to
 be pretty forgiving - all I did so far was calculate the output scale
 and adjust the following error at a slow ipm by adjusting the amps loop
 gain.) (P=20 D=1 FF1 =1)

 We need to get something hooked in for the B axis.  I cannot wait to try
 the locked rotorys that Chris added emc.  (our B axis is lifted before
 it is rotated.  It sits on a coupling that gives it 5 degree increments.
 )  Then the pallet transferring needs to be worked out.  No major
 problems so far.  We have been fixing a lot of little issues like oiling
 and such.

 sam

 On 10/18/2010 5:16 AM, Mark Wendt (Contractor) wrote:
 Schweet!  What else do you have left to do Sam?

 Mark

 At 09:44 AM 10/17/2010, you wrote:
 I think we have the spindle/tool change working well.  Next is
 pallet change and B axis.  This video shows it find the tool - rapid
 to the g30 home tool change position - then spindle orient and then
 transfer the tool.

 http://www.youtube.com/watch?v=KplU8hkI0AQ

 sam

 --
 Download new Adobe(R) Flash(R) Builder(TM) 4
 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
 Flex(R) Builder(TM)) enable the development of rich applications that run
 across multiple browsers and platforms. Download your free trials today!
 http://p.sf.net/sfu/adobe-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Download new Adobe(R) Flash(R) Builder(TM) 4
 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
 Flex(R) Builder(TM)) enable the development of rich applications that run
 across multiple browsers and platforms. Download your free trials today!
 http://p.sf.net/sfu/adobe-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-10-28 Thread sam sokolik
Yes - that would be me.   I would like to say the camera adds 40lbs.  ;)

sam

On 10/28/2010 9:00 AM, Mark Wendt wrote:
 Sweet!  Izzat you in the red hat?

 Mark

 On 10/28/2010 09:33 AM, sam sokolik wrote:
 pallet load/unload.  still have to copy the ladder for the other pallet
 station.

 http://www.youtube.com/watch?v=9xDPqFXo_5w

 sam
 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-11-08 Thread sam sokolik
Have the B axis hacked together.  This is more of an indexer as it has a 
72 tooth curvic coupling that the table sit on which gives us 5 degree 
indexes.

http://electronicsam.com/images/KandT/conversion/curvicfoot.jpg
http://electronicsam.com/images/KandT/conversion/curvictogether.jpg
(taken out of our parts machine)

So far so good.  The locking rotaries that Chris added works very well.  
I think I need to add a little delay after the unlock switch is tripped 
before the motion starts.

The first movement in both videos are the home to index only.  The table 
lifts off of its curvic coupling rotates until it finds the index - 
rotates back to a point that will place it so the coupling will line up 
- then re-clamps the table.

http://www.youtube.com/watch?v=vLE4lzPcEo8
http://www.youtube.com/watch?v=gpz1tgTRyGc

Getting there!!
sam


On 10/28/2010 9:23 AM, sam sokolik wrote:
 Yes - that would be me.   I would like to say the camera adds 40lbs.  ;)

 sam

 On 10/28/2010 9:00 AM, Mark Wendt wrote:
 Sweet!  Izzat you in the red hat?

 Mark

 On 10/28/2010 09:33 AM, sam sokolik wrote:
 pallet load/unload.  still have to copy the ladder for the other pallet
 station.

 http://www.youtube.com/watch?v=9xDPqFXo_5w

 sam
 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps   games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Nokia and ATT present the 2010 Calling All Innovators-North America contest
 Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
 $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
 Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
 http://p.sf.net/sfu/nokia-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Home to index oddness (and work around)

2010-11-08 Thread sam sokolik
So - as I was setting up the home to index without the servo actually 
hooked up to anything - the first time it find the index I got a nasty 
oscillation on the move to the home position.  (or if I would rotate so 
the home to index would find the next index)   - really any time the 
position actually got reset.

my axis is rotory
input scale is 2032 per degree
home LATCH_VEL was .1 deg/sec  (I was going slow just for inital setup 
to see what was happening)

This is what would happen on the initial home (or when it would find a 
new index).
http://imagebin.ca/img/5j6mrV6v.png

If it didn't have to reset position (finding the same index)
http://imagebin.ca/img/G3B39N.png

After fooling around with it - what seemed to fix it.  (never happened 
again so far) was to increase the LATCH_VEL to 1.

Though I would throw this out there in case anyone runs across this.

(hardware mesa 5i20 and 7i48)

sam



--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Retrofitting a manual lathe, off the wall idea? Clamp-on CNC attachment.

2010-11-17 Thread sam sokolik
Like this?

http://www.hoffhilk.net/cgi-bin/mnlist.cgi?hoffhilk41/140

sam

On 11/17/2010 9:18 AM, Jon Elson wrote:
 Igor Chudov wrote:
 What I mean by this is as follows: I would move tailstock and carriage
 as far to the right as possible to make room.

 I would take a big aluminum plate and mill it to fit on the lathe
 vee-ways, so that if I clamp it to the lathe bed it will stay solidly
 in one place.

 There was actually a commercial CNC retrofit that worked approximately
 like that.
 I think it clamped a small XY (really XZ in this case) stage to the
 toolpost of a standard
 manual lathe, but maybe it really just clamped to the bed, I've never
 seen one.
 But, it would never be as rigid as the original lathe, and I hate to
 give up the rigidity
 of my lathe.  The way this thing works now, I get a grin every time I
 fire it up, just cut material,
 no need to worry about chatter or anything else.

 I think a well thought out CNC retrofit could be made such that it only
 slightly impacts the manual
 use of the lathe.  Take out the threading leadscrew and half nuts, as
 you would always want to use
 CNC for threading.  With CNC, you can thread at a much higher RPM, and
 that is usually a benefit.
 A servo drive adapted to the X handwheel shouldn't affect the manual use
 of that axis.  With some ingenuity,
 it should be easy to install the CNC ballscrew where the threading
 leadscrew went.  The only tricky part
 might be making it easy to connect or disconnect the ballnut from the
 apron, as it might end up on the back or inside
 the apron.  But, maybe just setting it up with the ballnut to the side
 of the apron would make that simple.
 Line up the nut and drop in a couple bolts, and it is a CNC.  Pull out
 the bolts and run the ballnut to the
 end of the leadscrew, and it is a manual lathe without threading.  And,
 of course, keep all the parts so you
 could put it back to completely manual use in short order.

 Jon

 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today
 http://p.sf.net/sfu/msIE9-sfdev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Big Iron

2010-11-18 Thread sam sokolik
Our KT has boxed ways with recirculating roller bearings.

http://www.electronicsam.com/images/KandT/conversion/tikkoway.JPG
(isn't the exact type but similar) - so each axis has 12 each.

sam

On 11/18/2010 11:15 AM, Jon Elson wrote:
 Viesturs La-cis wrote:
 if that is just a base for machine, I suspect that the machine itself
 also will be very massive and very heavy to provide for rigidity and
 vibration damping in order to achieve the high precision in
 hard-to-machine materials. so the question is - what kind of
 bearings/slides are there to be used and what kind of actuators are to
 be used for such a machine? the same old Hiwin rails, but 3 or 4
 instead of one and same old ballscrews with some extreme 10 diameter?

 Some of the very large machines are hydrostatic. They look very much
 like conventional
 box ways, but have an oil port in the center, and and a hydraulic pump
 provides a steady
 flow of oil to the bearing pad. There is usually some scheme of bladders
 or wipers and a
 scavenge pump to return the oil to the lube system. Stuart Stevenson at
 MPM has a Gidding and Lewis
 horizontal boring mill like that, I think the table is about 50 feet long.

 Jon

 --
 Beautiful is writing same markup. Internet Explorer 9 supports
 standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
 Spend less time writing and  rewriting code and more time creating great
 experiences on the web. Be a part of the beta today
 http://p.sf.net/sfu/msIE9-sfdev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Seeking ideas how to sync an AC generator to 60 HZ average.

2010-11-23 Thread sam sokolik
Sounds like mainly he want his old 60cycle clocks to work correctly.  :)

sam

On 11/23/2010 8:23 AM, Andy Pugh wrote:
 On 23 November 2010 14:06, John Kasunichjmkasun...@fastmail.fm  wrote:

 My next project is a remote off grid 60 HZ power unit.
 I think this has nothing to do with transitions to/from utility
 power.
 Ah, in that case, why does it matter?


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Index Basics, OT: leaving stepppers

2010-11-24 Thread sam sokolik
we have a gantry machine that we setup with 2 switches hooked in series 
for each axis.  One is on the linear slide - one runs off the timing 
pully.  When we home - the machine runs until it closes the switch on 
the linear slide -  then because the switch are hooked in series - the 
switch that is activated by a tab on the timing pully is what emc sees 
as the home switch.  pretty darn accurate.

sam

On 11/24/2010 2:41 PM, Edward Bernard wrote:
 So the flag could be a something like a single hall sensor and magnet as 
 opposed
 to a quadrature encoder?



 - Original Message 
 From: Kirk Wallacekwall...@wallacecompany.com
 To: Enhanced Machine Controller (EMC)emc-users@lists.sourceforge.net
 Sent: Wed, November 24, 2010 1:43:23 PM
 Subject: Re: [Emc-users] Index Basics, OT: leaving stepppers

 On Wed, 2010-11-24 at 10:46 -0800, Edward Bernard wrote:
 What is a screw flag. An encoder?
 An encoder index or a flag that allows one to reproduce the same
 position within .0005, or whatever the application calls for. I would
 not trust most home switch configurations by themselves. They should be
 ANDed with a sensor with a mechanical advantage, such as on the lead
 screw or axis motor shaft. The home switch gets you within one turn of
 the flag or index, sensing the flag gets you home.

 Currently, on my mill, I have markers on each axis. I jog each axis to
 line up the makers, then watch the hand wheels and jog to line up 0 on
 each dial, then I press home for each axis in AXIS. Using a home switch
 could replace the markers. Using a flag or index, could replace the
 dials, and allow EMC2 to automate the home sequence. When you know where
 your home is, you know where your fixtures and soft limits are.

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Watchdog Sizing

2010-12-08 Thread sam sokolik
actually - really?  we could get it - just paying for your time?

thanks
sam

On 12/8/2010 1:25 PM, Roland Jollivet wrote:
 I was wondering, can a fault ever occur with EMC where the frequency of the
 charge pump frequency increases?? This would keep the charge pump detector
 'up', but a uP would detect an error condition.

 Regards
 Roland


 On 8 December 2010 20:53, John Kasunichjmkasun...@fastmail.fm  wrote:

 On 4 December 2010 00:46, Kirk Wallacekwall...@wallacecompany.com
 wrote:
 I'm working on using an ATtiny to watch EMC2's charge pump.
 Why not use a charge pump circuit to watch the charge pump signal?

 That is what it was designed for, and is probably the most fail-safe
 solution.  The timeout period is set by the capacitors and resistors
 you choose, and can't get accidentally changed or disabled.

 A charge pump circuit consists of two diodes, one small capacitor
 (a few hundred pF or a few nF), one medium capacitor (a few tens
 of nF), and a resistor.  Also needed is something to look at its
 output and turn off the dangerous stuff if the output drops too low.
 That can be as simple as a transistor driving a relay coil, or you
 could use a schmidt trigger input logic gate followed by whatever
 you need to drive.

 No microcontroller, no programming, no configuration, no bits.
 Analog lives!

 John Kasunich

 --
   John Kasunich
   jmkasun...@fastmail.fm



 --
 This SF Dev2Dev email is sponsored by:

 WikiLeaks The End of the Free Internet
 http://p.sf.net/sfu/therealnews-com
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 This SF Dev2Dev email is sponsored by:

 WikiLeaks The End of the Free Internet
 http://p.sf.net/sfu/therealnews-com
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-12-09 Thread sam sokolik
fully auto!  (pallet tranfer) could use a little optimization - but I am 
happy with it.  (because it works ;))

http://www.youtube.com/watch?v=objyMqAHUNU

http://www.youtube.com/watch?v=CYA5uEwLSTA

right now I have a few buttons on a pyvcp pannel to do activate the 
cycles (offload pallet, swap pallets, Load pallet) and plan to activate 
it with M1XX codes in the future.

sam

On 11/14/2010 9:30 AM, sa...@empirescreen.com wrote:
 Yes - first cut!

 I forgot - this is where the timing gear is going

 http://www.electronicsam.com/images/KandT/conversion/spindle/belvel.JPG

 smallest hex.

 sam


 On Sun, 14 Nov 2010 06:59:27 -0500
   Mark Wendt (Contractor)mark.we...@nrl.navy.mil  wrote:
 Sam,

 Very neat!  It's been an enjoyable watch as you bring this big
 machine back to life. Is that the first cut(s) on a part you've done
 since bringing 'er up?

 Mark

 At 09:51 PM 11/13/2010, you wrote:
 Did a little milling.  Needed to cut a hex in the center of a timing
 pully for the encoder that will be on the spindle for rigid tapping
 (and maybe closed loop speed control)

 http://www.youtube.com/watch?v=RW6eXiMoFp8

 this is the hex on the end of the spindle that it will be mounted to.

 http://www.electronicsam.com/images/KandT/conversion/testing/DSCF1231.JPG

 kinda cool picture.
 http://www.electronicsam.com/images/KandT/conversion/testing/DSCF1235.JPG

 sam

 --
 Centralized Desktop Delivery: Dell and VMware Reference Architecture
 Simplifying enterprise desktop deployment and management using
 Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
 client virtualization framework. Read more!
 http://p.sf.net/sfu/dell-eql-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Centralized Desktop Delivery: Dell and VMware Reference Architecture
 Simplifying enterprise desktop deployment and management using
 Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
 client virtualization framework. Read more!
 http://p.sf.net/sfu/dell-eql-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool change challenge (Advanced Configuration forum)

2010-12-09 Thread sam sokolik
I would vote mechanical also - That is how are old machine does it.  It 
was pretty easy to setup.  (I actually wrote a comp for the spindle 
gearbox/index for this machine).  it sets the transmission into 'lock' 
mode then creeps into the dog.  Checks to see that the spindle is at 0 
rpm and then sets a 'spindle is locked' bit.

http://www.youtube.com/watch?v=KplU8hkI0AQ

sam


On 12/9/2010 4:20 PM, Chris Radek wrote:
 On Wed, Dec 08, 2010 at 06:21:03PM -0800, Gary McRobert wrote:

 Still undecided as how to resolve the tool change challenge.
 I think you are asking about how to do spindle orient.

 Having used machines with vfd+pid orient and machines with mechanical
 orient and lock, I have to say the mechanical scheme wins, hands down.

 A full servo spindle would orient fine -- but if you don't have it, I
 suggest trying hard to come up with a mechanical orient stop, and use
 the jog feature of the vfd to get there.  It should have a switch so
 when it's done the vfd can know to stop jogging.

 Chris

 --
 ___
 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] Kearney and Trecker Milwaukeematic IIIb progress

2010-12-11 Thread sam sokolik
had some time to do some tuning.  Getting there - I am pretty new to it.

http://www.electronicsam.com/images/KandT/conversion/testing/tuning.png

That is a .1 move at about 25ipm  - the peak at the begining and end are 
the acc/decel.  it peaks at .00017.  It is a bit better than that - I 
had to retune a little after I turned up the current limit on all the 
amps to maximum. :)  I have the ferror set to .001 right now and did a 
bit of machining with no issues.

sam

ps - that should give us about 16000lbs peak and 8000lbs of force 
continuous. :)



On 12/09/2010 08:09 AM, sam sokolik wrote:
 fully auto!  (pallet tranfer) could use a little optimization - but I am
 happy with it.  (because it works ;))

 http://www.youtube.com/watch?v=objyMqAHUNU

 http://www.youtube.com/watch?v=CYA5uEwLSTA

 right now I have a few buttons on a pyvcp pannel to do activate the
 cycles (offload pallet, swap pallets, Load pallet) and plan to activate
 it with M1XX codes in the future.

 sam

 On 11/14/2010 9:30 AM, sa...@empirescreen.com wrote:
 Yes - first cut!

 I forgot - this is where the timing gear is going

 http://www.electronicsam.com/images/KandT/conversion/spindle/belvel.JPG

 smallest hex.

 sam


 On Sun, 14 Nov 2010 06:59:27 -0500
Mark Wendt (Contractor)mark.we...@nrl.navy.mil   wrote:
 Sam,

  Very neat!  It's been an enjoyable watch as you bring this big
 machine back to life. Is that the first cut(s) on a part you've done
 since bringing 'er up?

 Mark

 At 09:51 PM 11/13/2010, you wrote:
 Did a little milling.  Needed to cut a hex in the center of a timing
 pully for the encoder that will be on the spindle for rigid tapping
 (and maybe closed loop speed control)

 http://www.youtube.com/watch?v=RW6eXiMoFp8

 this is the hex on the end of the spindle that it will be mounted to.

 http://www.electronicsam.com/images/KandT/conversion/testing/DSCF1231.JPG

 kinda cool picture.
 http://www.electronicsam.com/images/KandT/conversion/testing/DSCF1235.JPG

 sam
 --
 Centralized Desktop Delivery: Dell and VMware Reference Architecture
 Simplifying enterprise desktop deployment and management using
 Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
 client virtualization framework. Read more!
 http://p.sf.net/sfu/dell-eql-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 --
 Centralized Desktop Delivery: Dell and VMware Reference Architecture
 Simplifying enterprise desktop deployment and management using
 Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
 client virtualization framework. Read more!
 http://p.sf.net/sfu/dell-eql-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 This SF Dev2Dev email is sponsored by:

 WikiLeaks The End of the Free Internet
 http://p.sf.net/sfu/therealnews-com
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-12-12 Thread sam sokolik
Thanks!

the drives are what is limiting..  They are 20a continuous and 40a 
peak.  The servos are pretty close to an amp per ft-lb.  with a 2:1 belt 
drive - that gives us 80ft-lb peak at the screws.   That is pretty close 
to what the old hydraulic servos.

sam

On 12/11/2010 08:38 PM, Jon Elson wrote:
 sam sokolik wrote:
 had some time to do some tuning.  Getting there - I am pretty new to it.

 http://www.electronicsam.com/images/KandT/conversion/testing/tuning.png

 That is a .1 move at about 25ipm  - the peak at the begining and end are
 the acc/decel.  it peaks at .00017.  It is a bit better than that - I
 had to retune a little after I turned up the current limit on all the
 amps to maximum. :)  I have the ferror set to .001 right now and did a
 bit of machining with no issues.

 Getting there?  I think you ARE there!  peak error below 2 tenths sounds
 very good to me.
 sam

 ps - that should give us about 16000lbs peak and 8000lbs of force
 continuous. :)

 Yikes, those must be some BIG servos!  You want to be awfully careful
 about crashing a machine
 that can deliver that much linear force to things.

 Jon

 --
 Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
 new data types, scalar functions, improved concurrency, built-in packages,
 OCI, SQL*Plus, data movement tools, best practices and more.
 http://p.sf.net/sfu/oracle-sfdev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle encoder, what scale to use for rigid tapping

2010-12-17 Thread sam sokolik
video! :)

sam

On 12/17/2010 7:55 AM, Igor Chudov wrote:
 Thanks guys. It works great now.

 i

 On Fri, Dec 17, 2010 at 5:53 AM, John Thorntonbjt...@gmail.com  wrote:

 There are several spindle examples in the Integrators manual.

 John

 Igor Chudov wrote:
 I am realizing that I am not sure what scale should I use for rigid
 tapping.
 Should I configure EMC2 so that a single revolution of the spindle
 results
 in the spindle position of 1.0?

 Also, another question. Does anyone who has rigid tapping, have a .ini
 file
 that they can share?

 I am specifically not sure how to tie my input to spindle speed. When I
 try
 G33.1, EMC2 errors out and says spindle is not in motion. I believe
 that I
 need to tie my input somehow to spindle speed that EMC2 knows how to
 read,
 but I am not sure what variable to use.

 Thanks

 i

 --
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how
 to connect the dots, take your collaborative environment
 to the next level, and enter the era of Social Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how
 to connect the dots, take your collaborative environment
 to the next level, and enter the era of Social Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how
 to connect the dots, take your collaborative environment
 to the next level, and enter the era of Social Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-12-19 Thread sam sokolik
Last major hardware mod (except for a control panel)

This is the encoder for the spindle..  This will allow for rigid tapping.

Heating up the timing gear
http://www.electronicsam.com/images/KandT/conversion/spindle/timinggear.JPG

installed
http://www.electronicsam.com/images/KandT/conversion/spindle/spindletiminggear.JPG

Now just need to come up with a bracket (and a belt guide on the encoder 
pully)
http://www.electronicsam.com/images/KandT/conversion/spindle/spindleencoder.JPG

sam

On 12/12/2010 09:25 PM, Jon Elson wrote:
 sam sokolik wrote:
 Thanks!

 the drives are what is limiting..  They are 20a continuous and 40a
 peak.  The servos are pretty close to an amp per ft-lb.  with a 2:1 belt
 drive - that gives us 80ft-lb peak at the screws.   That is pretty close
 to what the old hydraulic servos.

 I wouldn't call 16000 Lbs linear force limiting.  It sounds QUITE
 sufficient for
 such a machine.  You don't expect a machine like that to be doing high
 speed contouring,
 but I suspect it can probably do anything that the available spindle
 speed makes practical.

 Jon

 --
 Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
 new data types, scalar functions, improved concurrency, built-in packages,
 OCI, SQL*Plus, data movement tools, best practices and more.
 http://p.sf.net/sfu/oracle-sfdev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-12-19 Thread sam sokolik
well - we are not 100% sure.  We started with a similar sized pair of 
gears but could not find a belt that fit them.  So we found this pair in 
our parts bin (we call 2 pole buildings and a barn our parts bin.) They 
are XL and we know the we can get belts. :)  We think they started life 
as a drive for a line printer belt.  where ever other tooth was a 
letter.  That is blowing the dust off the memory wear house.  We could 
be wrong.

sam

On 12/19/2010 10:25 AM, Dave wrote:
 I've never seen belt pulleys like that.   Are the skipped teeth just to
 minimize machining or is there another purpose?

 Dave

 On 12/19/2010 10:56 AM, sam sokolik wrote:
 Last major hardware mod (except for a control panel)

 This is the encoder for the spindle..  This will allow for rigid tapping.

 Heating up the timing gear
 http://www.electronicsam.com/images/KandT/conversion/spindle/timinggear.JPG

 installed
 http://www.electronicsam.com/images/KandT/conversion/spindle/spindletiminggear.JPG

 Now just need to come up with a bracket (and a belt guide on the encoder
 pully)
 http://www.electronicsam.com/images/KandT/conversion/spindle/spindleencoder.JPG

 sam

 On 12/12/2010 09:25 PM, Jon Elson wrote:

 sam sokolik wrote:

 Thanks!

 the drives are what is limiting..  They are 20a continuous and 40a
 peak.  The servos are pretty close to an amp per ft-lb.  with a 2:1 belt
 drive - that gives us 80ft-lb peak at the screws.   That is pretty close
 to what the old hydraulic servos.


 I wouldn't call 16000 Lbs linear force limiting.  It sounds QUITE
 sufficient for
 such a machine.  You don't expect a machine like that to be doing high
 speed contouring,
 but I suspect it can probably do anything that the available spindle
 speed makes practical.

 Jon

 --
 Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
 new data types, scalar functions, improved concurrency, built-in packages,
 OCI, SQL*Plus, data movement tools, best practices and more.
 http://p.sf.net/sfu/oracle-sfdev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how
 to connect the dots, take your collaborative environment
 to the next level, and enter the era of Social Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



 --
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how
 to connect the dots, take your collaborative environment
 to the next level, and enter the era of Social Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-12-19 Thread sam sokolik
well - we heated it up mainly for ease of slipping it on.  it almost 
went on by hand.  it will probably come off pretty easy.

sam

On 12/19/2010 10:19 AM, Stuart Stevenson wrote:
 Sam,
Sweet - nice job
Now you need a socket to fit the gear teeth so you can remove that nut
 when (not if) is is necessary.
 Stuart


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2010-12-20 Thread sam sokolik
it seems to track perfectly - but time will tell.  :)

At some point we might actually have to *gasp* buy a pair of timing 
gears. ;)

sam

On 12/20/2010 11:51 AM, Jon Elson wrote:
 sam sokolik wrote:
 well - we are not 100% sure.  We started with a similar sized pair of
 gears but could not find a belt that fit them.  So we found this pair in
 our parts bin (we call 2 pole buildings and a barn our parts bin.) They
 are XL and we know the we can get belts. :)  We think they started life
 as a drive for a line printer belt.  where ever other tooth was a
 letter.  That is blowing the dust off the memory wear house.  We could
 be wrong.

 I THOUGHT those things looked DAMN familiar.  They are gear sensor
 wheels from an
 IBM line printer.  Now, maybe they saved time by taking teeth off
 commercial timing pulleys,
 but I'd check the profile carefully to make sure it is not going to
 prematurely wear out the belt.

 Jon

 --
 Lotusphere 2011
 Register now for Lotusphere 2011 and learn how
 to connect the dots, take your collaborative environment
 to the next level, and enter the era of Social Business.
 http://p.sf.net/sfu/lotusphere-d2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Use of Pico Systems brush servo amps with Mesa 5i20 controller

2011-01-13 Thread sam sokolik
the amps that I built had a boot strap that required charging..  I also 
never had issues with it not charging at startup.  I figured there was 
enough dithering that everything 'just worked' tm

sam

On 1/13/2011 11:56 AM, Anders Wallin wrote:
 I believe there are a few people using the Pico Systems brush PWM servo
 amp with
 mesa controller boards.
 We are using this combination on our mill. I'm not using any special
 boot-up HAL code for the servo amp.

 When dry-testing the servos on the bench (no load attached), this
 boot-up sometimes causes the servo
 to spin in one direction, causing a following error.
 In practice with a load attached and with a tuned PID-loop there are
 no problems. I guess the encoder input is noisy
 enough, or the PID-settings are such, that the drive gets the required
 boot-up dir/pwm anyway, and with the load attached
 this never causes a following error on our mill.

 Anders

 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand
 malware threats, the impact they can have on your business, and how you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2011-01-15 Thread sam sokolik
so - here is a video with it all coming together.  This is a short gcode 
program that spots, drills, taps a hole.  At this time emc pauses motion 
when the tool prep is happening - so I modified my ladder so it sends 
the tool prepared bit instantly but the actual tool change is inhibited 
until the ladder is done with the tool prep.  (if that made sense.)  The 
program is short enough that for a few of the tools the tool change 
sequence has to wait for the prep.

http://www.youtube.com/watch?v=39q6kvrSBSk

After this video was done we played with the spindle vfd and got the 
acc/dec twice as fast.

sam




On 01/10/2011 04:10 AM, Mark Wendt wrote:
 These big machines running EMC2 are just very cool!  Been watching this
 big girl come to life since you started posting the vids.  Thanks for
 keeping us in the loop Sam!

 Mark

 On 01/09/2011 11:30 AM, sa...@empirescreen.com wrote:
 That is the spindle collet unclamp.  It moves forward about .05 inch.  seems 
 to not be a problem with the encoder setup.  (it really was the only sane 
 solution..) ;)

 sam

 On Sun, 09 Jan 2011 07:02:59 -0500
Mark Wendt (Contractor)mark.we...@nrl.navy.mil   wrote:

 Pretty neat stuff Sam!  What is that last operation in that video -
 where it looks like that big nut moving laterally?  Is that part of
 the tool changing process?

 Mark

 At 07:40 PM 1/8/2011, you wrote:

 Ok - have the spindle encoder mounted.

 http://www.youtube.com/watch?v=5vvP4L_hr90

 rigid tapping works - I will make a video soon.

 (having some tool prep issues.  Master seems to pause everything
 while it is pre-fetching the tool)

 sam
 --
 Gaining the trust of online customers is vital for the success of any company
 that requires sensitive data to be transmitted over the Web.   Learn how to
 best implement a security strategy that keeps consumers' information secure
 and instills the confidence they need to proceed with transactions.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Kearney and Trecker Milwaukeematic IIIb progress

2011-01-16 Thread sam sokolik
It is actually a little easier than that.  Each tool has a mechanical 
barcode.  So I call the tool I want - it spins the chain until it reads 
the right number on the tool and puts it in the prepared location.

You can see the rings on the tool (the reader is behind it)
http://www.electronicsam.com/images/KandT/conversion/toolchangerspindle.JPG

The tooling is something KT produces as far as I know.  Strait shank 
held in by a collet.  We have quite a bit of tooling and if we need more 
we would probably make it.

Now - yes the 7/8 drill is bent - it was the best enco had about 15 
years ago :)

sam

On 01/15/2011 09:45 PM, Jon Elson wrote:
 gene heskett wrote:

 Sweet Sam.  Looks like the paint is being refreshed also, generally looking
 good except for the slightly bent 2nd drill. ;-)

 Since the tools are being replaced in the belt by a different tool, how
 does it track what tool is in which belt pocket?


 This is EMC2's random toolchanger scheme.  EMC2 has a file where it keep
 track of which
 tool is in which pocket, and the file is updated when the tools are
 loaded/unloaded.

 Jon

 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand
 malware threats, the impact they can have on your business, and how you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] converting Monarch 10EE

2013-04-29 Thread sam sokolik
We used a dc drive to run the rotor - then used the (IIRC) existing 
large adjustable resistor to drop the field as you increased the speed.. 
(from simple rectified dc).This is still a manual lathe.  I 
think though it would be pretty easy to use 2 dc drives - one for the 
rotor and one for the field.  (seems easy enough to control it from hal..)

Yes - the dc motor has very nice low end torque..

sam


On 4/29/2013 9:48 AM, andy pugh wrote:
 On 29 April 2013 15:16, John Kasunich jmkasun...@fastmail.fm wrote:

 Discarding the DC motor will almost certainly mean
 a significant performance penalty.  Keeping the DC
 motor and driving it with either a DC drive, or the
 existing motor-generator set, will keep the performance.
 Good point, I didn't think of that.

 There are a couple of 2hp DC drives on eBay for around the $200 mark.
 I didn't find any 3HP ones, though there are several Unidrive units
 on there, which can drive pretty much anything.



--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] treamill motors (was converting Monarch 10EE)

2013-04-30 Thread sam sokolik
Speak of the devil...?

http://www.cnczone.com/forums/general_electronics_discussion/178760-poll_treadmill_motors_information_wanted.html

sam
On 04/30/2013 12:16 PM, Gene Heskett wrote:
 On Tuesday 30 April 2013 13:15:33 andy pugh did opine:

 On 30 April 2013 16:56, Cecil Thomas wctho...@chartertn.net wrote:
 These 1 1/2 to 2 hp motors develop that hp at 5000 to 6000 rpm.  You
 will have to rethink your drive coupling system to reduce that speed
 down to something usable especially for threading.
 Which is why I fancy experimenting with this:
 https://plus.google.com/photos/108164504656404380542/albums/574772215574
 1347649/5832689638364145858?banner=pwa
 Kewl Andy.  What car was that headed for?

 Cheers, Gene


--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with 2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Axis and infinite loops

2013-05-22 Thread sam sokolik
look at the axis preview control section...

http://www.linuxcnc.org/docs/2.5/html/gui/axis.html#_axis_preview_control

sam

On 5/22/2013 12:44 PM, Ralph Stirling wrote:
 I need to have an infinite while loop for an
 automation application, but I can't figure out
 how to keep Axis from hanging forever when
 loading the program.  Turning off all the
 Show settings in View doesn't seem to help.

 I also have a problem with M66 commands.
 These insist on a Q timeout value.  I don't
 want an arbitrary timeout.  If my machine
 needs to wait an hour for the input, I want
 it to wait an hour.  Can I restore the old
 functionality of M66 that did not require
 the Q term?

 Thanks,
 -- Ralph
 --
 Try New Relic Now  We'll Send You this Cool Shirt
 New Relic is the only SaaS-based application performance monitoring service
 that delivers powerful full stack analytics. Optimize and monitor your
 browser, app,  servers with just a few lines of code. Try New Relic
 and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pendant recommendations

2013-06-02 Thread sam sokolik
you really want a real jog wheel..(mpg)  Once you use one - you 
will  never want anything else...  (really - you do)  :)

sam

On 06/02/2013 02:34 PM, Bruce Layne wrote:
 I highly recommend the JogIt! pendant.  I bought four of them via a
 KickStarter campaign.  There's a Mach version and a LinuxCNC version.
 They're awesome.  I use the small Logitech K400 wireless keyboard and
 touchpad to load the program and I do everything else with the JogIt!
 pendant.  I could use the small K400 keyboard as a wireless pendant, but
 it's still a lot larger than the pendant and the JogIt! pendant has
 dedicated keys for everything.  It plugs into a USB port and is truly
 plug-n-play with LinuxCNC.

 I know this sounds like a commercial, but I have no financial interest
 and am just a happy customer.  I have four, and I think I'm going to buy
 two more!

 http://www.kickstarter.com/projects/1651082654/jog-it-open-source-controller-pendant-for-emc2-and



 On 06/02/2013 03:16 PM, Dave wrote:
 I want to buy a pendant for use with a Bridgeport CNC mill I have
 converted to Linuxcnc.

 I think I want an MPG with axes selection, but tell me if you disagree.

 I don't want to make my own as I have way too much other work to do
 right now.  I am really looking for an off the shelf hardware solution.
 If it requires some hal configuration, I am not worried about that.

 What do you guys recommend?

 If the pendant gets bumped, I don't want it fracture and fly apart, etc.

 I've look at the CNC4PC pendants and I have looked at the pendants on Ebay.

 How practical are USB joysticks for use as pendants on a milling machine?
 If you are using a USB joystick as a pendant, which model are you using??

 Thanks,

 Dave

 --
 Get 100% visibility into Java/.NET code with AppDynamics Lite
 It's a free troubleshooting tool designed for production
 Get down to code-level detail for bottlenecks, with 2% overhead.
 Download for free and get started troubleshooting in minutes.
 http://p.sf.net/sfu/appdyn_d2d_ap2
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with 2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] External brakes and 7i39?

2013-06-09 Thread sam sokolik
Our Y axis has a brake. (vertical)  we just have it hooked to the axis 
enable pins.  When the drives are enabled - the brake is disabled...  
Seems to work great!

sam


On 06/09/2013 03:44 PM, John Kasunich wrote:
 At one time in the darks mists of history, EMC(1?) had an
 axis brake output for exactly this function - it would turn
 the brake on and off based on g-code commands.  I'm not
 sure if it made it into EMC2 and thus LinuxCNC.  If I wasn't
 lazy I would check the manual and see if the motion
 component has a brake pin.

 On Sun, Jun 9, 2013, at 01:34 PM, Andrew wrote:
 2013/6/9 Florian Rist
 fr...@fs.tum.dehttps://mail.google.com/mail/u/0/?view=cmfs=1tf=1to=fr...@fs.tum.de
 Hi Andrew

 Hi Florian,

It depends on when you need the brakes on.

 Well, the brakes are supposed to prevent the servo from moving when
 powered off, for safety reasons but also to be able to power up the
 machine without the need to home the axis (nor sure if this is really
 possible)
 The simple solution is connect brakes to enable.
 So I take the enable signal for the servo controller (7i39) and use that
 to switch on the brae supply, right?

 I guess so. I usually use relay modules like this
 http://www.ebay.com/itm/251267628031 for that purpose.

 Other is powering brakes when commanded velocity magnitude
 exceeds some near-zero value.
 sounds more elegant, but that means I have to use an extra i/o pin (no
 problem there are plenty of them free) and generate the signal for it
 (don't know how to do so, right now)

 Yes. I would use abs to get absolute value of velocity and then comp to
 compare it to say 0.1 or 0.01 (slow enough but not zero).
 http://www.linuxcnc.org/docs/html/man/man9/abs.9.html
 http://www.linuxcnc.org/docs/html/man/man9/comp.9.html
 The question is which signal to use for velocity input:
 axis.N.joint-vel-cmd (or probably PID outputs) for each axis with 3
 independent brakes, or motion.current-vel for common brake signal.
 Something like this. We can continue with details if nesessary.

 Andrew
 --
 How ServiceNow helps IT people transform IT departments:
 1. A cloud service to automate IT design, transition and operations
 2. Dashboards that offer high-level views of enterprise services
 3. A single system of record for all IT processes
 http://p.sf.net/sfu/servicenow-d2d-j
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Should I or Shouldn't I?

2013-06-12 Thread sam sokolik
We have a monarch 10EE that is going to be converted to cnc...  Some 
people cringe at that.  I don't..

sam

On 6/12/2013 12:05 PM, Bruce Layne wrote:
 On Wed, 12 Jun 2013 16:35:55 +0100 andy pugh bodge...@gmail.com wrote:
 Should I CNC it?

 It's a neat old machine, but it's not the Mona Lisa.  Converting it to
 CNC is not some sort of crime against humanity.  Follow your own
 sensibilities and I'm sure you'll do just fine.

 I think it's great that people respect old machines and want to preserve
 them.  However, I also believe in property rights.  You bought it, so
 it's yours.  If you want to bolt some motors to it and connect it to a
 computer and make it do tricks the manufacturers would have never
 imagined, then go for it.  Don't let anyone tell you that you may have
 bought it but you have no right to modify it and you must restore it to
 its original condition or you're some sort of vandal.  If they want to
 preserve that machine, THEY should buy it and spent their money to
 restore it and put it in their vintage machine museum.

 This topic reminds me of the local historical trust.  They get the local
 government to pass ordinances and zoning restrictions telling people who
 own old houses what color they're allowed to paint them, what
 restoration they must do and what improvements they can't make to their
 property, which contractors are authorized to do historical restoration,
 etc.  They don't own the property, but they are somehow entitled to make
 every significant decision concerning the property.

 I'm stripping a lot of parts off a neat old Clausing lathe that I don't
 need after I convert it to CNC - cross slide, lead screws, all the
 complex hardware associated with threading, reversing drum switch, etc.
 I'll eBay that stuff for anyone who wants to restore their old Clausing
 lathe.  As C3PO said, if any of my parts could be of use, I'll gladly
 donate them.

 I was probably a Mongol or Visigoth in a previous life.




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




--
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] What is the Wichita meeting?

2013-06-12 Thread sam sokolik
usually - in my experience - the end of the week is usually the busiest..

We are driving Wednesday morning and leaving Sunday.

sam
On 06/12/2013 04:08 PM, tcninj...@yahoo.com wrote:
 My shop workload will not let me stay the whole week.
 So should I come for the beginning or the end?I have 3 days to spend.

 On Jun 12, 2013, at 12:45 PM, Jon Elson el...@pico-systems.com wrote:

 andy pugh wrote:
 On 12 June 2013 16:10, Kenneth Lerman kenneth.ler...@se-ltd.com wrote:


 If you are vegan, I'll buy you a carrot. :-)
 I'll take you up on the carrot if it is a generic offer.
 There's an Indian place in Wichita that is VEY good!  They had a
 lentil soup
 there that I'd love to get the recipe for.  I think both Jeff and Chris
 Radek (have to
 specify last name there, we have a couple Chris's) are both vegan, so
 you will
 be in good company.

 Jon

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



--
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] Wichita LinuxCNC meeting

2013-06-24 Thread sam sokolik
First off - Thank you Stuart you are more than generous.  Both dad and I 
had a wonderful time at the fest.  I hope we can keep this up more 
often.  3 years was way too long.

Now we had some success at the fest.
 Andy P asked if I would bring the accupins from the old GE control 
on the kt.

http://www.electronicsam.com/images/KandT/conversion/accpinset1.jpg

 Well - saturday (yah we don't get side tracked - do we?) We started 
doing some basic tests on the read head.  Andy had a frequency generator 
and we started injecting a signal into one of the coils.  We could sort 
of see a shift of the return signal and goofed around with it for a 
bit.  Jeff E was kind enough to whip up an arduino circuit that output 2 
square waves 90deg out of phase. When that was hooked up to each coil - 
it did something.  Just not what was expected.  (don't remember what but 
not right) After reading back on my notes it dawned on me that the 
signal really needed to be isolated (the original circuit was driven by 
a push pull h-bridge)  Pete W came by and said - if you have enough 
outputs you could generate differential signals.  Duh.  Back to Jeff E 
and 2 seconds later I had a new arduio program.
 That started looking promising.  Chris R came over and was poking 
at the scope.  We could see it shifting as the scale was moved - but the 
amplitude also changed.  We must have went around in circles for a while 
before we decided to change the arduio frequancy from 10khz to the 250hz 
that the original control used.  (I got stuck on 10khz because that was 
what seemed to go through the coil with Andy frequency generator).   I 
hooked up the circuit and Chris fiddles with the scope.  He exclaimed - 
'I think it is working!' and he was right.'

http://www.youtube.com/watch?v=im79QbffjCQ
with a bit of filter
http://www.youtube.com/watch?v=x6hzesMM7EM
this is why it looked a bit noisy... :)
http://www.electronicsam.com/images/KandT/Fest2013/DSC_3931.JPG

After a bit of happy dancing - Andy and Jeff started looking at the 
signal.  I got sidetracked again and didn't really pay attenion to what 
they where discussing.  What they decided was that they could also read 
the output with an arduino..  A bit later - Jeff shows up with a way to 
log the output.  he goofed around with it and graphed some of the data 
and it looks very exciting.

Thanks again for everyones input!

sam








On 06/24/2013 08:48 AM, Stuart Stevenson wrote:
 Gentlemen,
First response - WOW - the only word to describe the week.

Over thirty people attended this week. When I posted the meeting time and
 place I thought eight might show up and twelve would be a large number. I
 was surprised! Many states were represented as were Canada, UK and Austria.
 What a joy to meet and get to know everyone.

Cool stuff:
3D printing
Web page (and Android) control
Watching techs with scopes ferreting out signals from electronic devices
Programmers trying software control experiments
Discussion about software/hardware timing and protocol.
Meetings about changes in software and hardware.

This was overwhelming on a daily basis!

From groups of two or three around the room to a couple complete group
 gatherings an air of expectation was exhibited by excited voices and arm
 waving descriptions. It was difficult to stay listening to one group while
 overhearing another. Which do I want to concentrate on? I know I missed a
 lot of information I would have loved to have heard.

I can now put a face and voice to many of the names on the communication
 channels. Last night I was hearing their voices and seeing their faces
 while I was reading some of their emails. What a communication enhancer.

Last response is WOW!

 Thank everyone for attending and making this a memorable and productive
 meeting!
 Stuart



--
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] Wichita LinuxCNC meeting

2013-06-25 Thread sam sokolik
I forgot to post these..  (Thanks dad!)

http://www.electronicsam.com/images/KandT/Fest2013/

random pictures from the fest.  I hope to organize them in the future.

sam
On 06/25/2013 03:38 PM, Peter C. Wallace wrote:
 On Mon, 24 Jun 2013, sam sokolik wrote:

 Date: Mon, 24 Jun 2013 22:09:11 -0500
 From: sam sokolik sa...@empirescreen.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] Wichita LinuxCNC meeting

 First off - Thank you Stuart you are more than generous.  Both dad and I
 had a wonderful time at the fest.  I hope we can keep this up more
 often.  3 years was way too long.
 Let me echo that. Stuart was a wonderful host and it was great to finally get
 to meet people I have cooresponded with for years.


 Peter Wallace
 Mesa Electronics

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



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


[Emc-users] emco compact 5pc lathe and linuxcnc

2013-07-08 Thread sam sokolik
We got a few of these lathes from a local school.  they are cute little 
cnc lathes.
The technology is pretty old though. The steppers are 72 steps per rev.

I found this
http://www.maxton.com/ebay/emco/EMCO%20Compact%205PC%20Conversion%20to%20Mach3.pdf

which talks about converting to mach.  They remove the octal latch and 
jump through it.
I wanted to see if I could get linuxcnc to drive the board without 
hacking the latch out.

this is what I have found/figured out

I think this is correct..  (this is with switch 1 on the interface board 
set to
'on' which puts the board into step/dir)

x step pin 2
x dir pin 3
z step pin 4
z dir pin 5
index pin 12
estop pin 11
100 ppr sensor pin 10
74ls374 enable pin 14
74ls374 clock pin 1

I setup linuxcnc to send a pulse at every base period for the 'clock'
that latched the outputs of the chip. (thanks Jeff E for the idea) this 
is using the
'reset' option of the printer port that allows for a cycle within each 
base period
the same feature that makes 'double step' work.  This allows me to 
'latch' the
74ls374 each base period with the current step/dir pattern.  It seems to 
work

Now it took me a bit of tinkering to figure out that I didn't read the 
above article
well enough to notice that you needed to set a switch to put the emco 
interface
board into step/dir mode.  During this time I was flipping bits on the 
printer port
to try to figure out why it wasn't working.  I think by default the 
interface is setup
as phase drive.  (4 phases per stepper)  as I think I was flipping all 8 
data bits on
the printer port and was getting stepper clunking.

Well - the performace of these drives/steppers are pretty poor. (assuming
I have the timing right - and I didn't get too much time to play with 
it.)  In the
above article they talk about around 20ipm is about max.  That is what I was
seeing - plus there is a weird interaction when you run both axis at once.
(they get quite a bit noisier for some reason).  Now it could be that I 
don't quite
have the timing correct - like maybe the step/dir needs to be inverted or
or something - I will play with it more.

I would also like to switch it back to non-step/dir mode.  (phase drive 
maybe?)
because there might be a reason the original software used it.. (better
performance?)  plus I think I have the original software and would like 
to try
it out also.  (need to setup a pure dos machine to test)

lathe
http://www.electronicsam.com/images/emco/emcoclose.JPG
interface/drive
http://www.electronicsam.com/images/emco/interfaceanddrive.JPG

sam








--
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] emco compact 5pc lathe and linuxcnc (no mods to original control)

2013-07-09 Thread sam sokolik
ok - some cool news I think.  So - with the switch on the interface 
board set to off (non step/dir mode)  the control signals are 4 phase 
drive.  (seems to be unipolar).  pins 2 through 5 control one axis - 6 
through 9 control the other.  I hacked a hal file to setup stepgen to 
output 4 phase (patterns 5 through 10).

First tried pattern 9 (Unipolar Half Step) because the scale was setup 
for that.
the performance was the same.  20ipm max and would probably have to back 
that off...

Second was pattern 10 (Bipolar Half Step)  I know - not likely - and it 
wasn't.  Didn't like it.

Third was pattern 5 (Unipolar Full Step)  I halved the axis scales also.
similar performance..  20ipm max.  (and sound so far was pretty crappy)

fourth was pattern 6 (Unipolar Full Step (two windings on))
Holy crap.  That sounds nice.  maxed out at 30ipm and didn't try any 
faster.  Full stepping is .00054ish per step.  Workable for sure.

That is what the original control/software maxed out at.  I will try 
faster when I get a chance.

That is totally usable with linuxcnc - no mods to the control.  I need 
to hook up the index and 100ppr and try some threading!

One thing to try is - I think I can put the interface board back into 
step/dir and full step.  I don't know what pattern it does though.

sam (happy dancing..)



On 7/8/2013 7:13 AM, sam sokolik wrote:
 We got a few of these lathes from a local school.  they are cute little
 cnc lathes.
 The technology is pretty old though. The steppers are 72 steps per rev.

 I found this
 http://www.maxton.com/ebay/emco/EMCO%20Compact%205PC%20Conversion%20to%20Mach3.pdf

 which talks about converting to mach.  They remove the octal latch and
 jump through it.
 I wanted to see if I could get linuxcnc to drive the board without
 hacking the latch out.

 this is what I have found/figured out

 I think this is correct..  (this is with switch 1 on the interface board
 set to
 'on' which puts the board into step/dir)

 x step pin 2
 x dir pin 3
 z step pin 4
 z dir pin 5
 index pin 12
 estop pin 11
 100 ppr sensor pin 10
 74ls374 enable pin 14
 74ls374 clock pin 1

 I setup linuxcnc to send a pulse at every base period for the 'clock'
 that latched the outputs of the chip. (thanks Jeff E for the idea) this
 is using the
 'reset' option of the printer port that allows for a cycle within each
 base period
 the same feature that makes 'double step' work.  This allows me to
 'latch' the
 74ls374 each base period with the current step/dir pattern.  It seems to
 work

 Now it took me a bit of tinkering to figure out that I didn't read the
 above article
 well enough to notice that you needed to set a switch to put the emco
 interface
 board into step/dir mode.  During this time I was flipping bits on the
 printer port
 to try to figure out why it wasn't working.  I think by default the
 interface is setup
 as phase drive.  (4 phases per stepper)  as I think I was flipping all 8
 data bits on
 the printer port and was getting stepper clunking.

 Well - the performace of these drives/steppers are pretty poor. (assuming
 I have the timing right - and I didn't get too much time to play with
 it.)  In the
 above article they talk about around 20ipm is about max.  That is what I was
 seeing - plus there is a weird interaction when you run both axis at once.
 (they get quite a bit noisier for some reason).  Now it could be that I
 don't quite
 have the timing correct - like maybe the step/dir needs to be inverted or
 or something - I will play with it more.

 I would also like to switch it back to non-step/dir mode.  (phase drive
 maybe?)
 because there might be a reason the original software used it.. (better
 performance?)  plus I think I have the original software and would like
 to try
 it out also.  (need to setup a pure dos machine to test)

 lathe
 http://www.electronicsam.com/images/emco/emcoclose.JPG
 interface/drive
 http://www.electronicsam.com/images/emco/interfaceanddrive.JPG

 sam








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




--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stupid LinuxCNC Tricks

2013-07-10 Thread sam sokolik
This person 
https://www.youtube.com/watch?v=5MOSnFSx8JQlist=PLX82OaCkLR_TE00_oS2Wn3gGF5G-Zar6S

has kins here

http://kvarc.extra.hu/step/motor/emc/emckinematics.html

sam
On 7/10/2013 2:08 PM, Charles Steinkuehler wrote:
 On 7/10/2013 1:28 PM, Eric Keller wrote:
 On Tue, Oct 23, 2012 at 11:38 PM, Charles Steinkuehler
 char...@steinkuehler.net wrote:

 The ultimate goal of all this is to make a delta-arm 3D printer and
 use kinematics in LinuxCNC for the tricky math bits that are hard to
 do on the AVR micro-controllers most 3D printers use for control.
 Now that I know more about delta robots, I was curious if anyone had
 seen code for the kinematics for a linear delta robot?  I have
 articles about it, but would rather not code it up from scratch if I
 don't have to do that.  There is a topic on the Lcnc forum about this,
 but the question remains unanswered.
 Code is here:
 https://github.com/jcrocholl/Marlin

 ...and from what I can tell (I'm not real familiar with the Marlin
 codebase) the actual kinematics are in this file:
 https://github.com/jcrocholl/Marlin/blob/deltabot/Marlin/motion_control.cpp

 Note that one linear gcode move is converted into lots of little tiny
 steps, which are then converted to joint positions.  I'm not sure how
 applicable the code would be for LinuxCNC.

 For LinuxCNC, I would start with the tripod kinematics module.  A delta
 bot is very similar math, you're just moving the end of the joint in a
 delta bot vs. changing the joint length in the existing tripod kins.

 I blame Charles for my new-found obsession with delta robots.
 Hey...I brought a plain old Cartesian printer to Wichita!  It's not my
 fault you go wandering around the internet clicking on YouTube videos!

 :)



--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] emco compact 5pc lathe and linuxcnc (no mods to original control)

2013-07-11 Thread sam sokolik
Seems to run nice at 40ipm

http://electronicsam.com/images/emco/EMCOThreading.JPG

video soon...


On 7/9/2013 11:34 AM, sam sokolik wrote:
 ok - some cool news I think.  So - with the switch on the interface
 board set to off (non step/dir mode)  the control signals are 4 phase
 drive.  (seems to be unipolar).  pins 2 through 5 control one axis - 6
 through 9 control the other.  I hacked a hal file to setup stepgen to
 output 4 phase (patterns 5 through 10).

 First tried pattern 9 (Unipolar Half Step) because the scale was setup
 for that.
 the performance was the same.  20ipm max and would probably have to back
 that off...

 Second was pattern 10 (Bipolar Half Step)  I know - not likely - and it
 wasn't.  Didn't like it.

 Third was pattern 5 (Unipolar Full Step)  I halved the axis scales also.
 similar performance..  20ipm max.  (and sound so far was pretty crappy)

 fourth was pattern 6 (Unipolar Full Step (two windings on))
 Holy crap.  That sounds nice.  maxed out at 30ipm and didn't try any
 faster.  Full stepping is .00054ish per step.  Workable for sure.

 That is what the original control/software maxed out at.  I will try
 faster when I get a chance.

 That is totally usable with linuxcnc - no mods to the control.  I need
 to hook up the index and 100ppr and try some threading!

 One thing to try is - I think I can put the interface board back into
 step/dir and full step.  I don't know what pattern it does though.

 sam (happy dancing..)



 On 7/8/2013 7:13 AM, sam sokolik wrote:
 We got a few of these lathes from a local school.  they are cute little
 cnc lathes.
 The technology is pretty old though. The steppers are 72 steps per rev.

 I found this
 http://www.maxton.com/ebay/emco/EMCO%20Compact%205PC%20Conversion%20to%20Mach3.pdf

 which talks about converting to mach.  They remove the octal latch and
 jump through it.
 I wanted to see if I could get linuxcnc to drive the board without
 hacking the latch out.

 this is what I have found/figured out

 I think this is correct..  (this is with switch 1 on the interface board
 set to
 'on' which puts the board into step/dir)

 x step pin 2
 x dir pin 3
 z step pin 4
 z dir pin 5
 index pin 12
 estop pin 11
 100 ppr sensor pin 10
 74ls374 enable pin 14
 74ls374 clock pin 1

 I setup linuxcnc to send a pulse at every base period for the 'clock'
 that latched the outputs of the chip. (thanks Jeff E for the idea) this
 is using the
 'reset' option of the printer port that allows for a cycle within each
 base period
 the same feature that makes 'double step' work.  This allows me to
 'latch' the
 74ls374 each base period with the current step/dir pattern.  It seems to
 work

 Now it took me a bit of tinkering to figure out that I didn't read the
 above article
 well enough to notice that you needed to set a switch to put the emco
 interface
 board into step/dir mode.  During this time I was flipping bits on the
 printer port
 to try to figure out why it wasn't working.  I think by default the
 interface is setup
 as phase drive.  (4 phases per stepper)  as I think I was flipping all 8
 data bits on
 the printer port and was getting stepper clunking.

 Well - the performace of these drives/steppers are pretty poor. (assuming
 I have the timing right - and I didn't get too much time to play with
 it.)  In the
 above article they talk about around 20ipm is about max.  That is what I was
 seeing - plus there is a weird interaction when you run both axis at once.
 (they get quite a bit noisier for some reason).  Now it could be that I
 don't quite
 have the timing correct - like maybe the step/dir needs to be inverted or
 or something - I will play with it more.

 I would also like to switch it back to non-step/dir mode.  (phase drive
 maybe?)
 because there might be a reason the original software used it.. (better
 performance?)  plus I think I have the original software and would like
 to try
 it out also.  (need to setup a pure dos machine to test)

 lathe
 http://www.electronicsam.com/images/emco/emcoclose.JPG
 interface/drive
 http://www.electronicsam.com/images/emco/interfaceanddrive.JPG

 sam








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



 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net

Re: [Emc-users] emco compact 5pc lathe and linuxcnc (no mods to original control)

2013-07-11 Thread sam sokolik
quick threading video..  (yes - not the correct cutter - and the exit 
move is a bit shallow..  but shows the spindle sync is right on...)

https://www.youtube.com/watch?v=ERMizV-yy8U

sam

On 07/11/2013 02:56 PM, sam sokolik wrote:
 Seems to run nice at 40ipm

 http://electronicsam.com/images/emco/EMCOThreading.JPG

 video soon...


 On 7/9/2013 11:34 AM, sam sokolik wrote:
 ok - some cool news I think.  So - with the switch on the interface
 board set to off (non step/dir mode)  the control signals are 4 phase
 drive.  (seems to be unipolar).  pins 2 through 5 control one axis - 6
 through 9 control the other.  I hacked a hal file to setup stepgen to
 output 4 phase (patterns 5 through 10).

 First tried pattern 9 (Unipolar Half Step) because the scale was setup
 for that.
 the performance was the same.  20ipm max and would probably have to back
 that off...

 Second was pattern 10 (Bipolar Half Step)  I know - not likely - and it
 wasn't.  Didn't like it.

 Third was pattern 5 (Unipolar Full Step)  I halved the axis scales also.
 similar performance..  20ipm max.  (and sound so far was pretty crappy)

 fourth was pattern 6 (Unipolar Full Step (two windings on))
 Holy crap.  That sounds nice.  maxed out at 30ipm and didn't try any
 faster.  Full stepping is .00054ish per step.  Workable for sure.

 That is what the original control/software maxed out at.  I will try
 faster when I get a chance.

 That is totally usable with linuxcnc - no mods to the control.  I need
 to hook up the index and 100ppr and try some threading!

 One thing to try is - I think I can put the interface board back into
 step/dir and full step.  I don't know what pattern it does though.

 sam (happy dancing..)



 On 7/8/2013 7:13 AM, sam sokolik wrote:
 We got a few of these lathes from a local school.  they are cute little
 cnc lathes.
 The technology is pretty old though. The steppers are 72 steps per rev.

 I found this
 http://www.maxton.com/ebay/emco/EMCO%20Compact%205PC%20Conversion%20to%20Mach3.pdf

 which talks about converting to mach.  They remove the octal latch and
 jump through it.
 I wanted to see if I could get linuxcnc to drive the board without
 hacking the latch out.

 this is what I have found/figured out

 I think this is correct..  (this is with switch 1 on the interface board
 set to
 'on' which puts the board into step/dir)

 x step pin 2
 x dir pin 3
 z step pin 4
 z dir pin 5
 index pin 12
 estop pin 11
 100 ppr sensor pin 10
 74ls374 enable pin 14
 74ls374 clock pin 1

 I setup linuxcnc to send a pulse at every base period for the 'clock'
 that latched the outputs of the chip. (thanks Jeff E for the idea) this
 is using the
 'reset' option of the printer port that allows for a cycle within each
 base period
 the same feature that makes 'double step' work.  This allows me to
 'latch' the
 74ls374 each base period with the current step/dir pattern.  It seems to
 work

 Now it took me a bit of tinkering to figure out that I didn't read the
 above article
 well enough to notice that you needed to set a switch to put the emco
 interface
 board into step/dir mode.  During this time I was flipping bits on the
 printer port
 to try to figure out why it wasn't working.  I think by default the
 interface is setup
 as phase drive.  (4 phases per stepper)  as I think I was flipping all 8
 data bits on
 the printer port and was getting stepper clunking.

 Well - the performace of these drives/steppers are pretty poor. (assuming
 I have the timing right - and I didn't get too much time to play with
 it.)  In the
 above article they talk about around 20ipm is about max.  That is what I was
 seeing - plus there is a weird interaction when you run both axis at once.
 (they get quite a bit noisier for some reason).  Now it could be that I
 don't quite
 have the timing correct - like maybe the step/dir needs to be inverted or
 or something - I will play with it more.

 I would also like to switch it back to non-step/dir mode.  (phase drive
 maybe?)
 because there might be a reason the original software used it.. (better
 performance?)  plus I think I have the original software and would like
 to try
 it out also.  (need to setup a pure dos machine to test)

 lathe
 http://www.electronicsam.com/images/emco/emcoclose.JPG
 interface/drive
 http://www.electronicsam.com/images/emco/interfaceanddrive.JPG

 sam








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


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause

Re: [Emc-users] emco compact 5pc lathe and linuxcnc (no mods to original control)

2013-07-15 Thread sam sokolik
one more..

https://www.youtube.com/watch?v=_7skJhKzU7Y

Dad is having too much fun...

sam

On 07/11/2013 08:43 PM, sam sokolik wrote:
 quick threading video..  (yes - not the correct cutter - and the exit
 move is a bit shallow..  but shows the spindle sync is right on...)

 https://www.youtube.com/watch?v=ERMizV-yy8U

 sam

 On 07/11/2013 02:56 PM, sam sokolik wrote:
 Seems to run nice at 40ipm

 http://electronicsam.com/images/emco/EMCOThreading.JPG

 video soon...


 On 7/9/2013 11:34 AM, sam sokolik wrote:
 ok - some cool news I think.  So - with the switch on the interface
 board set to off (non step/dir mode)  the control signals are 4 phase
 drive.  (seems to be unipolar).  pins 2 through 5 control one axis - 6
 through 9 control the other.  I hacked a hal file to setup stepgen to
 output 4 phase (patterns 5 through 10).

 First tried pattern 9 (Unipolar Half Step) because the scale was setup
 for that.
 the performance was the same.  20ipm max and would probably have to back
 that off...

 Second was pattern 10 (Bipolar Half Step)  I know - not likely - and it
 wasn't.  Didn't like it.

 Third was pattern 5 (Unipolar Full Step)  I halved the axis scales also.
 similar performance..  20ipm max.  (and sound so far was pretty crappy)

 fourth was pattern 6 (Unipolar Full Step (two windings on))
 Holy crap.  That sounds nice.  maxed out at 30ipm and didn't try any
 faster.  Full stepping is .00054ish per step.  Workable for sure.

 That is what the original control/software maxed out at.  I will try
 faster when I get a chance.

 That is totally usable with linuxcnc - no mods to the control.  I need
 to hook up the index and 100ppr and try some threading!

 One thing to try is - I think I can put the interface board back into
 step/dir and full step.  I don't know what pattern it does though.

 sam (happy dancing..)



 On 7/8/2013 7:13 AM, sam sokolik wrote:
 We got a few of these lathes from a local school.  they are cute little
 cnc lathes.
 The technology is pretty old though. The steppers are 72 steps per rev.

 I found this
 http://www.maxton.com/ebay/emco/EMCO%20Compact%205PC%20Conversion%20to%20Mach3.pdf

 which talks about converting to mach.  They remove the octal latch and
 jump through it.
 I wanted to see if I could get linuxcnc to drive the board without
 hacking the latch out.

 this is what I have found/figured out

 I think this is correct..  (this is with switch 1 on the interface board
 set to
 'on' which puts the board into step/dir)

 x step pin 2
 x dir pin 3
 z step pin 4
 z dir pin 5
 index pin 12
 estop pin 11
 100 ppr sensor pin 10
 74ls374 enable pin 14
 74ls374 clock pin 1

 I setup linuxcnc to send a pulse at every base period for the 'clock'
 that latched the outputs of the chip. (thanks Jeff E for the idea) this
 is using the
 'reset' option of the printer port that allows for a cycle within each
 base period
 the same feature that makes 'double step' work.  This allows me to
 'latch' the
 74ls374 each base period with the current step/dir pattern.  It seems to
 work

 Now it took me a bit of tinkering to figure out that I didn't read the
 above article
 well enough to notice that you needed to set a switch to put the emco
 interface
 board into step/dir mode.  During this time I was flipping bits on the
 printer port
 to try to figure out why it wasn't working.  I think by default the
 interface is setup
 as phase drive.  (4 phases per stepper)  as I think I was flipping all 8
 data bits on
 the printer port and was getting stepper clunking.

 Well - the performace of these drives/steppers are pretty poor. (assuming
 I have the timing right - and I didn't get too much time to play with
 it.)  In the
 above article they talk about around 20ipm is about max.  That is what I 
 was
 seeing - plus there is a weird interaction when you run both axis at once.
 (they get quite a bit noisier for some reason).  Now it could be that I
 don't quite
 have the timing correct - like maybe the step/dir needs to be inverted or
 or something - I will play with it more.

 I would also like to switch it back to non-step/dir mode.  (phase drive
 maybe?)
 because there might be a reason the original software used it.. (better
 performance?)  plus I think I have the original software and would like
 to try
 it out also.  (need to setup a pure dos machine to test)

 lathe
 http://www.electronicsam.com/images/emco/emcoclose.JPG
 interface/drive
 http://www.electronicsam.com/images/emco/interfaceanddrive.JPG

 sam








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


 --
 See everything from the browser

Re: [Emc-users] emco compact 5pc lathe and linuxcnc (no mods to original control)

2013-07-18 Thread sam sokolik
one last - I swear..  ;)

https://www.youtube.com/watch?v=Z_LxyosF2yc

sam
On 7/15/2013 5:42 PM, sam sokolik wrote:
 one more..

 https://www.youtube.com/watch?v=_7skJhKzU7Y

 Dad is having too much fun...

 sam

 On 07/11/2013 08:43 PM, sam sokolik wrote:
 quick threading video..  (yes - not the correct cutter - and the exit
 move is a bit shallow..  but shows the spindle sync is right on...)

 https://www.youtube.com/watch?v=ERMizV-yy8U

 sam

 On 07/11/2013 02:56 PM, sam sokolik wrote:
 Seems to run nice at 40ipm

 http://electronicsam.com/images/emco/EMCOThreading.JPG

 video soon...


 On 7/9/2013 11:34 AM, sam sokolik wrote:
 ok - some cool news I think.  So - with the switch on the interface
 board set to off (non step/dir mode)  the control signals are 4 phase
 drive.  (seems to be unipolar).  pins 2 through 5 control one axis - 6
 through 9 control the other.  I hacked a hal file to setup stepgen to
 output 4 phase (patterns 5 through 10).

 First tried pattern 9 (Unipolar Half Step) because the scale was setup
 for that.
 the performance was the same.  20ipm max and would probably have to back
 that off...

 Second was pattern 10 (Bipolar Half Step)  I know - not likely - and it
 wasn't.  Didn't like it.

 Third was pattern 5 (Unipolar Full Step)  I halved the axis scales also.
 similar performance..  20ipm max.  (and sound so far was pretty crappy)

 fourth was pattern 6 (Unipolar Full Step (two windings on))
 Holy crap.  That sounds nice.  maxed out at 30ipm and didn't try any
 faster.  Full stepping is .00054ish per step.  Workable for sure.

 That is what the original control/software maxed out at.  I will try
 faster when I get a chance.

 That is totally usable with linuxcnc - no mods to the control.  I need
 to hook up the index and 100ppr and try some threading!

 One thing to try is - I think I can put the interface board back into
 step/dir and full step.  I don't know what pattern it does though.

 sam (happy dancing..)



 On 7/8/2013 7:13 AM, sam sokolik wrote:
 We got a few of these lathes from a local school.  they are cute little
 cnc lathes.
 The technology is pretty old though. The steppers are 72 steps per rev.

 I found this
 http://www.maxton.com/ebay/emco/EMCO%20Compact%205PC%20Conversion%20to%20Mach3.pdf

 which talks about converting to mach.  They remove the octal latch and
 jump through it.
 I wanted to see if I could get linuxcnc to drive the board without
 hacking the latch out.

 this is what I have found/figured out

 I think this is correct..  (this is with switch 1 on the interface board
 set to
 'on' which puts the board into step/dir)

 x step pin 2
 x dir pin 3
 z step pin 4
 z dir pin 5
 index pin 12
 estop pin 11
 100 ppr sensor pin 10
 74ls374 enable pin 14
 74ls374 clock pin 1

 I setup linuxcnc to send a pulse at every base period for the 'clock'
 that latched the outputs of the chip. (thanks Jeff E for the idea) this
 is using the
 'reset' option of the printer port that allows for a cycle within each
 base period
 the same feature that makes 'double step' work.  This allows me to
 'latch' the
 74ls374 each base period with the current step/dir pattern.  It seems to
 work

 Now it took me a bit of tinkering to figure out that I didn't read the
 above article
 well enough to notice that you needed to set a switch to put the emco
 interface
 board into step/dir mode.  During this time I was flipping bits on the
 printer port
 to try to figure out why it wasn't working.  I think by default the
 interface is setup
 as phase drive.  (4 phases per stepper)  as I think I was flipping all 8
 data bits on
 the printer port and was getting stepper clunking.

 Well - the performace of these drives/steppers are pretty poor. (assuming
 I have the timing right - and I didn't get too much time to play with
 it.)  In the
 above article they talk about around 20ipm is about max.  That is what I 
 was
 seeing - plus there is a weird interaction when you run both axis at once.
 (they get quite a bit noisier for some reason).  Now it could be that I
 don't quite
 have the timing correct - like maybe the step/dir needs to be inverted or
 or something - I will play with it more.

 I would also like to switch it back to non-step/dir mode.  (phase drive
 maybe?)
 because there might be a reason the original software used it.. (better
 performance?)  plus I think I have the original software and would like
 to try
 it out also.  (need to setup a pure dos machine to test)

 lathe
 http://www.electronicsam.com/images/emco/emcoclose.JPG
 interface/drive
 http://www.electronicsam.com/images/emco/interfaceanddrive.JPG

 sam








 --
 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] emco compact 5pc lathe and linuxcnc (no mods to original control) (Now - hal is awesome)

2013-07-18 Thread sam sokolik
So - as far as I can tell - the original control did 1/2 stepping up to 
about 19ipm - then full stepping from there to 30ipm.  Now the lathe 
runs fine on full stepping from 0 to 40 (maybe 45)ipm.   Half stepping 
only works well up to 20ipm-ish. (stalls above that)

But why stop there..

I started thinking about if linuxcnc could do that  (without coding 
anything)

A couple advantages of halfstepping..
1 higher resolution 0.000273403/step vs 0.000546806 per step
2 reduced resonance..  (I have not run into this with full stepping on 
the lathe)

Then at normal cutting speeds -  16ipm you get a higher resolution.

So why not have 2 stepgens running.  One that half steps (type 9) with 
input scale of 3657.6073152 and the other full stepping (type 6) with a 
scale of 1828.8036576 (lathe calculation - metric screws)
Then switch between the two stepgens at a specific feed (I picked 16ipm 
with a hysteresis of 1ipm)
All I can say is - HAL IS AWESOME
I setup a Lut5 with Jeff E's help (thanks jeff!) that switches the 
printer port between the 2 stepgens.
A offset componant was used between the 2 stepgens to better align the 
phasing.  (not tweeked 100% yet) but we jogged it around - could not 
tell that it was switching between the 2 stepgens and it always came 
back to 0.
there is a bit more than that..  (ddt for calculating the axis velocity, 
abs of that, comp w/hystorisis, and stuff I have forgotten already.)


And here is a halscope capture.  Left side is halfstepping - right side 
is full stepping.  The trigger is the velocity threshold.
http://www.electronicsam.com/images/emco/Screenshot.png

I think the offset could be tweaked more scientifically to maybe get rid 
of the blip.  But as it is running the 4 phases directly - it didn't 
seem to effect the motion.

here is the initial configs.

http://www.electronicsam.com/images/emco/linuxcnc_configs/full-half_step_test/

again - jmk and everyone that has worked on hal - Very very awesome work!

sam




On 07/18/2013 06:55 AM, sam sokolik wrote:
 one last - I swear..  ;)

 https://www.youtube.com/watch?v=Z_LxyosF2yc

 sam
 On 7/15/2013 5:42 PM, sam sokolik wrote:
 one more..

 https://www.youtube.com/watch?v=_7skJhKzU7Y

 Dad is having too much fun...

 sam

 On 07/11/2013 08:43 PM, sam sokolik wrote:
 quick threading video..  (yes - not the correct cutter - and the exit
 move is a bit shallow..  but shows the spindle sync is right on...)

 https://www.youtube.com/watch?v=ERMizV-yy8U

 sam

 On 07/11/2013 02:56 PM, sam sokolik wrote:
 Seems to run nice at 40ipm

 http://electronicsam.com/images/emco/EMCOThreading.JPG

 video soon...


 On 7/9/2013 11:34 AM, sam sokolik wrote:
 ok - some cool news I think.  So - with the switch on the interface
 board set to off (non step/dir mode)  the control signals are 4 phase
 drive.  (seems to be unipolar).  pins 2 through 5 control one axis - 6
 through 9 control the other.  I hacked a hal file to setup stepgen to
 output 4 phase (patterns 5 through 10).

 First tried pattern 9 (Unipolar Half Step) because the scale was setup
 for that.
 the performance was the same.  20ipm max and would probably have to back
 that off...

 Second was pattern 10 (Bipolar Half Step)  I know - not likely - and it
 wasn't.  Didn't like it.

 Third was pattern 5 (Unipolar Full Step)  I halved the axis scales also.
 similar performance..  20ipm max.  (and sound so far was pretty crappy)

 fourth was pattern 6 (Unipolar Full Step (two windings on))
 Holy crap.  That sounds nice.  maxed out at 30ipm and didn't try any
 faster.  Full stepping is .00054ish per step.  Workable for sure.

 That is what the original control/software maxed out at.  I will try
 faster when I get a chance.

 That is totally usable with linuxcnc - no mods to the control.  I need
 to hook up the index and 100ppr and try some threading!

 One thing to try is - I think I can put the interface board back into
 step/dir and full step.  I don't know what pattern it does though.

 sam (happy dancing..)



 On 7/8/2013 7:13 AM, sam sokolik wrote:
 We got a few of these lathes from a local school.  they are cute little
 cnc lathes.
 The technology is pretty old though. The steppers are 72 steps per rev.

 I found this
 http://www.maxton.com/ebay/emco/EMCO%20Compact%205PC%20Conversion%20to%20Mach3.pdf

 which talks about converting to mach.  They remove the octal latch and
 jump through it.
 I wanted to see if I could get linuxcnc to drive the board without
 hacking the latch out.

 this is what I have found/figured out

 I think this is correct..  (this is with switch 1 on the interface board
 set to
 'on' which puts the board into step/dir)

 x step pin 2
 x dir pin 3
 z step pin 4
 z dir pin 5
 index pin 12
 estop pin 11
 100 ppr sensor pin 10
 74ls374 enable pin 14
 74ls374 clock pin 1

 I setup linuxcnc to send a pulse at every base period for the 'clock'
 that latched the outputs of the chip. (thanks Jeff E for the idea) this
 is using the
 'reset' option

Re: [Emc-users] emco compact 5pc lathe and linuxcnc (no mods to original control) (Now - hal is awesome)

2013-07-19 Thread sam sokolik
A little tweaking - better alignment I think.  (not that it was causing 
issues - so far so good)

http://www.electronicsam.com/images/emco/betterstep.png

left side half step - right side full step.  (triggered by a velocity 
threshold.. - xswitch)


On 7/18/2013 4:49 PM, Marcus Bowman wrote:
 On 18 Jul 2013, at 22:15, sam sokolik wrote:

 So - as far as I can tell - the original control did 1/2 stepping up to
 about 19ipm - then full stepping from there to 30ipm.  Now the lathe
 runs fine on full stepping from 0 to 40 (maybe 45)ipm.   Half stepping
 only works well up to 20ipm-ish. (stalls above that)

 But why stop there..

 I started thinking about if linuxcnc could do that  (without coding
 anything)

 A couple advantages of halfstepping..
 1 higher resolution 0.000273403/step vs 0.000546806 per step
 2 reduced resonance..  (I have not run into this with full stepping on
 the lathe)

 Then at normal cutting speeds -  16ipm you get a higher resolution.

 So why not have 2 stepgens running.  One that half steps (type 9) with
 input scale of 3657.6073152 and the other full stepping (type 6) with a
 scale of 1828.8036576 (lathe calculation - metric screws)
 Then switch between the two stepgens at a specific feed (I picked 16ipm
 with a hysteresis of 1ipm)
 Nice.
 That's pretty much what the Gecko drives do when they morph, I think. Works 
 well.

 http://www.geckodrive.com/support/application-notes/step-drives/how-morphing-works.html

 But your method is simpler and much cheaper.

 Marcus

 All I can say is - HAL IS AWESOME
 I setup a Lut5 with Jeff E's help (thanks jeff!) that switches the
 printer port between the 2 stepgens.
 A offset componant was used between the 2 stepgens to better align the
 phasing.  (not tweeked 100% yet) but we jogged it around - could not
 tell that it was switching between the 2 stepgens and it always came
 back to 0.
 there is a bit more than that..  (ddt for calculating the axis velocity,
 abs of that, comp w/hystorisis, and stuff I have forgotten already.)


 And here is a halscope capture.  Left side is halfstepping - right side
 is full stepping.  The trigger is the velocity threshold.
 http://www.electronicsam.com/images/emco/Screenshot.png

 I think the offset could be tweaked more scientifically to maybe get rid
 of the blip.  But as it is running the 4 phases directly - it didn't
 seem to effect the motion.

 here is the initial configs.

 http://www.electronicsam.com/images/emco/linuxcnc_configs/full-half_step_test/

 again - jmk and everyone that has worked on hal - Very very awesome work!

 sam



 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] emco compact 5pc lathe and linuxcnc (no mods to original control) (Now - hal is awesome)

2013-07-19 Thread sam sokolik
One more - de-accelerating...

http://electronicsam.com/images/emco/betterstep_de-accelerating.png

(full step on left - half step on right)



On 7/19/2013 8:34 AM, sam sokolik wrote:
 A little tweaking - better alignment I think.  (not that it was causing
 issues - so far so good)

 http://www.electronicsam.com/images/emco/betterstep.png

 left side half step - right side full step.  (triggered by a velocity
 threshold.. - xswitch)


 On 7/18/2013 4:49 PM, Marcus Bowman wrote:
 On 18 Jul 2013, at 22:15, sam sokolik wrote:

 So - as far as I can tell - the original control did 1/2 stepping up to
 about 19ipm - then full stepping from there to 30ipm.  Now the lathe
 runs fine on full stepping from 0 to 40 (maybe 45)ipm.   Half stepping
 only works well up to 20ipm-ish. (stalls above that)

 But why stop there..

 I started thinking about if linuxcnc could do that  (without coding
 anything)

 A couple advantages of halfstepping..
 1 higher resolution 0.000273403/step vs 0.000546806 per step
 2 reduced resonance..  (I have not run into this with full stepping on
 the lathe)

 Then at normal cutting speeds -  16ipm you get a higher resolution.

 So why not have 2 stepgens running.  One that half steps (type 9) with
 input scale of 3657.6073152 and the other full stepping (type 6) with a
 scale of 1828.8036576 (lathe calculation - metric screws)
 Then switch between the two stepgens at a specific feed (I picked 16ipm
 with a hysteresis of 1ipm)
 Nice.
 That's pretty much what the Gecko drives do when they morph, I think. Works 
 well.

 http://www.geckodrive.com/support/application-notes/step-drives/how-morphing-works.html

 But your method is simpler and much cheaper.

 Marcus

 All I can say is - HAL IS AWESOME
 I setup a Lut5 with Jeff E's help (thanks jeff!) that switches the
 printer port between the 2 stepgens.
 A offset componant was used between the 2 stepgens to better align the
 phasing.  (not tweeked 100% yet) but we jogged it around - could not
 tell that it was switching between the 2 stepgens and it always came
 back to 0.
 there is a bit more than that..  (ddt for calculating the axis velocity,
 abs of that, comp w/hystorisis, and stuff I have forgotten already.)


 And here is a halscope capture.  Left side is halfstepping - right side
 is full stepping.  The trigger is the velocity threshold.
 http://www.electronicsam.com/images/emco/Screenshot.png

 I think the offset could be tweaked more scientifically to maybe get rid
 of the blip.  But as it is running the 4 phases directly - it didn't
 seem to effect the motion.

 here is the initial configs.

 http://www.electronicsam.com/images/emco/linuxcnc_configs/full-half_step_test/

 again - jmk and everyone that has worked on hal - Very very awesome work!

 sam


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] emco compact 5pc lathe and linuxcnc (no mods to original control) (Now - hal is awesome)

2013-07-20 Thread sam sokolik
No problem..  When we got these - It took a couple of days to figure out 
what the old pc software did (between actual circuit tracing and the 
internet)

I don't know how many of the compact 5pc lathes are still out there - 
unmolested...  but this really does allow them to try linuxcnc without 
any changes to the lathe at all.

(I think that is quite cool!)

this is what linuxcnc outputs (this is just showing full wave)  the 
latch is what makes the 74ls374 work in the emco interface.
http://www.electronicsam.com/images/emco/Waveform.svg

sam


On 07/19/2013 09:48 AM, John Alexander Stewart wrote:
 Sam - well done.

 Thanks for posting here, and on the homeshopmachinist.net bbs (and wherever
 else you are posting)

 I've got an Emco Compact-8 to CNC-ize this winter - have everything except
 for the ball screws, so seeing your Compact-5, with the old
 electronics/steppers working away is really nice to see.

 I also have a contact with a Compact-5 CNC lathe kicking around; have to
 see if they are willing to part with it, so that I have yet another project!

 JohnS.
 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC 2.5.2 is released!

2013-07-21 Thread sam sokolik
I think you need brackets around the expression...

http://www.linuxcnc.org/docs/2.5/html/gcode/overview.html#sec:Expressions

So it would be #_RR=[#_DD/2]


On 07/21/2013 09:57 AM, charles green wrote:
 
 #_DD=1
 #_RR=#_DD/2
 

 lcnc v2.5.0 generates error bad character / used around whatever line

 
 #_DD=1
 #_RR=#_DD*.5
 

 generates error bad character * used around whatever line

 removing the '*/' line altogether from a longer program grenerates bad 
 character + used on whatever line containing the next expression.

 i thought math was allowed?  what am i missing?  i typed everything key by 
 key into gedit, so it's not that sort of problem.

 
 On Mon, 3/4/13, W. Martinjak mats...@play-pla.net wrote:

   Subject: Re: [Emc-users] LinuxCNC 2.5.2 is released!
   To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
   Date: Monday, March 4, 2013, 4:19 PM
   
   I've updated my Cheesemill and it
   still works flawlessly.
   
   Thanks!
   
   Great work!
   
   On 2013-03-04 17:07, Chris Radek wrote:
No config changes are required when upgrading from
   2.5.x to 2.5.2.
   
For the typical installation, the update manager will
   automatically
offer you this upgrade.  Otherwise, you can get
   the packages from
http://linuxcnc.org/dists
   
If you're upgrading from a 2.4 release, please see
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.5
   
Many thanks to the people who have reported bugs, and
   especially to
the folks who worked to improve LinuxCNC for this
   release:
   
Anders Wallin
Andy Pugh
Chris Morley
Chris Radek
Dewey Garrett
Francis Tisserant
Jeff Epler
John Thornton
Jon Elson
Lisandro Massera
Matt Shaver
Michael Haberler
Sascha Ittner
Sebastian Kuzminsky
Victor Rocco
   
This release contains the following changes:
   
  * AXIS: Allow the setting of the top
   end of the Max Velocity slider
according to
   [DISPLAY]MAX_LINEAR_VELOCITY as the docs say
  * Components: Fix mux16's debounce
   function
  * Components: LCD character display
   driver
  * Components: New multiclick component
   detects single, double, triple clicks
  * Docs: Many improvements
  * Gremlin: Better error reporting for
   gcode errors
  * Gremlin: Fix rotated axes display
  * Halui: Include tool length offsets
   in relative position outputs
  * Hostmot2: Fixes to sserial
  * Kins: Fix teleop jogging of ABC axes
   in the negative direction
  * Modbus: Fix TCP communication time
   out error
  * New config: Gecko G540
  * New config: Smithy 1240combined_mm
  * PID: Optional new
   error-previous-target mode to reduce ferrors detected
by motion.  This is
   especially useful for torque-mode loops and those
tunings that use large I gains
  * pncconf: Many fixes
  * PPMC: Better error checking for
   hardware problems causing miscommunication
  * Tool Table: Many fixes to tool table
   handling, making tool tables on
nonrandom setups using
   mismatched tool and pocket numbers work correctly
  * Translations: German for tooledit
  * Translations: Many improvements to
   French
  * Utilities: new latencyhistogram
   program that shows details about latency
  * Utilities: sim_pin, a script that
   simulates writing to hal pins
   
   
   
 --
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
   
   --
   In der Wissenschaft siegt nie eine neue Theorie,
   nur ihre Gegner sterben nach und nach
   
   Max Planck
   
   
   
 --
   Everyone hates slow websites. So do we.
   Make your web apps faster with AppDynamics
   Download AppDynamics Lite for free today:
   http://p.sf.net/sfu/appdyn_d2d_feb
   ___
   Emc-users mailing list
   Emc-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/emc-users
   

 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 

[Emc-users] New machine - Servo drive questions

2013-07-25 Thread sam sokolik
We just got an acroloc which has a general numerics control.  It is 
using siemens drives.

6sc6120-0fe00

The servo drive uses what looks like 3 of similar circuit boards.

http://imagebin.org/index.php?mode=imageid=265521

wondering if anyone has any info on these drives..


servos..
http://imagebin.org/index.php?mode=imageid=265484

Spindle motor
http://imagebin.org/index.php?mode=imageid=265571

thanks
sam



--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] New machine - Servo drive questions

2013-07-25 Thread sam sokolik
I meant - the spindle drive looks like it uses 3 similar cards. (hooked 
togather with ribbon cable..)  It is the 3 cards in the center of the rack.

On 7/25/2013 10:28 AM, sam sokolik wrote:
 We just got an acroloc which has a general numerics control.  It is
 using siemens drives.

 6sc6120-0fe00

 The servo drive uses what looks like 3 of similar circuit boards.

 http://imagebin.org/index.php?mode=imageid=265521

 wondering if anyone has any info on these drives..


 servos..
 http://imagebin.org/index.php?mode=imageid=265484

 Spindle motor
 http://imagebin.org/index.php?mode=imageid=265571

 thanks
 sam



 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] New machine - Servo drive questions

2013-07-26 Thread sam sokolik
Thanks.. I was getting closer - I kept finding references to 611..

A quick scan seems like they may be useable..

sam


On 7/26/2013 12:16 AM, Martin Kuhnle wrote:
 Hi Sam,

 search for Siemens Simodrive 610. There is a lot of information available.

 http://cache.automation.siemens.com/dnl/TUyNTc2NjMA_21910882_HB/588_6SC61%20Description.pdf



 Am 25.07.2013 18:24, schrieb sam sokolik:
 I meant - the spindle drive looks like it uses 3 similar cards. (hooked
 togather with ribbon cable..)  It is the 3 cards in the center of the rack.

 On 7/25/2013 10:28 AM, sam sokolik wrote:
 We just got an acroloc which has a general numerics control.  It is
 using siemens drives.

 6sc6120-0fe00

 The servo drive uses what looks like 3 of similar circuit boards.

 http://imagebin.org/index.php?mode=imageid=265521

 wondering if anyone has any info on these drives..


 servos..
 http://imagebin.org/index.php?mode=imageid=265484

 Spindle motor
 http://imagebin.org/index.php?mode=imageid=265571

 thanks
 sam



 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] emco compact 5pc lathe and linuxcnc (no mods to original control) (Now - hal is awesome)

2013-08-05 Thread sam sokolik
Fun with linuxcnc...  I stole the program from jmk here 
http://jmkasunich.dyndns.org/cgi-bin/blosxom/shoptask/fusee-1.html

Variable pitch/diameter threading...
http://electronicsam.com/images/emco/fusee3.JPG

sam




On 7/20/2013 10:21 AM, sam sokolik wrote:
 No problem..  When we got these - It took a couple of days to figure out
 what the old pc software did (between actual circuit tracing and the
 internet)

 I don't know how many of the compact 5pc lathes are still out there -
 unmolested...  but this really does allow them to try linuxcnc without
 any changes to the lathe at all.

 (I think that is quite cool!)

 this is what linuxcnc outputs (this is just showing full wave)  the
 latch is what makes the 74ls374 work in the emco interface.
 http://www.electronicsam.com/images/emco/Waveform.svg

 sam


 On 07/19/2013 09:48 AM, John Alexander Stewart wrote:
 Sam - well done.

 Thanks for posting here, and on the homeshopmachinist.net bbs (and wherever
 else you are posting)

 I've got an Emco Compact-8 to CNC-ize this winter - have everything except
 for the ball screws, so seeing your Compact-5, with the old
 electronics/steppers working away is really nice to see.

 I also have a contact with a Compact-5 CNC lathe kicking around; have to
 see if they are willing to part with it, so that I have yet another project!

 JohnS.
 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] emco compact 5pc lathe and linuxcnc (no mods to original control) (Now - hal is awesome)

2013-08-05 Thread sam sokolik
I will keep putting them here..

http://www.electronicsam.com/images/emco/linuxcnc_configs/

The full step ver 2 has spindle rpm..  I have not added spindle speed to 
the full/halfstep morping config yet.  (just some copy and paste with a 
xml and postgui hal file.)

sam

On 08/05/2013 03:27 PM, Belli Button wrote:
 Hi Sam,

 Did you post your newest .hal and .ini?


 -Original Message-
 From: sam sokolik [mailto:sa...@empirescreen.com]
 Sent: 05 August 2013 04:13 PM
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] emco compact 5pc lathe and linuxcnc (no mods to
 original control) (Now - hal is awesome)

 Fun with linuxcnc...  I stole the program from jmk here
 http://jmkasunich.dyndns.org/cgi-bin/blosxom/shoptask/fusee-1.html

 Variable pitch/diameter threading...
 http://electronicsam.com/images/emco/fusee3.JPG

 sam




 On 7/20/2013 10:21 AM, sam sokolik wrote:
 No problem..  When we got these - It took a couple of days to figure
 out what the old pc software did (between actual circuit tracing and
 the
 internet)

 I don't know how many of the compact 5pc lathes are still out there -
 unmolested...  but this really does allow them to try linuxcnc without
 any changes to the lathe at all.

 (I think that is quite cool!)

 this is what linuxcnc outputs (this is just showing full wave)  the
 latch is what makes the 74ls374 work in the emco interface.
 http://www.electronicsam.com/images/emco/Waveform.svg

 sam


 On 07/19/2013 09:48 AM, John Alexander Stewart wrote:
 Sam - well done.

 Thanks for posting here, and on the homeshopmachinist.net bbs (and
 wherever else you are posting)

 I've got an Emco Compact-8 to CNC-ize this winter - have everything
 except for the ball screws, so seeing your Compact-5, with the old
 electronics/steppers working away is really nice to see.

 I also have a contact with a Compact-5 CNC lathe kicking around; have
 to see if they are willing to part with it, so that I have yet another
 project!
 JohnS.
 -
 - See everything from the browser to the database with
 AppDynamics Get end-to-end visibility with application monitoring
 from AppDynamics Isolate bottlenecks and diagnose root cause in
 seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.
 clktrk ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
  See everything from the browser to the database with
 AppDynamics Get end-to-end visibility with application monitoring from
 AppDynamics Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.c
 lktrk ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



 
 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find out.
 http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find out.
 http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] A puzzler

2013-08-06 Thread sam sokolik
Without thinking too much about it... would it not be 255?   (in 
computer terms - you don't start at 0)

sam
On 8/6/2013 10:25 AM, andy pugh wrote:
 I am in discussion with a chap who is retrofiting a Hardinge HXL. It
 has linear scales, interpolator boxes set to 256x and is running a
 5i25/7i77 combo.

 The repeatability is good. Actually is is better than good, it returns
 to the exact same digit on a 0.1um (0.04) length probe every
 time.
 http://youtu.be/2oWc6val6ME

 The problem is that the travel distance isn't accurate. A 50mm move is
 out by 0.158mm. The encoder scale is set to 25600 (10um scales, 256
 interpolation).
 It doesn't seem like it could be missed encoder counts or the
 repeatability wouldn't be so good.

 Any ideas where to look? Bear in mind that this is all done by linear scales.



--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] A puzzler

2013-08-06 Thread sam sokolik
1/25500 = 3.92156X10^-5 * 25600 * 50 = 50.196...

did I do that right?  not exactly .158 though.. How is he measuring it?

latest email

1/25500 = 3.92156X10^-5 * 25600 * 2 = 2.0078  Aprox 70um?

sam



On 8/6/2013 10:25 AM, andy pugh wrote:
 I am in discussion with a chap who is retrofiting a Hardinge HXL. It
 has linear scales, interpolator boxes set to 256x and is running a
 5i25/7i77 combo.

 The repeatability is good. Actually is is better than good, it returns
 to the exact same digit on a 0.1um (0.04) length probe every
 time.
 http://youtu.be/2oWc6val6ME

 The problem is that the travel distance isn't accurate. A 50mm move is
 out by 0.158mm. The encoder scale is set to 25600 (10um scales, 256
 interpolation).
 It doesn't seem like it could be missed encoder counts or the
 repeatability wouldn't be so good.

 Any ideas where to look? Bear in mind that this is all done by linear scales.



--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Update HAL values without stalling motion

2013-11-20 Thread sam sokolik
I think you want
http://linuxcnc.org/docs/devel/html/gcode/m-code.html#sec:M67-Analog-Output
maybe...

sam
On 11/20/2013 04:16 PM, Charles Steinkuehler wrote:
 For my 3D printer, I am currently using the existing M1xx convention to
 do things like set the extruder temperature and set the cooling fan
 speed.  The problem is that this causes a brief pause in coordinated
 motion as the whole of LinuxCNC comes to a stand-still, my shell-script
 is executed to set a HAL signal value, and motion resumes again.  Each
 pause winds up turning into a small 'blob' of plastic as the extruder
 oozes a bit while it remains stuck in one spot.

 So...is there a way to communicate arbitrary values from gcode to HAL
 that doesn't cause motion to completely stop (or to stop for a lot less
 time than it takes to launch a sub-process running a shell script)?



 --
 Shape the Mobile Experience: Free Subscription
 Software experts and developers: Be at the forefront of tech innovation.
 Intel(R) Software Adrenaline delivers strategic insight and game-changing
 conversations that shape the rapidly evolving mobile landscape. Sign up now.
 http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk


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

--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Slow G code

2013-12-05 Thread sam sokolik
Robert has been working very hard on the new TP.

Here is an example
This program I found on the internet.  (small line segments)
http://electronicsam.com/images/KandT/testing/internet.ngc

533228 line program running G64P.005

Old TP   2:37:42
New TP 1:38:49

Quite an improvement!!

The spiral.ngc program now starts at almost 400 ipm vs 110 ipm currently.

There are some issues to work out yet - but as little time it has taken 
Robert to get this far - I don't think it will take long to get to a beta..

Using this config for testing 
http://electronicsam.com/images/KandT/testing/circblendlatest/

(500ipm max and 30in/sec^2 acc)

sam



On 12/05/2013 06:46 PM, Robert Ellenberg wrote:
 Hi All,

 As some of you know already, I'm working on an improvement to the linuxcnc
 trajectory planner that will allow much faster movement for engraving-type
 programs with lots of short segments. As part of this effort, I need test
 cases, both to find rare errors, and to estimate performance improvements.

 If you'd like to contribute to this effort, I'm looking for G-code that
 runs slower than the requested feed rate. In particular, I'm looking for
 programs that have lots of short segments that approximate smooth paths. If
 you have a program that you think should run faster and are willing to
 share it, please email it to me. While my fixes won't improve every issue,
 part of my goal here is to survey how common some problems are. If it turns
 out that a slowdown I consider rare is common in your programs, it will
 justify some additional work in that direction.

 Thanks!
 Rob
 --
 Sponsored by Intel(R) XDK
 Develop, test and display web and hybrid apps with a single code base.
 Download it for free now!
 http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Slow G code

2013-12-17 Thread sam sokolik
Here is a crappy video showing the difference (first run is current TP - 
second run is Roberts hard work)

https://www.youtube.com/watch?v=oUajH5BCOUQfeature=youtu.be

spiral is made up of short line segments.  The current tp has to be able 
to stop by the end of the next segment so it peaks at about 110ipm.  The 
new TP can look 40 segments ahead.  (that will be a configurable in the 
future..) and peaks at about 410ipm.

Current status as I understand it.

Read ahead works if segment transitions are
-Line-Line
-Tangent line-arc, arc-line
-Tangent arc-arc

Darn impressive.
Great work Robert!
sam



On 12/16/2013 12:43 PM, Kent A. Reed wrote:
 On 12/16/2013 01:02 PM, John Alexander Stewart wrote:
 It's been a while since I wrote SLERPing code, but the project I wrote it
 for used Quaternions, which I don't think LinuxCNC uses?? Quaternions
 certainly made a lot of the internal maths easier. (code was in the
 FreeWRL VRML/X3D browser)

 *Does*  LinuxCNC use Quaternions?
 Well, that depends on your meaning of the word use. If you look at the
 libnml/posemath/ routines you'll see a lot of internal usage of
 quarternions for the reason you name but most calls to the routines from
 the rest of LinuxCNC consist of customary and usual representations.
 What representations? Well, consider this snippet from posemath.h

 -
 /* translation types */
 struct PM_CARTESIAN;/* Cart */
 struct PM_SPHERICAL;/* Sph */
 struct PM_CYLINDRICAL;/* Cyl */

 /* rotation types */
 struct PM_ROTATION_VECTOR;/* Rot */
 struct PM_ROTATION_MATRIX;/* Mat */
 struct PM_QUATERNION;/* Quat */
 struct PM_EULER_ZYZ;/* Zyz */
 struct PM_EULER_ZYX;/* Zyx */
 struct PM_RPY;/* Rpy */

 /* pose types */
 struct PM_POSE;/* Pose */
 struct PM_HOMOGENEOUS;/* Hom */
 -

 You can browse the source code itself but it's faster to read the nearly
 15-year old document
 http://www.isd.mel.nist.gov/projects/rcslib/posemath_examples.html


 Regards,
 Kent
 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Slow G code (sam sokolik)

2013-12-18 Thread sam sokolik
running it as fast as it could go - feedrate set to way more than the 
config would allow (config is 500ipm 30in/sec^2)

While the penguin -  (metric so .1 is about .004)
parabolic blend (old)P.1=2:21 Strait G64=4:12
circular blend (new) P.1=1:41 Strait G64=2:27

this was from a while ago... there may have been improvements..  from my 
playing - around twice as fast for this configs.  (for programs with lots of 
line segments)

sam




On 12/18/2013 05:41 PM, Greg Bentzinger wrote:
 Hey Sam;
   
 How does it the improved look ahead compare on the chips 3d NGC sample file?
   
 Greg

 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Servo tuning problem

2014-01-01 Thread sam sokolik
is one side of the servo wires getting grounded?  Can you check the 
continuity of the servo brushes to ground?

sam

On 1/1/2014 3:15 PM, Ed wrote:
 On 01/01/2014 02:20 PM, Eric Keller wrote:
 On Wed, Jan 1, 2014 at 3:14 PM, Ed ate...@mwt.net wrote:

 Don't know the ratings but they are ElectroCraft E723 motors that came
 on the machine OEM
 an older DC motor might have a bad commutator bar.  Or brush problems.
 The brushes look good, over 1/2 In left and lots of spring pressure.


No torque in one direction but not the other sounds like something
 mechanical if the electronics are sound.
 Well Index left the dials on the ball screw shafts for the owners that
 did not trust those newfangled NC's. They do provide a good place to
 grab to check holding torque, lots one way and nil the other. After the
 amp faults it turns freely either direction.

 Ed.




 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tramming puzzle

2014-01-17 Thread sam sokolik
I think the table rotation is between the x and y axis...

So - a square against the tee slots and then use the y axis?

I could see some sort of fixture that sits on the table/aligned with the 
tee slots and has 4 bored holes that you probe and then do the math?

sam




On 1/17/2014 11:04 AM, Ed wrote:
 On 01/17/2014 10:34 AM, andy pugh wrote:
 My milling machine has a swinging table. This is excellent for gear
 hobbing, as I can set the table to the hob helix angle.

 If I forget to put it back I can make trapezoidal boxes. DAMHIK.

 I am wondering how to be sure that the table is properly square. I guess
 that the critical thing it needs to be square to is the Y slides.

 Vertical or horizontal spindle?  Usually use a test indicator in the T
 slot and traverse the table.

 Ed.


 --
 CenturyLink Cloud: The Leader in Enterprise Cloud Services.
 Learn Why More Businesses Are Choosing CenturyLink Cloud For
 Critical Workloads, Development Environments  Everything In Between.
 Get a Quote or Start a Free Trial Today.
 http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] cylindrical coordinate kinematics

2012-06-07 Thread sam sokolik
I think mach has a place to tell what the 'radius' is of the rotary axis 
so the feed rate is calculated based on that.   (but they cannot do kins 
and such)  Inverse time really is the only way to go - that is what the 
big boys use.

sam

On 6/7/2012 10:49 AM, andy pugh wrote:
 On 7 June 2012 16:36, charles greenxxzzb...@yahoo.com  wrote:

 in easier cases, abc is parallel to xyz. so you'd want to know the xyz 
 position of the cutter point relative to the xyz positon of a rotation axis,
 How do we tell LinuxCNC / G-code where the rotation axes are in space?
 Frequently they will not be absolute or relative zero of the linear
 axes.


--
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] Lathe Threading

2012-06-09 Thread sam sokolik
Your not still running the index through classic ladder - are you?  (1ms 
refresh rate is going to kill your speed)

On 06/09/2012 02:08 PM, Peter C. Wallace wrote:
 On Sat, 9 Jun 2012, Brian May wrote:

 Date: Sat, 9 Jun 2012 12:21:08 -0600
 From: Brian Maybri...@do-precision.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] Lathe Threading

 Low Level is 220mv
 High Level 3.12 Volts

 Well thats valid TTL so OK (as long as the 7I33 inputs are jumpered for TTL
 in)

 So the next step in tracing it is is to see if the GPIO for Z bit is visible
 in halmeter when you do the same test


 with a 1024 line encoder you will likely miss the index with HALScope on the
 GPIO bit above 60 RPM, so a real scope would really help in case you are
 losing the signal above a certain speed

 Peter Wallace


 --
 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] quick boot

2012-06-12 Thread sam sokolik
I liked whatever you got when my parents where up (the connies supreme 
or something..)

does that mean we cannot get scheduled until the first week of july - or 
that he won't even be able to look at it until july?

On 6/12/2012 12:59 PM, steve...@newsguy.com wrote:
 Could you use Suspend/Resume instead?

 http://www.youtube.com/watch?v=Vzz1-FwIq28

 Steve Stallings


 At Tue, 12 Jun 2012 09:16:28 -0700 (DST), you wrote
 Gentlemen,
   What would it take to headless boot LinuxCNC in 3 seconds?
 thanks
 Stuart

 -- 
 dos centavos
 


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


<    1   2   3   4   5   6   7   8   9   >