Update src/turboPmacAxis.cpp
This commit is contained in:
@@ -621,13 +621,13 @@ asynStatus turboPmacAxis::handleError(int error, char *userMessage,
|
|||||||
pC_->portName, axisNo_, __PRETTY_FUNCTION__, __LINE__, true,
|
pC_->portName, axisNo_, __PRETTY_FUNCTION__, __LINE__, true,
|
||||||
pC_->pasynUser())) {
|
pC_->pasynUser())) {
|
||||||
asynPrint(pC_->pasynUser(), ASYN_TRACE_ERROR,
|
asynPrint(pC_->pasynUser(), ASYN_TRACE_ERROR,
|
||||||
"Controller \"%s\", axis %d => %s, line %d\nAir cushion "
|
"Controller \"%s\", axis %d => %s, line %d\nLost feedback "
|
||||||
"feedback stopped during movement (P%2.2d01 = %d).%s\n",
|
"from auxiliary device during movement (P%2.2d01 = %d).%s\n",
|
||||||
pC_->portName, axisNo_, __PRETTY_FUNCTION__, __LINE__,
|
pC_->portName, axisNo_, __PRETTY_FUNCTION__, __LINE__,
|
||||||
axisNo_, error, pC_->getMsgPrintControl().getSuffix());
|
axisNo_, error, pC_->getMsgPrintControl().getSuffix());
|
||||||
}
|
}
|
||||||
snprintf(userMessage, sizeUserMessage,
|
snprintf(userMessage, sizeUserMessage,
|
||||||
"Air cushion feedback stopped during movement (P%2.2d01 = "
|
"Lost feedback from auxiliary device during movement (P%2.2d01 = "
|
||||||
"%d). Please call the support.",
|
"%d). Please call the support.",
|
||||||
axisNo_, error);
|
axisNo_, error);
|
||||||
setAxisParamChecked(this, motorMessageText, userMessage);
|
setAxisParamChecked(this, motorMessageText, userMessage);
|
||||||
@@ -638,14 +638,14 @@ asynStatus turboPmacAxis::handleError(int error, char *userMessage,
|
|||||||
pC_->pasynUser())) {
|
pC_->pasynUser())) {
|
||||||
asynPrint(
|
asynPrint(
|
||||||
pC_->pasynUser(), ASYN_TRACE_ERROR,
|
pC_->pasynUser(), ASYN_TRACE_ERROR,
|
||||||
"Controller \"%s\", axis %d => %s, line %d\nNo air cushion "
|
"Controller \"%s\", axis %d => %s, line %d\nNo feedback from "
|
||||||
"feedback before movement start (P%2.2d01 = %d).%s\n",
|
"auxiliary device before movement (P%2.2d01 = %d).%s\n",
|
||||||
pC_->portName, axisNo_, __PRETTY_FUNCTION__, __LINE__, axisNo_,
|
pC_->portName, axisNo_, __PRETTY_FUNCTION__, __LINE__, axisNo_,
|
||||||
error, pC_->getMsgPrintControl().getSuffix());
|
error, pC_->getMsgPrintControl().getSuffix());
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf(userMessage, sizeUserMessage,
|
snprintf(userMessage, sizeUserMessage,
|
||||||
"No air cushion feedback before movement start (P%2.2d01 = "
|
"No feedback from auxiliary device before movement (P%2.2d01 = "
|
||||||
"%d). Please call the support.",
|
"%d). Please call the support.",
|
||||||
axisNo_, error);
|
axisNo_, error);
|
||||||
setAxisParamChecked(this, motorMessageText, userMessage);
|
setAxisParamChecked(this, motorMessageText, userMessage);
|
||||||
|
|||||||
Reference in New Issue
Block a user