Commit 76b8a7cf authored by Kuner, Bernhard's avatar Kuner, Bernhard
Browse files

Fix stopMove ramp Parameter, set P15 ramp. P07 is for emergency stop and limit reference stop only

parent 14a3418f
......@@ -714,7 +714,7 @@ phytronStatus phytronAxis::setAcceleration(double acceleration, int moveType)
} else if(moveType == homeMove){
sprintf(pC_->outString_, "M%.1fP09=%f", axisModuleNo_, acceleration);
} else if (moveType == stopMove){
sprintf(pC_->outString_, "M%.1fP07=%f", axisModuleNo_, acceleration);
sprintf(pC_->outString_, "M%.1fP15=%f", axisModuleNo_, acceleration);
}
return pC_->sendPhytronCommand(pC_->outString_, pC_->inString_, MAX_CONTROLLER_STRING_SIZE, &this->response_len);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment