Gmoccapy - A new screen for linuxcnc
- mariusl
- Offline
- Platinum Member
-
Less
More
11 years 10 months ago - 11 years 10 months ago #54113
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gmoccapy - A new screen for linuxcnc
Hi Johnny
What did you edit or change and what release are you on?
What did you edit or change and what release are you on?
Regards
Marius
www.bluearccnc.com
Last edit: 11 years 10 months ago by mariusl.
Please Log in or Create an account to join the conversation.
- Johnny-Don
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
11 years 10 months ago - 11 years 10 months ago #54120
by Johnny-Don
Hello Marius,
That's the odd thing. 2 weeks ago I had everything working (On 2.6.4-Sim) and was about to move on to HAL file edits to my actual hal files at my machine. Fired up my virual machine yesterday morning after not having worked on anything for 2 weeks, did normal udates, ended up on 2.6.5-Sim) then got those errors when attempting to open my GUI. No files were changed in that time. I reverted back to 2.6.4 and still get the errors. I was just trying to see if it was an isoloated problem, and it must be. Thanks for the reply. I'll just start troublehsooting.
Replied by Johnny-Don on topic Gmoccapy - A new screen for linuxcnc
mariusl wrote: Hi Johnny
What did you edit or change and what release are you on?
Hello Marius,
That's the odd thing. 2 weeks ago I had everything working (On 2.6.4-Sim) and was about to move on to HAL file edits to my actual hal files at my machine. Fired up my virual machine yesterday morning after not having worked on anything for 2 weeks, did normal udates, ended up on 2.6.5-Sim) then got those errors when attempting to open my GUI. No files were changed in that time. I reverted back to 2.6.4 and still get the errors. I was just trying to see if it was an isoloated problem, and it must be. Thanks for the reply. I'll just start troublehsooting.
Last edit: 11 years 10 months ago by Johnny-Don. Reason: mis-spelling
Please Log in or Create an account to join the conversation.
- todmorg
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
11 years 10 months ago #54142
by todmorg
Thanks for the offer to help, I think I'm going to need a little!
Is there a config folder from a working Gmoccapy plasma machine that is using a THCAD for THC control that I could look at? I think I am just getting hung up on the differences between a demo setup and an actual working configuration. I don't have a problem using G-code for for probing, delays, and heights, I do most of this through my post processor now.
Thanks again,
Todd
Replied by todmorg on topic Gmoccapy - A new screen for linuxcnc
mariusl wrote: Hi Todd
Let me know if you need help on setting up the system. I suggest that you read up on the wiki about plasma procedures. I have put a lot of information on there that could be useful in understanding the process.
Plasma wiki
Thanks for the offer to help, I think I'm going to need a little!
Is there a config folder from a working Gmoccapy plasma machine that is using a THCAD for THC control that I could look at? I think I am just getting hung up on the differences between a demo setup and an actual working configuration. I don't have a problem using G-code for for probing, delays, and heights, I do most of this through my post processor now.
Thanks again,
Todd
Please Log in or Create an account to join the conversation.
- mariusl
- Offline
- Platinum Member
-
11 years 10 months ago #54148
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Gmoccapy - A new screen for linuxcnc
What I would suggest is that you use Pncconf to do a standard 3 axis setup and then just add the THCAD input. It is a frequency that you read with one of the encoder inputs on a 7i76 or the like.
You convert the count to a voltage and put that through a component like this:
This is then connected to the THCUD component. look at the Gcode examples that I gave in the wiki.
You convert the count to a voltage and put that through a component like this:
Code:
component thc200 "THC-200 Torch Height Control. This will calculate the up / down condition from the tip voltage";
// description
// MC200 Digital Torch Height Control
//
// The THC200 sends UP and Down signals if the Torch Voltage is out of range.
//
// The THC200 component needs a voltage reference (like a spindle controller),
// to match User Interface display the signal is scaled in this component.
author "Marius D. Liebenberg";
option singleton yes;
// Input Pins
pin in float set_voltage_in ;//"The Tip Voltage reference "
pin in float arc_voltage_in ;
pin in float voltage_window ;
pin in bit arc_ok = 0 ;//
// Output Pins
pin out bit up = 0 ;//"UP signal to THC"
pin out bit down = 0 ;//"DOWN signal to THC "
pin out bit volts_ok = 0;
// Parameters
param rw float arc_threshold ;
// Global Variables
//variable float toggle = 0;
variable float offset ;
function _;
license "GPL";
;;
#include "rtapi_math.h"
FUNCTION(_) {
if(arc_ok)
{
if(arc_voltage_in < (set_voltage_in - voltage_window))
{
up = true;
down = false;
volts_ok = false;
}else
{
up = false;
volts_ok = true;
}
if(arc_voltage_in > (set_voltage_in + voltage_window))
{
down = true;
up = false;
volts_ok = false;
}else
{
down = false;
volts_ok = true;
}
// arc_ok = true;
}
else
{
// arc_ok = false;
down = false;
up = false;
volts_ok = false;
}
}
This is then connected to the THCUD component. look at the Gcode examples that I gave in the wiki.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
- todmorg
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
11 years 10 months ago #54156
by todmorg
Replied by todmorg on topic Gmoccapy - A new screen for linuxcnc
Pncconfig does not have gmoccapy or gmoccapy_plasma as one of the options. I have the configurations working in axis including the THCAD to voltage. The axis configurations do not work when I copy them to gmoccapy_plasma. That is why I was hoping to see a functioning config folder. I understand it will not be correct for my system, but I may be able tell where my mistakes are by comparing to a config that is known to work.
For example, I am assuming that I should be copying the contents of my axis.hal to the core sim.hal in gmoccapy, but I am only guessing.
Is there a copy of gmoccapy plasma that is not setup as a Sim?
Is there a pncconfig that will configure gmoccapy plasma?
Thanks,
Todd
For example, I am assuming that I should be copying the contents of my axis.hal to the core sim.hal in gmoccapy, but I am only guessing.
Is there a copy of gmoccapy plasma that is not setup as a Sim?
Is there a pncconfig that will configure gmoccapy plasma?
Thanks,
Todd
Please Log in or Create an account to join the conversation.
- todmorg
- Offline
- New Member
-
Less
More
- Posts: 16
- Thank you received: 0
11 years 10 months ago #54182
by todmorg
Replied by todmorg on topic Gmoccapy - A new screen for linuxcnc
OK,
I'm making slow progress, I have motion, I can read torch voltage, I have a post processor that is working all of the probing, timing, offsets and firing of the torch, but I am stuck on how to use the component that converts the voltage to a up down signal.
Todd
I'm making slow progress, I have motion, I can read torch voltage, I have a post processor that is working all of the probing, timing, offsets and firing of the torch, but I am stuck on how to use the component that converts the voltage to a up down signal.
Todd
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 1.245 seconds