EM-60 Additional changes
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "config.h"
|
||||
#include "command.h"
|
||||
#include "exec.h"
|
||||
#include "estop.h"
|
||||
#include "util.h"
|
||||
#include "state.h"
|
||||
|
||||
@@ -94,6 +95,8 @@ static void _set_speed(float speed) {
|
||||
|
||||
float power = _speed_to_power(speed);
|
||||
|
||||
if (estop_triggered()) power = 0;
|
||||
|
||||
switch (spindle.type) {
|
||||
case SPINDLE_TYPE_DISABLED: break;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ module.exports = {
|
||||
computed: {
|
||||
has_user_value: function() {
|
||||
const type = this.model["reg-type"];
|
||||
return type.indexOf("write") != -1 || type.indexOf("fixed") != -1;
|
||||
return type.includes("write") || type.includes("fixed") || type.includes("scaled");
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ script#tool-view-template(type="text/x-template")
|
||||
label.units RPM
|
||||
|
||||
fieldset.modbus-program(
|
||||
v-if="is_modbus && this.tool_type != 'HUANYANG VFD'")
|
||||
v-if="is_modbus && tool_type != 'HUANYANG VFD' && tool_type != 'EM60'")
|
||||
h2 Active Modbus Program
|
||||
p(v-if="$root.modified")
|
||||
| (Click #[tt(class="save") Save] to activate the selected
|
||||
|
||||
Reference in New Issue
Block a user