Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.
machines:fraiseuses:cnc:configuration [2014/01/25 17:09] bumblebee |
machines:fraiseuses:cnc:configuration [2014/12/19 12:51] (Version actuelle) bumblebee |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== Configuration (Grbl) ====== | + | ====== Grbl ====== |
===== Installation de GRBL ====== | ===== Installation de GRBL ====== | ||
- | Les binaires de grbl sont disponibles sur le [[https://github.com/grbl/grbl#downloads-right-click-and-save-link-as|github de grbl]]. Le version actuellement installée est la [[http://bit.ly/Y0tMHo|Grbl v0.9a Build 2013-03-19 ]] | + | Les binaires de grbl sont disponibles sur le [[https://github.com/grbl/grbl#downloads-right-click-and-save-link-as|github de grbl]]. Le version actuellement installée est la version de dev compilée au 25/01/2013 |
Exemple de commande pour [[https://github.com/grbl/grbl/wiki/Flashing-Grbl-to-an-Arduino|flasher/installer grbl sur l'arduino]] : | Exemple de commande pour [[https://github.com/grbl/grbl/wiki/Flashing-Grbl-to-an-Arduino|flasher/installer grbl sur l'arduino]] : | ||
Ligne 9: | Ligne 9: | ||
</code> | </code> | ||
+ | ===== Compilation de la version de dev de grbl ====== | ||
+ | La version actuellement utilité est une compilation maison de la branche dev au 25/01/2013. Un profil ''DEFAULTS_CARRNUM'', contenant les paramètres par defaut, a été ajouté dans le fichier ''{{:machines:cnc:defaults.h.zip|default.h}}'' . Le fichier ''config.h'' a été modifié pour que ce profil ''DEFAULTS_CARRNUM'' soit utilisé lors du frashage de l'eeprom. | ||
===== Config. GRBL ===== | ===== Config. GRBL ===== | ||
+ | //Configuration de grbl v0.9a au 01/11/2013 // | ||
+ | <code> | ||
+ | >>> $$ | ||
+ | <<< $0=64.000 (x, step/mm) | ||
+ | <<< $1=64.000 (y, step/mm) | ||
+ | <<< $2=200.000 (z, step/mm) | ||
+ | <<< $3=3000.000 (x v_max, mm/min) | ||
+ | <<< $4=3000.000 (y v_max, mm/min) | ||
+ | <<< $5=120.000 (z v_max, mm/min) | ||
+ | <<< $6=100.000 (x accel, mm/sec^2) | ||
+ | <<< $7=100.000 (y accel, mm/sec^2) | ||
+ | <<< $8=10.000 (z accel, mm/sec^2) | ||
+ | <<< $9=20 (step pulse, usec) | ||
+ | <<< $10=3000.000 (default feed, mm/min) | ||
+ | <<< $11=32 (step port invert mask, int:00100000) | ||
+ | <<< $12=25 (step idle delay, msec) | ||
+ | <<< $13=0.050 (junction deviation, mm) | ||
+ | <<< $14=0.005 (arc tolerance, mm) | ||
+ | <<< $15=3 (n-decimals, int) | ||
+ | <<< $16=0 (report inches, bool) | ||
+ | <<< $17=1 (auto start, bool) | ||
+ | <<< $18=0 (invert step enable, bool) | ||
+ | <<< $19=1 (hard limits, bool) | ||
+ | <<< $20=0 (homing cycle, bool) | ||
+ | <<< $21=0 (homing dir invert mask, int:00000000) | ||
+ | <<< $22=25.000 (homing feed, mm/min) | ||
+ | <<< $23=100.000 (homing seek, mm/min) | ||
+ | <<< $24=100 (homing debounce, msec) | ||
+ | <<< $25=1.000 (homing pull-off, mm) | ||
+ | <<< ok | ||
+ | |||
+ | |||
+ | </code> | ||
+ | |||
Config de la version de dev (2013-01-25) | Config de la version de dev (2013-01-25) | ||
<code> | <code> | ||
Ligne 46: | Ligne 82: | ||
<<< $31=1.000 (homing pull-off, mm) | <<< $31=1.000 (homing pull-off, mm) | ||
</code> | </code> | ||
- | //Configuration de grbl v0.9a au 01/11/2013 // | ||
- | <code> | ||
- | >>> $$ | ||
- | <<< $0=64.000 (x, step/mm) | ||
- | <<< $1=64.000 (y, step/mm) | ||
- | <<< $2=200.000 (z, step/mm) | ||
- | <<< $3=3000.000 (x v_max, mm/min) | ||
- | <<< $4=3000.000 (y v_max, mm/min) | ||
- | <<< $5=120.000 (z v_max, mm/min) | ||
- | <<< $6=100.000 (x accel, mm/sec^2) | ||
- | <<< $7=100.000 (y accel, mm/sec^2) | ||
- | <<< $8=10.000 (z accel, mm/sec^2) | ||
- | <<< $9=20 (step pulse, usec) | ||
- | <<< $10=3000.000 (default feed, mm/min) | ||
- | <<< $11=32 (step port invert mask, int:00100000) | ||
- | <<< $12=25 (step idle delay, msec) | ||
- | <<< $13=0.050 (junction deviation, mm) | ||
- | <<< $14=0.005 (arc tolerance, mm) | ||
- | <<< $15=3 (n-decimals, int) | ||
- | <<< $16=0 (report inches, bool) | ||
- | <<< $17=1 (auto start, bool) | ||
- | <<< $18=0 (invert step enable, bool) | ||
- | <<< $19=1 (hard limits, bool) | ||
- | <<< $20=0 (homing cycle, bool) | ||
- | <<< $21=0 (homing dir invert mask, int:00000000) | ||
- | <<< $22=25.000 (homing feed, mm/min) | ||
- | <<< $23=100.000 (homing seek, mm/min) | ||
- | <<< $24=100 (homing debounce, msec) | ||
- | <<< $25=1.000 (homing pull-off, mm) | ||
- | <<< ok | ||
- | |||
- | |||
- | </code> | ||
- | |||
[[https://github.com/grbl/grbl/wiki|Grbl]] v0.8c (installé le 21/11/2012): | [[https://github.com/grbl/grbl/wiki|Grbl]] v0.8c (installé le 21/11/2012): | ||
Ligne 109: | Ligne 111: | ||
<note tip>Exemple de commande (à personaliser) pour uploader grbl sur un arduino : ''sudo /opt/arduino-1.0.1/hardware/tools/avrdude -C/opt/arduino-1.0.1/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -carduino -P/dev/ttyACM0 -b115200 -D -Uflash:w:grbl_v0_8c_atmega328p_16mhz_9600.hex''</note> | <note tip>Exemple de commande (à personaliser) pour uploader grbl sur un arduino : ''sudo /opt/arduino-1.0.1/hardware/tools/avrdude -C/opt/arduino-1.0.1/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -carduino -P/dev/ttyACM0 -b115200 -D -Uflash:w:grbl_v0_8c_atmega328p_16mhz_9600.hex''</note> | ||
+ | |||
+ | |||
+ | config prise le 19/12/2014 avec le grbl 0.9? présent sur la carte arduino | ||
+ | <code> | ||
+ | $0=64.000 (x, step/mm) | ||
+ | $1=64.000 (y, step/mm) | ||
+ | $2=200.000 (z, step/mm) | ||
+ | $3=3000.000 (x max rate, mm/min) | ||
+ | $4=3000.000 (y max rate, mm/min) | ||
+ | $5=120.000 (z max rate, mm/min) | ||
+ | $6=100.000 (x accel, mm/sec^2) | ||
+ | $7=100.000 (y accel, mm/sec^2) | ||
+ | $8=10.000 (z accel, mm/sec^2) | ||
+ | $9=318.000 (x max travel, mm) | ||
+ | $10=263.000 (y max travel, mm) | ||
+ | $11=63.000 (z max travel, mm) | ||
+ | $12=10 (step pulse, usec) | ||
+ | $13=3000.000 (default feed, mm/min) | ||
+ | $14=0 (step port invert mask:00000000) | ||
+ | $15=192 (dir port invert mask:11000000) | ||
+ | $16=255 (step idle delay, msec) | ||
+ | $17=0.020 (junction deviation, mm) | ||
+ | $18=0.002 (arc tolerance, mm) | ||
+ | $19=3 (n-decimals, int) | ||
+ | $20=0 (report inches, bool) | ||
+ | $21=1 (auto start, bool) | ||
+ | $22=0 (invert step enable, bool) | ||
+ | $23=0 (invert limit pins, bool) | ||
+ | $24=0 (soft limits, bool) | ||
+ | $25=1 (hard limits, bool) | ||
+ | $26=1 (homing cycle, bool) | ||
+ | $27=96 (homing dir invert mask:01100000) | ||
+ | $28=25.000 (homing feed, mm/min) | ||
+ | $29=3000.000 (homing seek, mm/min) | ||
+ | $30=250 (homing debounce, msec) | ||
+ | $31=1.000 (homing pull-off, mm) | ||
+ | </code> | ||