Re: Re: Re: Re: Re: EMC G1 problem.




From: dave engvall <dengvall-at-elltel.net>

>Someplace back up in the code you gave it a G1, it found a X position
>value and parsed the Z and then a - sign....which may have defaulted to a -
>0.0 in Z. Clearly if the minus sign had not been there then it should have
>reported a null value or token but since it found something it may have not
>known the difference. 

Interesting thought.  In fact part of the time, when using mdi with the
MDI_Input script, the EMC interpreter seems content to use the current
value of z when you simply put a minus in there.  But if you try to run
the same code as a program in auto mode, the interpreter stops at that
line with no error message.

The minus sign does not cause the interpreter to say, hey I should be the
other way from zero if the current z value is positive.

Now if you run the same code through verify, it will show you an error,

emctask.cc 229: rs274ngc_error: No digits found where real number should be
rs274ngc_stack:  - read_real_number  - read_real_value  - read_z  -
read_one_item  - read_items emcTaskPlanRead() returned 134

but this error only appears in the terminal window from which you ran the
EMC.  It would appear that these kinds of error messages are being routed
to the wrong pipeline and they do not appear at all during run.

Ray




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

Problems or questions? Contact