Re: [Emc-users] Help with Lathe Codes

2007-07-21 Thread Dave Engvall
I suppose you could adapt some of these:

http://www.machinetoolhelp.com/Applications/Haas_G-M-codes.html

the parts chute one is there.

Good luck!

Dave
On Jul 21, 2007, at 8:41 PM, Kirk Wallace wrote:

> I need to start thinking about how to handle some of the remaining
> issues with my Hardinge lathe. Some of the items on my todo list:
>
> Spindle Lock Pin
>   It has a micro-switch to sense engagement.
>
>   I could tie it to the e-stop chain, but that seems a
>   little drastic.
> I would like to display a message and lockout certain events.
>
> Cutoff Slide
>   It has an extend SSR, retract SSR and limit switch.
>
>   I need a new g-code or use an m1xx?
>
> Collet Closer
>   It has an open SSR and close SSR
>
>   I need a new g-code or use m1xx?
>
> Part Chute
>   It has an extend SSR
>
>   I need a g-code or use m1xx?
>
> I am planning on hooking up the SSR's to a second parallel port. Then
> telling HAL to connect the pins to signals is pretty straight forward.
> The trick is in what functions to connect the signals to. I could  
> really
> use some pointers on what methods are used to create custom installs,
> new g-codes, etcetera. The document:
>  http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ToolChangerImplementation
> mentions making changes to tkio and iosh, but looking at these  
> files is
> like watching the circus through a peep hole, its hard to get the  
> whole
> picture. Thanks.
>
> Kirk Wallace
>
>
>
> -- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Help with Lathe Codes

2007-07-21 Thread Jon Elson
Kirk Wallace wrote:
> I need to start thinking about how to handle some of the remaining
> issues with my Hardinge lathe. Some of the items on my todo list:
> 
> Spindle Lock Pin
>   It has a micro-switch to sense engagement.
> 
>   I could tie it to the e-stop chain, but that seems a 
>   little drastic.
> I would like to display a message and lockout certain events.
> 
Well, what do you use spindle lock for?  To hold the spindle 
while changing chucks?  If so, tying it into e-stop seems pretty 
reasonable.

The rest of your questions I'm even less sure of.  There is a 
facility to set up new M codes for special functions, that is 
most likely the best way.

Jon

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Help with Lathe Codes

2007-07-21 Thread Kirk Wallace
I need to start thinking about how to handle some of the remaining
issues with my Hardinge lathe. Some of the items on my todo list:

Spindle Lock Pin
  It has a micro-switch to sense engagement.

  I could tie it to the e-stop chain, but that seems a 
  little drastic.
I would like to display a message and lockout certain events.

Cutoff Slide
  It has an extend SSR, retract SSR and limit switch.

  I need a new g-code or use an m1xx?

Collet Closer
  It has an open SSR and close SSR

  I need a new g-code or use m1xx?

Part Chute
  It has an extend SSR

  I need a g-code or use m1xx?

I am planning on hooking up the SSR's to a second parallel port. Then
telling HAL to connect the pins to signals is pretty straight forward.
The trick is in what functions to connect the signals to. I could really
use some pointers on what methods are used to create custom installs,
new g-codes, etcetera. The document:
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ToolChangerImplementation
mentions making changes to tkio and iosh, but looking at these files is
like watching the circus through a peep hole, its hard to get the whole
picture. Thanks.

Kirk Wallace



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ThinkPad Realtime error

2007-07-21 Thread Jon Elson
Energy Drink wrote:
> 
> Thanks I will test these utilities.
> The unwanted stepping is resolved! My 12vdc power to my LPT-board did give a 
> very unclean dc, that did result in the unwanted servo movement ~3steps/sec. 
> Now it runs very very smoth.
Oh, glad you found this in external hardware.  I had a couple 
thoughts that this could possibly be due to a printer driver or 
something, but wasn't at all sure, so I didn't mention it.

Jon

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ThinkPad Realtime error

2007-07-21 Thread Energy Drink
> Energy Drink wrote:
>> Like it says somthing is wrong with the realtime config. It did work well
>> with the live CD, exept the stepping, any ideas? I have tested all the
>> different bios setings.
> VERY interesting!  It might be useful to boot up on the CD again
> (live) and run a few utilities.  One is lsmod (may have to use
> /sbin/lsmod) to list all the drivers (and real time modules)
> installed on the kernel.  Compare the list between live and
> booted from the hard drive to see what other facilities are
> being supported with the hard drive install.  (Another useful
> utility in general is ps xa, which lists all running processes.
> Not necessarily the problem, but it might also give some
> indication of functions that are being supported on the various
> systems.)  You can also check in the window manager's settings
> or configurations menus to see how the Xwindows configuration
> and options are set.  There should be some settings for
> acceleration features of the video system that might show
> differences between the two.  The live-CD setup is a very
> conservative one, since you can't change stuff permanently, and
> you'd have to make the change every time you boot from CD.
>
> But, Steve mentioned the power management stuff, and that is
> very likely to be the cause.  Battery management functions seem
> to cause long pauses on a number of systems.
>
> Jon
Thanks I will test these utilities.
The unwanted stepping is resolved! My 12vdc power to my LPT-board did give a 
very unclean dc, that did result in the unwanted servo movement ~3steps/sec. 
Now it runs very very smoth.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Machine Configuration Directory

2007-07-21 Thread jet1024
Ok I feel dumb now... I found it in the desktop properties...

Sorry to take up bandwidth

John

>Ok I have EMC2 up and running on Unbuntu and that went well. Now I've 
started to 
>play around with the sims and have the following problem after renaming 
the config 
>directory from "sim" to "axis sim". I can not find the correct place to 
configure the 
>machine configuration directory. 

>Of course I get the error:
>Could not find ini file...

>Thanks
>John


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Machine Configuration Directory

2007-07-21 Thread jet1024
Ok I have EMC2 up and running on Unbuntu and that went well. Now I've started 
to 
play around with the sims and have the following problem after renaming the 
config 
directory from "sim" to "axis sim". I can not find the correct place to 
configure the 
machine configuration directory. 

Of course I get the error:
Could not find ini file...

Thanks
John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] cannot use halmeter and halscope, RTAPI error

2007-07-21 Thread Manfredi Leto
When you use the Run-In-Place option, in order to use halscope, halmeter or 
just halcmd, you should launch by terminal the script emc-environment, from 
the directory where you have installed emc2 Run-In-Place type:

. scripts/emc-environment

regards,

Manfredi

My websites: www.m24-pro.com
  www.emc2cnc.altervista.org





>From: "Xuecheng Xi" <[EMAIL PROTECTED]>
>Reply-To: "Enhanced Machine Controller (EMC)" 
>
>To: emc-users@lists.sourceforge.net
>Subject: [Emc-users] cannot use halmeter and halscope, RTAPI error
>Date: Sat, 21 Jul 2007 15:59:18 +0800
>
>Dear all,
>
>I have used the latest version EMC2.1.6, but I fail to use halscope
>and halmeter.
>The errors are:
>
>RTAPI: ERROR: version mismatch 530 vs 529
>HAL: ERROR: rtapi init failed.
>
>I downloaded the source code for emc2.1.6, and compile with
>./configure --enable-run-in-place
>make && sudo make setuid
>
>I also used an very old version of EMC2 - pre-2.1.  Is the new version
>conflicting with the old version? can anyone kindly tell how to solve
>this problem?
>
>regards
>Xuecheng
>
>-
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2005.
>http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>___
>Emc-users mailing list
>Emc-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-users

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] cannot use halmeter and halscope, RTAPI error

2007-07-21 Thread Xuecheng Xi
Dear all,

I have used the latest version EMC2.1.6, but I fail to use halscope
and halmeter.
The errors are:

RTAPI: ERROR: version mismatch 530 vs 529
HAL: ERROR: rtapi init failed.

I downloaded the source code for emc2.1.6, and compile with
./configure --enable-run-in-place
make && sudo make setuid

I also used an very old version of EMC2 - pre-2.1.  Is the new version
conflicting with the old version? can anyone kindly tell how to solve
this problem?

regards
Xuecheng

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users