diff --git a/devEcmcSup/motion/ecmcAxisBase.cpp b/devEcmcSup/motion/ecmcAxisBase.cpp index 5b159ac7..b314a019 100644 --- a/devEcmcSup/motion/ecmcAxisBase.cpp +++ b/devEcmcSup/motion/ecmcAxisBase.cpp @@ -1394,7 +1394,7 @@ int ecmcAxisBase::moveVelocity( getSeq()->setTargetVel(velocitySet); getTraj()->setAcc(accelerationSet); - getTraj()->setAcc(decelerationSet); + getTraj()->setDec(decelerationSet); errorCode = setExecute(1); if (errorCode) {