Does anyone know a way to load a CNC program from CNC Editor faster using SMC_NCDecoder?
It takes around 7 seconds to load 34 lines of G code and this is a problem for repeating the CNC program.
I got good results with SMC_NCDecoder, SMC_CheckVelocities, etc. in a freewheeling task with lower priority (higher number).
Still takes some time but I'm using many variables and loops in my g-code and more preprocessing like SMC_SmoothPath, SMC_LimitDynamics, SMC_CheckForLimits.
PS: your buffer size seems a bit high for 34 lines of g-code
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does anyone know a way to load a CNC program from CNC Editor faster using SMC_NCDecoder?
It takes around 7 seconds to load 34 lines of G code and this is a problem for repeating the CNC program.
Hi,
you can call the decoder function block in a loop and/or decrease the task cycle interval of Task_PATH.
Last edit: tk096 2024-08-23
Hi,
I got good results with SMC_NCDecoder, SMC_CheckVelocities, etc. in a freewheeling task with lower priority (higher number).
Still takes some time but I'm using many variables and loops in my g-code and more preprocessing like SMC_SmoothPath, SMC_LimitDynamics, SMC_CheckForLimits.
PS: your buffer size seems a bit high for 34 lines of g-code