- Fix motor step alignment when changing motor parameters like microsteping.
- Stall detect homing.
- Improved voltage spike clamping time.
+ - Support for WJ200 VFD
+ - Added M8.1 and M7.1 coolant off commands.
+ - Clear planner coolant and spindle state on stop.
## v0.4.14
- Handle file uploads with '#' or '?' in the name.
SPINDLE_TYPE_SUNFAR_E300,
SPINDLE_TYPE_OMRON_MX2,
SPINDLE_TYPE_V70,
+ SPINDLE_TYPE_WJ200,
} spindle_type_t;
spindle_stop();
outputs_stop();
seek_cancel();
+ _set_state(STATE_HOLDING);
break;
case STATE_STOPPING:
};
+// Register value for Modbus is one less than in the datasheet
const vfd_reg_t omron_mx2_regs[] PROGMEM = {
{REG_CONNECT_WRITE, 0x1200, 3}, // A001 Frequency reference modbus
{REG_CONNECT_WRITE, 0x1201, 3}, // A002 Run command modbus
};
+// Same as OMRON MX2
+#define wj200_regs omron_mx2_regs
+
+
static vfd_reg_t regs[VFDREG];
static vfd_reg_t custom_regs[VFDREG];
case SPINDLE_TYPE_SUNFAR_E300: _load(sunfar_e300_regs); break;
case SPINDLE_TYPE_OMRON_MX2: _load(omron_mx2_regs); break;
case SPINDLE_TYPE_V70: _load(v70_regs); break;
+ case SPINDLE_TYPE_WJ200: _load(wj200_regs); break;
default: break;
}
|
a(href="https://buildbotics.com/upload/vfd/stepperonline-v70.pdf",
target="_blank") Stepper Online V70 VFD manual
+
+ .notes(v-if="tool_type.startsWith('WJ200')")
+ h2 Notes
+ p Set the following using the VFD's front panel.
+ table.modbus-regs.fixed-regs
+ tr
+ th Address
+ th Value
+ th Meaning
+ th Description
+ tr
+ td.reg-addr A001
+ td.reg-value 3
+ td Modbus
+ td Frequency source
+ tr
+ td.reg-addr A002
+ td.reg-value 3
+ td Modbus
+ td Run source
+ tr
+ td.reg-addr C071
+ td.reg-value 5
+ td 9600 BAUD rate
+ td Must match #[tt baud] above
+ tr
+ td.reg-addr C072
+ td.reg-value 1
+ td Slave address
+ td Must match #[tt bus-id] above
+ tr
+ td.reg-addr C074
+ td.reg-value 0
+ td no parity
+ td Must match #[tt parity] above
+ tr
+ td.reg-addr C075
+ td.reg-value 2
+ td 2 stop bits
+ td Communication stop bits
+ p
+ | Other settings according to the
+ |
+ a(href="https://buildbotics.com/upload/vfd/wj200.pdf",
+ target="_blank") WJ200 VFD manual
"values": ["Disabled", "PWM Spindle", "Huanyang VFD", "Custom Modbus VFD",
"AC-Tech VFD", "Nowforever VFD", "Delta VFD015M21A (Beta)",
"YL600, YL620, YL620-A VFD (Beta)", "FR-D700 (Beta)",
- "Sunfar E300 (Beta)", "OMRON MX2", "V70"],
+ "Sunfar E300 (Beta)", "OMRON MX2", "V70", "WJ200"],
"default": "Disabled",
"code": "st"
},