Welcome to Our Community

Some features disabled for guests. Register Today.

Four X32 Blackboxes being used for 4 arms...

Discussion in 'Other Builds' started by Kasti, Feb 29, 2024.

  1. Kasti

    Kasti New
    Builder

    Joined:
    Sep 28, 2023
    Messages:
    2
    Likes Received:
    0
    Hi all,

    I'm using four X32 Black-boxes to control four arms, respectively one box per arm. The X's, Y1/Y2s & Z's are handled by arms 1 & 3, while arms 2 & 4 handle their respective X / Z only w/their limit switches - Y1/Y2 on these boxes are not plugged in. Arms 1 & 2 are on the same Y track, while 3 & 4 are similar When creating the firmware changes I wanted using OpenBuildsControl I noticed that when homing arms 2 & 4 using 'Home All' does not fully home them. What happens is: The Z-axis acts normally when resetting itself, but the X-axis will run into the limit switch and pull-off - it just sits there. I'd like it to ideally: Home Z-axis, then X-axis & sit at its new home coordinate. Again, the Y-axis' is handled by its partner Black Box.

    I've read that I can modify my config.h for grblHAL to tell my black-boxes to not home for Y, considering this reference post... - Would this be an optimal solution? I also have considering splitting my wires for my X-motor to attempt to trick the box into thinking a Y-axis is plugged in, but I assume this will spawn further issues....

    Settings for box 2 as reference:
    $0=10.0 ; Step pulse time, microseconds
    $1=255 ; Step idle delay, milliseconds
    $2=0 ; Step pulse invert, mask
    $3=4 ; Step direction invert, mask
    $4=0 ; Invert step enable pin, boolean
    $5=7 ; Invert limit pins, boolean/mask
    $6=1 ; Invert probe pin, boolean
    $8=0 ; Ganged axes direction invert as bitfield
    $9=1 ; PWM Spindle as bitfield where setting bit 0 enables the rest
    $10=511 ; Status report options, mask
    $11=0.010 ; Junction deviation, millimeters
    $12=0.002 ; Arc tolerance, millimeters
    $13=0 ; Report in inches, boolean
    $14=0 ; Limit pins invert, mask
    $15=0 ; Coolant pins invert, mask
    $16=0 ; Spindle pins invert, mask
    $17=0 ; Control pins pullup disable, mask
    $18=0 ; Limit pins pullup disable, mask
    $19=0 ; Probe pin pullup disable, boolean
    $20=0 ; Soft limits enable, boolean
    $21=1 ; Hard limits enable, boolean
    $22=1 ; Homing cycle enable, boolean (Grbl) / mask (GrblHAL)
    $23=3 ; Homing direction invert, mask
    $24=100.0 ; Homing locate feed rate, mm/min
    $25=1000.0 ; Homing search seek rate, mm/min
    $26=250 ; Homing switch debounce delay, milliseconds
    $27=5.000 ; Homing switch pull-off distance, millimeters
    $28=0.100 ; G73 retract distance, in mm
    $29=5.0 ; Step pulse delay (ms)
    $30=1000.000 ; Maximum spindle speed, RPM
    $31=0.000 ; Minimum spindle speed, RPM
    $32=0 ; Laser-mode enable, boolean
    $33=5000.0 ; Spindle PWM frequency
    $34=0.0 ; Spindle off Value
    $35=0.0 ; Spindle min value
    $36=100.0 ; Spindle max value
    $37=0 ; Stepper deenergize mask
    $39=1 ; Enable printable realtime command characters, boolean
    $40=0 ; Apply soft limits for jog commands, boolean
    $43=1 ; Homing passes
    $44=4 ; Homing cycle 1
    $45=3 ; Homing cycle 2
    $46=0 ; Homing cycle 3
    $62=0 ; Sleep Enable
    $63=2 ; Feed Hold Actions
    $64=0 ; Force Init Alarm
    $65=0 ; Require homing sequence to be executed at startup
    $70=7 ; Network Services
    $73=1 ; Wifi Mode
    $74= ; Wifi network SSID
    $75= ; Wifi network PSK
    $100=199.100 ; X-axis steps per millimeter
    $101=199.100 ; Y-axis steps per millimeter
    $102=199.100 ; Z-axis steps per millimeter
    $110=2500.000 ; X-axis maximum rate, mm/min
    $111=2500.000 ; Y-axis maximum rate, mm/min
    $112=2500.000 ; Z-axis maximum rate, mm/min
    $120=150.000 ; X-axis acceleration, mm/sec^2
    $121=150.000 ; Y-axis acceleration, mm/sec^2
    $122=150.000 ; Z-axis acceleration, mm/sec^2
    $130=810.000 ; X-axis maximum travel, millimeters
    $131=730.000 ; Y-axis maximum travel, millimeters
    $132=90.000 ; Z-axis maximum travel, millimeters
    $300=Grbl ; Hostname
    $302=192.168.5.1 ; IP Address
    $303=192.168.5.1 ; Gateway
    $304=255.255.255.0 ; Netmask
    $305=23 ; Telnet Port
    $306=80 ; HTTP Port
    $307=81 ; Websocket Port
    $341=0 ; Tool Change Mode
    $342=30.0 ; Tool Change probing distance
    $343=25.0 ; Tool Change Locate Feed rate
    $344=200.0 ; Tool Change Search Seek rate
    $345=200.0 ; Tool Change Probe Pull Off rate
    $346=1 ; Restore position after M6 as boolean
    $370=0 ; Invert I/O Port Inputs (mask)
    $384=0 ; Disable G92 Persistence
    $396=30 ; WebUI timeout in minutes
    $397=0 ; WebUI auto report interval in milliseconds
    $398=35 ; Planner buffer blocks
    $481=0 ; Autoreport interval in ms
    $I=unconfigured
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,701
    Likes Received:
    4,249
    Homes Z, then homes XY?

    1=X
    2=Y
    4=X
    $44=4 thus = Z only
    $45=3 - to get 3 you need 1+2 = X and Y.
    Would be
    $44=4
    $45=1
     
    Kasti likes this.
  3. Kasti

    Kasti New
    Builder

    Joined:
    Sep 28, 2023
    Messages:
    2
    Likes Received:
    0
    Thank you! Feel a little dumb after seeing how simple this was :)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice