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

More
2 years 11 months ago #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

Please Log in to join the conversation.

More
2 years 11 months ago #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 to join the conversation.

More
2 years 11 months ago #285834 by zz912
Hello Philippe,

did you solve this problem?

Zdeněk

Please Log in to join the conversation.

More
2 years 11 months ago #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

Please Log in to join the conversation.

More
2 years 11 months ago #286243 by zz912
Hello Philipe,

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

 

Attachment not found


 

Attachment not found


 

Attachment not found



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

Please Log in to join the conversation.

More
2 years 11 months ago #286265 by Aciera
Would you not rather build that if statement into the remap code itself?

Please Log in to join the conversation.

More
2 years 11 months ago #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 to join the conversation.

Time to create page: 4.044 seconds
Powered by Kunena Forum