stdglue

More
28 Aug 2021 18:33 - 28 Aug 2021 19:02 #219043 by smplc
stdglue was created 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? 
Last edit: 28 Aug 2021 19:02 by smplc.

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

More
28 Aug 2021 20:24 #219046 by cmorley
Replied by cmorley on topic stdglue
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

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

More
28 Aug 2021 20:33 #219047 by cmorley
Replied by cmorley on topic stdglue
your linearbox use M2 and percent signs - I'm not sure that's legal. either use M2 or wrap code in % signs.

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

More
28 Aug 2021 21:33 - 28 Aug 2021 21:35 #219049 by smplc
Replied by smplc on topic stdglue
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.

More
28 Aug 2021 22:01 #219050 by cmorley
Replied by cmorley on topic stdglue
can you check the terminal for more information?

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

More
28 Aug 2021 23:37 - 28 Aug 2021 23:52 #219052 by smplc
Replied by smplc on topic stdglue
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.
Attachments:
Last edit: 28 Aug 2021 23:52 by smplc.

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

More
28 Aug 2021 23:59 - 29 Aug 2021 00:11 #219055 by smplc
Replied by smplc on topic stdglue
Is your side of the terminal accepting the remap G90.3 or G84.3 of cycle_prolog?

I haven't tested if remap python=<filename> instead of a ngc=<filename> accepts cycle_prolog yet.
Last edit: 29 Aug 2021 00:11 by smplc.

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

More
29 Aug 2021 00:41 #219056 by smplc
Replied by smplc on topic stdglue
cycle_prolong might not be necessary if remap python=<filename>.

PathPilot II and lathe T0101 is functional but I don't have access to Linux Mint, command line prompt and files to compare.

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

More
29 Aug 2021 01:17 #219058 by cmorley
Replied by cmorley on topic stdglue
I mean open a terminal and run linuxcnc from the terminal.

Linuxcnc prints lots of info only on the terminal.

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

More
29 Aug 2021 03:12 - 29 Aug 2021 03:21 #219063 by smplc
Replied by smplc on topic stdglue
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.
Attachments:
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.143 seconds
Powered by Kunena Forum