Another plasma component...

More
7 years 6 months ago #131203 by phillc54
Replied by phillc54 on topic Another plasma component...
Rod,

Thanks for that, there are probably lots more...

Cheers, Phill.
The following user(s) said Thank You: rodw

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

More
7 years 6 months ago #131204 by rodw
Replied by rodw on topic Another plasma component...
Phill, just getting my head around how to setup my hal files. By the look of it, I just need to make a hal file called machine.hal and put all my stuff in there. The only components plasmac loads are the few lines in plasmac.hal
Code:
#***** DEBOUNCE FOR THE FLOAT SWITCH *********************************** loadrt debounce cfg=3 setp debounce.0.delay 1 addf debounce.0 servo-thread #***** PLASMAC COMPONENT *********************************************** loadrt plasmac addf plasmac servo-thread

Is that right? If so you've really made this easy. I was a bit worried about overlapping loadrt commands

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

More
7 years 6 months ago #131205 by rodw
Replied by rodw on topic Another plasma component...
And also, I need to decode the torch voltage from THCAD?

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

More
7 years 6 months ago #131206 by phillc54
Replied by phillc54 on topic Another plasma component...
In the Config tab/page use Voltage Scale and Voltage Offset

Cheers, Phill.

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

More
7 years 6 months ago #131207 by phillc54
Replied by phillc54 on topic Another plasma component...

rodw wrote:
Phill, just getting my head around how to setup my hal files. By the look of it, I just need to make a hal file called machine.hal and put all my stuff in there. The only components plasmac loads are the few lines in plasmac.hal


Sorry Rod, I missed that post. Yes make a machine hal for your machine specific stuff and edit plasmac.hal for any connections required for the plasmac config or do as John does and put the connections in your machine hal file and leave plasmac.hal as is.

Cheers, Phill.
The following user(s) said Thank You: rodw

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

More
7 years 6 months ago #131208 by rodw
Replied by rodw on topic Another plasma component...
I'm a bit confused about modes and voltages
From what I can see, I should be using mode 1 becasue I have a voltage from THCAD-10 and an arcok
Code:
# 1 = use arc-ok-in for arcOK and arc-voltage-in for THC (no need to connect move-up-in and move-down-in)

But then you talk about voltage offsets.
Code:
pin in float arc_voltage_in "arc voltage input [mode 0 & mode 1]"; pin in float arc_voltage_offset "offset to set arc voltage to 0 at 0 volts"; pin in float arc_voltage_scale "scale to convert arc_voltage input to actual volts";

So with a 30:1 voltage divider on a 10 volt scale, my full scale voltage reading is 300 volts
With the THCAD set on 32:1 divisor, I have frequencies of:
Full scale 28778.175
0 volts 3659.375

With my scalethcad component, I just input the raw data and it outputs a voltage so I don't understand how you expect these values to be entered as the THCAD talks in frequencies not volts. I kinda think I could just input my calculated arc voltage and set arc_voltage_scale = 1 and arc_voltage_offset = 0

How would you set it up?

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

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