Hi EPICS-community,
I’m trying to write a model 3 motor driver for ps 10 controller from OWIS. So far I made some good progress and I can move/stop the connected rotation stage (stepper motor, no encoder), also setting the velocity and running
a homing sequence is possible.
BUT, it only works when asyn traces are turned on at IOC startup:
asynSetTraceIOMask("serial1",0,0x1)
asynSetTraceMask("serial1",0,0x3)
If I comment them out, the move command doesn’t work after IOC start. The Retry counts count until 11 and that’s it. The only thing that works is the homing sequence.
Did someone experienced such a behavior before? Do I have some obvious mistake somewhere in the driver-code?
I uploaded the code to git:
https://github.com/MichaS-git/motorOwis
Regards
Michael