/** * ************************************************************************* Motor interface * functions * * @throws RetryException ************************************************************************ */ public void setMotorRPM(double rpm, int toolhead) throws RetryException { if (fiveD == false) { sendCommand(_getToolCode() + "M108 R" + df.format(rpm)); } else { extrusionUpdater.setFeedrate(rpm); } super.setMotorRPM(rpm, toolhead); }