diff --git a/src/sinqAxis.cpp b/src/sinqAxis.cpp index a7b0a3d..094dc24 100644 --- a/src/sinqAxis.cpp +++ b/src/sinqAxis.cpp @@ -364,6 +364,10 @@ asynStatus sinqAxis::move(double position, int relative, double minVelocity, getAxisParamChecked(this, encoderType, &encType); getAxisParamChecked(this, motorStatusHomed, &motorStatHomed); if (strcmp(encType, IncrementalEncoder) == 0 && motorStatHomed == 0) { + asynPrint(pC_->pasynUser(), ASYN_TRACE_ERROR, + "Controller \"%s\", axis %d => %s, line " + "%d:\nAxis needs to be homed first.\n", + pC_->portName, axisNo(), __PRETTY_FUNCTION__, __LINE__); setAxisParamChecked(this, motorErrorMessage, "Motor needs to be homed first."); return asynError;