Another plasma component...

More
13 May 2019 02:33 #133613 by phillc54
Rod,
That is strange, it works on my development machine which is a VMware Fusion virtual machine running 'Stretch' RT_PREEMPT and on my test machine which is a real machine running 'Wheezy' RTAI.

Cheers, Phill.

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

More
13 May 2019 03:07 #133614 by rodw
Replied by rodw on topic Another plasma component...
Yeh, I dunno either. It used to work unless I broke it playing with the task modules. But went nowhere outside of the ./EMC folder. I might reinstall plasmac from scratch

Also on a live cut, I don't have an M190. Is there something I need to set up?

Also can you confirm this is only needed once in a gcode file if you are only running one tool in the job?
  M190 P2
  M66 P3 L3 Q1n

Just thinking about what a post processor looks like

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

More
13 May 2019 03:15 #133615 by phillc54

Also on a live cut, I don't have an M190. Is there something I need to set up?

If you don't already have a USER_M_PATH in your ini file [RS274NGC] section you will need:
# required for our material change
USER_M_PATH = ./
And you need the M190 file in the config directory, unless you already have a USER_M_PATH in which case put the M190 file there.


Also can you confirm this is only needed once in a gcode file if you are only running one tool in the job?

Yes, that is correct.

Cheers, Phill.

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

More
13 May 2019 04:35 #133616 by phillc54
Rod,
I have done a bit of work on your external thc-enable pin request and the best I can do is:
The plasmac component has an input pin named plasmac.thc-enable
The userspace run panel has an output pin named plasmac_thc.enable-out
These are netted together in plasmac_run.hal to a signal named plasmac:thc-enable

You could have a postgui halfile with something like:
unlinkp plasmac_thc.enable-out
loadrt or2 names=thc_or
addf thc_or servo-thread
net thc-in0  thc_or.in0 => plasmac_thc.enable-out
net thc-in1  thc_or.in1 => my.hal-pin
net plasmac:thc-enable thc_or.out
Or whatever logic you have for your requirements.
This doesn't break anything else so if it is good enough for what you want to do then I can push it later today.

Cheers, Phill

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

More
13 May 2019 04:39 #133617 by rodw
Replied by rodw on topic Another plasma component...

phillc54 wrote: If you don't already have a USER_M_PATH in your ini file [RS274NGC] section you will need:

# required for our material change
USER_M_PATH = ./
And you need the M190 file in the config directory, unless you already have a USER_M_PATH in which case put the M190 file there.


Fixed. Very cool thank Phil

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

More
13 May 2019 05:24 #133618 by rodw
Replied by rodw on topic Another plasma component...

phillc54 wrote: Rod,
I have done a bit of work on your external thc-enable pin request and the best I can do is:
The plasmac component has an input pin named plasmac.thc-enable
The userspace run panel has an output pin named plasmac_thc.enable-out
These are netted together in plasmac_run.hal to a signal named plasmac:thc-enable

You could have a postgui halfile with something like:

unlinkp plasmac_thc.enable-out
loadrt or2 names=thc_or
addf thc_or servo-thread
net thc-in0  thc_or.in0 => plasmac_thc.enable-out
net thc-in1  thc_or.in1 => my.hal-pin
net plasmac:thc-enable thc_or.out
Or whatever logic you have for your requirements.
This doesn't break anything else so if it is good enough for what you want to do then I can push it later today.

Cheers, Phill


Phill, that would formalise what John is doing now by the sound of it. So that is OK by me.

I was just looking for a THC delay but I found it.

I was going to modify my Sheetcam postprocessor and see if I could get a gcode file generating without errors this afternoon
Then I'll be onto Les to make a post file for plasmac.
All my Sheetcam tool entries imported fantastically into plasmac. Thanks for that.

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

More
13 May 2019 05:26 #133619 by rodw
Replied by rodw on topic Another plasma component...
And just pick a motion digital pin. I think John was using Number 1 so wire it in at that and be done with it.

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

More
13 May 2019 05:29 #133620 by phillc54
I won't be doing any postgui stuff in the config as that is really a user customisation.
I am happy to make the pins available for use but what you guys do with them is up to you.

Cheers, Phill.

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

More
13 May 2019 06:45 #133622 by phillc54
I have pushed an update that exposes the thc enable hal pins to allow for user customisation.

Affected files are:
configs/sim/gmoccapy/plasmac/plasmac_run.glade
configs/sim/gmoccapy/plasmac/plasmac_run.hal
configs/sim/gmoccapy/plasmac/plasmac_run.py

Cheers, Phill.

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

More
13 May 2019 06:54 #133623 by rodw
Replied by rodw on topic Another plasma component...
Sorry, I thought I was taking a video but here is just a sample of how good Plasmac's THC is in case there are any doubters.



Yes we cut the part out at the back at 2219mm per minute, standard THC settings with the material cocked up exactly as you see it there...
Attachments:
The following user(s) said Thank You: phillc54, thefabricator03

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

Time to create page: 0.146 seconds
Powered by Kunena Forum