New LinuxCNC Installation (Master Branch) "CANNOT FIND plasmac.hal"

More
10 Jan 2020 15:47 #154555 by GGG3
Hello, I'm trying to setup a Plasma Table using LinuxCNC with plasmac.

When selecting the configuration I got the error "CANNOT FIND FILE FOR plasmac.hal"

The file is there is just emplty. It seems the file in github (master branch) is also empty.

Did I miss something? I'm following the plasmac user guide. Should I look somewhere else?

I did intall the dependencies in https://forum.linuxcnc.org/plasma-laser/36410-configuring-plasmac-a-complete-thc-plasma-config-for-any-hardware

P.S. Also I will use chinese thc "HEAVTH PTHC-2" it measures the voltage and the height on itself but preferably I still want the pc to wait for the arc-ok signal and process the "corner setup" it has plasmac. Does PlasmaC is a good starting point?

Please Log in or Create an account to join the conversation.

More
10 Jan 2020 22:57 #154588 by phillc54
Is this a new installation or did you upgrade recently?

V0.087 removed plasmac.hal and replaced it with plasmac.tcl this version requires you to run configurator in upgrade mode.

You may need to run the configurator or else do another LinuxCNC update which will get you v0.090 and it will run the configurator automatically when you start LinuxCNC.

htmlpreview.github.io/?https://github.co...lasmac/versions.html

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 01:13 - 14 Jan 2020 01:15 #154796 by AgentWD40
I've just run into this on a clean install as well. It's the example configs have the broken link to the plasmac.hal. Section 4.4 of the plasmac user guide instructs to run an example plasmac config.

Is there still a way to play with plasmac in a sim mode?
Last edit: 14 Jan 2020 01:15 by AgentWD40.

Please Log in or Create an account to join the conversation.

More
14 Jan 2020 01:31 - 14 Jan 2020 02:05 #154797 by phillc54
Sorry guys, my bad...

Three options:
  1. I pushed a fix so you could update again (for Buildbot installs you will need to wait while the Buildbot does its thing)

  2. For a Run In Place build, edit the .ini file:
    ~/linuxcnc-dev/configs/by_machine/plasmac/<gui_flavor>/<metric_or_imperial>_plasmac.ini
    and change plasmac.hal to plasmac.tcl
    Then create a link to plasmac.tcl:
    $ cd ~/linuxcnc-dev/configs/by_machine/plasmac/<gui_flavor>
    $ ln -s ../plasmac.tcl

  3. For a Buildbot build, edit the .ini file:
    ~/configs/by_machine.plasmac.<gui_flavor>/<metric_or_imperial>_plasmac.ini
    and change plasmac.hal to plasmac.tcl
    Then create a link to plasmac.tcl:
    $ cd ~/linuxcnc-dev/configs/by_machine.plasmac.<gui_flavor>
    $ ln -s /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/plasmac.tcl
Last edit: 14 Jan 2020 02:05 by phillc54.
The following user(s) said Thank You: AgentWD40

Please Log in or Create an account to join the conversation.

More
16 Jan 2020 18:04 - 16 Jan 2020 18:37 #155030 by Clive S
Hi Phill
I think I have done the same thing. I have just got my machine setup fine and working good.

I made the mistake of doing an upgrade via a terminal with apt-get upgrade etc. Now Plasmac will not load the error is cannot find file for plasmac.hal.

This is a buildbot install. What is the best way for me to sort it. Thanks.


Edit: I will be away till Monday would help to run the update again from the terminal so that the bot can catch up.
Last edit: 16 Jan 2020 18:37 by Clive S.

Please Log in or Create an account to join the conversation.

More
17 Jan 2020 00:31 - 17 Jan 2020 00:45 #155039 by phillc54
It looks like the Buildbot is having a doze buildbot.linuxcnc.org/dists/

The quick way is like above , otherwise try another update.

I will report the Buildbot sleep to the devs list.

Edit: It is up to date, I messed up my timezone calculations.
Last edit: 17 Jan 2020 00:45 by phillc54.
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
22 Jan 2020 10:11 #155415 by Clive S
Thanks Phill ran the update again now everything back to normal. :)

Please Log in or Create an account to join the conversation.

Moderators: phillc54
Time to create page: 0.104 seconds
Powered by Kunena Forum