Configuring Plasmac - a complete THC/plasma config for any hardware

More
24 Jul 2019 08:13 #140412 by rodw
LIncurve linuxcnc.org/docs/devel/html/man/man9/lincurve.9.html
maps a x value in Cartesian space to a y ordinate.
So if you use axis.y.pos-cmd as input (for the X position)
and define a series of y values of 0,1,2,3 you should be able to obtain a float that specifies a zone number. You might need to fed that to a mux4 and change the type down to a bit to trigger 4 output pins.

I was always going to write a custom component that did this in one step that supported a user defined number of zones similar to lincurve. If you are lucky, I might knock up a 4 zone version for you.

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

More
24 Jul 2019 08:36 - 24 Jul 2019 08:36 #140416 by rodw
Actually try this:
Warning: Spoiler! [ Click to expand ]


Could be some syntax errors....
If you are run in place
halcompile --install downdraft4.comp
if a deb install
sudo halcompile --install downdraft4.comp

comp file attached
Attachments:
Last edit: 24 Jul 2019 08:36 by rodw.
The following user(s) said Thank You: flamecutter

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

More
24 Jul 2019 08:57 - 24 Jul 2019 08:57 #140418 by phillc54

I didn't see a reference to a PyVCP panel in your ini file

I removed the PyVCP from the INI and still get the errors.

I just noticed in your ini file that you have:
HALFILE = ./imperial_plasmac_cmds.hal

I have my hal commands spread between that file and my original hal file. Should I combine it to one single hal file?
Do I have all the commands I need, or which commands don't I need with Plasmac? Do I need the PID Commands on all the axis with a stepper system?

It seems you didn't use the configurator to create your config, you have multiple commands doing the same thing.

I would recommend that you create a new base machine . In your case you would use Stepconf

Then make sure everything works correctly.

When you have a working base machine then use configurator to get PlasmaC working
Last edit: 24 Jul 2019 08:57 by phillc54.

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

More
25 Jul 2019 21:42 #140572 by flamecutter
I'm Still getting an error when I shutdown Linuxcnc.

I would recommend that you create a new base machine . In your case you would use Stepconf

Then make sure everything works correctly.

When you have a working base machine then use configurator to get PlasmaC working


I started over and reinstalled Debian 9 and LinuxCNC. I thought I might have messed something up with NC_Files folder sharing with windows, so I reinstalled everything. Now I used pncconf to create my new base machine because I am using Mesa 5i25 and 7i76.
My base machine works good but when I shut down, I get an error.

File Attachment:

File Name: linuxcnc.txt
File Size:8 KB

File Attachment:

File Name: LinuxCNC_P...7-25.ini
File Size:4 KB

File Attachment:

File Name: LinuxCNC_P...7-25.hal
File Size:10 KB

I would like to get rid of the error before I configure PlasmaC.
E.W.
Attachments:

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

More
25 Jul 2019 22:28 #140576 by tommylight
setup::~setup(): Assertion `!pythis || Py_IsInitialized()' failed.

That is the only thing wrong there that i could find. Have no clue how to fix it , never seen it before.

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

More
25 Jul 2019 22:42 #140581 by rodw
I wonder if you compiled from source and used sudo make and not just make?
That caught me out once.

Usually if it shuts down without an error message its because there is something basic missing like a missing addf or something silly like that

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

More
25 Jul 2019 23:33 #140589 by phillc54

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

More
25 Jul 2019 23:58 #140593 by flamecutter
I compiled using J T's Building LinuxCNC Uspace instructions. If it relates to the shutdown error github.com/LinuxCNC/linuxcnc/issues/627 how do I revert out of it, or am I ok to ignore it for now and continue to install Plasmac?

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

More
26 Jul 2019 03:35 #140605 by rodw
does this affect you operationally? does it matter if there is an error on a shutdown?
It looks like the issue was only reported 16 hours ago. Give the devs a bit of time to fix it and recompile. Try again Monday or monitor the issue.

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

More
26 Jul 2019 03:46 #140606 by phillc54
It is probably safe to ignore for the time being

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

Time to create page: 0.126 seconds
Powered by Kunena Forum