added motors-backup to onefinity defaults and modified gcode to origin y0 and z0

This commit is contained in:
sanjayk03-dev
2025-06-10 01:03:59 +05:30
parent a49bf15da5
commit 0115e4492e
2 changed files with 46 additions and 1 deletions

View File

@@ -376,6 +376,49 @@
"zero-backoff": 1
}
],
"motors-backup": [
{
"axis": "X",
"min-soft-limit": 0,
"max-soft-limit": 0,
"max-velocity": 10,
"max-accel": 750,
"max-jerk": 1000,
"step-angle": 1.8,
"travel-per-rev": 10
},
{
"axis": "Y",
"min-soft-limit": 0,
"max-soft-limit": 0,
"max-velocity": 10,
"max-accel": 750,
"max-jerk": 1000,
"step-angle": 1.8,
"travel-per-rev": 10
},
{
"axis": "Y",
"min-soft-limit": 0,
"max-soft-limit": 0,
"max-velocity": 10,
"max-accel": 750,
"max-jerk": 1000,
"step-angle": 1.8,
"travel-per-rev": 10
},
{
"axis": "Z",
"min-soft-limit": -133,
"max-soft-limit": 0,
"max-velocity": 3,
"max-accel": 750,
"max-jerk": 1000,
"step-angle": 1.8,
"travel-per-rev": 4
}
],
"admin": {
"auto-check-upgrade": true
},

View File

@@ -378,8 +378,10 @@
function executeYOrigin(){
ControllerMethods.send(`
G53 G0 Z0
G90
G0 Z0
G0 Y0
G92 Y0 Z0
M2
`);
}