Difference between revisions of "Component: G Code Parser ()"
From Flowcode Help
Jump to navigationJump to search| Line 17: | Line 17: | ||
| ==Component Source Code== | ==Component Source Code== | ||
| − | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/G-Code_Parser.fcfx FC_Comp_Source_temp/G-Code_Parser.fcfx] | 
| − | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/G-Code_Parser.fcfx FC_Comp_Source_temp/G-Code_Parser.fcfx] | 
| ==Detailed description== | ==Detailed description== | ||
| Line 57: | Line 57: | ||
| ''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 98: | Line 100: | ||
| − | === | + | ===Initialise=== | 
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Initialise''' | 
| |- | |- | ||
| | colspan="2" |   | | colspan="2" |   | ||
| |- | |- | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| |- | |- | ||
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
| Line 117: | Line 114: | ||
| − | === | + | ===Parse_G_Command=== | 
| {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
| |- | |- | ||
| | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]] | ||
| − | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | ''' | + | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Parse_G_Command''' | 
| |- | |- | ||
| | colspan="2" |   | | colspan="2" |   | ||
| |- | |- | ||
| + | |- | ||
| + | | width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING | ||
| + | | width="90%" | Command | ||
| + | |- | ||
| + | | colspan="2" |   | ||
| |- | |- | ||
| | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - VOID | ||
Revision as of 12:00, 3 February 2023
| Author | Matrix Ltd | 
| Version | 1.1 | 
| Category | 
Contents
G Code Parser component
A set of routines to allow a G-Code type file to be parsed a line at a time and the coordinates to be collected. Simulates the G commands via a simulation only 3D printer component but can also be used to pass values to actual hardware.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_temp/G-Code_Parser.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/G-Code_Parser.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetAxis
GetCoordinateMode
|   | GetCoordinateMode | 
| Returns the current coordinate mode. 0 = Absolute 1 = Relative | |
|  - BYTE | Return | 
Initialise
|   | Initialise | 
|  - VOID | Return | 
Parse_G_Command
|   | Parse_G_Command | 
|  - STRING | Command | 
|  - VOID | Return | 
Property reference
|   | Properties | 
|   | Bed Color | 
|   | Print Color | 
|   | Print Speed | 
|   | Print Type | 
|   | Print Size | 
|   | Print Shape | 
|   | Max Print Dimensions | 
|   | X Width | 
|   | Y Length | 
|   | Z Height | 

