Hypersense configuration with 2.8 and PlasmaC

More
04 May 2021 23:40 - 04 May 2021 23:51 #207905 by rodw

The same one it has always been, plasmac.ohmic-enable

Thanks

In the connections file
change:
#net plasmac:ohmic-enable plasmac.ohmic-enable  =>
to
#net plasmac:ohmic-enable plasmac.ohmic-enable  => ohmicsense.is-probing

and comment out any other lines that use ohmicsense.is-probing
Last edit: 04 May 2021 23:51 by rodw.

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

More
04 May 2021 23:46 #207908 by txtrone

Just to be sure, does the torch have an electrode, a nozzle and a shield ?


Yes sir. Here are some screen shots from several days ago, after I installed the 390k 1W, showing the voltage reading in hal show. One without touching the plate, the other shows the reading while touching the plate.
Attachments:

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

More
04 May 2021 23:52 #207912 by rodw
Ahh, we did not get it right earlier either. My last post should solve it.
The following user(s) said Thank You: txtrone

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

More
04 May 2021 23:57 #207914 by rodw
Probably also comment out all of this
# --- Replace Plasmac’s Ohmic sensing signal ---
unlinkp db_ohmic.in
net ohmic-true ohmicsense.ohmic-on => db_ohmic.in
net plasmac:ohmic-enable    =>  ohmicsense.is-probing

and in Plasma Connections, change
net plasmac:ohmic-probe hm2_7i76e.0.7i76.0.0.input-20-not => db_ohmic.in

to
net plasmac:ohmic-probe ohmicsense.ohmic-on => db_ohmic.in

for some cleaner code
The following user(s) said Thank You: txtrone

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

More
04 May 2021 23:57 #207915 by txtrone

Ahh, we did not get it right earlier either. My last post should solve it.


How does this look?

#***** PLASMA CONNECTIONS *****
net plasmac:arc-voltage-in hm2_7i76e.0.encoder.00.velocity => plasmac.arc-voltage-in
net plasmac:arc-ok-in hm2_7i76e.0.7i76.0.0.input-31 => db_arc-ok.in
net plasmac:float-switch hm2_7i76e.0.7i76.0.0.input-21-not => db_float.in
net plasmac:breakaway hm2_7i76e.0.7i76.0.0.input-22-not => db_breakaway.in
net plasmac:ohmic-probe hm2_7i76e.0.7i76.0.0.input-20-not => db_ohmic.in
#net plasmac:ohmic-enable plasmac.ohmic-enable  => ohmicsense.is-probing
net plasmac:torch-on => hm2_7i76e.0.7i76.0.0.spinena

# ---ENCODER SETTINGS---

# --- 7i76e ENCODER SETUP FOR TORCH VOLTAGE ---
setp hm2_7i76e.0.encoder.00.scale -1
setp hm2_7i76e.0.encoder.00.counter-mode 1

# --- Load the Component ---
loadrt ohmic names=ohmicsense
addf ohmicsense servo-thread

# --- 7i76e ENCODER 2 SETUP FOR OHMIC SENSING---
setp hm2_7i76e.0.encoder.01.scale -1
setp hm2_7i76e.0.encoder.01.counter-mode 1
setp hm2_7i76e.0.encoder.01.filter 1

# --- Configure the component ---
setp ohmicsense.thcad-0-volt-freq    135700
setp ohmicsense.thcad-max-volt-freq  966000
setp ohmicsense.thcad-divide         32
setp ohmicsense.thcad-fullscale      5
setp ohmicsense.volt-divider         4.9
setp ohmicsense.ohmic-threshold      22.0
setp ohmicsense.ohmic-low            1.0
net ohmic-vel ohmicsense.velocity-in <= hm2_7i76e.0.encoder.01.velocity


# --- Replace Plasmac’s Ohmic sensing signal ---
unlinkp db_ohmic.in
net ohmic-true ohmicsense.ohmic-on => db_ohmic.in
#net plasmac:ohmic-enable    =>  ohmicsense.is-probing
setp ohmicsense.is-probing 1

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

More
05 May 2021 00:07 #207916 by txtrone

Probably also comment out all of this...

Better? Did I get the line 'setp ohmicsense.is-probing 1' in the correct area?

#***** PLASMA CONNECTIONS *****
net plasmac:arc-voltage-in hm2_7i76e.0.encoder.00.velocity => plasmac.arc-voltage-in
net plasmac:arc-ok-in hm2_7i76e.0.7i76.0.0.input-31 => db_arc-ok.in
net plasmac:float-switch hm2_7i76e.0.7i76.0.0.input-21-not => db_float.in
net plasmac:breakaway hm2_7i76e.0.7i76.0.0.input-22-not => db_breakaway.in
net plasmac:ohmic-probe ohmicsense.ohmic-on => db_ohmic.in
#net plasmac:ohmic-enable plasmac.ohmic-enable  => ohmicsense.is-probing
net plasmac:torch-on => hm2_7i76e.0.7i76.0.0.spinena

# ---ENCODER SETTINGS---

# --- 7i76e ENCODER SETUP FOR TORCH VOLTAGE ---
setp hm2_7i76e.0.encoder.00.scale -1
setp hm2_7i76e.0.encoder.00.counter-mode 1

# --- Load the Component ---
loadrt ohmic names=ohmicsense
addf ohmicsense servo-thread

# --- 7i76e ENCODER 2 SETUP FOR OHMIC SENSING---
setp hm2_7i76e.0.encoder.01.scale -1
setp hm2_7i76e.0.encoder.01.counter-mode 1
setp hm2_7i76e.0.encoder.01.filter 1

# --- Configure the component ---
setp ohmicsense.thcad-0-volt-freq    135700
setp ohmicsense.thcad-max-volt-freq  966000
setp ohmicsense.thcad-divide         32
setp ohmicsense.thcad-fullscale      5
setp ohmicsense.volt-divider         4.9
setp ohmicsense.ohmic-threshold      22.0
setp ohmicsense.ohmic-low            1.0
net ohmic-vel ohmicsense.velocity-in <= hm2_7i76e.0.encoder.01.velocity
setp ohmicsense.is-probing 1

# --- Replace Plasmac’s Ohmic sensing signal ---
#unlinkp db_ohmic.in
#net ohmic-true ohmicsense.ohmic-on => db_ohmic.in
#net plasmac:ohmic-enable    =>  ohmicsense.is-probing

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

More
05 May 2021 12:53 - 05 May 2021 12:54 #207960 by txtrone
Got it working, thanks for all the help! Below is my hal connection file.

Attachment not found

File Attachment:

File Name: mark_i_con...5-05.hal
File Size:3 KB
Attachments:
Last edit: 05 May 2021 12:54 by txtrone. Reason: Added wrong file at first
The following user(s) said Thank You: rodw, Aciera

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

More
05 May 2021 17:38 #208003 by rodw
Great work!
The following user(s) said Thank You: txtrone

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

More
05 May 2021 19:04 - 05 May 2021 19:04 #208011 by txtrone

Great work!


Thanks Rod, but technically I should be congratulating you and everyone on this forum that helped me get this far! If this forum went bowling, I would be Donny... maybe you would be the Dude... not sure about Walter, though I have my suspicions.



Last edit: 05 May 2021 19:04 by txtrone.
The following user(s) said Thank You: tommylight, rodw

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

Moderators: phillc54
Time to create page: 0.120 seconds
Powered by Kunena Forum