保留多主轴 spindle canon selector
This commit is contained in:
@@ -211,10 +211,10 @@ void SET_FEED_RATE(double rate) {
|
||||
}
|
||||
}
|
||||
|
||||
void SET_SPINDLE_SPEED(int, double speed) {
|
||||
void SET_SPINDLE_SPEED(int spindle, double speed) {
|
||||
trace_call("SET_SPINDLE_SPEED");
|
||||
if (active_sink) {
|
||||
active_sink->set_spindle_speed(speed, event_line());
|
||||
active_sink->set_spindle_speed(spindle, speed, event_line());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -486,21 +486,21 @@ void SET_SPINDLE_MODE(int spindle, double mode) {
|
||||
void SPINDLE_RETRACT_TRAVERSE() {
|
||||
}
|
||||
|
||||
void START_SPINDLE_CLOCKWISE(int, int) {
|
||||
void START_SPINDLE_CLOCKWISE(int spindle, int) {
|
||||
if (active_sink) {
|
||||
active_sink->start_spindle(1, event_line());
|
||||
active_sink->start_spindle(spindle, 1, event_line());
|
||||
}
|
||||
}
|
||||
|
||||
void START_SPINDLE_COUNTERCLOCKWISE(int, int) {
|
||||
void START_SPINDLE_COUNTERCLOCKWISE(int spindle, int) {
|
||||
if (active_sink) {
|
||||
active_sink->start_spindle(-1, event_line());
|
||||
active_sink->start_spindle(spindle, -1, event_line());
|
||||
}
|
||||
}
|
||||
|
||||
void STOP_SPINDLE_TURNING(int) {
|
||||
void STOP_SPINDLE_TURNING(int spindle) {
|
||||
if (active_sink) {
|
||||
active_sink->stop_spindle(event_line());
|
||||
active_sink->stop_spindle(spindle, event_line());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user