diff --git a/db/sinqMotor.db b/db/sinqMotor.db index a314aec..b70fb84 100755 --- a/db/sinqMotor.db +++ b/db/sinqMotor.db @@ -49,6 +49,20 @@ record(motor,"$(INSTR)$(M)") field(RMOD,"3") # Retry mode 3 ("In-Position"): This suppresses any retries from the motor record. } +# PV holding the controller name. +record(stringin, "$(INSTR)$(M):ControllerName") +{ + field(INP, "$(CONTROLLER)") + field(PINI, "YES") +} + +# PV holding the axis number. +record(longin, "$(INSTR)$(M):AxisNo") +{ + field(INP, "$(AXIS)") + field(PINI, "YES") +} + # This PV reads out the 10th bit of the MSTA field of the motor record, which # is the "motorStatusProblem_" bit. record(calc, "$(INSTR)$(M):StatusProblem")