Hypersensing questions

More
16 Aug 2020 01:51 #178344 by snowgoer540
Replied by snowgoer540 on topic Hypersensing questions

I've got a mess in my workshop pending delivery of a press brake tomorrow so I can't get to the plasma to check for a couple of days.
The main thing would be the threshold, is there power to the circuit (light on on power supply) and that you can see the voltage in halshow changing from 0-24 or so volts


Ok I’ll step through it with him next time he’s at the shop. It may be that the threshold needs lowered a bit. Thanks Rod, good luck with the delivery!

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

More
17 Mar 2021 18:24 #202614 by bevins
Replied by bevins on topic Hypersensing questions

I've got a mess in my workshop pending delivery of a press brake tomorrow so I can't get to the plasma to check for a couple of days.
The main thing would be the threshold, is there power to the circuit (light on on power supply) and that you can see the voltage in halshow changing from 0-24 or so volts


Ok I’ll step through it with him next time he’s at the shop. It may be that the threshold needs lowered a bit. Thanks Rod, good luck with the delivery!


Is there docs on this? I've read the whole thread and I am more confused than before reading it.
I think I have the wiring of it setup but making it work in LCNC will prove to be difficult unless I can read some docs somewhere.

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

More
17 Mar 2021 20:35 #202638 by rodw
Replied by rodw on topic Hypersensing questions
Use the circuit with the 24k resistor shown
Use ohmic3.comp here
forum.linuxcnc.org/plasmac/38848-hyperse...ons?start=210#175839

Create a new hal file and edit your ini file so it is loaded that contains
loadrt ohmic3 names=ohmicsense
addf ohmicsense servo-thread
 
setp ohmicsense.thcad-0-volt-freq    140200
setp ohmicsense.thcad-max-volt-freq  988300
setp ohmicsense.thcad-divide         32
setp ohmicsense.thcad-fullscale      5
setp ohmicsense.volt-divider         4.9
setp ohmicsense.ohmic-threshold      22
setp ohmicsense.ohmic-low            21.5
setp ohmicsense.mode                 1 
setp ohmicsense.num-readings         10
net ohmic-vel ohmicsense.velocity-in <= hm2_7i76e.0.encoder.02.velocity
unlinkp debounce.0.2.in
net ohmic-true ohmicsense.ohmic-on => debounce.0.2.in
net plasmac:ohmic-enable  plasmac.ohmic-enable
net plasmac:ohmic-enable           =>  ohmicsense.is-probing
#net plasmac:ohmic-enable        plasmac.ohmic-enable             =>  hm2_7i76e.0.7i76.0.0.output-11
net ohmic:type  <= motion.motion-type
net ohmic:type  => ohmicsense.motion-type-in
net ohmic:power <= ohmicsense.power-on
net ohmic:power => hm2_7i76e.0.7i76.0.0.output-11

Once installed, man ohmic3 should give you some docs. You will need to edit the volt-divider pin if you are using a THCAD-10. I chose the 390K resistor to give a 24.5 volt full scale with a THCAD-5 (per the formula in the THCAD manual). I wanted to make sure the THCAD could see a bit past 24 volts.

You may need to spin up halscope to review your thresholds of a wet torch and edit these thresholds to suit.
setp ohmicsense.ohmic-threshold      22
setp ohmicsense.ohmic-low            21.5
Ohmic3 does not really use the low threshold as once the voltage starts to fall, it will trigger so it may sense an ohmic off signal above the low threshold

WARNING: Plasmac now uses motion.motion-type so some changes may be required on this signal.. eg. To use Plasmac's pin..
Output-11 is the pin that enables the 240V relay. I think I have mine disconnected...
The following user(s) said Thank You: bevins

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

More
18 Mar 2021 10:54 - 18 Mar 2021 11:04 #202722 by bevins
Replied by bevins on topic Hypersensing questions
Thankls, I'll see if I can get all this setup.

I though comps were suppose to be compiled.

This is the comp?
Warning: Spoiler!


So if using a thcad-10 then use a 24K resistor instead of the 390K you used as shown in the attached pdf?
Attachments:
Last edit: 18 Mar 2021 11:04 by bevins.

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

More
18 Mar 2021 11:44 #202725 by rodw
Replied by rodw on topic Hypersensing questions
The comp seems right, I had a direct link to the forum post it was on in my earlier post.

There are two resistors required.
Attachments:

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

More
18 Mar 2021 11:51 #202727 by rodw
Replied by rodw on topic Hypersensing questions
By my calculations, a 147k resistor will give a 24.7 volt full scale which would work well instead of 390k

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

More
18 Mar 2021 12:11 #202729 by bevins
Replied by bevins on topic Hypersensing questions

By my calculations, a 147k resistor will give a 24.7 volt full scale which would work well instead of 390k


OK noted. Where do I put this comp file and how to reference it?

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

More
18 Mar 2021 12:23 #202731 by rodw
Replied by rodw on topic Hypersensing questions
(sudo) halcompile --install ohmic3.comp
Then include the provided hal file in my spoiler which unlinks anything required except motion-status as mentioned
sudo is not required for a rip build

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

More
18 Mar 2021 12:44 #202734 by bevins
Replied by bevins on topic Hypersensing questions

(sudo) halcompile --install ohmic3.comp
Then include the provided hal file in my spoiler which unlinks anything required except motion-status as mentioned
sudo is not required for a rip build


OK but is that file going to compile with all those .br in there? and uncommented comments?

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

More
18 Mar 2021 12:52 #202736 by rodw
Replied by rodw on topic Hypersensing questions
Try it, it worked for everybody else. I gave you a link to the file to download
There is a lot of documentation in there for the man page that requires other halcompile switches.

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

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