Update Plasmac?

More
10 Mar 2020 23:46 #159715 by islander261
Update Plasmac? was created by islander261
Hello

I am back from the sunny southwest and have a fresh 5,000 lb stack of steel that needs to be cut. I splurged and bought hot rolled pickled and oiled stock (no mill scale) at half the price of my last load, I have trouble with using an angle grinder now.

I have missed quite a bit on the PlasmaC front since last summers run in with MS. The OT folks have done a good job at helping my right hand work again (retraining). I still can hardly write and touch typing is gone, If the numbness would only go away I might have a chance at the later. I am very fortunate in that I still have full mobility other than my right wrist and hand.

I have PlasmaC V 0.79 currently installed on my controller. I am currently running the master branch on Debian Jesse with a RIP install. Will I need to make any changes to my current SheetCam PP if I upgrade to the latest version on the master branch? Will the newer version break my configuration? I don't really have time for a science project right now.

TIA

John

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

More
11 Mar 2020 00:08 #159723 by phillc54
Replied by phillc54 on topic Update Plasmac?
Hi John, glad to see that you are able to be back to doing some cutting.

I "think" the only change that may break anything is v0.090 in January which renamed some HAL pins. The versions list is here and it names the pins that were changed. If you have done any custom HEL connections using these then that will require some change.

I am pretty sure your PP should still be OK. There is a PP here but I don't know if it would suit what you do.

Cheers, Phill.

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

More
11 Mar 2020 10:56 #159768 by rodw
Replied by rodw on topic Update Plasmac?
John, I am sure your PP will be fine You wrote it about the same time I wrote mine and I have not changed mine. As for the pins changing I don't know. I'm not on the latest version but have never got tangled up with an upgrade yet.

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

More
11 Mar 2020 18:56 #159796 by islander261
Replied by islander261 on topic Update Plasmac?
Thanks guys I will update later today.

John

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

More
12 Mar 2020 18:35 #159904 by islander261
Replied by islander261 on topic Update Plasmac?
Well I updated my master branch installation with no apparent problems.

I ran configurator.py with no apparent problems.

When I try and start Plasmac I get this (a new one on me):
jd@plasma1 ~/linuxcnc-dev $ uname -a
Linux plasma1 4.1.15-rt17mah #1 SMP PREEMPT RT Fri Feb 26 23:43:49 PST 2016 x86_64 GNU/Linux
jd@plasma1 ~/linuxcnc-dev $ linuxcnc
LINUXCNC - 2.9.0~pre0
Machine configuration directory is '/home/jd/linuxcnc/configs/my_plasmac'
Machine configuration file is 'my_plasmac.ini.expanded'
Starting LinuxCNC...
twopass:invoked with <> options
twopass:found ./plasmac.tcl
twopass:found /home/jd/linuxcnc-dev/lib/hallib/xhc-hb04_plasmac.tcl
twopass:found ./my_plasmac_connections.hal
xhc-hb04_plasmac.tcl: suppressing messages in twopass pass0
twopass:pass0: loadusr -W xhc-hb04 -s 2 -I /home/jd/linuxcnc-dev/lib/hallib/xhc-hb04-layout2.cfg -H
xhc-hb04: waiting for XHC-HB04 device
xhc-hb04: found XHC-HB04 device
Note: Using POSIX realtime
HAL: ERROR: thread 'servo-thread' not found
twopass: Error in file ./plasmac.tcl:
    addf failed
HAL: ERROR: thread 'servo-thread' not found
twopass: Error in file /tmp/tmp_xhc-hb04_plasmac.tcl:
    addf failed
HAL: ERROR: thread 'servo-thread' not found
twopass: Error in file ./my_plasmac_connections.hal:
    addf failed
Shutting down and cleaning up LinuxCNC...
xhc-hb04: connection lost, cleaning up
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/jd/linuxcnc_debug.txt
and
    /home/jd/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
jd@plasma1 ~/linuxcnc-dev $ 

Anyone have an idea about where to start looking for problems? No obvious clues in log files.

John

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

More
12 Mar 2020 20:53 #159929 by cmorley
Replied by cmorley on topic Update Plasmac?
post your config files

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

More
12 Mar 2020 21:27 #159935 by islander261
Replied by islander261 on topic Update Plasmac?
Ok, here are my configs. Please remember this was a working system prior to updating the master branch and running configurator.py. I did the update on Tuesday.

John
Attachments:

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

More
12 Mar 2020 21:34 #159938 by islander261
Replied by islander261 on topic Update Plasmac?
more files
Attachments:

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

More
12 Mar 2020 21:51 #159941 by cmorley
Replied by cmorley on topic Update Plasmac?
on a cursory look, I don't see anywhere that loads threads or kiinamatics.

loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS

Which would explain the error message (missing servo-thread)

But I don't use twopass HAL files so it's a bit unrecognizable.

Do you still have a running copy of the old files?

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

More
12 Mar 2020 22:45 #159949 by phillc54
Replied by phillc54 on topic Update Plasmac?
I think Chris is correct, you seem to be missing the HAL file for your base machine.
[HAL]
# required
TWOPASS = ON
# the base machine
#HALFILE                 = plasmac.tcl
# the plasmac component connections
HALFILE                 = plasmac.tcl
HALFILE = LIB:xhc-hb04_plasmac.tcl
# the plasmac machine connections
HALFILE = my_plasmac_connections.hal
# use this for customisation after GUI has loaded
POSTGUI_HALFILE = postgui.hal
# required
HALUI = halui

Is it possible your original HAL file was named plasmac.tcl which is what PlasmaC uses as the name for the HAL file for the connections to the plasmac component.

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

Moderators: snowgoer540
Time to create page: 0.187 seconds
Powered by Kunena Forum