Bugs item #1772411, was opened at 2007-08-11 13:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1772411&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: EMC2 G-code Interpreter
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Parameters corrupted by subroutine return command

Initial Comment:
When a subroutine returns using the Oxxx return command to a calling 
subroutine, the parameters in the calling subroutine become corrupted.

For example, if S1 calls S2, when S2 returns using the Oxxx return command, the 
#1, #2, etc. parameters in S1 become corrupted.

SAMPLE GCODE
------------

(DUMMY SUBROUTINE)
   O100 sub
   O100 return
   O100 endsub

(MAIN SUBROUTINE)
   O200 sub
      G00 X#1 Y#2 Z#3
      O100 call
      (#1 #2 and #3 are now corrupted upon return from dummy subroutine)
      G00 X#1 Y#2 Z#3
   O200 endsub

(MAIN)
   O200 call [1] [2] [3]
   M02

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=1772411&group_id=6744

-------------------------------------------------------------------------
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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to