Re: [Emc-users] M0 vs Cycle start button

2007-02-26 Thread Glenn R. Edwards
I am interested in getting manual tool change to work and I have
followed the below instructions.  When I issue an M6 T1, the machine
does not move the 4th axis (angular: C) to the position set in the ini
file: TOOL_CHANGE_POSITION = 4 5 10 90.  Any suggestions?  Thanks!

Best regards,
-- --
Glenn 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Patrick
Giasson
Sent: Sunday, February 25, 2007 6:37 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] M0 vs Cycle start button

Thank you, it works with axis, which will be fine with me. If others are

looking for a solution to this problem, don't forget that you need the 
following line too:

linkpp iocontrol.0.tool-prepare iocontrol.0.tool-prepared


with the other 5 below.


Thanks again


Patrick


Jeff Epler wrote:
 For emc2.1 systems with manual tool change, I recommend using
 'hal_manualtoolchange'.  This is demonstrated in the 'sim/axis'
 configuration.  When you issue a tool change g-code like 'M6 T1', the
 machine goes to a location defined in the INI, then a dialog appears
on
 the screen with a button for you to press when the new tool is in
place.
 Then the machine returns to the previous location and continues with
the
 file.  The HAL lines for this are:
 loadusr -W hal_manualtoolchange

 # in case they were linked already
 unlinkp iocontrol.0.tool-change
 unlinkp iocontrol.0.tool-changed

 linkpp hal_manualtoolchange.change iocontrol.0.tool-change 
 linkpp hal_manualtoolchange.changed iocontrol.0.tool-changed
 linkpp hal_manualtoolchange.number iocontrol.0.tool-prep-number

 You can specify the location to move to in the ini file:
 [EMCIO]
 TOOL_CHANGE_POSITION = 0 0 2

 If you prefer to use only tkemc, then the button you are looking for
is
 the one marked Resume, in the center just above the program listing.

 Jeff



-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
share your
 opinions on IT  business topics through brief surveys-and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

   



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] M0 vs Cycle start button

2007-02-26 Thread Alex Joni
I suspect you need :
4 5 10 0 0 90
for angular C to go to 90.

Just my 2 cents,
Alex

- Original Message - 
From: Glenn R. Edwards [EMAIL PROTECTED]
To: 'Enhanced Machine Controller (EMC)' 
emc-users@lists.sourceforge.net
Sent: Monday, February 26, 2007 8:29 PM
Subject: Re: [Emc-users] M0 vs Cycle start button


I am interested in getting manual tool change to work and I have
 followed the below instructions.  When I issue an M6 T1, the machine
 does not move the 4th axis (angular: C) to the position set in the 
 ini
 file: TOOL_CHANGE_POSITION = 4 5 10 90.  Any suggestions?  Thanks!

 Best regards,
 -- --
 Glenn


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Patrick
 Giasson
 Sent: Sunday, February 25, 2007 6:37 AM
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] M0 vs Cycle start button

 Thank you, it works with axis, which will be fine with me. If others 
 are

 looking for a solution to this problem, don't forget that you need 
 the
 following line too:

 linkpp iocontrol.0.tool-prepare iocontrol.0.tool-prepared


 with the other 5 below.


 Thanks again


 Patrick


 Jeff Epler wrote:
 For emc2.1 systems with manual tool change, I recommend using
 'hal_manualtoolchange'.  This is demonstrated in the 'sim/axis'
 configuration.  When you issue a tool change g-code like 'M6 T1', 
 the
 machine goes to a location defined in the INI, then a dialog 
 appears
 on
 the screen with a button for you to press when the new tool is in
 place.
 Then the machine returns to the previous location and continues 
 with
 the
 file.  The HAL lines for this are:
 loadusr -W hal_manualtoolchange

 # in case they were linked already
 unlinkp iocontrol.0.tool-change
 unlinkp iocontrol.0.tool-changed

 linkpp hal_manualtoolchange.change iocontrol.0.tool-change
 linkpp hal_manualtoolchange.changed iocontrol.0.tool-changed
 linkpp hal_manualtoolchange.number iocontrol.0.tool-prep-number

 You can specify the location to move to in the ini file:
 [EMCIO]
 TOOL_CHANGE_POSITION = 0 0 2

 If you prefer to use only tkemc, then the button you are looking 
 for
 is
 the one marked Resume, in the center just above the program 
 listing.

 Jeff


 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
 opinions on IT  business topics through brief surveys-and earn 
 cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
 V
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to 
 share
 your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
 V
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to 
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




 -- 
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.446 / Virus Database: 268.18.3/700 - Release Date: 
 24.2.2007 20:14

 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] M0 vs Cycle start button

2007-02-26 Thread Jeff Epler
It looks like the TOOL_CHANGE_POSITION can only set the XYZ location.
The ABC location is hardcoded to be 0,0,0 (src/emc/task/emccanon.cc
around line 1184 and src/emc/ini/initool.cc around line 77).

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] M0 vs Cycle start button

2007-02-24 Thread Jeff Epler
For emc2.1 systems with manual tool change, I recommend using
'hal_manualtoolchange'.  This is demonstrated in the 'sim/axis'
configuration.  When you issue a tool change g-code like 'M6 T1', the
machine goes to a location defined in the INI, then a dialog appears on
the screen with a button for you to press when the new tool is in place.
Then the machine returns to the previous location and continues with the
file.  The HAL lines for this are:
loadusr -W hal_manualtoolchange

# in case they were linked already
unlinkp iocontrol.0.tool-change
unlinkp iocontrol.0.tool-changed

linkpp hal_manualtoolchange.change iocontrol.0.tool-change 
linkpp hal_manualtoolchange.changed iocontrol.0.tool-changed
linkpp hal_manualtoolchange.number iocontrol.0.tool-prep-number

You can specify the location to move to in the ini file:
[EMCIO]
TOOL_CHANGE_POSITION = 0 0 2

If you prefer to use only tkemc, then the button you are looking for is
the one marked Resume, in the center just above the program listing.

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] M0 vs Cycle start button

2007-02-24 Thread Patrick Giasson
First post here, I hope I don't mess up :-)


I began using emc2 for my little PCB milling about a month ago. It's 
great! It works very well, and best of all I can use networking of linux 
to get files, as opposed to floppy and DOS with turbocnc.

I have a little question though. When comes time to drill my PCB, the 
CAM programs tries to use many drill size and so I must change tools. 
For this, I must manually change the drill. I tried to put a M0 
immediately after the M06 command to give me time to change the drill. 
The problem I have is I just can't get the program to continue after the 
M0. The Run button on the Tkecm interface start back from the 
beginning, Resume seems to work only with Pause. In the manual, it 
is said that one must use the Cycle Start Button to continue after a 
M0 or M1 command. Where is this button?. If I take a look at the 
demo_mazak project, there is mention of this, but I just can't find 
where is the linked pin to the HAL interface. They create a signal, then 
link this signal to a hardware pin, but not to a software pin.

Am I missing something?

Ah, and while I'm here. Is there any way to slow the backlash 
compensation? I have little backlash in my mechanical device and when 
changing direction, the axis bang at what seems maximum speed to 
compensate for backlash. I'd prefer a smoother action. Is it possible?


Thanks

Patrick Giasson


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users