Bugs item #3614336, was opened at 2013-06-04 23:20
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3614336&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: G-code Interpreter
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Gcode subroutines issues

Initial Comment:
There are probably a bug in the O-codes parser/interpretator. 

Here are two examples of code which causes errors. 

O123 sub
   O200 IF [5 LE 0.01]
      O123 RETURN
   O200 ENDIF
   O124 WHILE [1]
      O124 BREAK
   O124 ENDWHILE
O123 endsub(End definitions)
M02

If BREAK or RETURN are removed the code is accepted, otherwise the error is 
shown "an 'unknown character after O word'" 

-------

Second code:

O<multipass> SUB
    #<sub> = #1
    O#<sub> CALL 
O<multipass> ENDSUB

Undefined #<sub> parameter error is shown. If we define     #<sub> outside 
O<multipass> then we wont get this error till LinuxCNC is restarted.


Both codes causes error on loading the file. No mater that this SUB is never 
called. 

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

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

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to