G-code graphical preview (2.10.0 pre0.2330) on GMOCCAPY

More
02 Nov 2023 14:03 - 02 Nov 2023 16:30 #284329 by La Pendule
Hello,
I have following problem:
After having updated from pre0.2066 to pre0.2069 there is no more tool race preview on the gremlin.
I hoped the problem was fixed with pre0.2330, but it is still present.
As soon as there is a M6 or M06 in the code, there is no preview.
If the G-Code has no tool change (and therefor no M6) the graphical preview is visible.
This error appairs in both configuration: with or without "remap".
Here my config.ini:
[PYTHON]
PATH_PREPEND = /home/phi/linuxcnc/configs/CNC_Mesa/python/
PATH_APPEND  =  /home/phi/linuxcnc/configs/CNC_Mesa/python/
TOPLEVEL = /home/phi/linuxcnc/configs/CNC_Mesa/python/toplevel.py

[RS274NGC]
PARAMETER_FILE = ./linuxcnc.var
FEATURES = 12
INI_VARS = 1
HAL_PIN_VARS = 1
RETAIN_G43 = 0
OWORD_NARGS = 1
NO_DOWNCASE_OWORD = 1
OWORD_WARNONLY = 1
# REMAP = M6  modalgroup=6 ngc=change
# REMAP = M6   prolog= change_prolog ngc=change epilog= change_epilog modalgroup=6
SUBROUTINE_PATH = /home/phi/linuxcnc/configs/CNC_Mesa/macros/
ON_ABORT_COMMAND = O <on_abort> call
USER_M_PATH = ./m_path:m_path


Thanks for help

Philippe
Last edit: 02 Nov 2023 16:30 by La Pendule.

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

More
03 Nov 2023 13:15 #284445 by zz912
I have same or similar problem in 2.9 version. I have more problems with ATC.

I thought the blank screen was related to this issue:
github.com/LinuxCNC/linuxcnc/issues/2651

Unfortunately, a friend took the machine apart and is moving it. So I can't test what rene-dev advised me.

But there are probably two problems.
1) Problem with the displayed trajectory (it will probably be solved with advice from rene-dev)
2) Problem with the disappearance of preview path from gremlin.

Could you simulate this bug in the sim configuration?

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

More
18 Nov 2023 16:19 #285834 by zz912
Hello Philippe,

did you solve this problem?

Zdeněk

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

More
20 Nov 2023 18:52 #286081 by La Pendule
Hello Zdeněk,

Not really, since a recent update, the preview is shown again, but only if the tool-number is less than than 20. As soon as the tool number is > 19, there is no display.
Very strange behaviour.

Philippe
The following user(s) said Thank You: zz912

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

More
22 Nov 2023 18:15 #286243 by zz912
Hello Philipe,

maybe this should help you:
o300 if [#<_task> eq 1]
N50T#<toolno>M6
o300 endif

 
 
 

Did you use "#<_task> eq 1" ?

I did not tested it in physical machine yet, but in simulation it works good.

rene-dev helped me:
github.com/LinuxCNC/linuxcnc/issues/2651
www.forum.linuxcnc.org/40-subroutines-an...emap?start=10#277509

Zdeněk
Attachments:

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

More
22 Nov 2023 19:58 #286265 by Aciera
Would you not rather build that if statement into the remap code itself?
The following user(s) said Thank You: zz912

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

More
22 Nov 2023 20:14 #286269 by zz912

Would you not rather build that if statement into the remap code itself?


Yes of course, but this is better for testing and explanation.

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

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