Hattori/grbl

Fra Bitraf
Hopp til navigering Hopp til søk

Tilbake til Hattori.

Denne undersiden beskriver hvordan grbl konfigureres for Hattori.

Settings - Hattori

Kommandoen for å vise settings i grbl er '$$'.

>>> $$
$0 = 10    (Step pulse time, microseconds)
$1 = 255    (Step idle delay, milliseconds). All axes are always enabled.
$2 = 0    (Step pulse invert, mask)
$3 = 5    (Step direction invert, mask). X- and Z- axis have inverted step pulses.
$4 = 0    (Invert step enable pin, boolean)
$5 = 0    (Invert limit pins, boolean)
$6 = 0    (Invert probe pin, boolean)
$10 = 1    (Status report options, mask)
$11 = 0.010    (Junction deviation, millimeters)
$12 = 0.002    (Arc tolerance, millimeters)
$13 = 0    (Report in inches, boolean)
$20 = 0    (Soft limits enable, boolean)
$21 = 0    (Hard limits enable, boolean)
$22 = 1    (Homing cycle enable, boolean)
$23 = 3    (Homing direction invert, mask). X- an Y- axes are inverted.
$24 = 200.000    (Homing locate feed rate, mm/min)
$25 = 6000.000    (Homing search seek rate, mm/min)
$26 = 250    (Homing switch debounce delay, milliseconds)
$27 = 4.000    (Homing switch pull-off distance, millimeters)
$30 = 1000    (Maximum spindle speed, RPM)
$31 = 0    (Minimum spindle speed, RPM)
$32 = 0    (Laser-mode enable, boolean)
$100 = 88.888    (X-axis travel resolution, step/mm)
$101 = 88.888    (Y-axis travel resolution, step/mm)
$102 = 88.888    (Z-axis travel resolution, step/mm)
$110 = 12000.000    (X-axis maximum rate, mm/min)
$111 = 12000.000    (Y-axis maximum rate, mm/min)
$112 = 3000.000    (Z-axis maximum rate, mm/min)
$120 = 1200.000    (X-axis acceleration, mm/sec^2)
$121 = 1200.000    (Y-axis acceleration, mm/sec^2)
$122 = 300.000    (Z-axis acceleration, mm/sec^2)
$130 = 120.000    (X-axis maximum travel, millimeters)
$131 = 180.000    (Y-axis maximum travel, millimeters)
$132 = 120.000    (Z-axis maximum travel, millimeters)
ok

settings per 2017-07-10.

gcode parameters

Med '$#' får du listet ut g-code parametre.

>>> $#
[G54:-11.000,-90.997,-17.100]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000]
[PRB:0.000,0.000,0.000:0]
ok

gcode parametre per 2017-07-10.

gcode parser state

'$G' gir deg gocode parser state.

>>> $G
[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
ok

eller "grbl modus" om du vil

startup blocks

'$N' gir deg "startup blocks".

>>> $N
$N0=
$N1=
ok

her er det ikke definert noen oppstartskommandoer, og det er greit.

Settings - standardverdier

grbl standardverdier er

$0=10

$0 – Step pulse, microseconds

$1=25

$1 - Step idle delay, milliseconds. 255 means all axes always enabled.

$2=0

$2 – Step port invert, mask. 0 = all axes normal, 7 = all axes inverted.

$3=0

$3 – Direction port invert, mask. 0 = all axes normal.

$4=0

$4 - Step enable invert, boolean

$5=0

$5 - Limit pins invert, boolean

$6=0

$6 - Probe pin invert, boolean

$10=1

$10 - Status report, mask

$11=0.010

$11 - Junction deviation, mm

$12=0.002

$12 – Arc tolerance, mm

$13=0

$13 - Report inches, boolean. 0 = mm, 1 = inches.

$20=0

$20 - Soft limits, boolean. 1 = enabled.

$21=0

$21 - Hard limits, boolean. 1 = enabled.

$22=1

$22 - Homing cycle, boolean. 1 = enabled.

$23=0

$23 - Homing dir invert, mask

$24=25.000

$24 - Homing feed, mm/min

$25=500.000

$25 - Homing seek, mm/min

$26=250

$26 - Homing debounce, milliseconds

$27=1.000

$27 - Homing pull-off, mm

$30=1000.

$30 - Max spindle speed, RPM

$31=0.

$31 - Min spindle speed, RPM

$32=0

$32 - Laser mode, boolean. 0 = disabled. Only interesting for using GRBL with a laser.

$100=250.000
$101=250.000
$102=250.000

$100, $101 and $102 – [X,Y,Z] steps/mm. steps / mm is calculated like this: steps_per_mm = (steps_per_revolution*microsteps)/mm_per_rev.

$110=500.000
$111=500.000
$112=500.000

$110, $111 and $112 – [X,Y,Z] Max rate, mm/min

$120=10.000
$121=10.000
$122=10.000

$120, $121, $122 – [X,Y,Z] Acceleration, mm/sec^2

$130=200.000
$131=200.000
$132=200.000

$130, $131, $132 – [X,Y,Z] Max travel, mm. This sets the maximum travel from end to end for each axis in mm. This is only useful if you have soft limits (and homing) enabled, as this is only used by Grbl's soft limit feature to check if you have exceeded your machine limits with a motion command.

kopiert fra Grbl v1.1 Configuration[1], må verifiseres.

Referanser