Select Git revision
mm5.json 11.89 KiB
{
"description": {
"name": "new program",
"counter": 12
},
"modules": {
"SerialportATKLink-0": {
"description": {
"isHardware": true,
"isLink": true,
"name": "SerialportATKLink",
"alt": "window into hardware world",
"id": "SerialportATKLink-0",
"path": "./modules/hardware/atkseriallink.js",
"position": {
"left": 2379,
"top": 568
}
},
"inputs": {},
"outputs": {},
"state": {
"portName": "---",
"portStatus": "closed"
},
"ui": {
"kickButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
}
}
},
"ATKStepper-1": {
"description": {
"name": "ATKStepper",
"alt": "software representation of stepper motor",
"isHardware": true,
"id": "ATKStepper-1",
"path": "./modules/hardware/atkstepper.js",
"position": {
"left": 1826,
"top": 77
}
},
"inputs": {
"trapezoid": {
"accepts": "move instruction"
},
"accel": {
"accepts": "number"
},
"rmtrig": {
"accepts": "event"
}
},
"outputs": {
"ack": {
"emits": "move acknowledgement",
"calls": []
},
"position": {
"emits": "number",
"calls": []
}
},
"state": {
"message": "click below to test network",
"route": "0,0",
"rate": 2000,
"axis": "X",
"spu": 200,
"rawMove": -10,
"lead": 0,
"position": 0
},
"ui": {
"resetButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"testButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"rawButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
}
}
},
"ATKStepper-2": {
"description": {
"name": "ATKStepper",
"alt": "software representation of stepper motor",
"isHardware": true,
"id": "ATKStepper-2",
"path": "./modules/hardware/atkstepper.js",
"position": {
"left": 1827,
"top": 499
}
},
"inputs": {
"trapezoid": {
"accepts": "move instruction"
},
"accel": {
"accepts": "number"
},
"rmtrig": {
"accepts": "event"
}
},
"outputs": {
"ack": {
"emits": "move acknowledgement",
"calls": []
},
"position": {
"emits": "number",
"calls": []
}
},
"state": {
"message": "click below to test network",
"route": "0,0",
"rate": 2000,
"axis": "X",
"spu": 200,
"rawMove": -10,
"lead": 0,
"position": 0
},
"ui": {
"resetButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"testButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"rawButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
}
}
},
"ATKStepper-4": {
"description": {
"name": "ATKStepper",
"alt": "software representation of stepper motor",
"isHardware": true,
"id": "ATKStepper-4",
"path": "./modules/hardware/atkstepper.js",
"position": {
"left": 1826,
"top": 928
}
},
"inputs": {
"trapezoid": {
"accepts": "move instruction"
},
"accel": {
"accepts": "number"
},
"rmtrig": {
"accepts": "event"
}
},
"outputs": {
"ack": {
"emits": "move acknowledgement",
"calls": []
},
"position": {
"emits": "number",
"calls": []
}
},
"state": {
"message": "click below to test network",
"route": "0,0",
"rate": 2000,
"axis": "X",
"spu": 200,
"rawMove": -10,
"lead": 0,
"position": 0
},
"ui": {
"resetButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"testButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"rawButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
}
}
},
"ATKStepper-5": {
"description": {
"name": "ATKStepper",
"alt": "software representation of stepper motor",
"isHardware": true,
"id": "ATKStepper-5",
"path": "./modules/hardware/atkstepper.js",
"position": {
"left": 1834,
"top": 1354
}
},
"inputs": {
"trapezoid": {
"accepts": "move instruction"
},
"accel": {
"accepts": "number"
},
"rmtrig": {
"accepts": "event"
}
},
"outputs": {
"ack": {
"emits": "move acknowledgement",
"calls": []
},
"position": {
"emits": "number",
"calls": []
}
},
"state": {
"message": "click below to test network",
"route": "0,0",
"rate": 2000,
"axis": "X",
"spu": 200,
"rawMove": -10,
"lead": 0,
"position": 0
},
"ui": {
"resetButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"testButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"rawButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
}
}
},
"ATKBBB-Servo-6": {
"description": {
"name": "ATKBBB-Servo",
"alt": "software representation of networked hardware object",
"isHardware": true,
"id": "ATKBBB-Servo-6",
"path": "./modules/hardware/atkbreadboardboard.js",
"position": {
"left": 2320,
"top": 1484
}
},
"inputs": {
"servoVal": {
"accepts": "number"
},
"adcRequest": {
"accepts": "event"
}
},
"outputs": {
"servoConf": {
"emits": "event",
"calls": []
},
"adcValue": {
"emits": "number",
"calls": []
}
},
"state": {
"message": "click below to test network",
"route": "0,0",
"servoVal": 0
},
"ui": {
"resetButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"testButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"servoButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"adcReqButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
}
}
},
"Multi-line Text Input-7": {
"description": {
"name": "Multi-line Text Input",
"alt": "sequential txt input",
"id": "Multi-line Text Input-7",
"path": "./modules/ui/multiline.js",
"position": {
"left": 78,
"top": 172
}
},
"inputs": {
"req": {
"accepts": "number"
},
"lineIn": {
"accepts": "string"
},
"load": {
"accepts": "path"
}
},
"outputs": {
"lineOut": {
"emits": "string",
"calls": []
}
},
"state": {},
"ui": {
"thruButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"previously": {
"type": "button",
"clientPath": "ui/multiline.js"
},
"justNow": {
"type": "button",
"clientPath": "ui/multiline.js"
},
"incoming": {
"type": "button",
"clientPath": "ui/multiline.js"
}
}
},
"Gcode Parser-8": {
"description": {
"name": "Gcode Parser",
"alt": "line of gcode -> planner recognized move",
"id": "Gcode Parser-8",
"path": "./modules/parsing/gcode.js",
"position": {
"left": 649,
"top": 167
}
},
"inputs": {
"lineIn": {
"accepts": "string"
}
},
"outputs": {
"instructionOut": {
"emits": "move instruction",
"calls": []
},
"modeChange": {
"emits": "string",
"calls": []
}
},
"state": {
"mode": "G0",
"G0": 1200,
"G1": 400
},
"ui": {}
},
"Lookahead-Motion-Planner-9": {
"description": {
"name": "Lookahead-Motion-Planner",
"alt": "movements -> acceleration planned moves",
"id": "Lookahead-Motion-Planner-9",
"path": "./modules/motion/planner.js",
"position": {
"left": 1155,
"top": 168
}
},
"inputs": {
"instruction": {
"accepts": "move instruction"
},
"acks": {
"accepts": "move acknowledgement"
},
"run": {
"accepts": "boolean"
}
},
"outputs": {
"moves": {
"emits": "move instruction",
"calls": []
},
"moveComplete": {
"emits": "number",
"calls": []
}
},
"state": {
"axisIDs": "X,Y,Z",
"accel": 200,
"jd": 0.1,
"minSpeed": 1,
"position": [
0,
0,
0
],
"isRunning": 0,
"netWindow": 3,
"netState": [
0,
0,
0
]
},
"ui": {
"resetButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
},
"startStopButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
}
}
},
"number-output-10": {
"description": {
"name": "number-output",
"alt": "for clicking",
"id": "number-output-10",
"path": "./modules/ui/number.js",
"position": {
"left": 649,
"top": 626
}
},
"inputs": {
"thru": {
"accepts": "any"
},
"evt": {
"accepts": "any"
}
},
"outputs": {
"out": {
"emits": "number",
"calls": []
}
},
"state": {
"number": 10
},
"ui": {
"onNumberButton": {
"type": "button",
"clientPath": "ui/uiButton.js"
}
}
},
"Button-11": {
"description": {
"name": "Button",
"alt": "for clicking",
"id": "Button-11",
"path": "./modules/ui/button.js",
"position": {
"left": 651,
"top": 473
}
},
"inputs": {
"thru": {
"accepts": "any"
}
},
"outputs": {
"whammy": {
"emits": "number",
"calls": []
}
},
"state": {},
"ui": {
"btn": {
"type": "button",
"clientPath": "ui/uiButton.js"
}
}
},
"delay-12": {
"description": {
"name": "delay",
"alt": "in ... out",
"id": "delay-12",
"path": "./modules/util/delay.js",
"position": {
"left": 647,
"top": 811
}
},
"inputs": {
"thru": {
"accepts": "any"
}
},
"outputs": {
"out": {
"emits": "any",
"calls": []
}
},
"state": {
"ms": 100
},
"ui": {}
}
}
}