config, fonts, gcode
This commit is contained in:
39
examples/gcode/AccelTest.nc
Normal file
39
examples/gcode/AccelTest.nc
Normal file
@@ -0,0 +1,39 @@
|
||||
(X-Axis Accel Test - RELATIVE POSITIONING)
|
||||
(WARNING: Ensure you have 200mm of travel to the RIGHT of your starting point)
|
||||
|
||||
G21 (Set units to millimeters)
|
||||
G91 (Set relative positioning mode)
|
||||
|
||||
(Long moves: Test acceleration up to full max speed)
|
||||
G0 X200 (Move 200mm right)
|
||||
G0 X-200 (Move 200mm left)
|
||||
G0 X200
|
||||
G0 X-200
|
||||
|
||||
(Medium moves)
|
||||
G0 X100
|
||||
G0 X-100
|
||||
G0 X100
|
||||
G0 X-100
|
||||
|
||||
(Short, aggressive back-and-forth moves to stress rotational inertia)
|
||||
G0 X20
|
||||
G0 X-10
|
||||
G0 X20
|
||||
G0 X-20
|
||||
G0 X30
|
||||
G0 X-30
|
||||
G0 X40
|
||||
G0 X-30
|
||||
G0 X40
|
||||
G0 X-40
|
||||
G0 X50
|
||||
|
||||
(Return to Start Position)
|
||||
(The net travel of the short moves above is +70mm)
|
||||
(We must move -70mm to get exactly back to the start point)
|
||||
G0 X-70
|
||||
|
||||
G90 (Set back to absolute positioning for normal operation)
|
||||
(End of test)
|
||||
M30
|
||||
102
examples/gcode/FeedTest_X150.nc
Normal file
102
examples/gcode/FeedTest_X150.nc
Normal file
@@ -0,0 +1,102 @@
|
||||
; === Feed Rate Test — X axis, relative mode ===
|
||||
; Range: 1000–6000 mm/min | Step: 200 mm/min
|
||||
; Pass: 150mm | Return: 2000 mm/min | Pause: 2s
|
||||
; DRY RUN — Z is not moved. Ensure spindle is off.
|
||||
; Jog to a clear position with >155mm free on X before starting.
|
||||
; ================================================
|
||||
|
||||
G21 ; mm units
|
||||
G91 ; relative positioning
|
||||
|
||||
; --- Pass 12 of 26: F3200 mm/min ---
|
||||
G1 X150.0 F3200
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 13 of 26: F3400 mm/min ---
|
||||
G1 X150.0 F3400
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 14 of 26: F3600 mm/min ---
|
||||
G1 X150.0 F3600
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 15 of 26: F3800 mm/min ---
|
||||
G1 X150.0 F3800
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 16 of 26: F4000 mm/min ---
|
||||
G1 X150.0 F4000
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 17 of 26: F4200 mm/min ---
|
||||
G1 X150.0 F4200
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 18 of 26: F4400 mm/min ---
|
||||
G1 X150.0 F4400
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 19 of 26: F4600 mm/min ---
|
||||
G1 X150.0 F4600
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 20 of 26: F4800 mm/min ---
|
||||
G1 X150.0 F4800
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 21 of 26: F5000 mm/min ---
|
||||
G1 X150.0 F5000
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 22 of 26: F5200 mm/min ---
|
||||
G1 X150.0 F5200
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 23 of 26: F5400 mm/min ---
|
||||
G1 X150.0 F5400
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 24 of 26: F5600 mm/min ---
|
||||
G1 X150.0 F5600
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 25 of 26: F5800 mm/min ---
|
||||
G1 X150.0 F5800
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
; --- Pass 26 of 26: F6000 mm/min ---
|
||||
G1 X150.0 F6000
|
||||
G4 P2
|
||||
G1 X-150.0 F2000 ; return
|
||||
G4 P0.5 ; settle 0.5s
|
||||
|
||||
G90 ; restore absolute positioning
|
||||
M2 ; end program
|
||||
2
examples/gcode/Lavy.nc
Normal file
2
examples/gcode/Lavy.nc
Normal file
@@ -0,0 +1,2 @@
|
||||
G1 X22.8 Y86.8 F1500
|
||||
|
||||
2
examples/gcode/Pravy.nc
Normal file
2
examples/gcode/Pravy.nc
Normal file
@@ -0,0 +1,2 @@
|
||||
G1 X204.4 Y86.8 F1500
|
||||
|
||||
1
examples/gcode/Predny.nc
Normal file
1
examples/gcode/Predny.nc
Normal file
@@ -0,0 +1 @@
|
||||
G1 X111 Y0 F1500
|
||||
2
examples/gcode/Stred.nc
Normal file
2
examples/gcode/Stred.nc
Normal file
@@ -0,0 +1,2 @@
|
||||
G1 X111 Y86.8 F1500
|
||||
|
||||
2
examples/gcode/Zadny.nc
Normal file
2
examples/gcode/Zadny.nc
Normal file
@@ -0,0 +1,2 @@
|
||||
G1 X113.6 Y176.8 F1500
|
||||
|
||||
3
examples/gcode/one_revolution_macro.nc
Normal file
3
examples/gcode/one_revolution_macro.nc
Normal file
@@ -0,0 +1,3 @@
|
||||
G21 ; Set units to millimeters
|
||||
G91 ; Set relative positioning
|
||||
G1 X5 F100 ; Move X axis +5mm at feed rate 100
|
||||
Reference in New Issue
Block a user