Skip to content
Snippets Groups Projects
Commit a0388afd authored by Nicolas Tappret's avatar Nicolas Tappret
Browse files

remove stop code abord in the state status

parent 3ff762ae
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [1.3.1] - 26-07-2022
### modified
* finaly remove stopcode for abort stopcode only
## [1.3.0] - 07-07-2022
### added
* add attribute steps motor read only
......
......@@ -1900,7 +1900,7 @@ Tango::DevString IcePapMotor::raw_com(Tango::DevString argin)
string creply;
sendcmd(argin, &creply);
argout = Tango::string_dup(creply.c_str());
/*----- PROTECTED REGION END -----*/ // IcePapMotor::raw_com
return argout;
}
......@@ -2182,7 +2182,7 @@ void IcePapMotor::CheckState()
sendboardcmd("?WARNING", &stw01);
msg << stw01 << endl;
}
if (AxisStopCode != STOPCODE_NO_ERROR) {
if (AxisStopCode != STOPCODE_NO_ERROR && AxisStopCode != STOPCODE_ABORT_CMD) {
if(stopCodeMessage.find(AxisStopCode) == stopCodeMessage.end()){
//if AxisStopCode not find put to UNKNOWN CODE
AxisStopCode = STOPCODE_UNKNOWN_CODE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment