Physical Feed override knob
05 Apr 2019 21:11 - 05 Apr 2019 21:23 #130366
by Erikcnc
So I did. Changed it in the machine hal file. Got a debug file information that pin 'gmoccapy.feed.feed-override.direct-value' does not exist.
Replied by Erikcnc on topic Physical Feed override knob
Ah! That creates a new "signal" called "gmoccapy.feed.feed-override.direct-value".
The format of a "net" statement isnet signal-name pin2 (pin2....)
trynet feed-override-direct gmoccapy.feed.feed-override.direct-value <= hm2_7i76e.0.7i76.0.0.analogin0
So I did. Changed it in the machine hal file. Got a debug file information that pin 'gmoccapy.feed.feed-override.direct-value' does not exist.
Last edit: 05 Apr 2019 21:23 by Erikcnc.
Please Log in or Create an account to join the conversation.
05 Apr 2019 21:18 #130368
by andypugh
Replied by andypugh on topic Physical Feed override knob
It seems likely that a gmoccapy pin won't exist until gmoccapy has loaded. So the line needs to go in the Posgtui Halfile. (look in your INI to see what that file is called in your config)
Please Log in or Create an account to join the conversation.
05 Apr 2019 21:28 #130370
by Erikcnc
That would be the postgui_call_list.hal if I'm right.
Following error appears. Another error. See attachment.
Replied by Erikcnc on topic Physical Feed override knob
It seems likely that a gmoccapy pin won't exist until gmoccapy has loaded. So the line needs to go in the Posgtui Halfile. (look in your INI to see what that file is called in your config)
That would be the postgui_call_list.hal if I'm right.
Following error appears. Another error. See attachment.
Please Log in or Create an account to join the conversation.
05 Apr 2019 21:58 #130373
by Erikcnc
Would you still like to share your files? Not only for me, but allso for others?
Replied by Erikcnc on topic Physical Feed override knob
If you use gmoccapy you can use an external value. And your 7i76e has analog inputs. So you have what you need. Try to understand the gmoccapy document. In chapter 5.2 Norbert describes the details.
linuxcnc.org/docs/devel/html/gui/gmoccapy.html
I have it running with 7i73 inputs plus 7i76e. Very nice. Just learn to use halshow and read the analog value ( if i'm not wrong it is scaled up to 33v) and use a MULT2 to adjust the value for the gmoccapy pin.....
Sorry, before you ask, my config is quite complex and would distract you only. But I belive there is a good one in the examples.
Good luck.
Would you still like to share your files? Not only for me, but allso for others?
Please Log in or Create an account to join the conversation.
05 Apr 2019 23:23 #130375
by andypugh
Comment-out the line, boot LinuxCNC, find out what that pin is really called using halshow.
(I think that is in the settings menu with GMoccaPy)
Replied by andypugh on topic Physical Feed override knob
Following error appears. Another error. See attachment.
Comment-out the line, boot LinuxCNC, find out what that pin is really called using halshow.
(I think that is in the settings menu with GMoccaPy)
Please Log in or Create an account to join the conversation.
06 Apr 2019 08:06 #130387
by Erikcnc
Oke, getting there. that changed some thing. In halshow its shows:
Gmoccapy. feed-override.direct-value
Both responding to the potentiometer. But not the slider in gmoccapy Gui.
Replied by Erikcnc on topic Physical Feed override knob
Following error appears. Another error. See attachment.
Comment-out the line, boot LinuxCNC, find out what that pin is really called using halshow.
(I think that is in the settings menu with GMoccaPy)
Oke, getting there. that changed some thing. In halshow its shows:
Gmoccapy. feed-override.direct-value
Both responding to the potentiometer. But not the slider in gmoccapy Gui.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
06 Apr 2019 13:09 - 06 Apr 2019 13:10 #130393
by Todd Zuercher
Replied by Todd Zuercher on topic Physical Feed override knob
A potentiometer is an absolute device, You can not use inputs from both the potentiometer and the slider. You may be able to use the value input from the potentiometer to move and control the slider in Gmocappy. (Is this what your current problem is?) But you won't be able to use the slider to change the value of the potentiometer.
Last edit: 06 Apr 2019 13:10 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
06 Apr 2019 13:38 #130394
by OT-CNC
Replied by OT-CNC on topic Physical Feed override knob
I have used rotary encoders instead of pots, this may help out if you can adapt it to gmoccapy. I'm using axis.
pot or encoder type for 7i77
pot or encoder type for 7i77
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1150
- Thank you received: 184
06 Apr 2019 14:07 #130396
by Mike_Eitel
Replied by Mike_Eitel on topic Physical Feed override knob
Hi Eric
Here as you wan't
Had to delete the catalog and lib files in ncam.
Also in the moment my ladder is not loading/starting anymore when the application starts.
Have to go in editor and load and start by hand. No glue why....
Have fun.
Mike
Here as you wan't
Had to delete the catalog and lib files in ncam.
Also in the moment my ladder is not loading/starting anymore when the application starts.
Have to go in editor and load and start by hand. No glue why....
Have fun.
Mike
Please Log in or Create an account to join the conversation.
06 Apr 2019 16:53 - 06 Apr 2019 16:53 #130400
by Erikcnc
I would like to use the potentiometer to control the feed override. I chose a potentiometer because it it can't do a full turn. It has a physical start and end. Like every other cnc I'm using daily.
Replied by Erikcnc on topic Physical Feed override knob
A potentiometer is an absolute device, You can not use inputs from both the potentiometer and the slider. You may be able to use the value input from the potentiometer to move and control the slider in Gmocappy. (Is this what your current problem is?) But you won't be able to use the slider to change the value of the potentiometer.
I would like to use the potentiometer to control the feed override. I chose a potentiometer because it it can't do a full turn. It has a physical start and end. Like every other cnc I'm using daily.
Last edit: 06 Apr 2019 16:53 by Erikcnc.
Please Log in or Create an account to join the conversation.
Time to create page: 0.114 seconds