diff --git a/motorHist.py b/motorHist.py index 370460ad8d73aaedc286db01e5fe582742c6f5b4..40509103a1426330d0e679393ae0e3e01941c5b7 100755 --- a/motorHist.py +++ b/motorHist.py @@ -39,7 +39,8 @@ mip_dict = {1 << 0 : ("Jog forward", ("Done", "In Progress")), 1 << 11 : ("Delay acknowledge", ("Done", "In Progress")), 1 << 12 : ("Jog request", ("Done", "In Progress")), 1 << 13 : ("Jog stopping", ("Done", "In Progress")), - 1 << 14 : ("External move", ("Done", "In Progress")), + 1 << 14 : ("Post-jog backlash 2", ("Done", "In Progress")), + 1 << 15 : ("External move", ("Done", "In Progress")), } #!print(mip_dict) @@ -80,7 +81,7 @@ def mip_diff(last_mip, current_mip): changed_bits = last_mip ^ current_mip # Display changes - for index in range(15): + for index in range(16): bit = 1 << index if (bit & changed_bits): if (current_mip & bit):