Closed kmpeters closed 2 years ago
If an axis is disconnected when the IOC starts, no-sensor-present errors occur during startup:
2022/04/06 16:32:00.198 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.199 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.199 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.200 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.201 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.202 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.203 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.204 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.205 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.205 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.206 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.207 MCS2Axis::clearErrors: Unable to decode 259 2022/04/06 16:32:00.208 MCS2Controller::MCS2Controller: Device Name: "MCS2-00000807" 259,"no sensor present"259,"no sensor present"259,"no sensor present"259,"no sensor present"259,"no sensor present"259,"no sensor present"259,"no sensor present"259,"no sensor present"259,"no sensor present"259,"no sensor present"259,"no sensor present"259,"no sensor present"
This error should be handled in the following switch statement:
https://github.com/epics-motor/motorSmarAct/blob/56ef95f2b97a52c186457ec29f4db6ce0c4baa12/smarActApp/src/smarActMCS2MotorDriver.cpp#L124-L146
It isn't obvious to me why the no-sensor-present error number is positive but the others are negative.
If an axis is disconnected when the IOC starts, no-sensor-present errors occur during startup:
This error should be handled in the following switch statement:
https://github.com/epics-motor/motorSmarAct/blob/56ef95f2b97a52c186457ec29f4db6ce0c4baa12/smarActApp/src/smarActMCS2MotorDriver.cpp#L124-L146
It isn't obvious to me why the no-sensor-present error number is positive but the others are negative.