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
Nobody/Anonymous ( nobody ) - 2007-08-11 20:31
5
Closed
Fixed
Kenneth Lerman
G-code Interpreter
None
Public
|
Date: 2007-08-17 13:57
|
|
Date: 2007-08-17 12:17
|
|
Date: 2007-08-12 18:43
|
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2007-08-17 13:57 | jepler |
| resolution_id | None | 2007-08-17 13:57 | jepler |
| close_date | - | 2007-08-17 13:57 | jepler |
| assigned_to | nobody | 2007-08-12 18:43 | lerman |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use