Use of STEP-NC with LinuxCNC

More
10 years 11 months ago - 10 years 11 months ago #64643 by andypugh
Replied by andypugh on topic Use of STEP-NC with LinuxCNC

ArcEye wrote: So looks like in theory you could fairly easily substitute one parser / interpreter for another.


I hadn't noticed before, but look in the configs...

sim->axis->canterp
Last edit: 10 years 11 months ago by andypugh.

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

More
10 years 11 months ago #64672 by ArcEye
Replied by ArcEye on topic Use of STEP-NC with LinuxCNC
I had never noticed that either, receives no explanation in the README.

It loads but errors and you cannot load a file, errors on line 0 trying to read it.
Code:
Machine configuration directory is '/usr/src/linuxcnc-dev/configs/sim/axis' Machine configuration file is 'canterp.ini' Starting LinuxCNC... Found file:/usr/src/linuxcnc-dev/lib/hallib/core_sim.hal Note: Using POSIX realtime Found file:/usr/src/linuxcnc-dev/lib/hallib/axis_manualtoolchange.hal Found file:/usr/src/linuxcnc-dev/lib/hallib/simulated_home.hal interp_from_shlib(libcanterp.so) interp_from_shlib() -> 0x9dd1a0 Canterp::on_abort reason=6 message=''Canterp::on_abort reason=6 message=''interp_from_shlib(libcanterp.so) Canterp::on_abort reason=5 message=''Canterp::on_abort reason=5 message=''interp_from_shlib(libcanterp.so) interp_from_shlib(libcanterp.so) Shutting down and cleaning up LinuxCNC...

The framework is there in the file tree src/emc/canterp/ complete with Submakefile

You just need to make it work first before trying to substitute for another interpreter

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

More
10 years 11 months ago #64674 by ArcEye
Replied by ArcEye on topic Use of STEP-NC with LinuxCNC
Also tried loading the file fragment from the header of the canterp.cc source

Shows it is reading it, even if it says it does not understand it.


Attachments:

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

More
10 years 11 months ago #64679 by andypugh
Replied by andypugh on topic Use of STEP-NC with LinuxCNC

ArcEye wrote: Also tried loading the file fragment from the header of the canterp.cc source
Shows it is reading it, even if it says it does not understand it.


Not the best of signs, that it fails to parse its own example...

Does it work if N.... is edited to be N0001 (ie, an actual number)

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

More
10 years 11 months ago #64691 by ArcEye
Replied by ArcEye on topic Use of STEP-NC with LinuxCNC
Already thought of that

No line numbers etc




Just line numbers





So first call is to get existing canterp.so working before even attempting to replace it.

Just a hint, I won't be trying :P
Attachments:

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

Time to create page: 0.161 seconds
Powered by Kunena Forum