Startup hangs with RS274NGC_STARTUP_CODE = M52P1

More
04 May 2021 11:38 #207820 by mwinterm
Hello,

I'm trying to enable program jog at startup by
RS274NGC_STARTUP_CODE = M52P1...

This works fine with AXIS. When done with GMOCCAPY the startup of GMOCCAPY hangs. When executing M52P1 after startup of GMOCCAPY everything works fine.

Any ideas?

Regards,

Marc

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

More
04 May 2021 11:58 #207822 by mwinterm
...actually I have to correct my statement: GMOCCAPY is starting up after approximately 5min but behaves very sluggish. Every click takes several seconds to execute.

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

More
04 May 2021 21:26 #207873 by newbynobi
May be, because the sliders are initialized at start up and may be influenced by M52. I have never used that feature and I am sorry to let you know, that I will not get time to look into it for several weeks or even month.

Would it be possible to set M52 with a macro button?

Norbert

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

More
05 May 2021 19:16 #208014 by mwinterm
Hello Norbert,

thanks for the feedback. Yes I will try to find a way to work around it.

But enjoying very much using Gmoccapy so far. Reminds me of a Heidenhain in some aspects which is my preferred commercial control I used so far.

Best regards,

Marc

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

More
24 May 2021 17:00 #210081 by mwinterm
Hello Norbert,

I'm experiencing the same issue again but this time by just specifying a Python remap. To test I took gmoccapy.sim that ships with 2.8.1 and just added
REMAP=M910 modalgroup=10 argspec=PQ python=m910

and the M910 python function was basically empty (only issuing a message). Again the same behavior, takes forever to start-up and behaves very sluggish. The latest 2.9 master showed the same behavior.

Regards,

Marc

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

More
24 May 2021 17:10 #210083 by newbynobi
Please post the python file, so I can check exactly with your file what happens.

Norbert

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

More
24 May 2021 17:27 #210084 by mwinterm
...here the remap.py

Regards,

Marc

File Attachment:

File Name: remap.py
File Size:2 KB
Attachments:

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

More
24 May 2021 19:39 #210095 by mwinterm
Hello Norbert,

I found the mistake. in the remap command I had
python=m910
and in remap.py the function was called M910 with a capital M. Sorry, my bad.
But there was no error message or anything indicating to that issue neither with Axis nor with Gmoccapy. Difference just was that Axis was exiting quickly and gemoccapy was hanging.

Sorry again...

Regards,

Marc

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

More
24 May 2021 21:04 #210104 by newbynobi
Neverthereless we need to check on this, as such errors should never terminate a machine interface

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

More
24 May 2021 21:07 #210106 by newbynobi
Neverthereless we need to check on this, as such errors should never terminate a machine interface

And please do not use old string format like

MESSAGE("word '%s' = %f" % (key, words[key]))

Should be
MESSAGE("word {0} = {1}". format(key, words[key]))

Norbert

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

Moderators: newbynobiHansU
Time to create page: 0.170 seconds
Powered by Kunena Forum