Re: new release first 'problems





Ray wrote:

> On Wed, 17 Jan 2001, Will wrote:
> 
>>> emctaskmain.cc 2322: can't initialize interpreter
>>> 
>> 
>> Check your .var file (The name of the .var file is in the .ini file) 
>> and see if
>> 
>> 5220 0.0000
>> 
>> Should probably be
>> 
>> 5220 1.0000
> 
> 
> This worked for me.  But I am using a download from a couple of days ago. 
> 
> What is 5220?
> 
> I also noticed now, that mdi appears to be in mm rather than inches.  G0 x1
> moves the axis 0.0393.  Looks like g21 is the modal code here on startup. 
> I can enter g20 and it will switch to inches.
> --
> 
> Ray

5220 is the coordinate system number.

Here's the exempt from Tom's documentation:


3.2.2 Coordinate Systems

In the RS274/NGC language view, a machining center has an absolute 
coordinate system and nine program coordinate systems.

You can set the offsets of the nine program coordinate systems using G10 
L2 Pn (n is the number of the coordinate system) with values for the 
axes in terms of the absolute coordinate system. See Section 3.5.5.

You can select one of the nine systems by using G54, G55, G56, G57, G58, 
G59, G59.1, G59.2, or G59.3 (see Section 3.5.13). It is not possible to 
select the absolute coordinate system directly.

You can offset the current coordinate system using G92 or G92.3. This 
offset will then apply to all nine program coordinate systems. This 
offset may be cancelled with G92.1 or G92.2. See Section 3.5.18.

You can make straight moves in the absolute machine coordinate system by 
using G53 with either G0 or G1. See Section 3.5.12.

Data for coordinate systems is stored in parameters.

During initialization, the coordinate system is selected that is 
specified by parameter 5220. A value of 1 means the first coordinate 
system (the one G54 activates), a value of 2 means the second coordinate 
system (the one G55 activates), and so on. It is an error for the value 
of parameter 5220 to be anything but a whole number between one and nine.





-- 
---------------------------------------------------------------
William Penn Shackleford III			shackle-at-nist.gov
National Institute of Standards & Technology	Tel:	(301) 975-4286
100 Bureau Drive Stop 8230  			FAX:	(301) 990-9688
Gaithersburg MD  20899  USA
http://www.isd.mel.nist.gov/personnel/shackleford/
Office Location: Bldg. 220 Rm A253




Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact