Skip to content

Commit

Permalink
add gcode part to this branch for working
Browse files Browse the repository at this point in the history
  • Loading branch information
YuXHe15 committed Dec 20, 2023
1 parent 244f5d1 commit f1bf1cb
Show file tree
Hide file tree
Showing 15 changed files with 2,787 additions and 15 deletions.
32 changes: 32 additions & 0 deletions amworkflow/src/gcode/config/ConcretePrinter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
- UseMM: G21
- UseInch: G20
- LinearMove: G1
- RapidMove: G0
- ArcMove:
- Reset: G92
- Absolute: G90
- Relative: G91
- SetFeedRate: F
- SetSpindleSpeed: S
- SetTool: T
- SetX: X
- SetY: Y
- SetZ: Z
- SetXOffset: I
- SetYOffset: J
- SetZOffset:
- LengthOfExtrude: E
- SetExtrudeSpeed:
- CommandParameter: [P, S]
- MotorON: M17
- MotorOFF: M84
- FanON: M106
- FanOFF: M107
- ExtruderONForward: M101
- ExtruderONReverse: M102
- ExtruderAbsolute: M82
- SetExtruderTemperature: M104
- ExtruderOFF: M104 S0
- BedON:
- BedOFF: M140
- SetBedTemperature: M140
33 changes: 33 additions & 0 deletions amworkflow/src/gcode/config/RS-274D_config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[General]
; This section is used to initialize the machine.
; (general functions) specify how to interpolate and move to the coordinate locations following the code until changed or until a new layer
is generated (modal).
G90 = absolute coordinate
G91 = incremental coordinate
G92 = set current position to 0

G70 = use inch
G71 = use mm
G54 = use coordinate system G54

G1 = Set coordinate

[Draw and Flash]
; (plot functions) select and control tools, specify line type, etc.
D01 = move to the x-y location specified with the shutter open
D02 = move to the x-y location specified with the shutter closed
D03 = move to the x-y location specified with the shutter closed and flash

[Miscellaneous]
; (miscellaneous functions) perform a variety of functions such as
program stop and origin specification.
M00 = pause
M01 = pause
M02 = end of program

[coordinate]
X = x coordinate
Y = y coordinate
Z = z coordinate
I = x offset
J = y offset
32 changes: 32 additions & 0 deletions amworkflow/src/gcode/config/RepRap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
- UseMM: G21
- UseInch: G20
- LinearMove: G1
- RapidMove: G0
- ArcMove:
- Reset: G92
- Absolute: G90
- Relative: G91
- SetFeedRate: F
- SetSpindleSpeed: S
- SetTool: T
- SetX: X
- SetY: Y
- SetZ: Z
- SetXOffset: I
- SetYOffset: J
- SetZOffset:
- LengthOfExtrude: E
- SetExtrudeSpeed:
- CommandParameter: [P, S]
- MotorOn: M17
- MotorOff: M18
- FanON: M106
- FanOFF: M107
- ExtruderONForward: M101
- ExtruderONReverse: M102
- ExtruderAbsolute: M82
- ExtruderOFF: M103
- SetExtruderTemperature: M104
- BedON:
- BedOFF:
- SetBedTemperature: M140
Loading

0 comments on commit f1bf1cb

Please sign in to comment.