Gcode++
- jeffel
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 6
02 Apr 2022 13:47 #239067
by jeffel
Replied by jeffel on topic Gcode++
Rod,
I really appreciate your response, I see what you are saying. I was not aware of the structure inside of linuxcnc which you have revealed to me, thank you. This info may come in handy at some future time.
I really appreciate your response, I see what you are saying. I was not aware of the structure inside of linuxcnc which you have revealed to me, thank you. This info may come in handy at some future time.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23213
- Thank you received: 4895
07 Apr 2022 20:50 #239585
by andypugh
Replied by andypugh on topic Gcode++
There is actually a "machine code" interpreter for LinuxCNC:
sim/axis/canterp will load a pluggable interpreter that sends "canonical motion commands" direct to the motion controller.
The input files look like this:
github.com/LinuxCNC/linuxcnc/blob/master.../canterp_example.can
However, much of the discussion of interpreter speed earlier is moot. The LinuxCNC interpreter has quite often interpreted and fully queued all the the machine motion before the cutter even touches the workpiece. The physical machine is so slow compared to the computer that there wouldn't be a problem parsing even a much more complex input language, such as STEP-NC.
sim/axis/canterp will load a pluggable interpreter that sends "canonical motion commands" direct to the motion controller.
The input files look like this:
github.com/LinuxCNC/linuxcnc/blob/master.../canterp_example.can
However, much of the discussion of interpreter speed earlier is moot. The LinuxCNC interpreter has quite often interpreted and fully queued all the the machine motion before the cutter even touches the workpiece. The physical machine is so slow compared to the computer that there wouldn't be a problem parsing even a much more complex input language, such as STEP-NC.
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds