Homemade, cheap, plasma CNC

More
4 years 11 months ago - 4 years 11 months ago #225668 by RNJFAB
Replied by RNJFAB on topic Homemade, cheap, plasma CNC
Error - 316: Pin 'db_float.in' was already linked to signal 'plasmac:float-switch'

Line 38 in Hal file
38 net plasmac:float-switch     => db_float.in

I have tried to copy the old PlasmaC file to patch things. Clearly i know not what commands do. 

Thanks Guys. I'll try and read up a bit more, I probably missed it in the config (most of the details i edited after setup to match what i had with the setup on PlasmaC anyway).

 
Last edit: 4 years 11 months ago by RNJFAB.

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

More
4 years 11 months ago #225725 by phillc54
Then you need:

net plasmac:float-switch <= hm2_7i96.0.gpio.008.in
The following user(s) said Thank You: RNJFAB

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

More
4 years 11 months ago - 4 years 11 months ago #225806 by RNJFAB
Replied by RNJFAB on topic Homemade, cheap, plasma CNC
Awesome !!!! Thanks Phillc54 !!!!

Just what I needed to get it all running again. Test firing now. And we have fire !!!!!

no thc control and no arc ok signal yet.
Last edit: 4 years 11 months ago by RNJFAB.

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

More
4 years 11 months ago #225813 by RNJFAB
Replied by RNJFAB on topic Homemade, cheap, plasma CNC
Nope - cant figure out how to get the Arc-ok signal or the THC working.

I'll keep looking.

Latest Hal file here.
 

File Attachment:

File Name: PLASMAhal_...1-09.txt
File Size:14.11 KB

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

More
4 years 11 months ago #225815 by tommylight
Code:
# ---PLASMA INPUTS--- # ---all modes--- net plasmac:float-switch => db_float.in net plasmac:breakaway => db_breakaway.in net plasmac:ohmic-probe => db_ohmic.in net plasmac:ohmic-sense-in => plasmac.ohmic-sense-in # ---modes 0 & 1 net plasmac:arc-voltage-in => plasmac.arc-voltage-in # ---modes 1 & 2 net plasmac:arc-ok-in => db_arc-ok.in # ---mode 2 net plasmac:move-up <= plasmac.move-up net plasmac:move-down <= plasmac.move-down
Those are PlasmaC pins and pin names, none of them are hardware pins, so you need to add hardware pins to those HAL pins so they can communicate with the out physical world. Might sound complicated, but is very simple, the fist thing after NET is a pin name = can be any name like my-pin or an actual pin, then there are actual HAL or hardware pins, can be more than one on one line.
in your case

# ---modes 0 & 1
net plasmac:arc-voltage-in PIN.FROM.MESA.ENCODER => plasmac.arc-voltage-in
# ---modes 1 & 2
net plasmac:arc-ok-in PIN.FROM.MESA.INPUT => db_arc-ok.in

Basically just connecting the physical Mesa pin to HAL pin.
P.S.
Let me know if this explanation is helpful or causes more confusion.
The following user(s) said Thank You: RNJFAB

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

More
4 years 11 months ago - 4 years 11 months ago #225821 by RNJFAB
Replied by RNJFAB on topic Homemade, cheap, plasma CNC
Yes and No tommy.

Thank you. so i understand that i need to tell the hal file what pin to read to get the information it is looking for on the MEAS board.

I know the arc-ok is hm2_7i96.0.gpio.009.in (this comes from the plasma source.). I have tole it this

# --- ARC-OK ---
net plasmac:arc-ok-in     <=  hm2_7i96.0.gpio.009.in

I don't know the encoder input pin address (the plasma runs to the THC10 - this then runs to the encoder input on the 7i96).

I have tried to copy what i could from my old hal/ini files but there are obviously some changes with QTPLASMAC from PlasmaC.
Last edit: 4 years 11 months ago by RNJFAB.

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

Time to create page: 0.407 seconds
Powered by Kunena Forum