70 lines
2.3 KiB
Plaintext
70 lines
2.3 KiB
Plaintext
# Reset any errors of the virtual axis.
|
|
# This record is coupled to the parameter library via reset_ -> RESET.
|
|
record(longout, "$(INSTR)$(M):Reset") {
|
|
field(DTYP, "asynInt32")
|
|
field(OUT, "@asyn($(CONTROLLER),$(AXIS),1) RESET")
|
|
field(PINI, "NO")
|
|
}
|
|
|
|
# Read the position state of the axis:
|
|
# 0 = not ready
|
|
# 1 = ready (in working position)
|
|
# 2 = ready (in changer position)
|
|
record(longout, "$(INSTR)$(M):PositionState")
|
|
{
|
|
field(DTYP, "asynInt32")
|
|
field(INP, "@asyn($(CONTROLLER),$(AXIS)) POSITION_STATE")
|
|
field(SCAN, "I/O Intr")
|
|
}
|
|
|
|
# Set the target position for the offset of the lift (motor COZ)
|
|
# This record is coupled to the parameter library via liftOffset_ -> LIFT_OFFSET.
|
|
record(ao, "$(INSTR)$(M):LiftOffset") {
|
|
field(DTYP, "asynFloat64")
|
|
field(OUT, "@asyn($(CONTROLLER),$(AXIS),1) LIFT_OFFSET")
|
|
field(PINI, "NO")
|
|
}
|
|
|
|
# Set the target position for the offset of the lift (motor COZ)
|
|
# This record is coupled to the parameter library via liftOffset_ -> LIFT_OFFSET.
|
|
record(ao, "$(INSTR)$(M):LiftOffset") {
|
|
field(DTYP, "asynFloat64")
|
|
field(OUT, "@asyn($(CONTROLLER),$(AXIS),1) LIFT_OFFSET")
|
|
field(PINI, "NO")
|
|
}
|
|
|
|
# Read the lower and upper limits for the lift offset
|
|
record(ai, "$(INSTR)$(M):LiftOffsetLowLimitRBV")
|
|
{
|
|
field(DTYP, "asynFloat64")
|
|
field(INP, "@asyn($(CONTROLLER),$(AXIS)) LIFT_OFFSET_LOW_LIMIT")
|
|
field(SCAN, "I/O Intr")
|
|
}
|
|
record(ai, "$(INSTR)$(M):LiftOffsetHighLimitRBV")
|
|
{
|
|
field(DTYP, "asynFloat64")
|
|
field(INP, "@asyn($(CONTROLLER),$(AXIS)) LIFT_OFFSET_HIGH_LIMIT")
|
|
field(SCAN, "I/O Intr")
|
|
}
|
|
|
|
# Set the target position for the offset of the detector tilt (motor COX)
|
|
# This record is coupled to the parameter library via tiltOffset_ -> TILT_OFFSET.
|
|
record(ao, "$(INSTR)$(M):TiltOffset") {
|
|
field(DTYP, "asynFloat64")
|
|
field(OUT, "@asyn($(CONTROLLER),$(AXIS),1) TILT_OFFSET")
|
|
field(PINI, "NO")
|
|
}
|
|
|
|
# Read the lower and upper limits for the detector tilt offset
|
|
record(ai, "$(INSTR)$(M):TiltOffsetLowLimitRBV")
|
|
{
|
|
field(DTYP, "asynFloat64")
|
|
field(INP, "@asyn($(CONTROLLER),$(AXIS)) TILT_OFFSET_LOW_LIMIT")
|
|
field(SCAN, "I/O Intr")
|
|
}
|
|
record(ai, "$(INSTR)$(M):TiltOffsetHighLimitRBV")
|
|
{
|
|
field(DTYP, "asynFloat64")
|
|
field(INP, "@asyn($(CONTROLLER),$(AXIS)) TILT_OFFSET_HIGH_LIMIT")
|
|
field(SCAN, "I/O Intr")
|
|
} |