Raspberry Pi4 Hal configuration for torch on
24 Jun 2020 11:43 - 24 Jun 2020 12:18 #172569
by greekart
Raspberry Pi4 Hal configuration for torch on was created by greekart
Hello everyone, i consume a lot of time to find it but is time for your help
I use Hal_gpio with gmoccapy as gui and plasmac config.
My plasma not have THC but a float switch, i am little confuse with the spindle.0.on and plasmac:torch-on. What i must use to turn the torch when i start the job (M3)?
I manage to use my relay with spindle.0.on but works the opposite way, how i invert the pin?
As much i try i didn't have success to turn the relay with plasmac:torch-on, is something that i miss?
They are 2 lines of code to use my relay with spindle.0.onForgive me but i am new to linux in general and i have hard time to understand how the hal files work, i will get there but..
Thanks in advance
Panos
I use Hal_gpio with gmoccapy as gui and plasmac config.
My plasma not have THC but a float switch, i am little confuse with the spindle.0.on and plasmac:torch-on. What i must use to turn the torch when i start the job (M3)?
I manage to use my relay with spindle.0.on but works the opposite way, how i invert the pin?
As much i try i didn't have success to turn the relay with plasmac:torch-on, is something that i miss?
They are 2 lines of code to use my relay with spindle.0.on
net plasmac:cutting-start => hal_pi_gpio.pin-32-out
net plasmac:cutting-start spindle.0.on => plasmac.cutting-start
Thanks in advance
Panos
Last edit: 24 Jun 2020 12:18 by greekart. Reason: Mistaken pin name
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19314
- Thank you received: 6466
24 Jun 2020 12:00 #172573
by tommylight
Replied by tommylight on topic Raspberry Pi4 Hal configuration for torch on
Moved to PlasmaC.
Please Log in or Create an account to join the conversation.
24 Jun 2020 23:19 #172647
by phillc54
Replied by phillc54 on topic Raspberry Pi4 Hal configuration for torch on
PlasmaC uses spindle.0.on but that is done automatically by the Configurator so you shouldn't need to specify that.
Did you use the Configurator to create the configuration?
linuxcnc.org/docs/2.8/html/plasma/plasma..._to_the_base_machine
Can you compress your configuration directory and post it.
Did you use the Configurator to create the configuration?
linuxcnc.org/docs/2.8/html/plasma/plasma..._to_the_base_machine
Can you compress your configuration directory and post it.
Please Log in or Create an account to join the conversation.
25 Jun 2020 14:29 #172734
by greekart
Replied by greekart on topic Raspberry Pi4 Hal configuration for torch on
I did try the configurator but it make it not working at all..
Here is the folder with my machine config.
Thanks Panos
Here is the folder with my machine config.
Thanks Panos
Please Log in or Create an account to join the conversation.
25 Jun 2020 23:19 - 26 Jun 2020 00:15 #172764
by phillc54
Replied by phillc54 on topic Raspberry Pi4 Hal configuration for torch on
That archive has copied files rather than links so I canot tell what type of installation you have.
Is it a Buildbot install or Run In Place?
Are you using LinuxCNC 2.8 or master? (not that it should matter but I want to check why the Configurator dodn't work)
I also don't see the backup copy of your original ini and hal files.
Did you follow these instructions ?
EDIT1: I have also noticed that your [AXIS_L] and [JOINT_n] MAX_VELOCITY and MAX_ACCELERATION values are all over the place. In your base machine setup they need to be identical for an axis and its corresponding joint(s). Also STEPGEN_MAXACCEL for each joint needs to be at least 10% more than MAX_ACCELERATION.
EDIT2: You have set PlasmaC as Mode 0 but I don't see an arc voltage input. Are you using a Mesa THCAD or something else for arc voltage.
EDIT3: You have in your hal file "net plasmac:cutting-start => hal_pi_gpio.pin-32-out". This should not be there. The first line in the instructions state:
"You NEED to have a fully tested and working base machine configuration without any connections to plasma specific equipment before proceeding"
Is it a Buildbot install or Run In Place?
Are you using LinuxCNC 2.8 or master? (not that it should matter but I want to check why the Configurator dodn't work)
I also don't see the backup copy of your original ini and hal files.
Did you follow these instructions ?
EDIT1: I have also noticed that your [AXIS_L] and [JOINT_n] MAX_VELOCITY and MAX_ACCELERATION values are all over the place. In your base machine setup they need to be identical for an axis and its corresponding joint(s). Also STEPGEN_MAXACCEL for each joint needs to be at least 10% more than MAX_ACCELERATION.
EDIT2: You have set PlasmaC as Mode 0 but I don't see an arc voltage input. Are you using a Mesa THCAD or something else for arc voltage.
EDIT3: You have in your hal file "net plasmac:cutting-start => hal_pi_gpio.pin-32-out". This should not be there. The first line in the instructions state:
"You NEED to have a fully tested and working base machine configuration without any connections to plasma specific equipment before proceeding"
Last edit: 26 Jun 2020 00:15 by phillc54. Reason: more questions
Please Log in or Create an account to join the conversation.
26 Jun 2020 04:34 #172774
by greekart
Replied by greekart on topic Raspberry Pi4 Hal configuration for torch on
Hello, this is not the config from the configurator, is the one that look it work. Just i can’t use torch on, only spindle.0.on and that in reverse.
When i get home i will send you the one from the configurator.
I use a build install for raspberry with debian 10 busted and last linuxcnc.
About stepgen e.t.c, haven’t configure still that, I don’t use any arc voltage.
Sorry if I confuse you, i will check again everything you said and i cone back to you.
Thanks again
Panos
When i get home i will send you the one from the configurator.
I use a build install for raspberry with debian 10 busted and last linuxcnc.
About stepgen e.t.c, haven’t configure still that, I don’t use any arc voltage.
Sorry if I confuse you, i will check again everything you said and i cone back to you.
Thanks again
Panos
Please Log in or Create an account to join the conversation.
26 Jun 2020 06:06 #172775
by phillc54
Replied by phillc54 on topic Raspberry Pi4 Hal configuration for torch on
For Mode 0 you need arc voltage so PlasmaC can calculates the Arc OK to begin a cut after piercing and for THC.
For Mode 1 you need Arc OK to begin a cut after piercing and you need arc voltage for THC.
PlasmaC reads spindle.0.on to start a cut sequence, you don't connect anything to that.
You need the torch-on signal from PlasmaC to turn your torch on.
For Mode 1 you need Arc OK to begin a cut after piercing and you need arc voltage for THC.
PlasmaC reads spindle.0.on to start a cut sequence, you don't connect anything to that.
You need the torch-on signal from PlasmaC to turn your torch on.
Please Log in or Create an account to join the conversation.
26 Jun 2020 08:20 #172778
by greekart
Replied by greekart on topic Raspberry Pi4 Hal configuration for torch on
O! I think I understand, I don’t have anything to measure the arc. Is someway to bypass the arc signal?
Thanks a lot
Panos
Thanks a lot
Panos
Please Log in or Create an account to join the conversation.
26 Jun 2020 08:27 #172780
by phillc54
Replied by phillc54 on topic Raspberry Pi4 Hal configuration for torch on
You 'could' get away without an arc voltage BUT you would have no THC.
You would still need an Arc OK signal.
You would still need an Arc OK signal.
The following user(s) said Thank You: greekart
Please Log in or Create an account to join the conversation.
26 Jun 2020 08:57 #172781
by greekart
Replied by greekart on topic Raspberry Pi4 Hal configuration for torch on
I think i have a solution.. I will get back as soon i can.
THC I will install later but for now the machine is not operational so it will be useless .
Thank you
Panos
THC I will install later but for now the machine is not operational so it will be useless .
Thank you
Panos
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.187 seconds