|
|
|
|
@@ -152,19 +152,29 @@ void CHANGE_TOOL_NUMBER(int pocket)
|
|
|
|
|
}
|
|
|
|
|
void RELOAD_TOOLDATA(void) {}
|
|
|
|
|
void CLAMP_AXIS(CANON_AXIS) {}
|
|
|
|
|
void DISABLE_ADAPTIVE_FEED() {}
|
|
|
|
|
void ENABLE_ADAPTIVE_FEED() {}
|
|
|
|
|
void DISABLE_FEED_OVERRIDE() {}
|
|
|
|
|
void ENABLE_FEED_OVERRIDE() {}
|
|
|
|
|
void DISABLE_SPEED_OVERRIDE(int) {}
|
|
|
|
|
void ENABLE_SPEED_OVERRIDE(int) {}
|
|
|
|
|
void DISABLE_FEED_HOLD() {}
|
|
|
|
|
void ENABLE_FEED_HOLD() {}
|
|
|
|
|
void DISABLE_ADAPTIVE_FEED() { standalone::push_canon_event("DISABLE_ADAPTIVE_FEED"); }
|
|
|
|
|
void ENABLE_ADAPTIVE_FEED() { standalone::push_canon_event("ENABLE_ADAPTIVE_FEED"); }
|
|
|
|
|
void DISABLE_FEED_OVERRIDE() { standalone::push_canon_event("DISABLE_FEED_OVERRIDE"); }
|
|
|
|
|
void ENABLE_FEED_OVERRIDE() { standalone::push_canon_event("ENABLE_FEED_OVERRIDE"); }
|
|
|
|
|
void DISABLE_SPEED_OVERRIDE(int spindle)
|
|
|
|
|
{
|
|
|
|
|
std::ostringstream oss;
|
|
|
|
|
oss << "DISABLE_SPEED_OVERRIDE spindle=" << spindle;
|
|
|
|
|
standalone::push_canon_event(oss.str());
|
|
|
|
|
}
|
|
|
|
|
void ENABLE_SPEED_OVERRIDE(int spindle)
|
|
|
|
|
{
|
|
|
|
|
std::ostringstream oss;
|
|
|
|
|
oss << "ENABLE_SPEED_OVERRIDE spindle=" << spindle;
|
|
|
|
|
standalone::push_canon_event(oss.str());
|
|
|
|
|
}
|
|
|
|
|
void DISABLE_FEED_HOLD() { standalone::push_canon_event("DISABLE_FEED_HOLD"); }
|
|
|
|
|
void ENABLE_FEED_HOLD() { standalone::push_canon_event("ENABLE_FEED_HOLD"); }
|
|
|
|
|
void FLOOD_OFF() { standalone::push_canon_event("FLOOD_OFF"); }
|
|
|
|
|
void FLOOD_ON() { standalone::push_canon_event("FLOOD_ON"); }
|
|
|
|
|
void MIST_OFF() { standalone::push_canon_event("MIST_OFF"); }
|
|
|
|
|
void MIST_ON() { standalone::push_canon_event("MIST_ON"); }
|
|
|
|
|
void PALLET_SHUTTLE() {}
|
|
|
|
|
void PALLET_SHUTTLE() { standalone::push_canon_event("PALLET_SHUTTLE"); }
|
|
|
|
|
void TURN_PROBE_OFF() {}
|
|
|
|
|
void TURN_PROBE_ON() {}
|
|
|
|
|
void UNCLAMP_AXIS(CANON_AXIS) {}
|
|
|
|
|
@@ -172,18 +182,57 @@ void NURB_KNOT_VECTOR() {}
|
|
|
|
|
void NURB_CONTROL_POINT(int, double, double, double, double) {}
|
|
|
|
|
void NURB_FEED(double, double) {}
|
|
|
|
|
void SET_BLOCK_DELETE(bool) {}
|
|
|
|
|
void OPTIONAL_PROGRAM_STOP() {}
|
|
|
|
|
void OPTIONAL_PROGRAM_STOP() { standalone::push_canon_event("OPTIONAL_PROGRAM_STOP"); }
|
|
|
|
|
void SET_OPTIONAL_PROGRAM_STOP(bool) {}
|
|
|
|
|
bool GET_OPTIONAL_PROGRAM_STOP() { return false; }
|
|
|
|
|
void PROGRAM_END() {}
|
|
|
|
|
void PROGRAM_STOP() {}
|
|
|
|
|
void SET_MOTION_OUTPUT_BIT(int) {}
|
|
|
|
|
void CLEAR_MOTION_OUTPUT_BIT(int) {}
|
|
|
|
|
void SET_AUX_OUTPUT_BIT(int) {}
|
|
|
|
|
void CLEAR_AUX_OUTPUT_BIT(int) {}
|
|
|
|
|
void SET_MOTION_OUTPUT_VALUE(int, double) {}
|
|
|
|
|
void SET_AUX_OUTPUT_VALUE(int, double) {}
|
|
|
|
|
int WAIT(int, int, int, double) { return 0; }
|
|
|
|
|
void PROGRAM_END() { standalone::push_canon_event("PROGRAM_END"); }
|
|
|
|
|
void PROGRAM_STOP() { standalone::push_canon_event("PROGRAM_STOP"); }
|
|
|
|
|
void SET_MOTION_OUTPUT_BIT(int index)
|
|
|
|
|
{
|
|
|
|
|
std::ostringstream oss;
|
|
|
|
|
oss << "SET_MOTION_OUTPUT_BIT index=" << index;
|
|
|
|
|
standalone::push_canon_event(oss.str());
|
|
|
|
|
}
|
|
|
|
|
void CLEAR_MOTION_OUTPUT_BIT(int index)
|
|
|
|
|
{
|
|
|
|
|
std::ostringstream oss;
|
|
|
|
|
oss << "CLEAR_MOTION_OUTPUT_BIT index=" << index;
|
|
|
|
|
standalone::push_canon_event(oss.str());
|
|
|
|
|
}
|
|
|
|
|
void SET_AUX_OUTPUT_BIT(int index)
|
|
|
|
|
{
|
|
|
|
|
std::ostringstream oss;
|
|
|
|
|
oss << "SET_AUX_OUTPUT_BIT index=" << index;
|
|
|
|
|
standalone::push_canon_event(oss.str());
|
|
|
|
|
}
|
|
|
|
|
void CLEAR_AUX_OUTPUT_BIT(int index)
|
|
|
|
|
{
|
|
|
|
|
std::ostringstream oss;
|
|
|
|
|
oss << "CLEAR_AUX_OUTPUT_BIT index=" << index;
|
|
|
|
|
standalone::push_canon_event(oss.str());
|
|
|
|
|
}
|
|
|
|
|
void SET_MOTION_OUTPUT_VALUE(int index, double value)
|
|
|
|
|
{
|
|
|
|
|
std::ostringstream oss;
|
|
|
|
|
oss << "SET_MOTION_OUTPUT_VALUE index=" << index << " value=" << value;
|
|
|
|
|
standalone::push_canon_event(oss.str());
|
|
|
|
|
}
|
|
|
|
|
void SET_AUX_OUTPUT_VALUE(int index, double value)
|
|
|
|
|
{
|
|
|
|
|
std::ostringstream oss;
|
|
|
|
|
oss << "SET_AUX_OUTPUT_VALUE index=" << index << " value=" << value;
|
|
|
|
|
standalone::push_canon_event(oss.str());
|
|
|
|
|
}
|
|
|
|
|
int WAIT(int index, int input_type, int wait_type, double timeout)
|
|
|
|
|
{
|
|
|
|
|
std::ostringstream oss;
|
|
|
|
|
oss << "WAIT index=" << index
|
|
|
|
|
<< " input_type=" << input_type
|
|
|
|
|
<< " wait_type=" << wait_type
|
|
|
|
|
<< " timeout=" << timeout;
|
|
|
|
|
standalone::push_canon_event(oss.str());
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
int UNLOCK_ROTARY(int, int) { return 0; }
|
|
|
|
|
int LOCK_ROTARY(int, int) { return 0; }
|
|
|
|
|
void UPDATE_TAG(const StateTag &) {}
|
|
|
|
|
|