Hypersensing questions
17 Apr 2020 19:31 #164304
by PCW
Replied by PCW on topic Hypersensing questions
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
(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
Please Log in or Create an account to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
17 Apr 2020 19:32 - 17 Apr 2020 19:35 #164306
by snowgoer540
Replied by snowgoer540 on topic Hypersensing questions
Ok, I must be missing something. I've attached my hal files, and my ini for good measure.
Basically, I have the encoder showing the velocity in the hal connections. I can touch the two wires together and see that the frequency changes to near the max on the card. But nothing I do in Plasmac shows ohmic probing is enabled.
Here's how I'm checking:
enable ohmic probing checked
short wires
click test ohmic... nothing lights up
Here's what I've done
change numencoders to 2 in the main hal file
copy Rod's info into the plasma_connections.hal file
changed the frequencies to match my card
I think that's it. I did run Phill's configurator on a whim, and tried adding the hm2_5i25.0.encoder.01.velocity to the ohmic probe hal pin (in). The ohmic probe enable hal pin already said: ohmicsense.is-probing I am guessing since I added Rod's stuff.
Anyways, I appreciate any insight, as always. I think I'm pretty close to having this working.
EDIT: Uploaded a newer plasma_connections.hal based on Peters feedback about the filter
Basically, I have the encoder showing the velocity in the hal connections. I can touch the two wires together and see that the frequency changes to near the max on the card. But nothing I do in Plasmac shows ohmic probing is enabled.
Here's how I'm checking:
enable ohmic probing checked
short wires
click test ohmic... nothing lights up
Here's what I've done
change numencoders to 2 in the main hal file
copy Rod's info into the plasma_connections.hal file
changed the frequencies to match my card
I think that's it. I did run Phill's configurator on a whim, and tried adding the hm2_5i25.0.encoder.01.velocity to the ohmic probe hal pin (in). The ohmic probe enable hal pin already said: ohmicsense.is-probing I am guessing since I added Rod's stuff.
Anyways, I appreciate any insight, as always. I think I'm pretty close to having this working.
EDIT: Uploaded a newer plasma_connections.hal based on Peters feedback about the filter
Last edit: 17 Apr 2020 19:35 by snowgoer540.
Please Log in or Create an account to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
17 Apr 2020 19:33 #164307
by snowgoer540
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
Replied by snowgoer540 on topic Hypersensing questions
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
Please Log in or Create an account to join the conversation.
17 Apr 2020 21:20 #164331
by rodw
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.
Replied by rodw on topic Hypersensing questions
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.
Please Log in or Create an account to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
17 Apr 2020 21:24 - 17 Apr 2020 21:26 #164332
by snowgoer540
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?
Replied by snowgoer540 on topic Hypersensing questions
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: 17 Apr 2020 21:26 by snowgoer540.
Please Log in or Create an account to join the conversation.
17 Apr 2020 21:38 - 17 Apr 2020 21:39 #164334
by rodw
Replied by rodw on topic Hypersensing questions
So the thresholds might be wrong for you
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
Sort this out before proceeding.
Now watch the following pins
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)
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
is set correctly to mirror the divide link positionsetp ohmicsense.thcad-divide 32
Sort this out before proceeding.
Now watch the following pins
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: 17 Apr 2020 21:39 by rodw.
Please Log in or Create an account to join the conversation.
17 Apr 2020 21:58 #164337
by rodw
Already answered
Replied by rodw on topic Hypersensing questions
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
Please Log in or Create an account to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
18 Apr 2020 00:13 #164360
by snowgoer540
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.
Replied by snowgoer540 on topic Hypersensing questions
So the thresholds might be wrong for you
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 thatis set correctly to mirror the divide link positionsetp ohmicsense.thcad-divide 32
Sort this out before proceeding.
Now watch the following pinsohmicsense.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.
Please Log in or Create an account to join the conversation.
- snowgoer540
- Topic Author
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
18 Apr 2020 00:26 #164361
by snowgoer540
Replied by snowgoer540 on topic Hypersensing questions
I also confirmed that there is 24 volts when the torch is against a work piece on the table. And, I confirmed that it doesnt work by doing a M3 $0 S1 just to make sure I wasnt going insane. Still no ohmic sense.
Please Log in or Create an account to join the conversation.
18 Apr 2020 00:28 #164364
by rodw
Replied by rodw on topic Hypersensing questions
What is happening to plasmac:ohmic-enable?
It should go true when you are probing and it needs to be connected to the ohmic component. via the debounce pin that we unlink.
It should go true when you are probing and it needs to be connected to the ohmic component. via the debounce pin that we unlink.
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.151 seconds