Bad number format (conversion failed) parsing "

More
21 Jul 2022 16:45 #247961 by EragonPower
Hello everybody,
Today i've been struggling a lot with LinuxCNC and the Probe Basic interface, after managing to run a new subroutine for manual tool change with tool touch off i've been receiving this error every time  " Bad number format (conversion failed) parsing " "
I honestly don't know why this is happening, i've checked the entire subroutine many time but couldn't find any problems.
I'll be greatful to anyone that could take a look and have even the slightest idea.
Thanks in advance to everyone
 

File Attachment:

File Name: toolchange.ngc
File Size:8 KB
Attachments:

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

More
22 Jul 2022 11:17 #248020 by andypugh
Does the problem go away if you remove this line?

(MSG, Change to tool #<_current_tool> with diameter #<ToolDiamMM>mm, #<ToolDiamIn>in then click Resume )

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

More
22 Jul 2022 13:52 #248030 by EragonPower
Done that, the problem persists

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

More
22 Jul 2022 14:37 #248038 by roland
the line 43 contains round brackets. They are not allowed here
o<100> if [(#<tool_diameter_offset_mode>) 1 EQ 1]

i think it could be correct like this:
o<100> if [#<tool_diameter_offset_mode> EQ 1]
The following user(s) said Thank You: andypugh

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

Time to create page: 0.359 seconds
Powered by Kunena Forum