- Posts: 1916
- Thank you received: 394
However sometimes i need to temporarily limit the max velocity (without editing the ini file): for example when my mill runs for a long time, one axis tends to get blocked at high speeds. I know that it means that i really need to fix the mill and i'm working on it, but in the meantime i'm simply using the max velocity slider to keep it from reaching too high speeds.
5.2. Velocities and overrides
All sliders from gmoccapy can be connected to hardware encoders or potmeters.
To connect hardware encoderas the following hal pins are exported:
gmoccapy.max-vel-counts (Maximal Velocity of the machine)
gmoccapy.jog-speed-counts (Jog velocity)
gmoccapy.spindle-override-counts (spindle override)
gmoccapy.feed-override-counts (feed override)
gmoccapy.reset-feed-override (reset the feed override to 100 %)
gmoccapy.reset-spindle-override (reset the spindle override to 100 %)
If you prefer potmeters to control the sliders you will need to connect to the following pin
gmoccapy.analog-enable HAL.BIT (must be True to activate the analog inputs)
gmoccapy.spindle-override-value HAL.FLOAT
gmoccapy.max-vel-value HAL.FLOAT
gmoccapy.jog-speed-value HAL.FLOAT
gmoccapy.feed-override-value HAL.FLOAT
all four taking a float input as percentage, meaning a value from 0.0 to 1.0, setting the corresponding sliders directly to the given value.
i.e. spindle override slider has min of 30 % and max 150 % and you set gmoccapy.spindle-override-value to 0.25 the slider will jump to 60 % , as the result of min + (max-min) * pin.value
if gmoccapy.analog.enable = True, the counts are handled as well, so please be careful if you connect to both pin types
It is strongly recommended not to mix both types for the same slider!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I will check how difficult it would be to integrate linuxcnc-features in gmoccapy. I do thing linuxcnc-features should be a part of linuxcnc and should standard for 2.7 release.
I will ask Mick about his opinion.
Please Log in or Create an account to join the conversation.
ssalrin wrote: Sounds like a probing tab that incorporates in to any of the interfaces would be the perfect platform to indulge your "scalable button" distraction :whistle: Mariusl said he'd help.
Please Log in or Create an account to join the conversation.
newbynobi wrote: @ssalrin,
I do have plans to include such a probing page, but because of leak of time I did not begin yet.
The image from Mach3 does IMHO contain to much information. I would prefer a page with the probing button on the left side and some input pages on the right, only showing the relevant information, may be even with a small image.
If you want to do the first steps, please make the corresponding button Icon and send them with a GPL license.
Make a first design of how it should look, a small basic documentation. And we do need the corresponding ngc-code.
I will check how difficult it would be to integrate linuxcnc-features in gmoccapy. I do thing linuxcnc-features should be a part of linuxcnc and should standard for 2.7 release.
I will ask Mick about his opinion.
Norbert
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.