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

More
7 years 3 months ago #140392 by EW_CNC

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?

File Attachment:

File Name: TLinuxCNC_Plasma.hal
File Size:9.56 KB

File Attachment:

File Name: imperial_p...cmds.hal
File Size:7.5 KB

File Attachment:

File Name: imperial_p...ions.hal
File Size:3.1 KB

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

More
7 years 3 months ago #140393 by EW_CNC
rodw

This is actually using custom component that divides the table into 2 zones, but you can use the Lincurve component to create the zones along the Y axis position and trigger a switch accordingly.

Looks Good.
On my table I have very similar setup, but I have the table divided into quarters. 2 X sections and 2 Y sections. I'm not sure that I fully understand the Lincurve component yet. Would that work with the four sections? E.W.

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

More
7 years 3 months ago #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
7 years 3 months ago - 7 years 3 months ago #140416 by rodw
Actually try this:
Warning: Spoiler!


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
Last edit: 7 years 3 months ago by rodw.
The following user(s) said Thank You: EW_CNC

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

More
7 years 3 months ago - 7 years 3 months ago #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: 7 years 3 months ago by phillc54.

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

More
7 years 3 months ago #140572 by EW_CNC
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.27 KB

File Attachment:

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

File Attachment:

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

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

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

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