Code Comprehension & Navigation
The extension parses operations, tools, offsets, and probing cycles into the sidebar for easy navigation. It reads the NC code line by line and extracts the relevant information.
Assumptions
The extension makes the following assumptions about the code:
Tblocks represent tools (seeRequire M6 for tool changessetting to changeM6requirement) Valid offsets areG54,G55,G56,G57,G58,G59, andG54.1 PXXX. Given thatG52andG53are not modal, they are ignored.Sblocks represent spindle speed- Operations are defined as a comment line (encased in parentheses) preceded by an empty line
- Tools and offsets are inherited from the previous operation (i.e. modal). They are marked with
Inherited from {operation name}in the sidebar - Any code encased in parentheses is a comment
- Any text following the
;character is a comment - Any line that starts with a
%character is a header
Current Limitations
- The extension does not currently support subprograms
- Inherited spindle speeds do not currently consider
M03,M04, andM05commands - Only tested with Haas and Fanuc code
- Only supporting Renishaw probing cycles at this time