PyCNC
PyCNC copied to clipboard
Config.py doesn't change 2us STEPPER_PULSE_LENGTH_US
My stepper driver modules require longer step pulses, but changing STEPPER_PULSE_LENGTH_US doesn't change the pulses as measured with an oscilloscope, they are 2 us.
I also have to use "sudo pycnc" from the command line to get it to work at all. Do I have my paths or permissions wrong?
It turns out that the config.py file is not setting configuration. Making changes to parameters in the config.py file doesn't change the operation of pycnc. My motors run when I enter G-code, but I can't change the steps/mm, directions, etc. Is there a setup step to tell pycnc where the configuration file is? Thanks, Jim
Hi,
I wonder if you solved this, however, config.py is code so you need to restart the PyCNC to pickup changes, also immediate run is handled by
# Run command immediately after receiving and stream new pulses, otherwise
# buffer will be prepared firstly and then command will run.
# Before enabling this feature, please make sure that board performance is
# enough for streaming pulses(faster then real time).
INSTANT_RUN = True
regards