1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Partial Answer No + X limit swtich. By Design?

Discussion in 'General Questions' started by joea, Nov 14, 2019.

  1. joea

    joea Active Member

    Joined:
    Nov 12, 2019
    Messages:
    351
    Likes Received:
    51
    Title says it all. There is no switch to limit +X travel, so it can make some horrid noise when beating against the stop.

    I imagine one could be added and spliced to the existing wiring. Not sure if that would upset firmware, etc.
     
  2. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    mark tomlinson likes this.
  3. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    This style of printer does not use MAX axis switches, only MIN axis switches (HOME). So you have to define that limit in the firmware and it will keep track of it.
     
  4. joea

    joea Active Member

    Joined:
    Nov 12, 2019
    Messages:
    351
    Likes Received:
    51
    Ah. Then dullards such as myself need define those limits in our own :"some-ware" I guess.
     
  5. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    It is defined in the firmware source. You can download the source for the R1 series from Robo and look in CONFIGURATION.H (all in MM IIRC)

    Here is an example from an R1:

    // Travel limits after homing
    #define X_MAX_POS 240
    #define X_MIN_POS 0
    #define Y_MAX_POS 254
    #define Y_MIN_POS 0
    #define Z_MAX_POS 240
    #define Z_MIN_POS 0
    #define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)
    #define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)
    #define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)
     
    #5 mark tomlinson, Nov 15, 2019
    Last edited: Nov 15, 2019
  6. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
  7. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    All of the (or nearly all of the) configuration details specific to your printer hardware ... are in CONFIGURATION.H
    So that is the Go-To spot for making hardware related tweaks.
     

Share This Page