Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buildbotics Json #2

Open
jameswlane opened this issue Oct 7, 2019 · 0 comments

Comments

@jameswlane
Copy link
Owner

commented Oct 7, 2019

End configuration we are looking for

{
  "gcode": {
    "program-end": "(Runs on M2, program end)\nM2",
    "program-start": "(Runs at program start)\nG90 (Absolute distance mode)\nG17 (Select XY plane)\n",
    "tool-change": "M70\nG21\nG90\nG0Z50\n(MSG, Change bit and attach probe)\nG91\nF100\nG38.2 Z-100\nG92 Z15\nG90\nG0 Z50\n(MSG, Remove the probe)\nM72"
  },
  "version": "0.4.10",
  "pwm-spindle": {
    "pwm-max-duty": 99.99,
    "rapid-auto-off": false,
    "pwm-inverted": false,
    "dynamic-power": false,
    "pwm-freq": 1000,
    "pwm-min-duty": 1
  },
  "modbus-spindle": {
    "regs": [
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      },
      {
        "reg-type": "disabled",
        "reg-addr": 0,
        "reg-value": 0
      }
    ],
    "bus-id": "1",
    "multi-write": false,
    "baud": "9600",
    "parity": "None"
  },
  "motors": [
    {
      "reverse": true,
      "drive-current": 1.5,
      "latch-backoff": 5,
      "latch-velocity": 0.1,
      "max-accel": 10,
      "max-switch": "disabled",
      "microsteps": 32,
      "max-jerk": 50,
      "step-angle": 1.8,
      "max-soft-limit": 750,
      "idle-current": 0.5,
      "axis": "X",
      "max-velocity": 5,
      "travel-per-rev": 40,
      "homing-mode": "switch-min",
      "enabled": true,
      "min-switch": "normally-open",
      "zero-backoff": 1,
      "search-velocity": 0.5,
      "min-soft-limit": 0
    },
    {
      "reverse": true,
      "drive-current": 1.5,
      "latch-backoff": 5,
      "latch-velocity": 0.1,
      "max-accel": 10,
      "max-switch": "disabled",
      "microsteps": 32,
      "max-jerk": 50,
      "step-angle": 1.8,
      "max-soft-limit": 750,
      "idle-current": 0.5,
      "axis": "Y",
      "max-velocity": 5,
      "travel-per-rev": 40,
      "homing-mode": "switch-min",
      "enabled": true,
      "min-switch": "normally-open",
      "zero-backoff": 1,
      "search-velocity": 0.5,
      "min-soft-limit": 0
    },
    {
      "reverse": true,
      "drive-current": 2.8,
      "latch-backoff": 5,
      "latch-velocity": 0.1,
      "max-accel": 10,
      "max-switch": "disabled",
      "microsteps": 32,
      "max-jerk": 50,
      "step-angle": 1.8,
      "max-soft-limit": 0,
      "idle-current": 0.5,
      "axis": "Y",
      "max-velocity": 5,
      "travel-per-rev": 5,
      "homing-mode": "manual",
      "enabled": true,
      "min-switch": "disabled",
      "zero-backoff": 1,
      "search-velocity": 0.5,
      "min-soft-limit": 0
    },
    {
      "reverse": false,
      "drive-current": 1.5,
      "latch-backoff": 5,
      "latch-velocity": 0.1,
      "max-accel": 10,
      "max-switch": "normally-open",
      "microsteps": 32,
      "max-jerk": 50,
      "step-angle": 1.8,
      "max-soft-limit": 100,
      "idle-current": 0.5,
      "axis": "Z",
      "max-velocity": 1,
      "travel-per-rev": 2.1,
      "homing-mode": "switch-max",
      "enabled": true,
      "min-switch": "disabled",
      "zero-backoff": 1,
      "search-velocity": 0.5,
      "min-soft-limit": 0
    }
  ],
  "switches": {
    "estop": "disabled",
    "probe": "normally-open",
    "switch-lockout": 250,
    "switch-debounce": 5
  },
  "settings": {
    "units": "METRIC"
  },
  "outputs": {
    "fault": "lo-hi",
    "load-2": "lo-hi",
    "load-1": "lo-hi"
  },
  "admin": {
    "auto-check-upgrade": true
  },
  "tool": {
    "max-spin": 10000,
    "min-spin": 0,
    "tool-type": "Disabled",
    "tool-enable-mode": "lo-hi",
    "tool-direction-mode": "lo-hi",
    "tool-reversed": false
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.