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

    Help straighten me out on pin naming

    Scheduled Pinned Locked Moved
    General Discussion
    4
    22
    609
    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.
    • kb58undefined
      kb58
      last edited by

      This post is deleted!
      peter247undefined 1 Reply Last reply Reply Quote 0
      • peter247undefined
        peter247 @kb58
        last edited by

        @kb58 it is not named that is on duet 2

        Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

        1 Reply Last reply Reply Quote 0
        • Javajoeukundefined
          Javajoeuk
          last edited by

          no i dont think so you have to tell it which pin you want it to use

          peter247undefined 1 Reply Last reply Reply Quote 0
          • peter247undefined
            peter247 @Javajoeuk
            last edited by

            @javajoeuk Yes you tell it which pin to use , but it can be any pin to do any job.

            Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

            1 Reply Last reply Reply Quote 0
            • kb58undefined
              kb58 @peter247
              last edited by

              @peter247 Okay, so I'm still not seeing it. If any pin can be anything, I'm back to asking the same question, that naming an end stop is only half the picture, that somewhere it has to get "pointed" to the physical connector that I'm plugging that switch into. Sorry for being dense, but I'm an engineer...

              peter247undefined 1 Reply Last reply Reply Quote 0
              • resamundefined
                resam @kb58
                last edited by

                @kb58 look here for a full list of pin names:
                https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Duet_3_MB6HC_pin_names

                and the wiring an hardware overview:
                https://duet3d.dozuki.com/Wiki/Duet_3_Mainboard_6HC_Wiring_Diagram#Section_Revision_1_0_and_1_Num_01

                and the M574 for RRF3 help:
                https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_RepRapFirmware_Num_3

                kb58undefined 2 Replies Last reply Reply Quote 1
                • kb58undefined
                  kb58 @resam
                  last edited by

                  @resam I know about the pin names, but a name is just text, it's not hardwired to anything. If I have: M574 X1 S1 P"X_endstop", what connector is "X_endstop" looking at?

                  resamundefined 1 Reply Last reply Reply Quote 0
                  • kb58undefined
                    kb58 @resam
                    last edited by

                    @resam Or, are you saying that I have to use M574 X1 S1 P"io1.in", and that I'm not free to rename them? That seems doubtful because io1.in is just a text string, no?

                    1 Reply Last reply Reply Quote 0
                    • peter247undefined
                      peter247 @kb58
                      last edited by

                      @kb58 This is my set up .

                      ; Endstops
                      M574 X1 S1 P"!io0.in"                          ; configure active-high endstop for low end on X via pin xstop
                      M574 Y2 S1 P"!io1.in"                          ; configure active-high endstop for low end on Y via pin ystop
                      ;M574 Z1 S2  
                      
                      ; Z-Probe
                      M558 P9 C"io2.in" H2 F100 T8000 A5		        ; set Z probe type to bltouch and the dive height + speeds
                      M950 S0 C"io2.out"							    ; create servo pin 0 for BLTouch
                      G31 P500 X 30 Y 55 Z 1.4                        ; set Z probe trigger value, offset and trigger height
                      M557 X60:240 Y60:240 S30
                      

                      But I could have used io1.in for the X stop if I had configured it that way.

                      Ender 5 plus linear rail and hemera powered by duet 2 wifi , CR10s pro v1 with bltouch mostly stock , BLV mgn Cube slowly being built powered by duet 3 mini 5+

                      kb58undefined 1 Reply Last reply Reply Quote 0
                      • kb58undefined
                        kb58 @peter247
                        last edited by kb58

                        @peter247 Ah, okay, so only predefined pin names can be used.

                        1 Reply Last reply Reply Quote 0
                        • resamundefined
                          resam @kb58
                          last edited by

                          @kb58 Duet3 does not have a "X_endstop" pin, see https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Duet_3_MB6HC_pin_names for the official pin names.

                          If you want to create an endstop for your X-axis, then use M574 with the X1 parameter for the X-axis, and e.g., P"io0.in" to use the IO0 input pin.

                          kb58undefined 1 Reply Last reply Reply Quote 1
                          • kb58undefined
                            kb58 @resam
                            last edited by

                            @resam Got it, finally, and thanks, everyone.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA