Closed prjemian closed 5 years ago
I don't see any problems with the motorSimCreate line in motorSim.iocsh
. I do, however, see that the DHLM and DLLM values are the same in the dbLoadTemplates line:
I will correct that now.
@prjemian, does commit df11f3e153e2aa6c6cb605cbc1392e0a9e663d93 resolve this issue and eliminate the need to define LOW_LIM in the iocshLoad call in motors.cmd?
@kmpeters - I confirm that is the fix. Thanks!
With motor-R6-10-1 and using the motorSim soft motors, both LLM and HLM come up as identical. Since they are non-zero and the motor is at zero, the soft motor cannot move until the lower limit is changed. All 16 soft motors created from an XXX IOC have this problem. (See https://github.com/epics-modules/xxx/issues/18)
The problem seems to be when a symbol is not defined and a default value is provided. In the source of the
motorSim.iocsh
:The default value for
LOW_LIM
, when the symbol is not defined, becomes positive.