ACTIONS TAKEN:
I re-added these lines to the HAL file:
setp pid.u.Pgain [JOINT_4]P
setp pid.u.Igain [JOINT_4]I
setp pid.u.Dgain [JOINT_4]D
setp pid.u.bias [JOINT_4]BIAS
setp pid.u.FF0 [JOINT_4]FF0
setp pid.u.FF1 [JOINT_4]FF1
setp pid.u.FF2 [JOINT_4]FF2
setp pid.u.deadband [JOINT_4]DEADBAND
setp pid.u.maxoutput [JOINT_4]MAX_OUTPUT
and these to the INI file
BIAS = 0.0
DEADBAND = 0.00005
MAX_OUTPUT = 10.0
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.000
P = 1000.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 1.0
FF2 = 0.0
RESULTS:
That seems to have fixed the speed problem I was having. However, a new problem has now arisen: When I initiate the move, either by jogging (e.g., 0.1") or using the Gcode (e.g., G0 u-0.1 f1), the stepper motor
- moves the piece some distance (let's assume it is 0.1"),
- reverses back that same distance,
- then re-executes steps 1-2 until I stop LinuxCNC.