I am still stuck with the same and I cannot figure out what I am doing wrong. I read on this
post
that the code has changed, so I just copied the format of the hal updated in this post to connect the ohmicsense.ohmic-on pin to plasmac.ohmic-probe and plasmac.ohmic-enable to ohmicsense.is-probing as Rodw told me that I have to do. Moreover, I deleted everything related to the debounce.0.2.in because I think it is not needed with QtPlasmaC. Then I realized that I had the voltage divider wrong since I wrote 50 because my hypertherm has a 50:1 voltage divider, but the 4.9 is because of the 390k resistor. It made me realize that I don't know how you calculate the 4.9. Nonetheless, my voltage supply is 230V (europe) and not 120V, so I might need to change this resistor.
Another thing I found out in this
thread
is that there is a ohmic3 file, should I download it or it is not needed?
Sorry for being so annoying, but I am spending a lot of time with this and I got stuck. I attached a screenshot of how I wired the torch and one from the hal watch to show you that the encoder 4 is not counting and the ohmicsense.ohmic-volt does not measure well.
I would really appreciate it if someone can help me:
-To learn how to choose the proper resistor and how to calculate the 4.9 value.
-To find out why it does not work.
As you can see on the electrical scheme I uploaded, I removed the optional relay, is this what makes it work wrongly?
Thank you in advance and sorry for asking so much but I really don't know what to do.