stdglue
28 Aug 2021 18:33 - 28 Aug 2021 19:02 #219043
by smplc
Two issues about standard glue file.
1) Remapped new G-code and executes okay non-modal without wrap code. Attached wrap code, parameter prolog=cycle_prolog and epilog=cycle_epilog at lathe.ini file and message box G-code error near line 0 of linearbox.ngc and pycall(remap.cycle_prolog) failed. Modal G-code not enabling. Why not reading ahead line 0?
2) Remapped tool offset and tool change, run turning.ngc, tool change without M6 executes okay but lathe tool offset number not and error message box pycall(index_lathe_tool_with_wear) and SystemError: 'finally' pops bad exception. Removing the tool offset and just tool number no error box. Why error lathe tool offset number?
1) Remapped new G-code and executes okay non-modal without wrap code. Attached wrap code, parameter prolog=cycle_prolog and epilog=cycle_epilog at lathe.ini file and message box G-code error near line 0 of linearbox.ngc and pycall(remap.cycle_prolog) failed. Modal G-code not enabling. Why not reading ahead line 0?
2) Remapped tool offset and tool change, run turning.ngc, tool change without M6 executes okay but lathe tool offset number not and error message box pycall(index_lathe_tool_with_wear) and SystemError: 'finally' pops bad exception. Removing the tool offset and just tool number no error box. Why error lathe tool offset number?
Last edit: 28 Aug 2021 19:02 by smplc.
Please Log in or Create an account to join the conversation.
28 Aug 2021 20:24 #219046
by cmorley
Can you run linuxcnc in a terminal and see if any more clues are given.
I tested a qtvcp sim that uses lath_with_wear and it seems to work fine.
Maybe the fact it's a sim makes a difference or there is some other problem that is being masked.
In master I did change the code bit and IIRC there was a problem when printing errors from the remap.
Chris
I tested a qtvcp sim that uses lath_with_wear and it seems to work fine.
Maybe the fact it's a sim makes a difference or there is some other problem that is being masked.
In master I did change the code bit and IIRC there was a problem when printing errors from the remap.
Chris
Please Log in or Create an account to join the conversation.
28 Aug 2021 21:33 - 28 Aug 2021 21:35 #219049
by smplc
It's one or the other with the main program but if only percents it'll leave the program where left-off including the spindle speed on if no M5. M30 optional. Percents contain a program. Percent at end of program is a terminator and doesn't read additional code. The percents might be required if transfering files from media or another computer. I ran linearbox without the percent signs, just M2 and still receive cycle_prolog error.
Last edit: 28 Aug 2021 21:35 by smplc.
Please Log in or Create an account to join the conversation.
28 Aug 2021 23:37 - 28 Aug 2021 23:52 #219052
by smplc
Where in the terminal? The lathe.ini file is probably locating path of the python files due to compilation (.pyc). Are you suggesting to debug some of the python files?
It seems the tool offset isn't located in the tool table as pictured yet? T0101 might be read as tool 101 and not detecting the offset.
Just if T1 tool geometry and nose compensation enables.
I haven't ran the AXIS 2.8.2.11 lathe display without the SIM yet.
It seems the tool offset isn't located in the tool table as pictured yet? T0101 might be read as tool 101 and not detecting the offset.
Just if T1 tool geometry and nose compensation enables.
I haven't ran the AXIS 2.8.2.11 lathe display without the SIM yet.
Last edit: 28 Aug 2021 23:52 by smplc.
Please Log in or Create an account to join the conversation.
28 Aug 2021 23:59 - 29 Aug 2021 00:11 #219055
by smplc
Last edit: 29 Aug 2021 00:11 by smplc.
Please Log in or Create an account to join the conversation.
29 Aug 2021 03:12 - 29 Aug 2021 03:21 #219063
by smplc
Terminal /sim.axis linuxcnc lathe.ini received warning m6 no modalgroup but might be optional and didn't effect remap execution earlier. Altered to REMAP=M6 python=ignore_m6 modalgroup=10. Reopened linuxcnc lathe.ini and no warning about m6. The inifile warns containing DOS-style line endings. Still lathe display is error message when trying to run T0101.
Last edit: 29 Aug 2021 03:21 by smplc.
Please Log in or Create an account to join the conversation.
Time to create page: 0.098 seconds