Physical Feed override knob

More
7 years 6 months ago #130366 by Erikcnc
Replied by Erikcnc on topic 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 is

Code:
net signal-name pin2 (pin2....)

try
Code:
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.

More
7 years 6 months ago #130368 by andypugh
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 to join the conversation.

More
7 years 6 months ago #130370 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob

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.

More
7 years 6 months ago #130373 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob

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.

More
7 years 6 months ago #130375 by andypugh

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.

More
7 years 6 months ago #130387 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob

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.

More
7 years 6 months ago #130393 by Todd Zuercher
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.

Please Log in to join the conversation.

More
7 years 6 months ago #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

Please Log in to join the conversation.

More
7 years 6 months ago #130396 by Mike_Eitel
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

Attachment not found

Please Log in to join the conversation.

More
7 years 6 months ago #130400 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob

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.

Time to create page: 0.086 seconds
Powered by Kunena Forum