Re: [Emc-users] Pyvcp scripts.

2008-08-12 Thread anders wallin
Hi Ian,

The scale widget ('slider') is a light wrapper around the tkinter scale 
widget and can be oriented either horizontally or vertically with

HORIZONTAL  or VERTICAL, Pyvcp doesn't deal 
with that, 
it's just passed directly as a parameter to the tkinter object.


The bar widget you want inherits from canvas and all the drawing is done 
in pyvcp_widgets.py, but there is no code there right now that would 
recognize an  tag or would do the drawing vertically.
Learn a bit of Python, Tkinter, and HAL and you could look at the 
pyvcp_bar() class in pyvcp_widgets.py and figure out how to do it yourself!

Anders
> Hi,
>
> I have finally got my stepper driven lathe working Ok and configured 
> speed indication on the AXIS display as in the 'sim lathe' config. 
> however, I would really like to have the speed bar displayed vertically 
> to maximise the plot window on the screen. I have found some mention in 
> documentation of it being possible to make a vertical bar graph but 
> can't find any examples and, while I've experimented with the script for 
> some time, I can't find a way to make such a thing work. ( I actually 
> got quite confused at one point when I found that I had been reading 
> documentation for a very similar program - Super Karamba I think - which 
> seemed to produce bar graphs in a very similar way and had a 'vertical = 
> true' option). Has this been done before? When I have everything sorted 
> out to my satisfaction, I'll post the config files somewhere (??) with a 
> description...
>
>   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pyvcp scripts.

2008-08-12 Thread Ian W. Wright
Thanks Anders - I'd better send out for some more midnight oil to start 
burning..  I think you have at least explained why I couldn't get it 
working..

-- 
Best wishes,

Ian

Ian W. Wright
Sheffield  UK

"The difference between theory and practice is much smaller in theory than in 
practice..."


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RELEASED: emc 2.2.6

2008-08-12 Thread Mark Wendt (Contractor)
At 01:39 PM 8/11/2008, you wrote:
>On Mon, 2008-08-11 at 11:06 -0400, Gene Heskett wrote:
> > As for editors, there are several available.  I'm partial to the vi/vim
> > offerings myself.
>
>
>If you're going to recommend a command-line text editor to a newbie, I
>would recommend nano over vi/vim any day!  At least with nano you can
>easily figure out how to type a few changes and exit, but with vi/vim
>you have to learn how to think upside down with rags stuffed up your
>nose, and then you have to memorize 100 commands!  Every time I
>accidentally run vim I have to figure out how to open the tutorial so I
>can figure out how to exit the thing without killing the terminal.  Then
>I forget the commands before I run it next time :-)  Enough of that rant
>though...
>
>The easiest editor for most people will probably just be gedit aka "Text
>Editor" in the Accessories menu.
>
>Moses

Heh, do like the rest of us did, way back when.  Type out a cheat 
sheet with all the usual commands on it.  In vi of course...  ;-)

Makr 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Repost: Teach with joystick.

2008-08-12 Thread Alex Joni
Hi Dan,

the teach-in function that is included in emc2 is a "hack" that is used to 
save position for some puma-typed robots.
Basicly you launch the teach-in script (once emc2 is running), and when you 
push teach (if my memory serves me right) it saves the current position 
(both in joint space and in carthesian space).
I'm not sure if this is useful to you, as you would have to write the G-code 
for those points.

Regards,
Alex

- Original Message - 
From: "Daniel Kavanagh" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, August 12, 2008 9:53 AM
Subject: [Emc-users] Repost: Teach with joystick.


> Hi All,
>
>  Can I teach with a joystick, record movements and the save the moves
> and then replay them?
>
>  I have yet to find any info about the teach-in function.
>
>  Dan


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Repost: Teach with joystick.

2008-08-12 Thread Daniel Kavanagh
Hi Alex,

  That sounds kind of limited :(

  What I really want to do is 5 or 6 axis control with joysticks,
recording all the while.

  I am gathering the parts to make a 6 axis gantry style welder. The
setup would be like a 5 axis router with the sixth axis being like a
spindle to rotate the torch.

  The thought of doing CAM and gcode for that just seems like a total
nightmare. Think zig zag bead as you travel around a tube notch.

  Leaning to weld with joysticks however seems like a video game! Put a
camera on it! Dual monitors.awesome!

  I realize this is complicated, joystick jogging is not real time. I
was thinking you could use hal streamer and maybe log it and then play
it back? Automate pressing the teach button and add some code that
converts it to gcode?

  I don't know. I do know that I can build the machine and I really
would like to automate some of my welding.

  I am working on my plasma tube notcher right now and the welder is the
next project.

  Thanks,
  Dan


Alex Joni wrote:
> Hi Dan,
> 
> the teach-in function that is included in emc2 is a "hack" that is used 
> to save position for some puma-typed robots.
> Basicly you launch the teach-in script (once emc2 is running), and when 
> you push teach (if my memory serves me right) it saves the current 
> position (both in joint space and in carthesian space).
> I'm not sure if this is useful to you, as you would have to write the 
> G-code for those points.
> 
> Regards,
> Alex


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] New user new problem

2008-08-12 Thread snoopy
Hi, i am a new Italian Emc user (sorry for english), i have a problem:

Can I, when emc change tool give o the new tool a new zero?

 

Ciao sono un nuovo utente della mailing list, ho un problema con emc2:

Posso, quando emc riceve m6 cambiare lo zero utensile?

Può azzerarsi in automatico il nuovo utensile?

 

Grazie per le risposte…

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Repost: Teach with joystick. (Welding)

2008-08-12 Thread Craig
Two comments:

1.  Software to Generate basic G-code from a sequence of positions 
should not be a very difficult problem. 

2.  It would seem to me that welding a good bead (not spot welding) 
would require either very consistent materials or some feedback on 
puddle properties.  Puddle properties could be measured from a visual 
and/or IR image.  Measuring welding voltage/current might also be useful.
(It has been some years since I considered this problem, so good 
technical solutions may since have been found.) 

Craig  

 

Daniel Kavanagh wrote:
> Hi Alex,
>
>   That sounds kind of limited :(
>
>   What I really want to do is 5 or 6 axis control with joysticks,
> recording all the while.
>
>   I am gathering the parts to make a 6 axis gantry style welder. The
> setup would be like a 5 axis router with the sixth axis being like a
> spindle to rotate the torch.
>
>   The thought of doing CAM and gcode for that just seems like a total
> nightmare. Think zig zag bead as you travel around a tube notch.
>
>   Leaning to weld with joysticks however seems like a video game! Put a
> camera on it! Dual monitors.awesome!
>
>   I realize this is complicated, joystick jogging is not real time. I
> was thinking you could use hal streamer and maybe log it and then play
> it back? Automate pressing the teach button and add some code that
> converts it to gcode?
>
>   I don't know. I do know that I can build the machine and I really
> would like to automate some of my welding.
>
>   I am working on my plasma tube notcher right now and the welder is the
> next project.
>
>   Thanks,
>   Dan
>
>
> Alex Joni wrote:
>   
>> Hi Dan,
>>
>> the teach-in function that is included in emc2 is a "hack" that is used 
>> to save position for some puma-typed robots.
>> Basicly you launch the teach-in script (once emc2 is running), and when 
>> you push teach (if my memory serves me right) it saves the current 
>> position (both in joint space and in carthesian space).
>> I'm not sure if this is useful to you, as you would have to write the 
>> G-code for those points.
>>
>> Regards,
>> Alex
>> 
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RELEASED: emc 2.2.6

2008-08-12 Thread John Thornton
On 11 Aug 2008 at 15:52, Steve Blackmore wrote:


> I downloaded the latest live CD, it booted fine, however on loading
> EMC sim/lathe it froze the PC, only way out was the reset button.

I just tried the 2.2.6 sim/lathe and it works AFAIK. You might try a dual boot 
install, 
then with the internet connected wait for the update icon to flash and update 
to 
2.2.6... then try the sim/lathe.

> 
> Sim axis works, but that's not what I'm looking for.

What are you looking for?

John

> 
> >BTW, you would not belive the amount of time spend on the manuals. 
> 
> Yes I would, I've wrote manuals, it's a PITA :)
> 
> Steve Blackmore
> --
> 
> --
> --- This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK &
> win great prizes Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___ 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RELEASED: emc 2.2.6

2008-08-12 Thread John Thornton
Hey Ken,

:)

John

On 11 Aug 2008 at 7:42, Kenneth Lerman wrote:

> Hey John, you have a typo in your last line.
> 
> You wrote:
> "They are always looking for more help. "
> 
> You should have written:
> "We are always looking for more help."
> 
> :-)
> 
> Regards,
> 
> Ken
> 
> John Thornton wrote:
> > Steve, 
> > 
> > What is really on your mind? 
> > 
> > You come out with both barrels blasting your bound to get some
> > flak... 
> > 
> > On 11 Aug 2008 at 2:58, Steve Blackmore wrote:
> > 
> >> On Sun, 10 Aug 2008 20:21:11 -0600, you wrote:
> >>
> >>> Gee Steve, one would assume that if you subscribe to the EMC USERS
> >>> mailing list that you are using it all ready...
> >> Why would you assume that? 
> >>
> >> I am a prospective user being baffled by bull!
> > 
> > Do you have a real question or are you just mad at everyone?
> > 
> >> Your answer only reinforces my point, you all seem to assume
> >> everybody knows what you are talking about, and you do little or
> >> nothing to encourage new users. 
> > 
> > What do you expect the EMC volunteers to do to encourage new users? 
> > 
> > BTW, you would not belive the amount of time spend on the manuals.
> > They are always looking for more help. 
> > 
> > John
> > 
> >> Steve Blackmore
> >> --
> >>
> >> ---
> >> --- --- This SF.Net email is sponsored by the Moblin Your Move
> >> Developer's challenge Build the coolest Linux based applications
> >> with Moblin SDK & win great prizes Grand prize is a trip for two to
> >> an Open Source event anywhere in the world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> ___ 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 Moblin Your Move
> > Developer's challenge Build the coolest Linux based applications
> > with Moblin SDK & win great prizes Grand prize is a trip for two to
> > an Open Source event anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > ___ 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 Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK &
> win great prizes Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___ 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stepper configuration

2008-08-12 Thread paul_c

Hi Sebastian

On Tuesday 12 August 2008, Sebastian Kuzminsky wrote:
> Hm, looks like rt_spin_lock() and friends are not exported through rtapi.

Why would you want rtapi functions for spinlocks ?

> It looks like it would be easy to add a bunch of functions (or maybe
> preprocessor macros) to call the RTAI locking code through RTAPI
> front-end functions, but I dont (yet) know how to do this stuff with
> RT-Linux, and I dont currently have a way to build & test RT-Linux side
> of any RTAPI locking implementation.

RT-Linux is pretty much a dead project from what activity I have seen. The 
last patch I saw was for a very early 2.6 series kernel and possibly 
experimental. A quick look at the WindRiver overview suggests that they use a 
2.6.14 kernel, but I doubt anyone (here) uses it.

> Are there maybe some RT-Linux systems in the EMC2 build farm?

There was a 2.2.x series kernel patched with a very old RT-Linux version, but 
your driver(s) won't compile on anything other than 2.6.xx.

> Does anyone run EMC2 on RT-Linux?

RT-Linux support is a dead end, rtapi for RT-Linux does little more than add 
to the general bit rot.


---

Paul.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] etch-servo pwm output to servo amp's input?

2008-08-12 Thread Jim Coleman
the spindle / tooling arent a draw bar like on a bridgeport, they have
pullstuds in the back, which get grabbed by some kind of mechanism inside
the head, im still curious to see how it goes about doing it, I know its
spring tensioned and hydraulically released.

the amps look identical at a glance, im on lunch break so im tryin to keep
it quick.  the motors are all directly connected to the amps, thats why i
thought to send the quadrature to both emc and the amp.

there are aluminum strips along the ways, i havnt seen any connectors on
them where they would be scales, but it's a possibility.  If i go to the
town where the machine is I'll try to remember to get the camera and some
pictures.

Thanks again for all the help, its REALLY appreciated
Jim

On Sun, Aug 10, 2008 at 6:49 PM, Kirk Wallace
<[EMAIL PROTECTED]>wrote:

> On Sun, 2008-08-10 at 11:43 -0400, Jim Coleman wrote:
> ... snip
> > for the tooling and the spindle, im pretty sure its CAT 40.  I've
> > always just heard it refered to as '40 taper' and it's the same
> > holders (minus pullstuds) that the fadals and the haas VF2,4, and 5
> > use at the shop.
>
> Your machine has a threaded draw bar?
>
> > the motors and amps are sanyo denki BL-super
> > From the machine's manual the motor and amp combinations are..
> > X motor 20BM090MXP42 amp 27BA030FTH1 torque cont./stall 90/200 kg-cm
> > Y motor 20BM090MXP41 amp 27BA030FTH1 torque cont./stall 90/200 kg-cm
> > Z motor 20BM220MBP41 amp 27BA050FXTH2 torque cont./stall 200/340 kg-cm
> > all max 1500 RPM, overspeed detection speed at 2400 rpm
> > I've googled around but couldnt find any info on these, i have what
> > looks like a datasheet, but it's in japanese, so i sure cant make
> > anything of it.  If anyone happens across some docs i'd love to see
> > them.
>
> Here is the only Sanyo link I have found useful for my P5's.
>
> http://www.motiononline.com/NewFiles/download.html
> http://www.motiononline.com/index.html
>
> These are similar to your drives and motors?
> http://www.circuitcnc.co.uk/details.aspx?ProductID=96#
> http://www.circuitcnc.co.uk/details.aspx?ProductID=95#
> http://www.circuitcnc.co.uk/details.aspx?ProductID=111#
> http://www.circuitcnc.co.uk/details.aspx?ProductID=112#
>
> It looks like the amps are really controllers which have some sort of
> motion control in them. So the motor feed back goes back to the
> controller and not EMC, similar to step/direction controllers except it
> seems you have velocity inputs.
>
> Here are links to a related thread:
>
> http://www.machsupport.com/forum/index.php/topic,2303.0.html
> http://www.machsupport.com/forum/index.php/topic,2303.10.html
>
> The amp diagrams shown in the thread don't seem to match the picture of
> your amps above though. Without real data on this system, it's hard to
> make any conclusions on how it works.
>
> --
> Kirk Wallace (California, USA
> http://www.wallacecompany.com/machine_shop/
> Hardinge HNC/EMC CNC lathe,
> Bridgeport mill conversion, doing XY now,
> Zubal lathe conversion pending
> Craftsman AA 109 restoration
> Shizuoka ST-N/EMC CNC)
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Repost: Teach with joystick. (Welding)

2008-08-12 Thread Organic Engines
Hi Craig,

> 1.  Software to Generate basic G-code from a sequence of positions 
> should not be a very difficult problem.

  I was thinking there would need to be a time component though. A click 
track.

> 2.  It would seem to me that welding a good bead (not spot welding) 
> would require either very consistent materials or some feedback on 
> puddle properties.  Puddle properties could be measured from a visual 
> and/or IR image.  Measuring welding voltage/current might also be useful.
> (It has been some years since I considered this problem, so good 
> technical solutions may since have been found.)
> Craig 

  Yeah, consistent materials and a solid jig is what I am hoping will do 
the trick. Weld seam tracking and all that jazzy stuff is probably 
overkill, but can be added if necessary.

  I think if EMC can record my welding with the joysticks accurately 
enough, dwell this long at this amperage, feed this much wire, etc. all 
will be well.

  Dan.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel Port Test

2008-08-12 Thread Andrew Ayre
Hi, Is there an easy way of testing the parallel port without having an 
oscilloscope? A friend's controller board started smoking (Z axis driver 
chip) and now none of the axis work. It's pretty easy to replace chips, 
check solder joints, etc. but how to test the parallel port?

thanks, Andy

-- 
Andy
PGP Key ID: 0xDC1B5864

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Test

2008-08-12 Thread Alex Joni
I usually use a wire to connect an output to an input, then use halmeter
to see if it toggles.
But in some cases this might not work (needs pull-ups or such)

Regards,
Alex


On Tue, 2008-08-12 at 09:24 -0700, Andrew Ayre wrote:
> Hi, Is there an easy way of testing the parallel port without having an 
> oscilloscope? A friend's controller board started smoking (Z axis driver 
> chip) and now none of the axis work. It's pretty easy to replace chips, 
> check solder joints, etc. but how to test the parallel port?
> 
> thanks, Andy
> 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] etch-servo pwm output to servo amp's input?

2008-08-12 Thread Kirk Wallace
On Tue, 2008-08-12 at 17:20 +0100, Jim Coleman wrote:
> the spindle / tooling arent a draw bar like on a bridgeport, they have
> pullstuds in the back, which get grabbed by some kind of mechanism
> inside the head, im still curious to see how it goes about doing it, I
> know its spring tensioned and hydraulically released.

Oops, I got the impression that you didn't use pull studs. I just sold
some NMTB40 holders on eBay for less than $20 including shipping. Your
CAT40 is much more common. I would think that if you shop around on eBay
or Craig's List, you could get the same or better deals.

> the amps look identical at a glance, im on lunch break so im tryin to
> keep it quick.  the motors are all directly connected to the amps,
> thats why i thought to send the quadrature to both emc and the amp.

In most cases like this, you would run wires from the encoders to both
the amp(driver) and EMC. The problem is in how EMC would use the
information. It could be used for the position display and if needed for
motor control feedback. Knowing how your drivers work will determine
that. What I would be looking into next would be to trace the
connections that go from your driver to your controller to see how many
wires there are and see if they are labeled in a useful way.

> there are aluminum strips along the ways, i havnt seen any connectors
> on them where they would be scales, but it's a possibility.  If i go
> to the town where the machine is I'll try to remember to get the
> camera and some pictures.
> 
> Thanks again for all the help, its REALLY appreciated
> Jim

I wish I had more to offer. This doesn't seem to be a project for a
beginner. I wonder if you would be better off selling the machine and
getting something like a Shizuoka ST-N which can be had for around $1800
and would be an easy conversion. Of course the parts you are making
would have to fit the workspace. Shipping is a big problem too. You will
get the best price for you machine if you have a shipper and lift
prearranged and you can wait for the best offer.

-- 
Kirk Wallace (California, USA
http://www.wallacecompany.com/machine_shop/ 
Hardinge HNC/EMC CNC lathe,
Bridgeport mill conversion, doing XY now,
Zubal lathe conversion pending
Craftsman AA 109 restoration
Shizuoka ST-N/EMC CNC)


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] steplen, etc

2008-08-12 Thread Emory Smith
Are steplen, stepspace, dirhold and dirsetup in nanoseconds or microseconds?
For instance, is "setp stepgen.0.stepspace 1000" absurdly wrong?
Or does that mean 1 microsecond?
Did the specs change somewhere between versions?

Ubuntu 8.0.4/EMC 2.2.6

Thanks,
-- 
Emory
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] steplen, etc

2008-08-12 Thread Alex Joni
[EMAIL PROTECTED]:~/emc2.joints_axes$ man stepgen | grep -A 1 steplen
--
   stepgen.N.steplen u32 rw
  The length of the step pulses, in  nanoseconds.   Measured
from

Regards,
Alex

PS: I do think it changed at some point, although that must be stated in
the Updating page in the wiki

On Tue, 2008-08-12 at 13:59 -0500, Emory Smith wrote:
> Are steplen, stepspace, dirhold and dirsetup in nanoseconds or
> microseconds?
> For instance, is "setp stepgen.0.stepspace 1000" absurdly wrong?
> Or does that mean 1 microsecond?
> Did the specs change somewhere between versions?
> 
> Ubuntu 8.0.4/EMC 2.2.6
> 
> Thanks,
> -- 
> Emory
> 



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RELEASED: emc 2.2.6

2008-08-12 Thread Steve Blackmore
On Tue, 12 Aug 2008 06:57:42 -0600, you wrote:

>On 11 Aug 2008 at 15:52, Steve Blackmore wrote:
>
>
>> I downloaded the latest live CD, it booted fine, however on loading
>> EMC sim/lathe it froze the PC, only way out was the reset button.
>
>I just tried the 2.2.6 sim/lathe and it works AFAIK. You might try a dual boot 
>install, 
>then with the internet connected wait for the update icon to flash and update 
>to 
>2.2.6... then try the sim/lathe.

I don't want to install at this stage and risk screwing up a working
machine, I've had bad experiences in the past with Linux and don't want
to spend too much time on something that may not be suitable anyway. I
simply wanted to look at the user interface and EMC turning
capabilities.

>> Sim axis works, but that's not what I'm looking for.
>
>What are you looking for?

An alternative CNC lathe solution.

Steve Blackmore
--

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Repost: Teach with joystick. (Welding)

2008-08-12 Thread Sven Wesley
Hmm... I think I've missed this feature. What was the original purpose? It
could solve a measurement scanning problem for me. :)

Regards,
Sven

2008/8/12 Organic Engines <[EMAIL PROTECTED]>

> Hi Craig,
>
> > 1.  Software to Generate basic G-code from a sequence of positions
> > should not be a very difficult problem.
>
>   I was thinking there would need to be a time component though. A click
> track.
>
> > 2.  It would seem to me that welding a good bead (not spot welding)
> > would require either very consistent materials or some feedback on
> > puddle properties.  Puddle properties could be measured from a visual
> > and/or IR image.  Measuring welding voltage/current might also be useful.
> > (It has been some years since I considered this problem, so good
> > technical solutions may since have been found.)
> > Craig
>
>   Yeah, consistent materials and a solid jig is what I am hoping will do
> the trick. Weld seam tracking and all that jazzy stuff is probably
> overkill, but can be added if necessary.
>
>  I think if EMC can record my welding with the joysticks accurately
> enough, dwell this long at this amperage, feed this much wire, etc. all
> will be well.
>
>  Dan.
>
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] European EMC-fest

2008-08-12 Thread Sven Wesley
I'm happy to hear people want to join!
What I need right now is some brainstorming what you really would like to
have in a meeting (except the bbq). What type of classes? A retrofit?
Seminar? Visits? Please shout it out! :)

--Sven

2008/8/6 Dirk <[EMAIL PROTECTED]>

> I would like to attend. I don't know if I have anything to offer.
>
> Is there any idea about a location? I don't know if there are area's where
> a lot of emc users are concentrated?
>
> For beginners it might be interesting to learn something about the
> different ways tot retrofit a machine. Making it visible what does and
> doesn't work and why a certain setup is better or cheaper. For instance a
> stepper motor wich is too weak for the load, or a screw which is too long
> for a certain speed. Seeing things makes you remember it more easily. OTOH,
> this only makes sense if you can get visitors who might start with EMC.
> For current users some HAL tutorials, presentations, trainings or hands on
> sessions can be interesting.
>
> Is there an estimate about the number of  visitors you can expect?
>
> Dirk
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Tool orientation in AXIS

2008-08-12 Thread juanjo
Hello Guys.

Anubody Kown if a way to change the orientation of the Tool in the
the AXIS gui?

i like to see the tool in a horizontal way (not vertically)
like a Horizontal machining center.

-- 
Best regards,
 juanjo  mailto:[EMAIL PROTECTED]


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RELEASED: emc 2.2.6

2008-08-12 Thread Kirk Wallace
On Tue, 2008-08-12 at 22:14 +0100, Steve Blackmore wrote:
... snip
> I don't want to install at this stage and risk screwing up a working
> machine, I've had bad experiences in the past with Linux and don't want
> to spend too much time on something that may not be suitable anyway. I
> simply wanted to look at the user interface and EMC turning
> capabilities.
> 
> >> Sim axis works, but that's not what I'm looking for.
> >
> >What are you looking for?
> 
> An alternative CNC lathe solution.
> 
> Steve Blackmore

I haven't followed this thread completely, but ... I think you can Live
boot your Windows PC to EMC2, when EMC2 asks you to select a
configuration, it may ask you if you want to make a copy of the
configuration to your home directory, which at this point is on a
RAMdisk (?). You can go to your copied configuration and modify it to
your needs. Of course, you will lose this config when you reboot. You
may be able to use a USB stick (camera, mp3, iPhone, whatever) for your
config directory in which case your config would be saved(?). This way
you can do everything that a normal install can do without actually
installing. I don't currently have a PC to test this with. Does this
help or did I miss the mark?

-- 
Kirk Wallace (California, USA
http://www.wallacecompany.com/machine_shop/ 
Hardinge HNC/EMC CNC lathe,
Bridgeport mill conversion, doing XY now,
Zubal lathe conversion pending
Craftsman AA 109 restoration
Shizuoka ST-N/EMC CNC)


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] New user new problem

2008-08-12 Thread Greg Michalski
Well lets see here - are you talking about an automated Z touch off plate with 
a script/macro of some kind that moves the tool to a certain machine coordinate 
and touches a plate, triggering the probe circuit and identifying the new Z 
offset value to use then returns to machining after finishing a manual tool 
change?  Or are you looking to adjust the tool table file and use that with a 
rigid holder system that maintains a repeatable Z?  Some details of your 
machine would be helpful - ie: R8 collets, Morse Taper collets, CATxx or NMTBxx 
holders, etc.

I know I have seen something of the Z touch off plate and a set of G-code 
commands that would be a starting point of a script/macro to set the Z offset 
but I'd need to do a bit of searching as I saw that well before I had my 
machine up and running and I haven't finished the basic stuff I want let alone 
gotten into more automation.  It's still off in the horizon for me.  Hopefully 
someone else can lend some more help.

Greg
www.distinctperspectives.com

  - Original Message - 
  From: snoopy 
  To: emc-users@lists.sourceforge.net 
  Sent: Tuesday, August 12, 2008 6:34 AM
  Subject: [Emc-users] New user new problem


  Hi, i am a new Italian Emc user (sorry for english), i have a problem:

  Can I, when emc change tool give o the new tool a new zero?



  Ciao sono un nuovo utente della mailing list, ho un problema con emc2:

  Posso, quando emc riceve m6 cambiare lo zero utensile?

  Può azzerarsi in automatico il nuovo utensile?



  Grazie per le risposte.

No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.6.1/1605 - Release Date: 8/11/2008 4:59 
PM


--


  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
  Build the coolest Linux based applications with Moblin SDK & win great prizes
  Grand prize is a trip for two to an Open Source event anywhere in the world
  http://moblin-contest.org/redirect.php?banner_id=100&url=/


--


  ___
  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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] New user new problem

2008-08-12 Thread Sven Wesley
Isn't this Tool Lenght Compensation/Tool Offset?

--Sven

>
> - Original Message -
> *From:* snoopy <[EMAIL PROTECTED]>
> *To:* emc-users@lists.sourceforge.net
> *Sent:* Tuesday, August 12, 2008 6:34 AM
> *Subject:* [Emc-users] New user new problem
>
>  Hi, i am a new Italian Emc user (sorry for english), i have a problem:
>
> Can I, when emc change tool give o the new tool a new zero?
>
>
>
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Repost: Teach with joystick. (Welding)

2008-08-12 Thread Bjørn Kristiansen
Hi.
i have been playing with the tougth for a while, can you use the probe
function. in my case move to a position press a button conected to probe
in to record the coordinates and then go on to the next poss.. or if you
ned a track just get a switching signal to the probe pin, and then if
you adjust the speed of the switcing you would get as many coordinates
as you need to get a smooth mowement to a robot. could i be on to
somehing??

Bjørn.

ti., 12.08.2008 kl. 12.29 -0400, skrev Organic Engines:
> Hi Craig,
> 
> > 1.  Software to Generate basic G-code from a sequence of positions 
> > should not be a very difficult problem.
> 
>   I was thinking there would need to be a time component though. A click 
> track.
> 
> > 2.  It would seem to me that welding a good bead (not spot welding) 
> > would require either very consistent materials or some feedback on 
> > puddle properties.  Puddle properties could be measured from a visual 
> > and/or IR image.  Measuring welding voltage/current might also be useful.
> > (It has been some years since I considered this problem, so good 
> > technical solutions may since have been found.)
> > Craig 
> 
>   Yeah, consistent materials and a solid jig is what I am hoping will do 
> the trick. Weld seam tracking and all that jazzy stuff is probably 
> overkill, but can be added if necessary.
> 
>   I think if EMC can record my welding with the joysticks accurately 
> enough, dwell this long at this amperage, feed this much wire, etc. all 
> will be well.
> 
>   Dan.
> 
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stepper configuration

2008-08-12 Thread Eric H. Johnson
Sebastian,

I updated to the latest release, and started playing with hostmot2. I ran
the following commands under halcmd:

loadrt hostmot2
loadrt hm2_5i20 config="firmware=hm_5i20 num_stepgens=2 num_pwmgens=1
num_encoders=0"

I then did a "show pin", which returned no pins. Shouldn't I be seeing pins
at that point?

Thanks,
Eric



I've tried to describe how all this works in the hostmot2 manpage, take a
look at it and let me know what parts of it are unclear or incomplete.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RELEASED: emc 2.2.6

2008-08-12 Thread Terry
Jeff,
  I want to update to the new version on a machine not
connected to the internet.When I went to the link
on the page you gave below I got several choices.
Release
Release.gpg
Release.gz

The others have different dates so I assume I dont want them.
Does .gz mean its compressed?

Which one of these would I load on a USB stick and take to the machine?
Or do I need them all?
Be kind its my first update.

Thanks 

Terry





On Mon Aug 11  7:15 , Jeff Epler <[EMAIL PROTECTED]> sent:

>I'm sorry that the release notes didn't include adequate installation
>instructions.
>
>Unlike some other operating systems, Ubuntu provides a unified update
>manager for all software--there's no need for a different one to learn
>for each software package.  If you're running the standard desktop
>environment and have a configured internet connection, you'll simply get
>a notification that updates are available, and then you're one click
>from downloading and installing the updates. 
>
>If you don't, then you can download the new installation file on another
>computer that does have an internet connection.
>
>The wiki has more information here, including links to the location to
>manually download the installation files:
>http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl\?InstallingUpdates
>I will try to include this link in future release announcements.
>
>We don't build a new bootable .iso image for each point release for two
>main reasons.  First, it takes a fair amount of time and testing and
>nobody has volunteered time to do it.  Second, a bootable CD is not
>suitable for updating already-installed systems and we do not want users
>to believe that they have to lose all their settings and files just to
>install an updated emc version.
>
>Jeff
>
>-
>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>Build the coolest Linux based applications with Moblin SDK & win great prizes
>Grand prize is a trip for two to an Open Source event anywhere in the world
>http://moblin-contest.org/redirect.php\?banner_id=100&url=/
>___
>Emc-users mailing list
>Emc-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-users


 Msg sent via CableONE.net MyMail - http://www.cableone.net
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RELEASED: emc 2.2.6

2008-08-12 Thread Kirk Wallace
On Tue, 2008-08-12 at 19:42 -0700, Terry wrote:
> Jeff,
>   I want to update to the new version on a machine not
> connected to the internet.When I went to the link
> on the page you gave below I got several choices.
> Release
> Release.gpg
> Release.gz
> 
> The others have different dates so I assume I dont want them.
> Does .gz mean its compressed?
> 
> Which one of these would I load on a USB stick and take to the machine?
> Or do I need them all?
> Be kind its my first update.
> 
> Thanks 
> 
> Terry

The wiki seems to indicate that you need a .deb file. Do you currently
have Ubuntu 6.06 Dapper or 8.04 Heron?

-- 
Kirk Wallace (California, USA
http://www.wallacecompany.com/machine_shop/ 
Hardinge HNC/EMC CNC lathe,
Bridgeport mill conversion, doing XY now,
Zubal lathe conversion pending
Craftsman AA 109 restoration
Shizuoka ST-N/EMC CNC)


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stepper configuration

2008-08-12 Thread Sebastian Kuzminsky
Eric H. Johnson wrote:
> Sebastian,
> 
> I updated to the latest release, and started playing with hostmot2. I ran the 
> following commands under halcmd:
> 
> loadrt hostmot2 loadrt hm2_5i20 config="firmware=hm_5i20 num_stepgens=2 
> num_pwmgens=1 num_encoders=0"
> 
> I then did a "show pin", which returned no pins. Shouldn't I be seeing pins 
> at that point?


Excellent, thanks for trying it out!  What you did looks almost right, the only 
problem I see there is the firmware part of the config argument.

There are several hostmot2 firmwares available for the 5i20, and the 
"firmware=" part needs to name a specific one, located where the driver can 
find it.  The hostmot2 driver uses the standard kernel firmware loading 
mechanism, which means the firmware must be accessible in /lib/firmware.

The first step is putting the firmwares where the loader can find them:

 If you installed EMC2 from the Debian package, the firmwares are already 
there and you dont need to do anything.

 If instead you checked out the CVS tree and are using run-in-place, you 
need to symlink the hostmot2 firmware directory to /lib/firmware with a command 
like this:

 sudo ln -s 
$HOME/my/emc2/sandbox/src/hal/drivers/mesa-hostmot2/firmware /lib/firmware/hm2
 (change the source path to point to your actual sandbox)


Once that's done we can pick a firmware file to load.  You can see the 
available files by looking in /lib/firmware/hm2/5i20; each .BIT file is a 
firmware file you can tell the driver to load.  The firmwares available in 
2.2.6 are:

0 [EMAIL PROTECTED] /home/seb>  ls -1 /lib/firmware/hm2/5i20/*.BIT
/lib/firmware/hm2/5i20/SV12.BIT
/lib/firmware/hm2/5i20/SVST2_8.BIT
/lib/firmware/hm2/5i20/SVST8_4.BIT

"SV12" means 12 servo channels.  "SVST2_8" means 2 servos and 8 steppers.  
"SVST8_4" means 8 servos and 4 steppers.  Either of the last two would work 
with the rest of the config line you specified; let's say you want SVST8_4.BIT. 
 You'd use a loadrt line like this:

 loadrt hm2_5i20 config="firmware=hm2/5i20/SVST8_4.BIT num_stepgens=2 
num_pwmgens=1 num_encoders=0"


Give that a try and let me know how it goes.  :-)

Oh yeah, and if it doesnt work, please attach the file /var/log/syslog to the 
next email.


-- 
Sebastian Kuzminsky
Cryogenic travel has improved since then...  I woke screaming in a
translucent box.  “There, there,” said the box. “Everything will be all
right. Have some coffee.”  -- Ken Macleod, "Who's afraid of Wolf 359"


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stepper configuration

2008-08-12 Thread Sebastian Kuzminsky
Jon Elson wrote:
> Sebastian Kuzminsky wrote:
>> Jon Elson wrote:
>>> OK, same problem as my PPMC line, then.  But, 1 KHz isn't fast 
>>> enough?  Or, does handling the Mesa's 72 I/O points take a lot 
>>> longer than my 24?
>>
>> I haven't done speed tests of the 7i43 with hostmot2 for a while, but i 
>> think low ones of KHz update rates are reasonable.  Say 1-4 KHz or so. 
>> That's for reading all the encoders, stepgens, and gpios, and writing 
>> all the pwmgens, stepgens, and gpios.
> 
> OK, that is reasonably close to what I'm getting, considering 
> the greater I/O points.  I can run up to 10 KHz with one of my 
> UPC or USC boards with on-motherboard PP on a 600 MHz pentium 
> II.  I can go to 5 KHz with 2 UPC's, so that's 8 axes 16 digital 
> outs and 31 digital ins, on the same machine.  I can probably go 
> to 10 KHz with 2 boards with a PCI parallel port and a little 
> faster CPU.

That 1-4 KHz figure is an old measurement I remembered for 4-channel 
servo control (on the 7i43 board): read 4 encoder counts (counted by the 
FPGA), do 4-channel pid in emc2, then write 4 PWMs.

I ran some tests tonight on my development machine, a single-processor 
Celeron running at 2.6 GHz.  Please remember that the driver is still 
under development and basically not optimized at all: these figures may 
change in the future.

The values for "time" reported below is the average time taken by the 
function (measurement is approximate average of 10 or so random 
samples).  The values for "tmax" is the longest time taken by the 
function after a few minutes of runtime.  All times in microseconds.


7i43:

 pet_watchdog (or else it bites) time=47, tmax=57

 read (4 encoders, 4 steppers, 48 gpio inputs) time=245, tmax=260
 write (4 pwmgens, 4 steppers, 48 gpio outputs) time=235, tmax=637

 read_gpio (48 gpio inputs) time=37, tmax=49
 write_gpio (48 gpio outputs) time=35, tmax=46


So if we're just talking about reading & writing gpios, you can do that 
at about 7 KHz and still have 50% of your CPU time left over for other 
things.  Or 2 KHz if you want the watchdog enabled.


If I disable the steppers on the 7i43 (with config="num_steppers=0") and 
run it with 4 servo channels (and 24 accessible GPIOs), I get these figures:

 read time=191, tmax=203
 write time=190, tmax=239

That's about 1 KHz.


And just for fun, the numbers for the 5i20:

 pet_watchdog (or else it bites) time=6, tmax=13

 read (8 encoders, 4 steppers, 72 gpio inputs) time=52, tmax=62
 write (8 pwmgens, 4 steppers, 72 gpio outputs) time=15, tmax=27

 read_gpio (72 gpio inputs) time=13, tmax=42
 write_gpio (72 gpio outputs) time=5, tmax=12


-- 
Sebastian Kuzminsky
Cryogenic travel has improved since then...  I woke screaming in a
translucent box.  “There, there,” said the box. “Everything will be all
right. Have some coffee.”  -- Ken Macleod, "Who's afraid of Wolf 359"


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stepper configuration

2008-08-12 Thread Jon Elson
Sebastian Kuzminsky wrote:
> Jon Elson wrote:
> 
>>Sebastian Kuzminsky wrote:
>>
>>>Jon Elson wrote:
>>>
OK, same problem as my PPMC line, then.  But, 1 KHz isn't fast 
enough?  Or, does handling the Mesa's 72 I/O points take a lot 
longer than my 24?
>>>
>>>I haven't done speed tests of the 7i43 with hostmot2 for a while, but i 
>>>think low ones of KHz update rates are reasonable.  Say 1-4 KHz or so. 
>>>That's for reading all the encoders, stepgens, and gpios, and writing 
>>>all the pwmgens, stepgens, and gpios.
>>
>>OK, that is reasonably close to what I'm getting, considering 
>>the greater I/O points.  I can run up to 10 KHz with one of my 
>>UPC or USC boards with on-motherboard PP on a 600 MHz pentium 
>>II.  I can go to 5 KHz with 2 UPC's, so that's 8 axes 16 digital 
>>outs and 31 digital ins, on the same machine.  I can probably go 
>>to 10 KHz with 2 boards with a PCI parallel port and a little 
>>faster CPU.
> 
> 
> That 1-4 KHz figure is an old measurement I remembered for 4-channel 
> servo control (on the 7i43 board): read 4 encoder counts (counted by the 
> FPGA), do 4-channel pid in emc2, then write 4 PWMs.
> 
> I ran some tests tonight on my development machine, a single-processor 
> Celeron running at 2.6 GHz.  Please remember that the driver is still 
> under development and basically not optimized at all: these figures may 
> change in the future.
> 
> The values for "time" reported below is the average time taken by the 
> function (measurement is approximate average of 10 or so random 
> samples).  The values for "tmax" is the longest time taken by the 
> function after a few minutes of runtime.  All times in microseconds.
> 
> 
> 7i43:
> 
>  pet_watchdog (or else it bites) time=47, tmax=57
> 
>  read (4 encoders, 4 steppers, 48 gpio inputs) time=245, tmax=260
>  write (4 pwmgens, 4 steppers, 48 gpio outputs) time=235, tmax=637
> 
>  read_gpio (48 gpio inputs) time=37, tmax=49
>  write_gpio (48 gpio outputs) time=35, tmax=46
> 
> 
> So if we're just talking about reading & writing gpios, you can do that 
> at about 7 KHz and still have 50% of your CPU time left over for other 
> things.  Or 2 KHz if you want the watchdog enabled.
> 
> 
> If I disable the steppers on the 7i43 (with config="num_steppers=0") and 
> run it with 4 servo channels (and 24 accessible GPIOs), I get these figures:
> 
>  read time=191, tmax=203
>  write time=190, tmax=239
> 
> That's about 1 KHz.
> 
Very interesting!  I wonder if you can improve this by 
streamlining the driver.  I can do 4 axes on my USC or UPC board 
at about 100 us, on a 600 MHz Pentium II through the motherboard 
parallel port.  A safe 5 KHz.
> 
> And just for fun, the numbers for the 5i20:
> 
>  pet_watchdog (or else it bites) time=6, tmax=13
> 
>  read (8 encoders, 4 steppers, 72 gpio inputs) time=52, tmax=62
>  write (8 pwmgens, 4 steppers, 72 gpio outputs) time=15, tmax=27
> 
>  read_gpio (72 gpio inputs) time=13, tmax=42
>  write_gpio (72 gpio outputs) time=5, tmax=12
> 
> 

Well, it certainly shows the effect of the parallel port on the 
7i43!

Jon

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Tool orientation in AXIS

2008-08-12 Thread Alex Joni
You could define a bogus B-axis and use a G0B90 .. but I'm not sure how nice 
that is

Regards,
Alex

- Original Message - 
From: "juanjo" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, August 13, 2008 1:00 AM
Subject: [Emc-users] Tool orientation in AXIS


> Hello Guys.
>
> Anubody Kown if a way to change the orientation of the Tool in the
> the AXIS gui?
>
> i like to see the tool in a horizontal way (not vertically)
> like a Horizontal machining center.
>
> -- 
> Best regards,
> juanjo  mailto:[EMAIL PROTECTED]
>


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RELEASED: emc 2.2.6

2008-08-12 Thread Alex Joni
You need either :

http://www.linuxcnc.org/emc2/dists/dapper/emc2.2/binary-i386/emc2_2.2.6_i386.deb
 
(for dapper)

or

http://www.linuxcnc.org/hardy/dists/hardy/emc2.2/binary-i386/emc2_2.2.6_i386.deb
 
(for hardy - i386 - most likely)

or

http://www.linuxcnc.org/hardy/dists/hardy/emc2.2/binary-amd64/emc2_2.2.6_amd64.deb
 
(for hardy - amd64 bit machine - less likely, for this platform there is no 
LiveCD currently)

Regards,
Alex


- Original Message - 
From: "Kirk Wallace" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" ; 
<[EMAIL PROTECTED]>
Sent: Wednesday, August 13, 2008 5:59 AM
Subject: Re: [Emc-users] RELEASED: emc 2.2.6


> On Tue, 2008-08-12 at 19:42 -0700, Terry wrote:
>> Jeff,
>>   I want to update to the new version on a machine not
>> connected to the internet.When I went to the link
>> on the page you gave below I got several choices.
>> Release
>> Release.gpg
>> Release.gz
>>
>> The others have different dates so I assume I dont want them.
>> Does .gz mean its compressed?
>>
>> Which one of these would I load on a USB stick and take to the machine?
>> Or do I need them all?
>> Be kind its my first update.
>>
>> Thanks
>>
>> Terry
>
> The wiki seems to indicate that you need a .deb file. Do you currently
> have Ubuntu 6.06 Dapper or 8.04 Heron?
>
> -- 
> Kirk Wallace (California, USA
> http://www.wallacecompany.com/machine_shop/
> Hardinge HNC/EMC CNC lathe,
> Bridgeport mill conversion, doing XY now,
> Zubal lathe conversion pending
> Craftsman AA 109 restoration
> Shizuoka ST-N/EMC CNC)
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users