Updated turboPmac dependency to 0.15.1
This commit is contained in:
@ -89,47 +89,6 @@ record(ao, "$(INSTR)$(M):WriteAO") {
|
||||
field(VAL, "0")
|
||||
}
|
||||
|
||||
# Read out the origin of the lift axis support motor (FTZ at AMOR).
|
||||
# This PV does nothing for "normal" Turbo PMAC axes or the angle axis.
|
||||
record(ai, "$(INSTR)$(M):SupportOrigin") {
|
||||
field(DTYP, "asynFloat64")
|
||||
field(INP, "@asyn($(CONTROLLER),$(AXIS)) SUPPORT_ORIGIN")
|
||||
field(SCAN, "I/O Intr")
|
||||
field(PINI, "NO")
|
||||
field(VAL, "0")
|
||||
}
|
||||
|
||||
# Shift the origin of the lift support axis by the given value. The axis will
|
||||
# move to this position and the hardware controller will internally set this
|
||||
# position as the new "0" value. This PV does nothing for "normal" Turbo PMAC
|
||||
# axes or the angle axis.
|
||||
record(ao, "$(INSTR)$(M):AdjustSupportOrigin") {
|
||||
field(DTYP, "Raw Soft Channel")
|
||||
field(PINI, "NO")
|
||||
field(DRVH, "200") # Limit in encoder steps (not mm!)
|
||||
field(DRVL, "-200") # Limit in encoder steps (not mm!)
|
||||
field(FLNK, "$(INSTR)$(M):ResetASO")
|
||||
field(VAL, "0")
|
||||
}
|
||||
|
||||
# Reset the PV $(INSTR)$(M):AdjustOrigin to zero after it has been written to and
|
||||
# forward the value to $(INSTR)$(M):WriteAO which does the actual writing.
|
||||
record(seq, "$(INSTR)$(M):ResetASO") {
|
||||
field(DESC, "Write value to hardware then reset to 0")
|
||||
field(DOL1, "$(INSTR)$(M):AdjustSupportOrigin")
|
||||
field(LNK1, "$(INSTR)$(M):WriteASO.VAL PP") # Perform write to hardware
|
||||
field(DOL2, "0.0")
|
||||
field(LNK2, "$(INSTR)$(M):AdjustSupportOrigin.VAL PP") # Reset to zero
|
||||
}
|
||||
|
||||
# This record forwards the adjustment of the origin to the asyn driver.
|
||||
record(ao, "$(INSTR)$(M):WriteASO") {
|
||||
field(DTYP, "asynFloat64")
|
||||
field(OUT, "@asyn($(CONTROLLER),$(AXIS),1) SUPPORT_ADJUST_ORIGIN")
|
||||
field(PINI, "NO")
|
||||
field(VAL, "0")
|
||||
}
|
||||
|
||||
# This record pair reads the parameter library value for "AdjustOriginHighLimitFromDriver_"
|
||||
# and pushes it to the high limit field of the "$(INSTR)$(M):AdjustOrigin" PV.
|
||||
# This can be used to read limits from the hardware and correspondingly update the motor record from the driver.
|
||||
|
Reference in New Issue
Block a user