Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
projets:fraiseuse-cnc:linuxcnc [2016/11/23 13:07] admin |
projets:fraiseuse-cnc:linuxcnc [2017/01/23 20:03] admin [Linux cnc] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ======= Linux cnc ======= | + | log |
+ | ====== Linux cnc ====== | ||
+ | * [[http://linuxcnc.org/docs/2.7/html/config/]] <- La bonne doc ! | ||
+ | |||
+ | |||
+ | * [[http://linuxcnc.org/docs/html/man/man9/gantry.9.html|Documentation gantry]] //sur linuxcnc.org// LinuxCNC HAL component for driving multiple joints from a single axis. | ||
+ | * [[projets:fraiseuse-cnc:linuxcnc:man9fr-gantry|Documentation gantry]] //FR en local//. | ||
+ | |||
+ | * [[http://www.linuxcnc.org/docs/2.7/pdf/LinuxCNC_Documentation.pdf|LinuxCNC_Documentation.pdf]] //EN// | ||
+ | * [[http://www.linuxcnc.org/docs/2.7/pdf/|Liste des pdf dispos pour v2.7]] //dont certains en français// | ||
+ | |||
+ | \\ | ||
+ | |||
+ | * [[projets:fraiseuse-cnc:linuxcnc:comment-ca-marche|Notes en vrac sur comment ça marche]] (en chantier) | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Solutions recopie moteurs Xa et Xb ===== | ||
+ | |||
+ | === HAL : === | ||
+ | |||
+ | * **gantry** : LinuxCNC HAL component for driving multiple joints from a single axis | ||
+ | |||
+ | * [[https://groups.google.com/forum/#!topic/machinekit/To6ivNZpEHU]] | ||
+ | |||
+ | === Exemple de configuration === | ||
+ | |||
+ | //2.8.0~pre1 sur github// | ||
+ | |||
+ | * https://github.com/LinuxCNC/linuxcnc/blob/master/configs/sim/axis/gantry_mm.ini | ||
+ | * https://github.com/LinuxCNC/linuxcnc/blob/master/configs/sim/axis/gantry_mm.hal | ||
+ | |||
+ | === Kinematics : === | ||
+ | |||
+ | * **gantrykins** : A kinematics module that maps one axis to multiple joints. | ||
+ | |||
+ | * **trivkins** : There is a 1:1 correspondence between joints and axes. Most standard milling machines and lathes use the trivial kinematics module. | ||
+ | |||
+ | ===== Stepconf ===== | ||
+ | |||
+ | [[http://linuxcnc.org/docs/2.7/html/config/stepconf.html]] | ||
+ | |||
+ | Dans Stepconf (attention stepconf peut écraser des configs rentrées directement dans les fichiers avec un éditeur. Voir usage des fichier custom.) | ||
+ | |||
+ | ==== Base Information ==== | ||
+ | |||
+ | |||
+ | === Driver characteristics === | ||
+ | |||
+ | * type : autre | ||
+ | |||
+ | == Driver time settings == | ||
+ | |||
+ | * Step time : 5000ns //(réglage default)// | ||
+ | * Step space : 5000ns //(réglage default)// | ||
+ | * Direction Hold : 20000ns //(réglage default)// | ||
+ | * Direction setup : 20000ns //(réglage default)// | ||
+ | |||
+ | === Parport number === | ||
+ | |||
+ | One parport | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | === Jitter === | ||
+ | |||
+ | Base period maximum jitter : 42000ns //(mesuré avec le test de latence)// | ||
+ | |||
+ | Ça affiche donc les valeurs calculées suivantes : | ||
+ | * Min base period : 57000ns | ||
+ | * Max step rate 17543Hz | ||
+ | |||
+ | |||
+ | ==== Parallel port 1 ==== | ||
+ | |||
+ | |||
+ | <WRAP group> | ||
+ | <WRAP half column> | ||
+ | === Outputs (PC to machine) === | ||
+ | |||
+ | * Pin 01 : Inutilisé | ||
+ | * Pin 02 : Pas en X //(Xa)// | ||
+ | * Pin 03 : Direction en X //(Xa)// | ||
+ | * Pin 04 : Inutilisé //(Pas en Xb)// | ||
+ | * Pin 05 : Inutilisé //(Direction en Xb)// | ||
+ | * Pin 06 : Pas en Y | ||
+ | * Pin 07 : Direction en Y | ||
+ | * Pin 08 : Pas en Z | ||
+ | * Pin 09 : Direction en Z | ||
+ | * Pin 14 : Inutilisé | ||
+ | * Pin 16 : Inutilisé | ||
+ | * Pin 17 : Inutilisé | ||
+ | |||
+ | </WRAP> | ||
+ | | ||
+ | <WRAP half column> | ||
+ | === Outputs (PC to machine) === | ||
+ | |||
+ | * Pin 10 : Origine X //(Xa)// | ||
+ | * Pin 11 : Inutilisée //(origineXb)// | ||
+ | * Pin 12 : Origine Y | ||
+ | * Pin 13 : Origine Z | ||
+ | * Pin 15 : Arrêt d'urgence | ||
+ | </WRAP> | ||
+ | </WRAP> | ||
+ | |||
+ | //Les pins 04, 05 et 11 sont cablées mais pas configurées par Stepconf car il ne sait pas les associer avec une configuration gantry faite à la main.// | ||
+ | |||
+ | |||
+ | * Parport Base Adress : 0 | ||
+ | |||
+ | <WRAP important> Ne pas utiliser Output pinout preset et le bouton associé, ça remplace tout les réglages déjà faits dans l'interface de Stepconf</WRAP> | ||
- | [[http://linuxcnc.org/docs/html/man/man9/gantry.9.html|Documentation gantry]] //sur linuxcnc.org// LinuxCNC HAL component for driving multiple joints from a single axis. | ||
- | [[http://www.linuxcnc.org/docs/2.7/pdf/|Liste des pdf dispos pour v2.7]] //dont certains en français// |