Gmoccapy - A new screen for linuxcnc

More
11 years 7 months ago #56556 by franstrein
Replied by franstrein on topic Gmoccapy - A new screen for linuxcnc
Oeps,

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.

More
11 years 7 months ago #56557 by tekmobile
Replied by tekmobile on topic Gmoccapy - A new screen for linuxcnc

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.

More
11 years 7 months ago #56574 by Tom_R2E3
Replied by Tom_R2E3 on topic Gmoccapy - A new screen for linuxcnc
Hi Norbert, thanks for getting back to me.

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.

More
11 years 7 months ago - 11 years 7 months ago #56594 by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc

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
Last edit: 11 years 7 months ago by newbynobi.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago - 11 years 7 months ago #56595 by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
@franstrein,

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
Last edit: 11 years 7 months ago by newbynobi.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago - 11 years 7 months ago #56597 by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
@tom,

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
Code:
setp feed-override.count-enable 1

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
Last edit: 11 years 7 months ago by newbynobi.
The following user(s) said Thank You: Tom_R2E3

Please Log in or Create an account to join the conversation.

Moderators: newbynobi, HansU
Time to create page: 0.253 seconds
Powered by Kunena Forum