Hello Guest it is April 29, 2024, 06:26:19 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - django013

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 »
61
Mach4 General Discussion / Re: understanding Jog and signals?
« on: May 29, 2017, 11:55:23 AM »
Thank you :)

62
Mach4 General Discussion / Re: understanding Jog and signals?
« on: May 29, 2017, 09:25:49 AM »
Hi DazTheGas,

I beg your pardon! I'm no native english and I guess, I got you wrong.

Quote
this way they serve as both inc and velocity dependingt on what you have set.
From these words I thought, that you're able to change jogging velocity by signal switching only.
I read a lot about mach4 and of cause, I forget a lot too.
Don't remember where it was, but I read, that some jogging variables are for mpg-jogging only.
... anyway: once walking on the wrong trail, its hard to recognize that on my own.
So thank you very much for your assistance!

Now I tried to use a slider to reduce jogging speed and it works like expected.
I hope you don't get angry about my mistakes.

cheers Reinhard

63
Mach4 General Discussion / Re: Mach 4 Feature Request
« on: May 29, 2017, 08:32:05 AM »
I have a new wish:

would it be possible to save position and size of application window in the profiles-subdirectory?

I'm working on different screens where each of them has a different aspect ratio.
Stopping work on one screen and starting the work on the other I first have to adjust application window to the new limits. :(

64
Mach4 General Discussion / Re: understanding Jog and signals?
« on: May 29, 2017, 08:26:31 AM »
So I tried it and I'm not able to see any difference.

First I thought: may be I did some mistakes and added two leds to visualize the signal state ...
So I tried signal states Jog_inc on and Jog_cont off as well as Jog_inc off and Jog_cont on.

I have to confess, I'm not able to press the mouse-button at exact duration, so it is far from being measured. Just a sort of feeling.
From what I can see, I would state, that jogging happens at rapid-feed-speed and if there is any ramp, it would be the ramp programmed at motor definitions.

... so could you please tell me, what should be different?

With my current settings jogging is so fast, I don't want to manually move the machine by that speed =:O
So yes - would be really nice, if it would be possible, to set a jogging speed :)

65
Mach4 General Discussion / Re: understanding Jog and signals?
« on: May 28, 2017, 11:16:34 PM »
Thank you for the additional info.
The point is, I found both variants, when I translated the po-files, the problem is: I have no idea what each one is meaning.
So I have to try, whether I see a difference.

66
Mach4 General Discussion / Re: lua panel and modules
« on: May 28, 2017, 11:13:00 PM »
Thank you!

Great! So I did the name pollution in the wrong direction.
A sample is always good explanation :)

67
Mach4 General Discussion / Re: understanding Jog and signals?
« on: May 28, 2017, 02:10:44 AM »
Quote
this way they serve as both inc and velocity dependingt on what you have set.
Hm, I did some more tests and I don't see, how jog velocity can be influenced that way.
The jog-increment is not taken into account, so what did you mean by inc and velocity can be handled?

68
Mach4 General Discussion / lua panel and modules
« on: May 28, 2017, 01:43:44 AM »
Hi,

I created a lua panel which works so far. I put the creation of controls in a function, which gets called from lua panel script.
Now I tried to move that function into a lua module - and that fails.
I then thought, that the problem might be related to variable namespaces and extracted all control-variables to global namespace ...
.. but that didn't solve the problem.

As soon as I place the function in a module, only the placeholder for the lua panel gets painted.

Is it possible to populate a lua-panel from a module and if so, what rules do I have to obey?

69
Mach4 General Discussion / Re: understanding Jog and signals?
« on: May 27, 2017, 11:38:21 PM »
Hi DazTheGaz,

I beg your pardon - I found my mistake!
I had a typo in the lines before the event functions, so that it never became executed. Therefore I searched for the bug at the wrong locations :(

Thanks to your help I found my error and now the signal handling works as expected. Thanks!

70
Mach4 General Discussion / Re: understanding Jog and signals?
« on: May 27, 2017, 10:17:58 AM »
Hi,

thank you for your attention and support!

my code differs in formatting but substantially should be the same (body of a button script):
Code: [Select]
        -- X++
        local sh = mc.mcSignalGetHandle(inst, mc.ISIG_JOGXP)

        if (sh ~= nil) then
            mc.mcSignalSetState(sh, true)
        end
--        mc.mcJogIncStart(inst, 0, 0.1)
so I don't see my error :(

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 »