[Emc-users] problem compiling the trunk version of EMC2

2007-05-17 Thread Manfredi Leto

Hi,

I've a problem compiling the trunk version of emc2.
Configure goes ok, without warnings.
While compiling I get this error message:

hal/utils/halsh.c: In function ‘Hal_Init’:
hal/utils/halsh.c:93: warning: passing argument 3 of ‘Tcl_CreateCommand’ 
from incompatible pointer type

hal/utils/halsh.c: In function ‘halcmd_output’:
hal/utils/halsh.c:104: error: ‘va_list’ undeclared (first use in this 
function)
hal/utils/halsh.c:104: error: (Each undeclared identifier is reported only 
once

hal/utils/halsh.c:104: error: for each function it appears in.)
hal/utils/halsh.c:104: error: syntax error before ‘ap’
hal/utils/halsh.c:107: warning: implicit declaration of function ‘va_start’
hal/utils/halsh.c:107: error: ‘ap’ undeclared (first use in this function)
hal/utils/halsh.c:109: warning: implicit declaration of function ‘va_end’
make: *** [objects/hal/utils/halsh.o] Error 1


Any suggestions?

Thank you.

Manfredi

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





From: "Kasparov, Aram" <[EMAIL PROTECTED]>
Reply-To: "Enhanced Machine Controller (EMC)" 

To: "Enhanced Machine Controller (EMC)" 
,<[EMAIL PROTECTED]>

CC: emc-users@lists.sourceforge.net
Subject: [Emc-users] I need Used and New Milling CNC Machines.
Date: Wed, 16 May 2007 02:05:59 -0700




>From Conceptmachinery

1812 NE 104 st # 338

971-570-3581

Aram Kasparov



I am looking a best price for 3 milling machines described below.

I am interesting in any source of that type machine such as used machine 
dealers or shops that want to sell machine.


Controller required to be brand new FANUC to put on machine.

I will offer EMC-2 on Ubuntu 5.11 (Ubuntu 6.06 has a lot of flaws and bugs) 
controller too. That customer want to ran production and he needs stable 
practically proven controller.


I appreciate for any help that you can provide.



1. First Milling Machine.



I am looking for new 4 full axes horizontal milling center of HAAS EC-1600 
or equal to it.


Machine must be brand new.

Question, does Cincinnati/G&L or any other builder produce equivalent type 
of mill?


  General data for this particular Mill.

Axis travel: X 1626mm; Y 1016mm; Z 813mm;

Table, dimensions 1626x813mm

Work piece weight up to 10, 000 lb



Spindle.

 Taper 50.

Speed up to 10,000 rpm

Two stage gear, or better direct drive.

Capable to perform rigid taping.

Power 30 HP



Accuracy of machine +/- 0.0076mm

Repeatability +/- 0.0051



High pressure cooling system 300 psi





2. Second Milling Machine.



This machine can be new or used.



Horizontal milling center.







Table dimensions: 4000mm by 1000mm;



Axis travel: X- 3800mm; Y-1300mm;  Z-1500mm;



Spindle speed: 35-3500 rpm.

First choice no gear box - direct drive.

Second option two-step gear drive.



Ability to perform rigid taping.



Rapid move: 25 meter per minute.



Weight of work piece no less than 10, 000 Lb.



Tool holder: 50 taper.



Controller: Brand New Fanuc.







3. Third Milling Machine.



This machine can be new or used.



Vertical or horizontal milling center.





Table dimensions: 7000mm by 1000mm;



Axis travel: X- 6000mm; Y-1000mm;  Z-1500mm;



Spindle speed: 35-7500 rpm.

First choice no gear box - direct drive.

Second option two-step gear drive.



Ability to perform rigid taping.



Rapid move: 25 meter per minute.



Weight of work piece no less than 10, 000 Lb.



Tool holder: 50 taper.



Controller: Brand New Fanuc


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] problem compiling the trunk version of EMC2

2007-05-17 Thread Manfredi Leto
now compiled...

but when I launch scripts/emc I get the following error:

[EMAIL PROTECTED]:~/emc2-trunk$ scripts/emc
EMC2 - pre-2.2 CVS HEAD
Error in startup script: can't find package msgcat
while executing
"package require msgcat"
(file "/home/manfredi/emc2-trunk/tcl/bin/../emc.tcl" line 49)
invoked from within
"source [file join [file dirname [info script]] .. emc.tcl]"
(file "/home/manfredi/emc2-trunk/tcl/bin/pickconfig.tcl" line 34)

I've the same problem with the pre 2.1.6 version.
I searched for the package msgcat in package manager but I don't find 
it...anyone knows what should I install?

Thanks,

Manfredi

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

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] problem compiling the trunk version of EMC2

2007-05-17 Thread Chris Radek
On Thu, May 17, 2007 at 11:48:56AM +, Manfredi Leto wrote:
> now compiled...
> 
> Error in startup script: can't find package msgcat
> ...
> I searched for the package msgcat in package manager but I don't find 
> it...anyone knows what should I install?

gettext


I found it using apt-file.

$ apt-file search msgcat
...
gettext: usr/bin/msgcat



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] problem compiling the trunk version of EMC2

2007-05-17 Thread Alex Joni
Might not be the same as the tcl msgcat package which tkemc looks for..
Most distros I've seen already have that installed..

Manfredi: can you tell us a bit about your OS / system?

Regards,
Alex

- Original Message - 
From: "Chris Radek" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" 
Sent: Thursday, May 17, 2007 3:12 PM
Subject: Re: [Emc-users] problem compiling the trunk version of EMC2


> On Thu, May 17, 2007 at 11:48:56AM +, Manfredi Leto wrote:
>> now compiled...
>> 
>> Error in startup script: can't find package msgcat
>> ...
>> I searched for the package msgcat in package manager but I don't find 
>> it...anyone knows what should I install?
> 
> gettext
> 
> 
> I found it using apt-file.
> 
> $ apt-file search msgcat
> ...
> gettext: usr/bin/msgcat
> 
> 
>

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] problem compiling the trunk version of EMC2

2007-05-17 Thread Manfredi Leto
The OS is Ubuntu 6.06...the same I use at home.
This is the computer I use at university, so I cannot check other things 
right now because I'm not there, I can try other things tomorrow and will 
let you know what happened. the PC is a P4 on a ASUS P5VD2-MX SE motherboard 
with 512 Mb RAM.

Please note that I've installed packages gettext and tclx8.3 as suggested by 
paul_c and chris, but the result was the same.
Also, I don't know if it is important, the official release of EMC2 2.1.5 
works perfectly.

And...alex said "Might not be the same as the tcl msgcat package which tkemc 
looks for...", but I'm not using tkemc interface...because the config 
selector doesn't open.

thanks,

Manfredi


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





>From: "Alex Joni" <[EMAIL PROTECTED]>
>Reply-To: "Enhanced Machine Controller (EMC)" 
>
>To: "Enhanced Machine Controller (EMC)" 
>Subject: Re: [Emc-users] problem compiling the trunk version of EMC2
>Date: Thu, 17 May 2007 15:21:16 +0300
>
>Might not be the same as the tcl msgcat package which tkemc looks for..
>Most distros I've seen already have that installed..
>
>Manfredi: can you tell us a bit about your OS / system?
>
>Regards,
>Alex
>
>- Original Message -
>From: "Chris Radek" <[EMAIL PROTECTED]>
>To: "Enhanced Machine Controller (EMC)" 
>Sent: Thursday, May 17, 2007 3:12 PM
>Subject: Re: [Emc-users] problem compiling the trunk version of EMC2
>
>
> > On Thu, May 17, 2007 at 11:48:56AM +, Manfredi Leto wrote:
> >> now compiled...
> >>
> >> Error in startup script: can't find package msgcat
> >> ...
> >> I searched for the package msgcat in package manager but I don't find
> >> it...anyone knows what should I install?
> >
> > gettext
> >
> >
> > I found it using apt-file.
> >
> > $ apt-file search msgcat
> > ...
> > gettext: usr/bin/msgcat
> >
> >
> >
>
>-
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>___
>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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] problem compiling the trunk version of EMC2

2007-05-17 Thread John Kasunich
Manfredi Leto wrote:

> Please note that I've installed packages gettext and tclx8.3 as suggested by 
> paul_c and chris, but the result was the same.

The Tcl parts of EMC are not my area of expertise, so this could be 
totally wrong, but I think EMC uses tcl 8.4, not 8.3.

Regards,

John Kasunich

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] homing

2007-05-17 Thread Stuart Stevenson
Gentlemen,
I am still working on my homing problem. I have a screen shot of
the halscope. Where should I upload it to give you access?
thanks
Stuart

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] problem compiling the trunk version of EMC2

2007-05-17 Thread Chris Radek
On Thu, May 17, 2007 at 01:41:13PM +, Manfredi Leto wrote:
> The OS is Ubuntu 6.06...the same I use at home.
> This is the computer I use at university, so I cannot check other things 
> right now because I'm not there, I can try other things tomorrow and will 
> let you know what happened. the PC is a P4 on a ASUS P5VD2-MX SE motherboard 
> with 512 Mb RAM.
> 
> Please note that I've installed packages gettext and tclx8.3 as suggested by 
> paul_c and chris, but the result was the same.
> Also, I don't know if it is important, the official release of EMC2 2.1.5 
> works perfectly.

In that case you should be able to use apt-get build-dep emc2, as it
shows on the wiki page:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Preparing_Ubuntu_to_compile_emc2


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Reset of offsets after running program

2007-05-17 Thread Andy Holcomb
Is there anyway to add this as a feature?

Andy

Kenneth Lerman wrote:
> We *could* have a bit to set in the INI file to kill this feature if the
> owner so desires.
>
> All it would take is an implementor with the proper skills who desired to do
> that.
>
> As long as the default was to "do the right (according to specification)
> thing" I certainly wouldn't object to it.
>
> I, too, am running BDI and using TkEMC. The next time I'm ready to
> reinstall, I'll switch to Axis, but I can understand your frustration.  I'm
> anticipating that the switch might be painful, so I'll probably install the
> new system on a second machine so that I can still get work done as needed
> while I'm playing with the new system.
>
> It is unfortunate that I'll have to do that, but it is a common problem. I
> have the same issue with upgrading/changing my phone system from
> [EMAIL PROTECTED] to Trixbox. I'll need a spare machine for that, too.
>
> Ken
>
> [EMAIL PROTECTED]
> Mark Kenny Products Company, LLC
> 55 Main Street   Voice: (888)ISO-SEVO (888)476-7386
> Newtown, CT 06470Fax: (203)426-9138
> http://www.MarkKenny.com
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Andy
> Holcomb
> Sent: Wednesday, May 16, 2007 2:31 PM
> To: Enhanced Machine Controller (EMC)
> Subject: [Emc-users] Reset of offsets after running program
>
>
> Okay, I am making a request/plea.
>
> Refresher,  I loaded up EMC2 after running BDI for about 3 or 4 years
> and I use TkEMC (because I like it!!!). After running my first program
> EMC2 reset my offsets to what the machine started at. So I asked the
> group  why is it that BDI didn't do this and how come I can't use the
> right click on the axis to set the offset. The jist of the answer I got
> was "because thats not proper edict".
>
> Why can't we have a bit to set in the INI file to kills this feature if
> the owner so desires?
>
> Andy
>
>
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>   

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] homing

2007-05-17 Thread Manfredi Leto
Hi,

try to use imagebin:  http://imagebin.org/

regards,

Manfredi



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





>From: "Stuart Stevenson" <[EMAIL PROTECTED]>
>Reply-To: "Enhanced Machine Controller (EMC)" 
>
>To: Emc-users@lists.sourceforge.net
>Subject: [Emc-users] homing
>Date: Thu, 17 May 2007 08:52:59 -0500
>
>Gentlemen,
> I am still working on my homing problem. I have a screen shot of
>the halscope. Where should I upload it to give you access?
>thanks
>Stuart
>
>-
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>___
>Emc-users mailing list
>Emc-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-users

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] why does the spindle signal not get droped when EMC2 goes into e stop?

2007-05-17 Thread Alfred Smart
 when I put EMC2 into estop from halui the spindle signal stays true and the 
coolant signals goes false.
the trouble is I can not clear the signal to the spindle until I'm out of estop 
and the spindle stays running.
why does the coolant get dropped and not the spindle signal with it?
what is the criteria for EMC2 to put itself into estop is it only limit 
switches?
can this be a problem or should I not be concerned?

one more question I used  (halui.program.run)  for a run program hardware 
button and the halui run button will not work now.
can it be tied to both, or does it create duplicate signals, and it's one or 
the other?
 Thanks Al
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] why does the spindle signal not get droped when EMC2 goes into e stop?

2007-05-17 Thread Chris Radek
On Thu, May 17, 2007 at 10:24:57AM -0400, Alfred Smart wrote:
>  when I put EMC2 into estop from halui the spindle signal stays true and the 
> coolant signals goes false.
> the trouble is I can not clear the signal to the spindle until I'm out of 
> estop and the spindle stays running.
> why does the coolant get dropped and not the spindle signal with it?
> what is the criteria for EMC2 to put itself into estop is it only limit 
> switches?
> can this be a problem or should I not be concerned?

I think this was just a bug and is fixed.  Maybe you are not running a
current version?  You don't say what version you have.

> one more question I used  (halui.program.run)  for a run program hardware 
> button and the halui run button will not work now.
> can it be tied to both, or does it create duplicate signals, and it's one or 
> the other?
>  Thanks Al

sorry, I don't understand this question.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Reset of offsets after running program

2007-05-17 Thread Andy Holcomb
I just run a % sign at the start and end of my programs, nothing else
Andy

Jon Elson wrote:
> Andy Holcomb wrote:
>   
>> Okay, I am making a request/plea.
>>
>> Refresher,  I loaded up EMC2 after running BDI for about 3 or 4 years
>> and I use TkEMC (because I like it!!!). After running my first program
>> EMC2 reset my offsets to what the machine started at. So I asked the
>> group  why is it that BDI didn't do this and how come I can't use the
>> right click on the axis to set the offset. The jist of the answer I got
>> was "because thats not proper edict".
>> 
> One trick is to not have an M02 at the end of the program.  This 
> gets a warning message, but doesn't reset the offsets.  I think 
> you can reinstate the offsets with G92.3.
>
> Jon
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>   

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] homing

2007-05-17 Thread Stuart Stevenson
Gentlemen,
I have uploaded a picture to imagebin. The name of the picture is stustev.
This is a screen shot of the feedback from the homing cycle of my
machine. I am using ppmc boards and EMC2-head.
The machine moves positive to the home switch.
I have the latch velocity set very low.
The machine reverses direction.
The machine display sets to zero and counts very slow.
The machine will stop momentarily.
The display will set to a number that seems to be the disance to
the start up position.
The machine then moves to the start up position. (display zero)
The display turns green.
Take a look at the screen shot.
Thanks
Stuart

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] ENC: G02 and G03 dont Close a Circle

2007-05-17 Thread Fabricio Funes
 

 

  _  

De: Fabricio Funes [mailto:[EMAIL PROTECTED] 
Enviada em: quinta-feira, 17 de maio de 2007 20:10
Para: 'emc-users@lists.sourceforge.net'
Assunto: ENC: G02 and G03 dont Close a Circle

 

Hi ,

 

I'm using servo-motor with a Vital system. When I  use the command G02 or
G03 the circle Don't Close. But  in the EMC2 Graphical simulation it's close
Very Well.

 

How I do to resolve this problem .

 

Thank's 

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ENC: G02 and G03 dont Close a Circle

2007-05-17 Thread Chris Radek
On Thu, May 17, 2007 at 08:18:20PM -0400, Fabricio Funes wrote:
> 
> I'm using servo-motor with a Vital system. When I  use the command G02 or
> G03 the circle Don't Close. But  in the EMC2 Graphical simulation it's close
> Very Well.
> 
> How I do to resolve this problem .

Hi Fabricio, you don't give a lot of details about the situation that
is giving you trouble so I am making a bit of a guess.  If you need to
go to exactly the endpoints of every segment and you want to avoid
rounded corners (blending) where the segments join, you can specify
exact path mode with G61.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Reset of offsets after running program

2007-05-17 Thread Keith Rumley
Andy,

> Is there anyway to add this as a feature?
>
> Andy
>


This is from EMC1 interpreter experience, so some terms may have changed.

The ini file access point for the interpreter (in EMC2) was at one point in 
rs274ngc_pre.cc, where you should find a function like "ini_load(const char 
*filename)" which grabs the interpreter related ini stuff.

Declare the variable in canon.hh, and copy/paste the existing parameter grab
in the ini_load() function and modify it to get/test the ini variable you've
created.

To remove the M02 effects, look at convert_stop, in the interp_convert.cc
file. A simple if (!your_ini_flag_variable){m02_code_here} around the m02
conditional code should do the trick for what I think you're asking.

Regards,

Keith Rumley 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users