LinuxCNC HAL #2: INI improvements

  Рет қаралды 8,907

swolebro

swolebro

Күн бұрын

Upshot: The stepconf wizard gives you a decent INI, but parts of it need tweaking.
Topic index:
00:00 - intro, summary, reviewing changes in gitk
01:59 - no stepconf header, startup gcodes, grid view and jog increments
05:43 - default jog velocity, auto-open different gcode file,
08:09 - gcode subroutines
09:35 - halui, MDI command shortcuts, improving homing
12:07 - user command file (change AXIS key bindings)
16:25 - moving things for organization, listing HAL files in the INI
Browse the files exactly as shown in this video: github.com/swolebro/swolebro-...
Check out the latest, including my other notes and links to other people's videos and configs:
github.com/swolebro/swolebro-...
Here's the full plasma build series:
• CNC Plasma Build (Full)
Just the LinuxCNC stuff:
• LinuxCNC Guides
Help me make more cool shit:
paypal.me/swolebroshopworks

Пікірлер: 16
@billstrahan4791
@billstrahan4791 4 жыл бұрын
Having started with LinuxCNC about a year ago, I can say that your videos are making it MUCH easier for a newcomer than it was for me. And even though both my mills have been controlled by LinuxCNC for a year I've learned some new stuff from your vids. Super awesome work!
@geekoid183
@geekoid183 4 жыл бұрын
Really appreciated from someone who is doing he's second grbl cnc router retrofit and looking into adding a parallel port to learn LinuxCnc. I've not even installed LinuxCnc yet, but it's super important for me to understand first how the system parts and bits interact to each other's. That gives me an opportunity to really understand what is possible with LinuxCnc. So yeah, great contribution to the community !
@roborat179
@roborat179 Жыл бұрын
Thanks for these videos, they are right where I'm at in trying to get started and really speed up the process.
@DPTech_workroom
@DPTech_workroom 4 жыл бұрын
Very useful videos!
@TheFeralEngineer
@TheFeralEngineer 3 жыл бұрын
Any suggestions for writing hal to toggle between continuous and all of the incrementals with a gamepad button? Basically emulating the I keystone. I can't install qjoypad.
@swolebro
@swolebro 3 жыл бұрын
If you look at the manpage for halui, there's a couple jog pins. I'm guessing halui.jog..increment is what you want, and based on the code in /usr/bin/axis (a Python script), it looks like 0 means continuous. Hope that gets you on the right track.
@TheFeralEngineer
@TheFeralEngineer 3 жыл бұрын
@@swolebro every time i try to use halui.jog.0.increment or even gmoccapy.jog.jog.increment (both being float values), I get a does not exist error... I wish there were a way to just map keystroke I to a button without using qjoypad... I'm running Debian 7 on a pc not attached to the internet 😑
@swolebro
@swolebro 3 жыл бұрын
@@TheFeralEngineer Did you include the settings for HALUI and POSTGUI_HALFILE in your INI, and then only reference the halui pins in that postgui file? The way halui loads is a bit of voodoo blackmagic (not using loadrt or loadusr) because it has to happen after the rest of the GUI stuff has launched. Also, if not having internet on the LCNC box is the only holdup from installing QJP, that shouldn't stop you. You have to download and install that package manually anyway, since it was never available for Debian 7 (on which LCNC 2.7 is based). So you can just download the .deb file, transfer it via a USB stick, and then install it with dpkg. Details/commands for that are in the write-up here: github.com/swolebro/swolebro-youtube/blob/master/linuxcnc/misc/xbox-controller.rst Let me know if either of those things works for you - or if they don't!
@TheFeralEngineer
@TheFeralEngineer 3 жыл бұрын
@@swolebro yeah i have halui called and the halui.jog.0.increment called in postgui. Still getting does not exist for some reason. I'm using halhi components for my other buttons, but it seems like the float ones don't want to cooperate
@swolebro
@swolebro 3 жыл бұрын
@@TheFeralEngineer Weird. If you don't try hooking up the pin at all (so that the controller starts up properly), and then you launch halmeter, can you at least see the pin listed in there? Might be time you throw your configs up on GitHub and ask around on the forums, since I'm not sure what's going on here.
@darwinwandler9136
@darwinwandler9136 3 жыл бұрын
I understand your HALline for lesson 1 a LPT port. What would a HAL line look like for the MESA 7i76 ethernet board.
@swolebro
@swolebro 3 жыл бұрын
Haven't used that one, so I can't say specifically, but you'd want to use the PNCConf Wizard to establish your baseline, instead of the StepConf Wizard. That should fill in most of the blackmagic voodoo parts of things. I might find some time to mess around with the Mesa hardware later this year. In the process of moving right now, and losing my shop (boooo), but it means I'll have more time to mess around with proofs of concept for software/electronics. Then when I get another shop and rebuild the plasma, I can give it all the fancy upgrades.
@t2pranks801
@t2pranks801 3 жыл бұрын
i want to oprate EMCO PC Turn 55 turret tool changer with linexcnc can you plz help me.
@swolebro
@swolebro 3 жыл бұрын
Sorry mate, I really don't have any experience with the industrial stuff. For that, you're better off searching/asking on the LinuxCNC forums.
@mattivirta
@mattivirta Жыл бұрын
my first time i use linuxcnc, debian 10 preem rt. and i not understand motors working but how can make E-stop and probe working i has open hall- meter but not newer come true/false i test whit NC button to pin 10 is E stop and pin 15 probe. and step conf wizard have pins setting ok. motors move, XYYZ have wizaerd make XYZA config. end stop pin 10 and probe pin 15. why hall meter not show newer true/false, what need do next can make working. brealout board is connect wires gnd, probe, and gnd to e-stop, and buttons have NC. help please. i not understand good english.this is first time i use linux and linuxcnc. last night can make motors first time run both Y axist run, wizard make A axis pins same setting what have Y axis setting. but why e⏹ stop button not working or probe why hall meter not show if button is on or off.what need do ? help please.
LinuxCNC HAL #3: laser crosshairs, gcode triggered relays
15:14
LinuxCNC HAL #1: The Basics
29:11
swolebro
Рет қаралды 26 М.
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 2,6 МЛН
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 60 МЛН
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
Little girl's dream of a giant teddy bear is about to come true #shorts
00:32
Risc-V Bare Metal C Hello World!
21:37
Chuck's Tech Talk
Рет қаралды 2 М.
LinuxCNC HAL #1(b): Using Linux efficiently
37:29
swolebro
Рет қаралды 7 М.
LinuxCNC HAL basic tutorial, Part 2
22:32
The Feral Engineer
Рет қаралды 5 М.
deep inside an old industrial CNC Lathe! - Weiler Primus LinuxCNC retrofit pt.2
19:15
Tool Length Automatic Touch Off Probe Error Analysis LinuxCNC
19:10
Kent VanderVelden
Рет қаралды 19 М.
LinuxCNC Classicladder introduction tutorial
34:43
The Feral Engineer
Рет қаралды 10 М.
Economist fact-checks Scott Galloway’s Anti-Boomer TED Talk
26:05
Money & Macro
Рет қаралды 41 М.
LinuxCNC for dummies #1
13:22
Erik Salo
Рет қаралды 18 М.
CNC Motion Control with LinuxCNC + Mesa FPGA Card
14:24
Marco Reps
Рет қаралды 222 М.
Худшие кожаные чехлы для iPhone
1:00
Rozetked
Рет қаралды 1,7 МЛН
Battery  low 🔋 🪫
0:10
dednahype
Рет қаралды 13 МЛН