changing motor direction and speed wo/ the RR config tool?
-
I now know it’s not by changing the config.json file, but have not found it in the other sys files. I would really like to do this directly in the *.g files if possible.
-
This is all configurable via gcode and is usually set in config.g
motor configuration
https://duet3d.dozuki.com/Wiki/Gcode#Section_M569_Set_motor_driver_direction_enable_polarity_and_step_pulse_timing for the direction
speed related settings
https://duet3d.dozuki.com/Wiki/Gcode#Section_M201_Set_max_acceleration for acceleration
https://duet3d.dozuki.com/Wiki/Gcode#Section_M203_Set_maximum_feedrate for speed
https://duet3d.dozuki.com/Wiki/Gcode#Section_M205_Set_max_instantaneous_speed_change_in_mm_sec or https://duet3d.dozuki.com/Wiki/Gcode#Section_M566_Set_allowable_instantaneous_speed_change for maximum allowed speed change
-
Ok, so if I go to the bottom of the config.g file and set these mcodes up the way I want them, this should override anything set elseware, correct?
-
These commands should already exist in the config.g. you can just change the values.
If you post your config.g file we can point out where.
This guide discusses how to setup the motor directions, etc
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Movement_section