Ohmic3 hal file errors
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
26 Mar 2021 11:15 #203691
by bevins
Ohmic3 hal file errors was created by bevins
I admit that I dont know how this all fits together but I am getting errors with the ohmic3 hal file.
ohmic3 hal file
Error I was getting is unlinking debounce. it was not linked in the first place so I am not sure what that is doing.
I uncommented the debounce and I am getting motion-type was already linked to plasmac:motion-type somewhere else.
Anyone know what needs to be done? Whioch one of these signals I have to disconnect motion-type?
ohmic3 hal file
Warning: Spoiler!
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_7i92.0.encoder.01.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_7i92.0.7i76.0.0.output-15
net ohmic:type <= motion.motion-type
net ohmic:type => ohmicsense.motion-type-in
net ohmic:power <= ohmicsense.power-on
net ohmic:power => hm2_7i92.0.7i76.0.0.output-15
Error I was getting is unlinking debounce. it was not linked in the first place so I am not sure what that is doing.
I uncommented the debounce and I am getting motion-type was already linked to plasmac:motion-type somewhere else.
Anyone know what needs to be done? Whioch one of these signals I have to disconnect motion-type?
Attachments:
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
26 Mar 2021 11:19 #203692
by bevins
Replied by bevins on topic Ohmic3 hal file errors
I'm pretty sure if I remove it from ohmic3 file something wont work.
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
26 Mar 2021 17:34 #203736
by bevins
Replied by bevins on topic Ohmic3 hal file errors
rodw did you see this?
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
26 Mar 2021 20:41 #203749
by bevins
Replied by bevins on topic Ohmic3 hal file errors
The plasma's cutting, the float switch is working for the height, but no ohmic 3 sensing nor thc is working.
Got some work to do to figure this out.
The ohmic issue is probably the issue of no ohmic motion-type because plamac has that signal.
Got some work to do to figure this out.
The ohmic issue is probably the issue of no ohmic motion-type because plamac has that signal.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10807
- Thank you received: 3559
27 Mar 2021 03:30 #203769
by rodw
Correct. I did mention that when you first started. Find Plasmac's defined signal for motion.type and connect that to ohmic3
Replied by rodw on topic Ohmic3 hal file errors
The ohmic issue is probably the issue of no ohmic motion-type because plamac has that signal.
Correct. I did mention that when you first started. Find Plasmac's defined signal for motion.type and connect that to ohmic3
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
27 Mar 2021 10:27 #203788
by bevins
Not sure what you want me to do here.
In plasmac_stats.hal there is:
In ohmic3_cfg.hal I have this:
I dont know how you want me to connect these two.
Replied by bevins on topic Ohmic3 hal file errors
The ohmic issue is probably the issue of no ohmic motion-type because plamac has that signal.
Correct. I did mention that when you first started. Find Plasmac's defined signal for motion.type and connect that to ohmic3
Not sure what you want me to do here.
In plasmac_stats.hal there is:
net plasmac:motion-type motion.motion-type => plasmac_stats.motion-type
In ohmic3_cfg.hal I have this:
net ohmic:type plasmac:motion-type
I dont know how you want me to connect these two.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10807
- Thank you received: 3559
27 Mar 2021 10:46 #203791
by rodw
Try
Just make sure ohmic3_cfg.hal is loaded last in the ini file
This kind of why I have never published the ohmic3.comp as its been a work in progress for a long time. I need to take the one I'm using and clean it up.
Replied by rodw on topic Ohmic3 hal file errors
The ohmic issue is probably the issue of no ohmic motion-type because plamac has that signal.
Correct. I did mention that when you first started. Find Plasmac's defined signal for motion.type and connect that to ohmic3
Not sure what you want me to do here.
In plasmac_stats.hal there is:net plasmac:motion-type motion.motion-type => plasmac_stats.motion-type
In ohmic3_cfg.hal I have this:net ohmic:type plasmac:motion-type
I dont know how you want me to connect these two.
Try
net plasmac:motion-type > ohmic:type
Just make sure ohmic3_cfg.hal is loaded last in the ini file
This kind of why I have never published the ohmic3.comp as its been a work in progress for a long time. I need to take the one I'm using and clean it up.
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
31 Mar 2021 14:10 - 31 Mar 2021 14:11 #204219
by bevins
Replied by bevins on topic Ohmic3 hal file errors
OK so when I installed plasmac, it put symbolic links to the sample-configs owned by root...
What is that? Trying to modify and it wont let me modify saying too many symbolic links or some error.
Cant modify the source file cause it is owned by root. So either have to sudo or change to root to modify in terminal.
This cant be the behavior you wanted......is it?
What is that? Trying to modify and it wont let me modify saying too many symbolic links or some error.
Cant modify the source file cause it is owned by root. So either have to sudo or change to root to modify in terminal.
This cant be the behavior you wanted......is it?
Last edit: 31 Mar 2021 14:11 by bevins.
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
31 Mar 2021 14:49 #204225
by bevins
Replied by bevins on topic Ohmic3 hal file errors
Attachments:
Please Log in or Create an account to join the conversation.
- bevins
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
31 Mar 2021 14:53 #204226
by bevins
Replied by bevins on topic Ohmic3 hal file errors
no encoder velocity. stays at zero. same for THC but will get to that after getting ohmic3 working.
Hitting probe test sends the Z down until float switch.
The ohmic probe says "User button1 configured in ini file" the ini file has the following for this button:
Pressing it does nothing. I guess we should start there? the probe button is working I believe.
Any ideas?
Hitting probe test sends the Z down until float switch.
The ohmic probe says "User button1 configured in ini file" the ini file has the following for this button:
BUTTON_1_NAME = Ohmic\Test
BUTTON_1_CODE = ohmic-test
Pressing it does nothing. I guess we should start there? the probe button is working I believe.
Any ideas?
Please Log in or Create an account to join the conversation.
Time to create page: 0.113 seconds