- Posts: 19899
- Thank you received: 4655
Use of STEP-NC with LinuxCNC
- andypugh
- Offline
- Moderator
-
Less
More
10 years 11 months ago - 10 years 11 months ago #64643
by andypugh
I hadn't noticed before, but look in the configs...
sim->axis->canterp
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.
- ArcEye
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 240
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.
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
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.
- ArcEye
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 240
10 years 11 months ago #64674
by ArcEye
Replied by ArcEye on topic Use of STEP-NC with LinuxCNC
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
10 years 11 months ago #64679
by andypugh
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)
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.
- ArcEye
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 240
10 years 11 months ago #64691
by ArcEye
Replied by ArcEye on topic Use of STEP-NC with LinuxCNC
Please Log in or Create an account to join the conversation.
Time to create page: 0.161 seconds