{ "name": "Tangbob", "boardcfg": "Tangbob", "description": "Tangbob with one 5x china BOB", "protocol": "UDP", "plugins": [ { "type": "w5500", "pins": { "mosi": { "pin": "SPI:MOSI" }, "miso": { "pin": "SPI:MISO" }, "sclk": { "pin": "SPI:SCLK" }, "sel": { "pin": "SPI:SEL" } }, "uid": "w55000" }, { "type": "wled", "pins": { "data": { "pin": "WLED:DATA" } }, "signals": { "0_green": { "net": "(!halui.mode.is-auto and !axisui.error) or halui.program.is-paused" }, "0_red": { "net": "axisui.error" }, "0_blue": { "net": "halui.mode.is-auto" } }, "uid": "wled0" }, { "type": "modbus", "pins": { "tx": { "pin": "MODBUS:TX" }, "rx": { "pin": "MODBUS:RX" }, "tx_enable": { "pin": "MODBUS:TX_ENABLE" } }, "config": { "relais1_16": { "address": 1, "type": 6, "register": 112, "datatype": "bool", "values": 16, "scale": 1.0, "unit": "V", "error_values": "", "format": "0.1f", "timeout": 100, "delay": 60, "direction": "output", "priority": 5 }, "input1": { "address": 1, "type": 3, "register": 129, "values": 4, "datatype": "bool", "scale": 1.0, "unit": "", "error_values": "", "format": "d", "timeout": 100, "delay": 60, "priority": 5, "direction": "input" }, "input2": { "address": 1, "type": 3, "register": 133, "values": 4, "datatype": "bool", "scale": 1.0, "unit": "", "error_values": "", "format": "d", "timeout": 100, "delay": 60, "priority": 0, "direction": "input" }, "input3": { "address": 1, "type": 3, "register": 137, "values": 4, "datatype": "bool", "scale": 1.0, "unit": "", "error_values": "", "format": "d", "timeout": 100, "delay": 60, "priority": 0, "direction": "input" }, "input4": { "address": 1, "type": 3, "register": 141, "values": 4, "datatype": "bool", "scale": 1.0, "unit": "", "error_values": "", "format": "d", "timeout": 100, "delay": 60, "priority": 0, "direction": "input" } }, "uid": "modbus0" }, { "type": "blink", "pins": { "led": { "pin": "10" } }, "uid": "blink0" }, { "type": "i2cbus", "pins": { "sda": { "pin": "I2C:sda" }, "scl": { "pin": "I2C:scl" } }, "uid": "i2cbus0", "config": { "devices": { "lm75_0": { "type": "lm75", "address": "0x48", "subbus": "none" } } } } ], "modules": [ { "slot": "LEFT", "module": "china-bob5x", "setup": { "enable": { "type": "bitout", "name": "enable", "pins": { "bit": { "modifier": [ { "type": "invert" }, { "type": "onerror" }, { "type": "invert" } ] } }, "signals": { "bit": { "net": "halui.machine.is-on", "function": "", "setp": "" } }, "uid": "bitout0" }, "home-x": { "type": "bitin", "name": "home-x", "pins": { "bit": { "pull": "up" } }, "signals": { "bit": { "net": "joint.0.home-sw-in", "function": "", "setp": "" } }, "uid": "bitin0" }, "home-y": { "type": "bitin", "name": "home-y", "pins": { "bit": { "pull": "up" } }, "signals": { "bit": { "net": "joint.1.home-sw-in", "function": "", "setp": "" } }, "uid": "bitin1" }, "home-z": { "type": "bitin", "name": "home-z", "pins": { "bit": { "pull": "up" } }, "signals": { "bit": { "net": "joint.2.home-sw-in", "function": "", "setp": "" } }, "uid": "bitin2" }, "spindle-enable": { "type": "bitout", "name": "spindle-enable", "pins": { "bit": { "modifier": [ { "type": "invert" } ] } }, "signals": { "bit": { "net": "spindle.0.on", "function": "", "setp": "" } }, "uid": "bitout1" }, "pwm": { "type": "pwmout", "name": "pwm", "pins": { "pwm": { "modifier": [ { "type": "invert" } ] } }, "uid": "pwmout0" }, "e-stop": { "type": "bitin", "name": "e-stop", "pins": { "bit": { "pull": "up" } }, "uid": "bitin3" }, "probe": { "type": "bitin", "name": "probe", "pins": { "bit": { "pull": "up" } }, "uid": "bitin4" }, "joint-0": { "name": "joint-0", "type": "stepdir", "is_joint": true, "uid": "stepdir0" }, "joint-1": { "name": "joint-1", "type": "stepdir", "is_joint": true, "uid": "stepdir1" }, "joint-2": { "name": "joint-2", "type": "stepdir", "is_joint": true, "uid": "stepdir2" }, "joint-3": { "name": "joint-3", "type": "stepdir", "is_joint": true, "uid": "stepdir3" } } } ], "toolchain": "icestorm" }