Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    3.4 RC assign how to assign PS_ON?

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    1
    2
    202
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mitchundefined
      mitch
      last edited by

      Prior to the 3.4RC upgrade I had been using the following configuration for 3.4Beta1.

      I saw the release note regarding:
      "There is no longer a power supply control pin assigned by default (in previous firmware versions, PS_ON was assigned by default). Therefore, M80 and M81 will not work until you have assigned a power control pin. If you want to control the power supply, you should use assign a pin using either M80 or M81 with the C parameter in config.g. Use M80 if you want to start with power on, or M81 if you provide separate 5V power and you want to start with VIN power off."

      However, it is still unclear to me what I need to do to define PS_ON.

      This is what I was prev using on 3.4Beta1:

      ; Soft Power Control
      M81			; Turn off 24VDC power on start up and enable control in the UI
      M950 J0 C"^exp.e6stop"                                 ; create GPIO input pin 0 attached to Estop6 expansion connector - Senses Power Button, Low=Button Pressed 
      M950 P1 C"!exp.31"                                     ; create GPIO output pin 1 attached to heater7 on expansion connector - Controls Duet2 On=S1 (default), Off=S0
      M581 P0 S1 T2 C0                                       ; When E6 goes Low, execute trigger2.g to complete shutdown
      
      1 Reply Last reply Reply Quote 0
      • mitchundefined
        mitch
        last edited by

        @mitch said in 3.4 RC assign how to assign PS_ON?:

        PS_ON

        In case anyone else had the same question:

        M81 C"pson"                    ; Turn off 24VDC power on start up and enable control in the UI
        M950 J0 C"^exp.e6stop"                                 ; create GPIO input pin 0 attached to Estop6 expansion connector - Senses Power Button, Low=Button Pressed 
        M950 P1 C"!exp.31"                                     ; create GPIO output pin 1 attached to heater7 on expansion connector - Controls Duet2 On=S1 (default), Off=S0
        M581 P0 S1 T2 C0                                       ; When E6 goes Low, execute trigger2.g to complete shutdown
        
        1 Reply Last reply Reply Quote 0
        • mitchundefined mitch has marked this topic as solved
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA