LinuxCNC pt6 - HAL (A Brief Overview)

  Рет қаралды 16,706

russtuff

russtuff

6 жыл бұрын

My File and CAD links are at: / russtuff
Best HAL links: www.google.com/search?q=linux...
LinuxCNC Forum: forum.linuxcnc.org/

Пікірлер: 38
@gizmobowen
@gizmobowen 3 жыл бұрын
Just trying to start to understand LinuxCNC and found your videos. They have been very helpful and I wish someone would go through the INI and HAL files for a typical setup of the CNC I'm building (PrintNC). Your videos have taught me some very useful things and I'm a little less nervous about modifying my files. Thanks.
@russtuff
@russtuff 3 жыл бұрын
Thanks! Always make backups and name them so you won't forget. I also keep a Google doc open while making changes so I have a list of the actions I took in order :)
@artistic_prash
@artistic_prash 6 жыл бұрын
Thanks, Rus. Must say you are a perspicuous teacher. Kudos.
@russtuff
@russtuff 6 жыл бұрын
That is the fanciest complement I have ever received :) Thanks!
@mike-lu8di
@mike-lu8di 6 жыл бұрын
Good stuff Rus, any Vids you create will find an audience that require more understanding or help, your experience and knowledge are gratefully received. cheers.
@russtuff
@russtuff 6 жыл бұрын
Thanks Mike :)
@Tchefter
@Tchefter 6 жыл бұрын
Lot of usefull information, thanks for your time and upload, regards Fritz
@russtuff
@russtuff 6 жыл бұрын
Thanks Fritz!
@ultraexpress9823
@ultraexpress9823 3 жыл бұрын
Thank You ... Very informative
@Resonant87
@Resonant87 6 жыл бұрын
These vids are really helpful. Thank you for spending the time. If your undecided on what topic to do next may I suggest something about custom kinematics or setting up a mesa 7i76e. It would be really helpful.
@russtuff
@russtuff 6 жыл бұрын
I just finished the basic configuration of my 7i76 and it will become a video too. I don't have the e version but a friend does so we could probably do a comparison video.
@andypughtube
@andypughtube 6 жыл бұрын
Let me attempt to explicate. The first thing after "net" is always a signal name. You can choose any signal name. After the signal name you can have one or more HAL pins. You can use the same signal name on more than one line, and in more than one file. And pins that share the same signal will take the same value. Only one of the pins connected to any one signal can be an output (writer) pin. Note that physical inputs are HAL output pins and physical outputs are HAL input pins.
@russtuff
@russtuff 6 жыл бұрын
Thanks Andy! You're such a rockstar, and have helped me several times on the LinuxCNC forum. Thanks again!
@michaelalcocer6778
@michaelalcocer6778 6 жыл бұрын
You can rigid tap with a belt drive other than 1 to 1. Linuxcnc has the ability to separate the encoder from the index pulse. You can use an encoder on the spindle for the index. On the G0704 you can actually use the original encoder with all of the holes on the disk filled in except one. Then you can use Hal to direct the index signal to the right pin.
@russtuff
@russtuff 6 жыл бұрын
That's good news. On the forum, all of the old timers are saying you need 1:1 or direct reading from the spindle. The motor I have has a 1024 pulse quadrature encoder on the motor itself, which I would prefer to use. I'll make sure to do a video when I get to that point.
@michaelalcocer6778
@michaelalcocer6778 6 жыл бұрын
russtuff You do need it to be on the spindle. Basically the motor encoder will be used to establish and maintain speed and the encoder on the spindle is just counting a single pulse per revolution. This card just requires you to make a simple disk cnc4pc.com/c3-index-pulse-card.html or you could build the same thing for maybe $5 in parts. I built mine but have installed it yet. I am also using Mesa cards which makes the process simpler.
@russtuff
@russtuff 6 жыл бұрын
+Michael Alcocer Oh right. If the encoder is on the spindle then the belt ratio can be anything. I meant to say if your encoder is on the motor then you need to be 1:1 for rigid tapping. I'll rewatch the video and annotate my wording. As for the C3, I'm using two already for my lathe A (multi) and Z (index) channel pulses. That is detailed in an older video.
@andypughtube
@andypughtube 6 жыл бұрын
You can have the encoder on the motor, and not 1:1 as long as the index is on the spindle. (ie, add an extra index pulse from a keyway slot and proximity switch, for example and then set the spindle scale accordingly)
@cnc-ua
@cnc-ua 6 жыл бұрын
THANKS
@russtuff
@russtuff 6 жыл бұрын
Thanks for watching!
@petsatcom
@petsatcom 6 жыл бұрын
Thanks Russ Would like to see a set up with EtherCAT and Sercos III Seems like task is to map LinuxCNC comands to (some code generator) that creates EtherCAT or Sercos format messages that can be read by the Servo Amps?
@russtuff
@russtuff 6 жыл бұрын
Hi! I don't have any experience with either of these systems or with servos, so your best bet is going to be getting information from the LinuxCNC forum.
@IBWatchinUrVids
@IBWatchinUrVids 6 жыл бұрын
So what, all I have to do is bug you for more videos, and suddenly there's a new one? Sweet!
@russtuff
@russtuff 6 жыл бұрын
Oh man, I was afraid this could set a bad precedent :)
@IBWatchinUrVids
@IBWatchinUrVids 6 жыл бұрын
I'll start gathering a list of demands .. err, suggestions :D
@russtuff
@russtuff 6 жыл бұрын
+IBWatchinUrVids lol sounds good.
@JustinAlexanderBell
@JustinAlexanderBell 5 жыл бұрын
I did not expect Shrek references.
@russtuff
@russtuff 5 жыл бұрын
lol I'm hip to all the kids movies.
@MyHeap
@MyHeap 6 жыл бұрын
Hi Rus, Great video. I look at HAL slightly different. I see HAL as the conductor and the machines ini as the sheet music. The sheet music (ini file) describes the RT components that HAL will use, and the NET command are the notes. Weird huh? Also, it may be a good idea to point out the difference between signals and pins. Thanks for sharing and taking the time to create. Joe
@russtuff
@russtuff 6 жыл бұрын
I'm going to have to think about that one :) Thanks for the ideas!
@paulreader1777
@paulreader1777 6 жыл бұрын
You might likew to investigate using VLC Media Player as a screen recorder for future Linux based videos.
@MyHeap
@MyHeap 6 жыл бұрын
Hmmm... I have never used VLC for a screen capture. I should give it a go. I have had good success with simple screen recorder and recordMyDesktop. I have thought about using KdenLive to see what I could get out of that. Thanks for the suggestion. Joe
@russtuff
@russtuff 6 жыл бұрын
I've never used VLC on the Linux machine, but I'll try it for sure. I use it as my media viewer on all of my other machines. I didn't even know it could do screen capture :)
@paulreader1777
@paulreader1777 6 жыл бұрын
You might find you are a little restricted for frame rate but with tutorials that dont require realtime lipsync or motion it probably isn't a problem. I personally haven't used it yet but simply did a little research to see if there were any options to allow you to do screen recording on Linux, especially for software like LinuxCNC where you cannot run it properly in the virtual box under Windows for the purpose of screen recording. My Heap suggests some other possibilities although Kdenlive seems to make use of RecordMyDesktop for screen capture.
@Mekhanic1
@Mekhanic1 6 жыл бұрын
Goooey? G.U.I. or just say interface. lol Nice video. LinuxCNC is awesome
@russtuff
@russtuff 6 жыл бұрын
lol that's interesting. I can't remember the last time I heard someone call it a G.U.I. Different parts of the world maybe?
LinuxCNC HAL #1(b): Using Linux efficiently
37:29
swolebro
Рет қаралды 7 М.
LinuxCNC HAL #1: The Basics
29:11
swolebro
Рет қаралды 26 М.
🤔Какой Орган самый длинный ? #shorts
00:42
ОСКАР ИСПОРТИЛ ДЖОНИ ЖИЗНЬ 😢 @lenta_com
01:01
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
LinuxCNC HAL basic tutorial, Part 2
22:32
The Feral Engineer
Рет қаралды 5 М.
LinuxCNC Control
0:16
Excessive Overkill
Рет қаралды 3,2 М.
LinuxCNC HAL #2: INI improvements
18:07
swolebro
Рет қаралды 9 М.
XHC-WHB04B-6 mpg pendant working on Linux CNC
0:16
Man Without A Shed
Рет қаралды 426
LinuxCNC User Interface Proposal
17:19
BrendaEM
Рет қаралды 40 М.
LinuxCNC HAL basic tutorial, Part 1
11:51
The Feral Engineer
Рет қаралды 12 М.
Limits and homing with LinuxCNC
9:09
Matt's Machine Channel
Рет қаралды 10 М.
Coding a LinuxCNC Toolchanger for Dummies
23:01
Erik Salo
Рет қаралды 7 М.
Обзор интерфейса AXIS для Linux CNC. Часть №4
18:03
ЧПУ Технологии
Рет қаралды 15 М.
Найди Влада на стадионе
0:26
ЛогикЛаб
Рет қаралды 3,9 МЛН
МЛАДШАЯ СЕСТРА И МОРОЖЕНОЕ ИЗ АРБУЗА
0:41
ОЛЯ ПЕРЧИК
Рет қаралды 996 М.
БЕЛКА ПЕРЕПУТАЛА ТАРЕЛКИ #юмор #cat #топ #cats
0:13
Became invisible for one day!  #funny #wednesday #memes
0:25
Watch Me
Рет қаралды 53 МЛН