Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-19239

M2 Support part 2

    XMLWordPrintable

    Details

      Description

      Give software support to M2 at the summit

        Attachments

          Activity

          Hide
          aanania Andres Anania [X] (Inactive) added a comment -

          This Monday I will go to the summit

          Show
          aanania Andres Anania [X] (Inactive) added a comment - This Monday I will go to the summit
          Hide
          aanania Andres Anania [X] (Inactive) added a comment - - edited

          I looked over the code and found what is the expected behavior of M2Controller when there are no errors when we try to enable the contorller.

           

          These are the steps that happen when we try to enable the controller, we see the "On error" case:

          This code handles the state transition from the MANUAL_STANDBY state to the MANUAL_ENABLED/OPEN_LOOP_CONTROL state.
          1. Check to make sure the cRIO is online.  It is an error if it is not.
          2. Distribute the configuration data throughout the system.
          3. Set the control-loop mode to IDLE.
          4. Power up both power busses going to the cell electronics and actuator control.
          5. Initialize the cell electronics.
          6. Set the control-loop mode to OPEN-LOOP.
          7. Enable telemetry logging.
          8. Change the state to the MANUAL_ENABLED/OPEN_LOOP_CONTROL state.
          9. Enable the faults/warnings appropriate for the ENABLED state.
           
          On error:
           
          1. Turn off motor power.
          2. Don't change the state.
          

          Show
          aanania Andres Anania [X] (Inactive) added a comment - - edited I looked over the code and found what is the expected behavior of M2Controller when there are no errors when we try to enable the contorller.   These are the steps that happen when we try to enable the controller, we see the "On error" case: This code handles the state transition from the MANUAL_STANDBY state to the MANUAL_ENABLED/OPEN_LOOP_CONTROL state. 1 . Check to make sure the cRIO is online. It is an error if it is not. 2 . Distribute the configuration data throughout the system. 3 . Set the control-loop mode to IDLE. 4 . Power up both power busses going to the cell electronics and actuator control. 5 . Initialize the cell electronics. 6 . Set the control-loop mode to OPEN-LOOP. 7 . Enable telemetry logging. 8 . Change the state to the MANUAL_ENABLED/OPEN_LOOP_CONTROL state. 9 . Enable the faults/warnings appropriate for the ENABLED state.   On error:   1 . Turn off motor power. 2 . Don't change the state.
          Hide
          aanania Andres Anania [X] (Inactive) added a comment -

          We were also able to look for the equations for the fault conditions in the vi TangentLoadCellFaultDetection.vi: 

           

          Show
          aanania Andres Anania [X] (Inactive) added a comment - We were also able to look for the equations for the fault conditions in the vi TangentLoadCellFaultDetection.vi:   
          Hide
          aanania Andres Anania [X] (Inactive) added a comment -

          With John we updated the limits on the file TangentLoadFauldDetection we may need to compile this on the cRio (It seems that there is some replication of this VI and didn't update the right one the last time), I'm going to the summit tomorrow and will suggest this to John.

          Show
          aanania Andres Anania [X] (Inactive) added a comment - With John we updated the limits on the file TangentLoadFauldDetection we may need to compile this on the cRio (It seems that there is some replication of this VI and didn't update the right one the last time), I'm going to the summit tomorrow and will suggest this to John.
          Hide
          aanania Andres Anania [X] (Inactive) added a comment -

          We were able to Enable the M2 Controller and that gave control over the actuators to John and Mike. The instructions to replicate this are in: 

          https://confluence.lsstcorp.org/display/LTS/Update+force+limits+to+enable+M2+controller

          Show
          aanania Andres Anania [X] (Inactive) added a comment - We were able to Enable the M2 Controller and that gave control over the actuators to John and Mike. The instructions to replicate this are in:  https://confluence.lsstcorp.org/display/LTS/Update+force+limits+to+enable+M2+controller
          Hide
          aclements Andy Clements added a comment -

          Andres did a great job support John Bagnasco and getting the M2 up and running.  Thanks!

          Show
          aclements Andy Clements added a comment - Andres did a great job support John Bagnasco and getting the M2 up and running.  Thanks!
          Hide
          jbuffill James Buffill [X] (Inactive) added a comment -

          Done

          Show
          jbuffill James Buffill [X] (Inactive) added a comment - Done

            People

            Assignee:
            aanania Andres Anania [X] (Inactive)
            Reporter:
            aanania Andres Anania [X] (Inactive)
            Reviewers:
            Andy Clements
            Watchers:
            Andres Anania [X] (Inactive), Andy Clements, James Buffill [X] (Inactive), John Bagnasco [X] (Inactive), Julio Constanzo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.