- Posts: 27
- Thank you received: 2
Gmoccapy - A new screen for linuxcnc
- franstrein
- Offline
- Junior Member
-
I see my code is not being properly indented in the forum...
Don't know how to do that. Can always send it in a PM if needed.
Frans
Please Log in or Create an account to join the conversation.
- tekmobile
- Offline
- New Member
-
- Posts: 5
- Thank you received: 0
newbynobi wrote: Do you get the error also if you set the spindle in forward first?
Real machine or sim?
Try to set spindle speed with S 450 first.
Please report, so I can check and catch the error.
Norbert
If i set the speed first in MDI etc it is OK
Normal machine happens if you just enable the machine then trying to run spindle in reverse
if you go forward its all fine but as soon as you try to go reverse you get that error when going back to stop or forward
Been using with Mach3 for a while but making the switch to linuxcnc so still learning how it all works.
Please Log in or Create an account to join the conversation.
- Tom_R2E3
- Offline
- Junior Member
-
- Posts: 33
- Thank you received: 1
In my local documentation for 2.6.7 it still quotes "gmoccapy.feed-override-counts"
If I change my postGUI.hal to "gmoccapy.feed-override.counts" then linuxCNC launches fine.
If I watch that hal pin (using HAL show) whilst turning my encoder, then the counter increases and decreases (as it should). However, this no longer has any effect on the feed override %. Has something else changed in the update?
Also is there a gmoccapy change log somewhere which I should be reading?
Many thanks
Tom
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
- Posts: 1931
- Thank you received: 394
If i set the speed first in MDI etc it is OK
Normal machine happens if you just enable the machine then trying to run spindle in reverse
if you go forward its all fine but as soon as you try to go reverse you get that error when going back to stop or forward
I just tested on sim with gmoccapy 1.5.2 and I am not able to reproduce that.
What version do you use?
I can produce that error only if I set MIN_SPINDLE_OVERRIDE = 0.0 in my INI and after starting the GUI set the spindle override slider to 0.0 and then switch the spindel on.
So I am pretty sure, you will just have to check your config.
But nevertheless, I did change the code to avoid that division by zero error (gmoccapy 1.5.2.2).
Norbert
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
- Posts: 1931
- Thank you received: 394
I will check on your patch and introduce it. I will check if it should be introduced in gmoccapy or getiniinfo.
But please give me some time.
Norbert
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
- Posts: 1931
- Thank you received: 394
n my local documentation for 2.6.7 it still quotes "gmoccapy.feed-override-counts"
If I change my postGUI.hal to "gmoccapy.feed-override.counts" then linuxCNC launches fine.
If I watch that hal pin (using HAL show) whilst turning my encoder, then the counter increases and decreases (as it should). However, this no longer has any effect on the feed override %. Has something else changed in the update?
Also is there a gmoccapy change log somewhere which I should be reading?
Sorry, my mistake, I did not update all documentation.
you will have to set the hal pin "feed-override.count-enable" to True or 1 like
or better connect that pin to a enable button, so an accidentally movement of the encoder will not cause any damage.
I will correct the docu as fast as possible.
I did name the new pins here
With every change I do update the release_notes.txt , but you will only find it on git releases in /linuxcnc-dev/src/emc/usr_intf/gmoccapy/
Norbert
Please Log in or Create an account to join the conversation.