- Posts: 153
- Thank you received: 0
Physical Feed override knob
andypugh wrote: Ah! That creates a new "signal" called "gmoccapy.feed.feed-override.direct-value".
The format of a "net" statement isCode:net signal-name pin2 (pin2....)
tryCode:net 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.
Please Log in to join the conversation.
Please Log in to join the conversation.
andypugh wrote: 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 to join the conversation.
Mike_Eitel wrote: 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 to join the conversation.
Erikcnc wrote: 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 to join the conversation.
andypugh wrote:
Erikcnc wrote: 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.
Attachment not found
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
pot or encoder type for 7i77
Please Log in to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
-
- Posts: 1018
- Thank you received: 0
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
Attachment not found
Please Log in to join the conversation.
Todd Zuercher wrote: 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.
Please Log in to join the conversation.
