Jump to content

Component: G Code Parser ()

From Flowcode Help
Revision as of 16:19, 7 January 2022 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.1 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author Matrix Ltd
Version 1.1
Category


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 Pack

MECHATRONICS

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

GetAxis
Returns the value of the Axis generated from the ParseCommand function. 0 = Read X, 1 = Read Y, 2 = Read Z 
- BYTE Axis
Specifies which axis to read 0/'x'/'X' - 1/'y'/'Y' - 2/'z'/'Z' 
- FLOAT Return


GetCoordinateMode
Returns the current coordinate mode. 0 = Absolute 1 = Relative 
- BYTE Return


Parse_G_Command
 
- STRING Command
 
- VOID Return


Initialise
 
- VOID Return



Property reference

Properties
Bed Color
 
Print Color
 
Print Speed
 
Print Type
 
Print Size
 
Print Shape
 
X Width
 
Y Length
 
Z Height
 
Connections
Simulations