Another plasma component...

More
27 May 2019 09:45 #135053 by pl7i92
Replied by pl7i92 on topic Another plasma component...

I have pushed some updates.

Changes to plasmac.comp so you need to run make.
A change to the kerf crossing calculations for anyone who is game to try it...

Some minor changes to:
configs/by_machine/plasmac/axis/metric_plasmac.ini
configs/by_machine/plasmac/axis/imperial_plasmac.ini
configs/by_machine/plasmac/test/plasmac_test.py
nc_files/plasmac/imperial_wrench.ngc

Cheers, Phill


ARE this files now in master
or only on the git

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

More
27 May 2019 10:12 #135058 by rodw
Replied by rodw on topic Another plasma component...

ARE this files now in master
or only on the git


These files will never be in master until the reverse run branch is in master. That is the only reason why Phill is forced to keep his private repository. BUt he keeps it current with master branch
The following user(s) said Thank You: phillc54

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

More
27 May 2019 16:30 #135071 by JTknives
Anyone know why it would start cutting round corners. I was cutting sheets out and stopped to run to town. Came back and I tweaked some cut speed settings. And it started doing this. I don’t have a G02/G03 any where in the program. I closed LinuxCNC and still doing it. I also dropped cut speed to 50%. I changed feed rate from 100in/min to 200 in/min in the program file. This also brings up another weird thing. It seams to be running off the feed rate in the program not the feed rate set in the settings. And sometimes it’s still not using the THC. It touches off and just takes off but never adjusts the Z.

Attachments:

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

More
27 May 2019 17:17 #135073 by islander261
JTknives

My guess is that you are not setting your G64 correctly. Look in the docs!

I use G64 P0.010 Q0.005 for most plasma work.

John

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

More
27 May 2019 18:01 #135075 by JTknives
All my machinest experance centers around lathes and mills. I am quickly realizing plasma is a diffrent beast. I have never used G64, I will play with it.

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

More
27 May 2019 19:57 #135084 by rodw
Replied by rodw on topic Another plasma component...

Anyone know why it would start cutting round corners.

And sometimes it’s still not using the THC. It touches off and just takes off but never adjusts the Z.

John has set you straight on the rounding. When I first got my table moving, I drew a large square at maximum speed and it rounded the corners by many inches. So i put it in the startup code (which in plasmac's case is in a .ngc file in the config directory)

If you have feed rates in the gcode, they will be used. To use the one set in the plasmac gui, you need to add
M190 Pn
M66 P3 L3 Q1
F#<_hal[plasmac.cut-feed-rate]>
M3 S1
where Pn contains the plasmac tool number. If you have a lot of tools (50 or so), you might need to increase the Q1 to Q2

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

More
27 May 2019 23:35 - 27 May 2019 23:43 #135098 by phillc54

If you have feed rates in the gcode, they will be used. To use the one set in the plasmac gui, you need to add
M190 Pn
M66 P3 L3 Q1
F#<_hal[plasmac.cut-feed-rate]>
M3 S1

Rod is on the right track here but you do not have to use the M190 and M66 lines, they are only used if you are specifying material numbers. You could omit these and it will use the parameters of the currently displayed material. You do need the F#<_hal[plasmac.cut-feed-rate]> if you want to use the displayed materials cut feed rate. If you specify a feed rate in gcode say F2000 then if that is less than 99.9% of the displayed materials cut feed rate then cornerlock will stay locked because the machine will not reach the displayed materials cut feed rate.

I hope that makes sense...

Edit:

Anyone know why it would start cutting round corners.

Have a look in imperial_startup.ngc, I have specified G64 P0.04 (1mm), it should have been 0.004 (0.1mm) it is correct in metric_startup.ngc.
Should I change these numbers???
I would really love for some input on setting the defaults to some sane numbers...

Cheers, Phill.
Last edit: 27 May 2019 23:43 by phillc54.

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

More
28 May 2019 03:22 #135111 by islander261
Phill

Ok, I made newbie mistake and didn't save the whole plasmac branch directory.

So I had a little time waiting for the boss to respond to a design proposal this morning and thought well my Plasmac is well out of date and has several known issues. So I blindly plowed ahead :
git fetch
git reset --hard origin/master
cd src
make
sudo make setuid
This was more like a fresh clone than an update. I think every source file recompiled and linked.

Well it seems the whole directory structure has changed.

So went to build a new configuration after testing a sim, ok.

A new directory for my stuff and fixing all the broken links, the sim still works. I still couldn't get an actual configuration to run on hardware. After much fussing around I found that it worked by removing this from the .ini file:
# required for remapping gcode f word
#REMAP = F prolog=plasmac_feed_prolog ngc=plasmac_feed epilog=plasmac_feed_epilog
So is this bit now redundant?

I found the changes in syntax for defining the user button actions. It really is one of the confusing parts of LinuxCNC where the syntax changes for doing the same thing from file type to file type.

The next thing is the material file. When I start up there is only the default material available. I can edit it and save it but still only the default. I couldn't add to it either using the GUI or text editing the imperial_plasmac_materials.cfg file. How do I add new materials? The Kerf width spin box is broken.

The nice color coding of the torch enable button appears to be gone. Well I thought I'll just edit the glade file, no. Some how the button as setup doesn't let you set the active/not active colors.

Thanks for all the hard work, I know I should have kept up with the daily updates.

I still need to make a new PP to support multiple materials. Figure out how I enable/disable the THC (I am sure my old hack is broken).

John

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

More
28 May 2019 04:24 - 28 May 2019 04:28 #135116 by phillc54
To make thing easier (for me) when I got Axis going again I moved the configs from configs/sim/blah to /configs/by_machine/plasmac.
In this directory there is a file named configurator.py, it will (should) create a config from an existing vanilla ini and hal file for the base machine. So if you have a base machine config in ~/linuxcnc/machine you would run configurator.py and create a new config named something different to your base machine config, fill in all the required blanks and it will build a new config in ~/linuxcnc/newname with the new ini file called newname.ini. It will split the original plasmac.hal into plasmac.hal and newname_connections.hal and also create a postgui.hal file. Your original hal file will be untouched but a new copy called newname.hal will be in the config directory. The original ini and hal files will have a backup created in the newname directory. Keep all your hal customisations in newname_connections.hal or postgui.hal. When you want to update you just git pull (run make if requried) then run configurator.py and choose update and your config will be updated with newname.hal, newname_connections.hal and postgui.hal left untouched.

Clear as mud...

Cheers, Phill.

Edit:
Where I say base machine I mean just the machine itself without any connections to torch, ohmic, float switch, breakaway switch etc.
Last edit: 28 May 2019 04:28 by phillc54.
The following user(s) said Thank You: thefabricator03

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

More
28 May 2019 04:37 #135118 by rodw
Replied by rodw on topic Another plasma component...

If you specify a feed rate in gcode say F2000 then if that is less than 99.9% of the displayed materials cut feed rate then cornerlock will stay locked because the machine will not reach the displayed materials cut feed rate.


Phil, a clear case where the state tags branch would benefit Linuxcnc immensely as plasmac would always know the current feed rate as its passed to motion where we can see it. If only it was merged into master...

I found that it worked by removing this from the .ini file:
# required for remapping gcode f word
#REMAP = F prolog=plasmac_feed_prolog ngc=plasmac_feed epilog=plasmac_feed_epilog
So is this bit now redundant?



John, yes, this is redundant (ask me how I know?). Its important to review your ini file against the current one in the sim while its still evolving. And yes, I learnt the hard way...

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

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