|
|
|
@ -1,18 +1,18 @@
|
|
|
|
|
# The main asyn motor record. Some fields are populated from the substitution
|
|
|
|
|
# files via macros:
|
|
|
|
|
# - $(INSTR): Name of the instrument, e.g. "SQ:SINQTEST:"
|
|
|
|
|
# - $(M): Name of the motor in EPICS, e.g. "lin1"
|
|
|
|
|
# - $(DESC): Short description of the motor
|
|
|
|
|
# - $(DIR): This value is usually set to "Pos". If the motor axis direction
|
|
|
|
|
# - INSTR: Name of the instrument, e.g. "SQ:SINQTEST:"
|
|
|
|
|
# - M: Name of the motor in EPICS, e.g. "lin1"
|
|
|
|
|
# - DESC: Short description of the motor. If not given, this is equal to M
|
|
|
|
|
# - DIR: This value is usually set to "Pos". If the motor axis direction
|
|
|
|
|
# should be inverted, this value can be set to "Neg"
|
|
|
|
|
# - $(CONTROLLER): Name of the motor controller, e.g. "mcu1"
|
|
|
|
|
# - $(AXIS): Number of the axis, e.g. "1"
|
|
|
|
|
# - $(MRES): Motor record resolution. See the README.md for a detailed discussion
|
|
|
|
|
# - $(EGU): Engineering units. In case of a rotary axis, this is "degree", in
|
|
|
|
|
# - CONTROLLER: Name of the motor controller, e.g. "mcu1"
|
|
|
|
|
# - AXIS: Number of the axis, e.g. "1"
|
|
|
|
|
# - MRES: Motor record resolution. See the README.md for a detailed discussion
|
|
|
|
|
# - EGU: Engineering units. In case of a rotary axis, this is "degree", in
|
|
|
|
|
# case of a linear axis this is "mm".
|
|
|
|
|
record(motor,"$(INSTR)$(M)")
|
|
|
|
|
{
|
|
|
|
|
field(DESC,"$(DESC)")
|
|
|
|
|
field(DESC,"$(DESC=$(M))")
|
|
|
|
|
field(DTYP,"asynMotor")
|
|
|
|
|
field(DIR,"$(DIR=Pos)")
|
|
|
|
|
field(OUT,"@asyn($(CONTROLLER),$(AXIS))")
|
|
|
|
|