Re: [Emc-users] Another machine running EMC

2010-01-08 Thread yann
Le vendredi 8 janvier 2010 04:46:48, BRIAN GLACKIN a écrit :
 Nice looking machine. Seeing your video, I suspect you could run that
  gantry at much higher speeds once you mechanically tune it up.

 

Yes, I have lot of oscillations problems with the screws. Now working on this.

But on the video I'm close to the maximum speed of the steppers. They can't go 
over 3000rpm, because the torque is very low when I go faster, and I lost lots 
of steps.
On the video the speed is approx. 80% of max speed.

The forum subject is often updated, have a look ;)

--
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] Finding Michael G's branch in the repository

2010-01-08 Thread Erik Christiansen
On Thu, Jan 07, 2010 at 01:59:04PM +0100, Michał Geszkiewicz wrote:

 That code is in iotask/iocontrol.cc

Many thanks, Michał. (That'll teach me to check whether loadTool() is
called anywhere, before making assumptions, on a work in progress.)

Good luck in fighting off the wildest format extravagances dreamt of
(e.g. upthread).

Regards,
Erik

-- 
Beauty is in the eye of the beholder and it may be necessary from time
to time to give a stupid or misinformed beholder a black eye.
  -- Miss Piggy


--
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] Finding Michael G's branch in the repository

2010-01-08 Thread Erik Christiansen
On Thu, Jan 07, 2010 at 07:53:30AM -0600, Jeff Epler wrote:
 
 The wiki is a collaborative effort.  The front page links to the page
 BasicSteps which tells you how to enable editing pages (we were forced
 to make this change in order to prevent spam/defacement of the wiki).

Many thanks for the directions. I've done that, so next time we're set.

 Visiting the wiki this morning I see that someone has already made the
 addition.  Whoever did so, thanks.

Yes, Thanks. It's comforting to know that the change is accepted, rather
than me unilaterally mucking with it, with so little git experience
under my belt.

Erik

-- 
Nothing in life is to be feared. It is only to be understood.
- Marie Curie


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


[Emc-users] GUI for hole-probe.ngc

2010-01-08 Thread Евгений Александрович
Hello guys,

To use hole-probe.ngc file I have to define folowing variables
#1001=nominal X-value of hole center
#1002=nominal Y-value of hole center
#1003=some Z-value inside the hole
#1004=probe tip radius
#1005=[nominal hole diameter/2.0 - #1004]

This is possibe, but is a little bit complicated

Does exists any way to build GUI where we can have 5 fields (with params) and 
one button to start probe?
Any ideas?

Best Regards
Evgeny

--
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] GUI for hole-probe.ngc

2010-01-08 Thread Chris Radek
On Fri, Jan 08, 2010 at 02:22:00PM +0300, ??? ? wrote:
 Hello guys,
 
 To use hole-probe.ngc file I have to define folowing variables
 #1001=nominal X-value of hole center
 #1002=nominal Y-value of hole center
 #1003=some Z-value inside the hole
 #1004=probe tip radius
 #1005=[nominal hole diameter/2.0 - #1004]
 
 This is possibe, but is a little bit complicated
 
 Does exists any way to build GUI where we can have 5 fields (with params) and 
 one button to start probe?
 Any ideas?


Try my P-hole.ngc from here: 

http://timeguy.com/cradek/01262579508

To use it you jog the probe tip into the hole, and press run.
GUI is not needed.

Chris


--
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-08 Thread Jon Elson
John Thornton wrote:
 What is DMA?
   
Direct Memory Access.  The IEEE-1284 port under ECP mode can transfer 
huge blocks
of data to/from system memory without CPU intervention.  This is great 
for parallel port
Ethernet (thankfully now replaced with USB) and par port page scanners, 
and printers,
etc.  It is much less likely to be useful for servo motor control as the 
blocks being transferred
are going to be quite short.

Jon

--
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-08 Thread Sebastian Kuzminsky
Jon Elson wrote:
 John Thornton wrote:
 What is DMA?
   
 Direct Memory Access.  The IEEE-1284 port under ECP mode can transfer 
 huge blocks
 of data to/from system memory without CPU intervention.  This is great 
 for parallel port
 Ethernet (thankfully now replaced with USB) and par port page scanners, 
 and printers,
 etc.  It is much less likely to be useful for servo motor control as the 
 blocks being transferred
 are going to be quite short.

I agree there would not be much to be gained by running the parports in 
ECP mode.

Mesa is planning to use DMA not for the parport boards, but for the PCI 
and PCI-Express boards.  PCI I/O latency is dominated by bus setup and 
negotiation, this is especially bad when several busses are chained, as 
they are with the 3x20.  DMA should provide a dramatic speedup in this 
situation.


-- 
Sebastian Kuzminsky

--
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] Advice on servos

2010-01-08 Thread Jon Elson
Dave wrote:
 I see they have a new 900 peak watt servo drive/motor now for $328!? 
 Their prices are very good.
   
I think I can about match that price with my universal PWM controller 
and PWM servo amps, and
the Keling motors, depending on the # of axes.  I'm selling the largest 
Keling size 23 motor
with encoder fitted for $120, and the brushless servo amps are $150 
each.  The controller
is $250 for 4 axes.

Jon

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


[Emc-users] EMC2 newbie stuck

2010-01-08 Thread Dusty Brunner
Hi everyone, I'm more or less new to EMC. I met some of you a few years back at 
the CNC Workshop in Galesburg. I've always kept EMC in the back of my mind. 
Finally I've got a use for it, so I've finally decided to try-out/learn EMC2. 
The final goal of my efforts is a 3-axis Cartesian/gantry robot for pick and 
place. 

Here's a list of the hardware: 

Asus AT3GC-I computer(Atom 330) 
MESA 7i43 daughter card(400) 
MESA 7i33 4-axis servo card 
AMC analog servo amplifiers 
Brushless DC motors(300 [W]) 

Thus far I've got Ubuntu - 8.04 and EMC2 - 2.3.4 installed. I was able to load 
the hostmot2 drivers/daughter-card firmware yesterday using HAL commands. I 
launched EMC and tried to open the sim version of axis. I got an error and EMC 
closed. Similar things have happened when trying to open other 
configurations(sim and non-sim). This is the corresponding output from dmesg: 


[ 8764.019682] I-pipe: Domain RTAI registered. 
[ 8764.019698] RTAI[hal]: 3.6.1 mounted over IPIPE-NOTHREADS 2.0-04. 
[ 8764.019702] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 
4.2.4-1ubuntu3 
). 
[ 8764.019711] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs 
DIS 
PATCHED), ISOL_CPUS_MASK: 0). 
[ 8764.019716] PIPELINE layers: 
[ 8764.019720] f8c26000 9ac15d93 RTAI 200 
[ 8764.019723] c0383180 0 Linux 100 
[ 8764.042635] RTAI[malloc]: global heap size = 2097152 bytes, BSD. 
[ 8764.043232] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: with 
RTAI 
OWN KTASKs, kstacks pool size = 524288 bytes. 
[ 8764.043244] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); 
default 
timing: periodic; linear timed lists. 
[ 8764.043251] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 1600054000 
h 
z. 
[ 8764.043256] RTAI[sched]: timer setup = 2010 ns, resched latency = 2689 ns. 
[ 8764.141452] RTAI[math]: loaded. 
[ 8766.983256] RTAI[math]: unloaded. 
[ 8767.049563] SCHED releases registered named ALIEN RTGLBH 
[ 8767.063542] RTAI[malloc]: unloaded. 
[ 8767.162840] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 
0 
, syscalls 0). 
[ 8767.167106] I-pipe: Domain RTAI unregistered. 
[ 8767.167116] RTAI[hal]: unmounted. 

I'm not sure if this will help. Any insight would be appreciated. 

Thanks, 

Dusty 

--
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-08 Thread Jon Elson
Flying Electron wrote:

 Looking at the Pico Systems PWM Brushless Servo Amplifier, it recommends 
 a PWM frequency of at least 25khz, so assuming the parallel port could 
 be driven fast enough the CPU would have to send data to the parallel 
 port at least 5 times a second to toggle a pin as opposed to sending 
 1000 commands a second to vary the generated PWM duty cycle.  Is that 
 kind of how it works?

   
No, not at all.  Either using the Mesa board or the Pico Systems PWM 
controller board, the
CPU sends a PWM width command once every millisecond, and the PWM generator
sends the required pulse width (with much greater accuracy and 
resolution) to the drive.
The later Pico Systems PWM controllers set pulse width in 25 ns 
increments, so at
50 KHz frequency you get 1 part in 800 resolution or 0.125 %.

You could possibly get about 10 us resolution from the parallel port 
directly, at 50 KHz
that would give you a resolution of 50% which would never work for a 
servo drive.

Jon

--
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] EMC2 newbie stuck

2010-01-08 Thread Dave
If you are running 2.3.4 then you are not running off the CD install 
since that is still at 2.3,  so I don't know how you setup your system.

Can you see the sample configurations on your system?

I think there is a 7i43 sample config. file there.

Dave





On 1/8/2010 2:17 PM, Dusty Brunner wrote:
 Hi everyone, I'm more or less new to EMC. I met some of you a few years back 
 at the CNC Workshop in Galesburg. I've always kept EMC in the back of my 
 mind. Finally I've got a use for it, so I've finally decided to try-out/learn 
 EMC2. The final goal of my efforts is a 3-axis Cartesian/gantry robot for 
 pick and place.

 Here's a list of the hardware:

 Asus AT3GC-I computer(Atom 330)
 MESA 7i43 daughter card(400)
 MESA 7i33 4-axis servo card
 AMC analog servo amplifiers
 Brushless DC motors(300 [W])

 Thus far I've got Ubuntu - 8.04 and EMC2 - 2.3.4 installed. I was able to 
 load the hostmot2 drivers/daughter-card firmware yesterday using HAL 
 commands. I launched EMC and tried to open the sim version of axis. I got an 
 error and EMC closed. Similar things have happened when trying to open other 
 configurations(sim and non-sim). This is the corresponding output from dmesg:


 [ 8764.019682] I-pipe: Domain RTAI registered.
 [ 8764.019698] RTAI[hal]:3.6.1  mounted over IPIPE-NOTHREADS 2.0-04.
 [ 8764.019702] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 
 4.2.4-1ubuntu3
 ).
 [ 8764.019711] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs 
 DIS
 PATCHED), ISOL_CPUS_MASK: 0).
 [ 8764.019716] PIPELINE layers:
 [ 8764.019720] f8c26000 9ac15d93 RTAI 200
 [ 8764.019723] c0383180 0 Linux 100
 [ 8764.042635] RTAI[malloc]: global heap size = 2097152 bytes,BSD.
 [ 8764.043232] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE:with 
 RTAI
 OWN KTASKs, kstacks pool size = 524288 bytes.
 [ 8764.043244] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); 
 default
 timing: periodic; linear timed lists.
 [ 8764.043251] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 
 1600054000 h
 z.
 [ 8764.043256] RTAI[sched]: timer setup = 2010 ns, resched latency = 2689 ns.
 [ 8764.141452] RTAI[math]: loaded.
 [ 8766.983256] RTAI[math]: unloaded.
 [ 8767.049563] SCHED releases registered named ALIEN RTGLBH
 [ 8767.063542] RTAI[malloc]: unloaded.
 [ 8767.162840] RTAI[sched]: unloaded (forced hard/soft/hard transitions: 
 traps 0
 , syscalls 0).
 [ 8767.167106] I-pipe: Domain RTAI unregistered.
 [ 8767.167116] RTAI[hal]: unmounted.

 I'm not sure if this will help. Any insight would be appreciated.

 Thanks,

 Dusty

 --
 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] GUI for hole-probe.ngc

2010-01-08 Thread Frank Tkalcevic
There is Gwiz, the wizard framework, 

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

It's pretty easy to copy and paste an existing wizard to extend it.


 -Original Message-
 From: ??? ? [mailto:evgeni_a...@mail.ru] 
 Sent: Friday, 8 January 2010 10:22 PM
 To: Emc-users
 Subject: [Emc-users] GUI for hole-probe.ngc
 
 Hello guys,
 
 To use hole-probe.ngc file I have to define folowing 
 variables #1001=nominal X-value of hole center 
 #1002=nominal Y-value of hole center #1003=some Z-value 
 inside the hole #1004=probe tip radius #1005=[nominal 
 hole diameter/2.0 - #1004]
 
 This is possibe, but is a little bit complicated
 
 Does exists any way to build GUI where we can have 5 fields 
 (with params) and one button to start probe?
 Any ideas?
 
 Best Regards
 Evgeny
 
 --
 
 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


[Emc-users] Using multiple probes

2010-01-08 Thread Flying Electron
Is there an easy way to use two separate probes for probing?  For 
example have Probe A connected to a parallel port pin 10, and Probe B 
connected to parallel port pin 11 and somehow have the gcode choose 
which probe to use when probing.

The best I can think of so far is to have the gcode turn on one of the 
digital output pins using M64 and then having the hal multiplex the two 
parallel port pins into the probe pin, but maybe there is an easier way 
that won't waste one of the four digital output pins.  Is the number of 
digital output pins controllable by gcode hardcoded, or can it be 
increased through a setting somewhere?


--
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] EMC2 newbie stuck

2010-01-08 Thread Dusty Brunner

Dave, a friend of mine installed it on my machine, since he is much better with 
Linux. He installed it from the Ubuntu 8.04 distribution. 

Forgive me for my naiveness, but are you referring to 7i43-big.ini associated 
with hm2-servo? If so yes. 

/usr/share/doc/emc2/examples/sample-configs/hm2-stepper/7i43-small.ini 



--
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] EMC2 newbie stuck

2010-01-08 Thread Sebastian Kuzminsky
Dusty Brunner wrote:
 Dave, a friend of mine installed it on my machine, since he is much better 
 with Linux. He installed it from the Ubuntu 8.04 distribution. 
 
 Forgive me for my naiveness, but are you referring to 7i43-big.ini associated 
 with hm2-servo? If so yes. 
 
 /usr/share/doc/emc2/examples/sample-configs/hm2-stepper/7i43-small.ini 

Have you tried running emc and selecting the hm2-stepper/7i43-big 
config from the list?  I didnt see any of the hostmot2 output in the 
dmesg log you included.


-- 
Sebastian Kuzminsky

--
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] edge finding

2010-01-08 Thread Chris Reynolds
Thank you for posting these. I downloaded them so I could try them out. 

Chris



 On Sat, Jan 02, 2010 at 10:27:34PM -0800, Chris Reynolds wrote:
 I saw a video online of someone using an edge finding routine, not
 in emc, but I was wondering if there is something similar in emc.

I use probing a lot for setup (edge finding) and for locating and
measuring diameters of holes.  It is by far the most accurate way
I have to measure a hole diameter.

I put the gcode I use on my website, http://timeguy.com

I'm using the touchy interface on my mill, so I can pick the probing
routine I want from the list with one screen poke, and then press
cycle start to perform the operation.  It's so quick and easy.
--
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] Using multiple probes

2010-01-08 Thread Andy Pugh
2010/1/8 Flying Electron sa...@flyingelectron.com:

 The best I can think of so far is to have the gcode turn on one of the
 digital output pins using M64 and then having the hal multiplex the two
 parallel port pins into the probe pin, but maybe there is an easier way
 that won't waste one of the four digital output pins.

Wire the probes in series?

   Is the number of
 digital output pins controllable by gcode hardcoded, or can it be
 increased through a setting somewhere?

You can change it (the 2.3.0 release notes say so)
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?action=browsediff=3id=Released

I read that it was an INI parameter a few days ago, but I can't recall
where (or more importantly, what)

-- 
atp

--
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] Using multiple probes

2010-01-08 Thread Flying Electron


Andy Pugh wrote:
 2010/1/8 Flying Electron sa...@flyingelectron.com:

   
 The best I can think of so far is to have the gcode turn on one of the
 digital output pins using M64 and then having the hal multiplex the two
 parallel port pins into the probe pin, but maybe there is an easier way
 that won't waste one of the four digital output pins.
 

 Wire the probes in series?
   
One of the probes is electrically noisy and untrustworthy when the 
machine is operating, the probe is only used during a calibration 
routine with most of the machine turned off.  But if EMC2 is no longer 
limited to only 4 digital outs, I have no problem using the mux 
component with a M64 line switching the mux between the two probes.
   
   Is the number of
 digital output pins controllable by gcode hardcoded, or can it be
 increased through a setting somewhere?
 

 You can change it (the 2.3.0 release notes say so)
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?action=browsediff=3id=Released

 I read that it was an INI parameter a few days ago, but I can't recall
 where (or more importantly, what)

   
Thanks!  I can look through the docs to find out where the setting is.

--
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] Using multiple probes

2010-01-08 Thread Andy Pugh
2010/1/9 Flying Electron sa...@flyingelectron.com:

 Thanks!  I can look through the docs to find out where the setting is.

It is mentioned briefly here:
http://linuxcnc.org/docs/html/gcode_main.html#sec:M62-to-M65:

I just tried editing the HAL file from the stepconf config on my VM,
and it worked fine like this (giving 25 dio lines)
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD
servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
num_dio=25

You might have a hand-carved HAL something like this, though.

loadrt motmod base_period_nsec=25000 servo_period_nsec=100
num_joints=4 num_dio=25

You can also change the number of analogue inputs with the num_aio
parameter, but that errors out if you try to have more than 16.
(though that was found by guesswork and does not seem to be documented
anywhere)


-- 
atp

--
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] Graphics card with DVI out?

2010-01-08 Thread Matt Shaver
On Thu, 7 Jan 2010 14:28:06 -0800
Neil Baylis neil.bay...@gmail.com wrote:
 On Thu, Jan 7, 2010 at 2:04 PM, Andy Pugh a...@andypugh.fsnet.co.uk
 wrote:
  Do you know for sure that your current card does not work with EMC?
 
 No. I'm just going by the dire warnings I've seen in the EMC wiki.
 
 I bought two of the NVIDIA cards (before I knew there might
 be a problem)

FWIW I've been using NVIDIA PCI Express x16 cards in EMC systems and
have had no problems with them. Let the latency-test be your guide!

Thanks,
Matt

--
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-08 Thread Jon Elson
Flying Electron wrote:
 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
   
The above two are the same motor.  Has Keling raised their prices?  
Also, note the
Keling motor does not have an encoder fitted to it.  I think your $134 
price is for their
size 34 motor.
 [brushed]  Keling KL23-130-60 Brushed Servo (50ozin continous, 350ozin 
 peak, 1000 CPR) $162
   
Also note that many of the brushless motors on Keling's site are not in 
stock, but
essentially special order items.
 Most of the servo drives I have found have the PID loop built into 
 them.  Is this the normal case?
   
Yes, certainly for industrial, high-end drives like Servo Dynamics and 
AMC, this is
true.  And, you pay for the necessary intelligence in the drive.
 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?
Yes, but you have to be very careful about how you deal with overcurrent 
and current
limit situations.  Also, the motor inductance and the fast switching of 
the transistors
can produce a LOT of electrical noise.  That's why my drives (Pico 
Systems) have output filters, to
save you the hassles of noise getting into your encoders.

Jon


--
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-08 Thread Jon Elson
sam sokolik wrote:
 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
   
I got one of these a few months ago and the holes were NOT tapped at 
all, just dimples,
really in the casting.  So, I don't know if these holes are supposed to 
be tapped or not.

Jon

--
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] EMC2 newbie stuck

2010-01-08 Thread Dave
On 1/8/2010 5:50 PM, Sebastian Kuzminsky wrote:
 Dusty Brunner wrote:

 Dave, a friend of mine installed it on my machine, since he is much better 
 with Linux. He installed it from the Ubuntu 8.04 distribution.

 Forgive me for my naiveness, but are you referring to 7i43-big.ini 
 associated with hm2-servo? If so yes.

 /usr/share/doc/emc2/examples/sample-configs/hm2-stepper/7i43-small.ini
  
 Have you tried running emc and selecting the hm2-stepper/7i43-big
 config from the list?  I didnt see any of the hostmot2 output in the
 dmesg log you included.



Like Seb said, if you go to a terminal window and run emc return, you 
should get a pop up screen which allows you to select a number of 
configurations.

The 7i43 is there under hm2.

Linux takes some getting used to for us old Dos/Winders users...

Hang in there - it is worth the effort.  :-)

Dave

--
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] GUI for hole-probe.ngc

2010-01-08 Thread Евгений Александрович
Ohh, I did know about it before.
Thank you, I will see

 There is Gwiz, the wizard framework, 
 
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?GWiz_-_A_Gcode_Wizard_Framework 
 
 It's pretty easy to copy and paste an existing wizard to extend it.
 

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