How To add robot arm model into linuxCNC

More
24 Jan 2019 13:38 #124735 by andypugh
Open the G-code file, press the run button.

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

More
13 Feb 2020 22:51 #157329 by prrrim
Hi, I started learning linuxcnc month ago and I'm very new in all this, been strugling a lot trying to figure out how everything works.
For start I used hbm vismach model and created my own 3-axis machine (some sort of 3d printer).
I uploaded my ascii stl models, changed pins and everything worked just fine as long I keep default pin and signal names.
Today I tried to change signal and pins names so it would make sense for me.
(for example hbmgui.head->3dprinter.heatedbed).
I changed everything there is to change in hbm.hal and hbmgui.
I checked in terminal with "show pin" my vismach pins and they are the same as ones in hbm.hal.
Now when I try to start machine my vismach model opens but i can't figure out why my control panel "io" wont start, all I get is window with model.
When I copied "backup" files with old pin names my "io" control panel opens.
Does anybody know should I change pin names somewhere else too or do I need to delete some kind of folder with catched data or else?

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

More
14 Feb 2020 12:11 #157352 by andypugh
c = hal.component("hbmgui")
# HAL pins
c.newpin("table", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("saddle", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("head", hal.HAL_FLOAT, hal.HAL_IN)
c.newpin("quill", hal.HAL_FLOAT, hal.HAL_IN)

You need to change the component name, otherwise the pins will all still start with "hbmgui"

Also, the INI file needs to be changed to load the new file, and you probably need to change the filename.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum