1. The motor record provides databases that simplify specifying the OUT
field. Older model-1 motor drivers use motor.db:
https://github.com/epics-modules/motor/blob/master/motorApp/Db/motor.db#L16
C is the index of the controller and S is the index of the motor. Both
start at zero.
Newer model-3 motor drivers use asyn_motor.db:
https://github.com/epics-modules/motor/blob/master/motorApp/Db/asyn_motor.db#L16
PORT is the name of the asyn port created by when the motor driver was
started. ADDR is the index of the axis, starting at zero.
2. Is the content on this web page visible?
https://epics-modules.github.io/motor/motorDeviceDriver.html
If not, the file also resides in the motor module's docs directory
(documentation for older versions).
3. The name of the motor's VAL field is written to one of the sscan
record's positioner fields (P1PV, P2PV, P3PV, P4PV).
Kevin
On 1/27/22 21:49, 高振华 via Tech-talk wrote:
> *Hello Mark,*
>
> *I am learning stepper motor control and have encountered some problems. *
>
> *1. I don't know how to fill in the values of DTYP and OUT fields in
> motor records. *
>
> *For a certain type of stepper motor controller how to know its
> corresponding DTYP value and OUT or INP field assignment format? I
> can't find the assignment format description in the motor example and
> documentation, do I have to look it up in the source code? *
>
> *2. the content of the motordevicedriver. HTML file is not completely
> displayed, and only this sentence is displayed: *
>
> *“****asynMotorAxis base class*
>
> *The asynMotorAxis base class defines the following methods:”*
>
> *Where can I download a full version?*
>
> *3. **By which field is the SSCAN record connected to the motor record? *
>
> **
>
> * *
>
> For example, the motor record of the OMS VME58 is shown below
>
> *
>
> **
>
> Thank you!
>
> Best regards,
>
> Gao Zhenhua
>
>
> --
>
> BSRF(Beijing Synchrotron Radiation Facility)
> Email:gaozh at ihep.ac.cn <
mailto:gaozh at ihep.ac.cn>
>
>
>
>