Hypersensing questions

More
6 years 6 months ago #164307 by snowgoer540
Replied by snowgoer540 on topic Hypersensing questions

PCW wrote: The filter bit increases the digital filter time constant on the encoder inputs
(from the default of 3 counts to 15 counts of the encoder sample clock).
If you are using a THCAD with divided frequency output (1/32 etc),
you should enable the filter to improve electrical noise immunity


Oh, ok! So it's not ethernet card specific.

I will enable it for the THC and the Hypersensing THCADs in that case!

Thanks Peter
More
6 years 6 months ago #164331 by rodw
Replied by rodw on topic Hypersensing questions

snowgoer540 wrote: In addition to changing the "num_encoders=" to 2 in the top of the main hal file, another critical piece of information is that you need the other setp values that are similar to the THC:

setp hm2_5i25.0.encoder.01.scale -1
setp hm2_5i25.0.encoder.01.counter-mode 1

I am honestly not sure if you need the filter or not (setp hm2_5i25.0.encoder.01.filter 1)? I've always been a little fuzzy as to what this did?

I think I read somewhere the filter was ONLY for the 7i96... but I could be wrong. Note that I DO NOT have an Ethernet setup, I am using a 6i25 with a 7i76 with Peter's custom Plasma firmware...


Setting up the encoder is covered in the plasma primer example linuxcnc.org/docs/devel/html/plasma/plas..._with_a_mesa_thcad_5

i have never used filter.on my 7i76e. MY guess is you probably don't need it either on you 7i76 either.
More
6 years 6 months ago - 6 years 6 months ago #164332 by snowgoer540
Replied by snowgoer540 on topic Hypersensing questions

rodw wrote:

snowgoer540 wrote: In addition to changing the "num_encoders=" to 2 in the top of the main hal file, another critical piece of information is that you need the other setp values that are similar to the THC:

setp hm2_5i25.0.encoder.01.scale -1
setp hm2_5i25.0.encoder.01.counter-mode 1

I am honestly not sure if you need the filter or not (setp hm2_5i25.0.encoder.01.filter 1)? I've always been a little fuzzy as to what this did?

I think I read somewhere the filter was ONLY for the 7i96... but I could be wrong. Note that I DO NOT have an Ethernet setup, I am using a 6i25 with a 7i76 with Peter's custom Plasma firmware...


Setting up the encoder is covered in the plasma primer example linuxcnc.org/docs/devel/html/plasma/plas..._with_a_mesa_thcad_5

i have never used filter.on my 7i76e. MY guess is you probably don't need it either on you 7i76 either.


Sorry Rod, I was looking at the hal and comp files you attached in the other thread. I'm not sure I knew about the primer. I guess I will bounce my hal file against that and see where I'm going wrong.

It also makes me wonder if I am not meeting the voltage thresholds. hmm.

EDIT: Yep, my HAL matches the primer exactly (except edits to match my card and encoder, of course). How would I ensure I am meeting the voltage threshold? Anything else I can check?
Last edit: 6 years 6 months ago by snowgoer540.
More
6 years 6 months ago - 6 years 6 months ago #164334 by rodw
Replied by rodw on topic Hypersensing questions
So the thresholds might be wrong for you


Code:
setp ohmicsense.ohmic-threshold 22.0 setp ohmicsense.ohmic-low 1.0

But, first use a multimeter and calibrate the power supply so it outputs 24.0 volts (if this is required on your power supply)

Open up a halshow window and watch some variables
First check that the encoder velocity is hovering around your 0 volt calibration sticker (adjusted for your hardware divider F/32)?
If not check that

setp ohmicsense.thcad-divide 32

is set correctly to mirror the divide link position
Sort this out before proceeding.

Now watch the following pins
Code:
ohmicsense.ohmic-volts ohmicsense.ohmic-on ohmicsense.is-probing

What is the ohmic-volts? Your ohmic-low needs to be above that value
Now with some material under the torch, jog down until you have firm contact with the plate
What is the ohmic-volts now? It should be 24.0 volts or similar.
Your ohmic-threshold needs to be below that.
If its a water table, the ohmic-low might need to be quite high. 22v+ once water splashes around (and enters the nozzle)
Last edit: 6 years 6 months ago by rodw.
More
6 years 6 months ago #164337 by rodw
Replied by rodw on topic Hypersensing questions

snowgoer540 wrote:
It also makes me wonder if I am not meeting the voltage thresholds. hmm.

EDIT: Yep, my HAL matches the primer exactly (except edits to match my card and encoder, of course). How would I ensure I am meeting the voltage threshold? Anything else I can check?


Already answered
More
6 years 6 months ago #164360 by snowgoer540
Replied by snowgoer540 on topic Hypersensing questions

rodw wrote: So the thresholds might be wrong for you


Code:
setp ohmicsense.ohmic-threshold 22.0 setp ohmicsense.ohmic-low 1.0

But, first use a multimeter and calibrate the power supply so it outputs 24.0 volts (if this is required on your power supply)

Open up a halshow window and watch some variables
First check that the encoder velocity is hovering around your 0 volt calibration sticker (adjusted for your hardware divider F/32)?
If not check that

setp ohmicsense.thcad-divide 32

is set correctly to mirror the divide link position
Sort this out before proceeding.

Now watch the following pins
Code:
ohmicsense.ohmic-volts ohmicsense.ohmic-on ohmicsense.is-probing

What is the ohmic-volts? Your ohmic-low needs to be above that value
Now with some material under the torch, jog down until you have firm contact with the plate
What is the ohmic-volts now? It should be 24.0 volts or similar.
Your ohmic-threshold needs to be below that.
If its a water table, the ohmic-low might need to be quite high. 22v+ once water splashes around (and enters the nozzle)


Ok, checked those things. The frequency is right around 4,368.75. Which is my 0 frequency /32.
ohmicsense.ohmic-volts sits right around 0 This goes to 24.4 volts when i short the connection (I did changed my output of the power supply to 24.5v as you suggested in one of the posts.

ohmicsense.ohmic-on
ohmicsense.is-probing
^neither of these change ever.

It seems like fundamentally it's working, but something is missing.
Moderators: snowgoer540
Time to create page: 2.103 seconds
Powered by Kunena Forum