How to install VNC on LinuxCNC 2.9 with QTplasmac?
- LinfieldGarage
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 11
12 May 2022 01:14 #242699
by LinfieldGarage
Replied by LinfieldGarage on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
Thanks Rod, this is a big help. I got my 7i96 flashed today with the new code, and received my new THCAD on Monday. I’ll likely try to put the ohmic kit together tomorrow.
I’ll check out your code tomorrow as well.
Thanks again!
I’ll check out your code tomorrow as well.
Thanks again!
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- LinfieldGarage
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 11
16 May 2022 21:21 #243114
by LinfieldGarage
Replied by LinfieldGarage on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
Hey Rod,
I have been messing with this for way too long but cannot get the Ohmic test button in Qtplasmac to do much. It triggers the relay to light up the 24 volt power supply but nothing else happens.
I think I am close because can see voltage on encoder.01 and it changes drastically when connect the ohmic wire to the table. I customized and loaded the ohmic3 component as described above.
Could you please look at my files and comment? Thank you in advance.
I have been messing with this for way too long but cannot get the Ohmic test button in Qtplasmac to do much. It triggers the relay to light up the 24 volt power supply but nothing else happens.
I think I am close because can see voltage on encoder.01 and it changes drastically when connect the ohmic wire to the table. I customized and loaded the ohmic3 component as described above.
Could you please look at my files and comment? Thank you in advance.
Please Log in or Create an account to join the conversation.
17 May 2022 13:37 #243159
by rodw
Replied by rodw on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
I'm just heading for bed. Use halshow to display the ohmicsense pins.
Watch the voltage when contacting the plate. It should go to about 24 volts. Look at the thresholds and make sure the high threshold is < the contact voltage
Observe in halscope if you really get stuck.
Watch the voltage when contacting the plate. It should go to about 24 volts. Look at the thresholds and make sure the high threshold is < the contact voltage
Observe in halscope if you really get stuck.
Please Log in or Create an account to join the conversation.
- LinfieldGarage
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 11
17 May 2022 22:36 #243215
by LinfieldGarage
Replied by LinfieldGarage on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
Thanks Rod,
Here is a short video of HALSHOW. First I shorted the ohmic wires 3 times, watch the volts and encoder.Second I hit the Ohmic Test button 3 times. Watch the ohmic-enable and ohmicsense.is-probing signals. The Z-axis never moves and the ohmic sensor light never comes on.
I have followed as many config file examples as I can find, I am thinking the ohmic3 component isn't working or I am missing a config somewhere.
Thanks again!
Here is a short video of HALSHOW. First I shorted the ohmic wires 3 times, watch the volts and encoder.Second I hit the Ohmic Test button 3 times. Watch the ohmic-enable and ohmicsense.is-probing signals. The Z-axis never moves and the ohmic sensor light never comes on.
I have followed as many config file examples as I can find, I am thinking the ohmic3 component isn't working or I am missing a config somewhere.
Thanks again!
Please Log in or Create an account to join the conversation.
18 May 2022 07:12 #243248
by rodw
Replied by rodw on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
what pin do you have connected to ohmicsense.is_probing?
It needs to be true when probing (from plasmac probe enable).
I see it going true but its not true when ohmicsense.ohmic-volts is 24 volts which is when the probe is touching the plate.
It needs to be true when probing (from plasmac probe enable).
I see it going true but its not true when ohmicsense.ohmic-volts is 24 volts which is when the probe is touching the plate.
Please Log in or Create an account to join the conversation.
- LinfieldGarage
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 11
18 May 2022 13:12 #243269
by LinfieldGarage
Replied by LinfieldGarage on topic How to install VNC on LinuxCNC 2.9 with QTplasmac?
I wish I understood all of the relationships of the signals better, here is what my spaceship.hal has today:
would you be willing to post your full hal and ini configs for me to review? Our machines are very similar.
loadrt ohmic3 names=ohmicsense
addf ohmicsense servo-thread
# --- 7i96 ENCODER SETUP FOR OHMIC SENSING---
setp hm2_7i96.0.encoder.01.counter-mode 1
setp hm2_7i96.0.encoder.01.scale -1
setp ohmicsense.thcad-0-volt-freq 138000
setp ohmicsense.thcad-max-volt-freq 966100
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
# --- 7i76e ENCODER SETUP FOR OHMIC SENSING---
setp hm2_7i96.0.encoder.01.counter-mode 1
setp hm2_7i96.0.encoder.01.scale -1
net ohmic-vel ohmicsense.velocity-in <= hm2_7i96.0.encoder.01.velocity
net plasmac:ohmic-probe <= ohmicsense.ohmic-on
net plasmac:ohmic-enable => ohmicsense.is-probing
net plasmac:motion-type => ohmicsense.motion-type-in
would you be willing to post your full hal and ini configs for me to review? Our machines are very similar.
loadrt ohmic3 names=ohmicsense
addf ohmicsense servo-thread
# --- 7i96 ENCODER SETUP FOR OHMIC SENSING---
setp hm2_7i96.0.encoder.01.counter-mode 1
setp hm2_7i96.0.encoder.01.scale -1
setp ohmicsense.thcad-0-volt-freq 138000
setp ohmicsense.thcad-max-volt-freq 966100
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
# --- 7i76e ENCODER SETUP FOR OHMIC SENSING---
setp hm2_7i96.0.encoder.01.counter-mode 1
setp hm2_7i96.0.encoder.01.scale -1
net ohmic-vel ohmicsense.velocity-in <= hm2_7i96.0.encoder.01.velocity
net plasmac:ohmic-probe <= ohmicsense.ohmic-on
net plasmac:ohmic-enable => ohmicsense.is-probing
net plasmac:motion-type => ohmicsense.motion-type-in
Please Log in or Create an account to join the conversation.
Time to create page: 0.066 seconds