Gcode++
02 Apr 2022 13:47 #239067
by jeffel
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
07 Apr 2022 20:50 #239585
by andypugh
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.062 seconds