record(ai, "TORO:LTU1:920:TMIT") {
  field(DESC, "IMUNDI charge")
  field(SCAN, "I/O Intr")
  field(DTYP, "IP330")
  field(INP,  "@ai0:0:DATA")
  field(PREC, "3")
  field(PRIO, "HIGH")
  field(TSE,  "-1")
  field(EGUF, "9.9872E9")
  field(EGUL, "-0.4161E9")
  field(HOPR, "9.9872E9")
  field(LOPR, "-0.4161E9")
  field(ADEL, "0")
  field(MDEL, "0")
  field(HIHI, "7.4904E9")
  field(HIGH, "6.8662E9")
  field(LOW,  "-0.12484E9")
  field(LOLO, "-0.2081E9")
  field(EGU,  "Nel")
  field(LINR, "LINEAR")
  field(HHSV, "MAJOR")
  field(HSV,  "MINOR")
  field(LSV,  "MINOR")
  field(LLSV, "MAJOR")
  field(FLNK, "TORO:LTU1:920:EFTMIT")
}


record(ai, "TORO:DMP1:198:TMIT") {
  field(DESC, "IMUNDO charge")
  field(SCAN, "I/O Intr")
  field(DTYP, "IP330")
  field(INP,  "@ai0:1:DATA")
  field(PREC, "3")
  field(PRIO, "HIGH")
  field(TSE,  "-1")
  field(EGUF, "9.9872E9")
  field(EGUL, "-0.4161E9")
  field(HOPR, "9.9872E9")
  field(LOPR, "-0.4161E9")
  field(ADEL, "0")
  field(MDEL, "0")
  field(HIHI, "7.4904E9")
  field(HIGH, "6.8662E9")
  field(LOW,  "-0.12484E9")
  field(LOLO, "-0.2081E9")
  field(EGU,  "Nel")
  field(LINR, "LINEAR")
  field(HHSV, "MAJOR")
  field(HSV,  "MINOR")
  field(LSV,  "MINOR")
  field(LLSV, "MAJOR")
  field(FLNK, "TORO:DMP1:198:EFTMIT")
}


record(ai, "TORO:DMP1:424:TMIT") {
  field(DESC, "IMDMP charge")
  field(SCAN, "I/O Intr")
  field(DTYP, "IP330")
  field(INP,  "@ai0:2:DATA")
  field(PREC, "3")
  field(PRIO, "HIGH")
  field(TSE,  "-1")
  field(EGUF, "9.9872E9")
  field(EGUL, "-0.4161E9")
  field(HOPR, "9.9872E9")
  field(LOPR, "-0.4161E9")
  field(ADEL, "0")
  field(MDEL, "0")
  field(HIHI, "7.4904E9")
  field(HIGH, "6.8662E9")
  field(LOW,  "-0.12484E9")
  field(LOLO, "-0.2081E9")
  field(EGU,  "Nel")
  field(LINR, "LINEAR")
  field(HHSV, "MAJOR")
  field(HSV,  "MINOR")
  field(LSV,  "MINOR")
  field(LLSV, "MAJOR")
  field(FLNK, "TORO:DMP1:424:EFTMIT")
}


record(ai, "TORO:DMP1:999:TMIT") {
  field(DESC, "BCS test, charge")
  field(SCAN, "I/O Intr")
  field(DTYP, "IP330")
  field(INP,  "@ai0:3:DATA")
  field(PREC, "3")
  field(PRIO, "HIGH")
  field(TSE,  "-1")
  field(EGUF, "9.9872E9")
  field(EGUL, "-0.4161E9")
  field(HOPR, "9.9872E9")
  field(LOPR, "-0.4161E9")
  field(ADEL, "0")
  field(MDEL, "0")
  field(HIHI, "7.4904E9")
  field(HIGH, "6.8662E9")
  field(LOW,  "-0.12484E9")
  field(LOLO, "-0.2081E9")
  field(EGU,  "Nel")
  field(LINR, "LINEAR")
  field(HHSV, "MAJOR")
  field(HSV,  "MINOR")
  field(LSV,  "MINOR")
  field(LLSV, "MAJOR")
  field(FLNK, "TORO:DMP1:999:EFTMIT")
}


record(ai, "TORO:LTU1:920:BKGD") {
  field(DESC, "Analog Input")
  field(SCAN, "I/O Intr")
  field(DTYP, "IP330")
  field(INP,  "@ai0:4:DATA")
  field(PREC, "3")
  field(PRIO, "HIGH")
  field(EGUF, "5")
  field(EGUL, "0")
  field(HOPR, "5")
  field(LOPR, "0")
  field(ADEL, "0")
  field(MDEL, "0")
  field(HIHI, "4.5")
  field(HIGH, "4")
  field(LOW,  "1.0")
  field(LOLO, "0.5")
  field(EGU,  "Volts")
  field(LINR, "LINEAR")
  field(HHSV, "MAJOR")
  field(HSV,  "MINOR")
  field(LSV,  "MINOR")
  field(LLSV, "MAJOR")
}


record(ai, "TORO:DMP1:198:BKGD") {
  field(DESC, "Analog Input")
  field(SCAN, "I/O Intr")
  field(DTYP, "IP330")
  field(INP,  "@ai0:5:DATA")
  field(PREC, "3")
  field(PRIO, "HIGH")
  field(EGUF, "5")
  field(EGUL, "0")
  field(HOPR, "5")
  field(LOPR, "0")
  field(ADEL, "0")
  field(MDEL, "0")
  field(HIHI, "4.5")
  field(HIGH, "4")
  field(LOW,  "1.0")
  field(LOLO, "0.5")
  field(EGU,  "Volts")
  field(LINR, "LINEAR")
  field(HHSV, "MAJOR")
  field(HSV,  "MINOR")
  field(LSV,  "MINOR")
  field(LLSV, "MAJOR")
}


record(ai, "TORO:DMP1:424:BKGD") {
  field(DESC, "Analog Input")
  field(SCAN, "I/O Intr")
  field(DTYP, "IP330")
  field(INP,  "@ai0:6:DATA")
  field(PREC, "3")
  field(PRIO, "HIGH")
  field(EGUF, "5")
  field(EGUL, "0")
  field(HOPR, "5")
  field(LOPR, "0")
  field(ADEL, "0")
  field(MDEL, "0")
  field(HIHI, "4.5")
  field(HIGH, "4")
  field(LOW,  "1.0")
  field(LOLO, "0.5")
  field(EGU,  "Volts")
  field(LINR, "LINEAR")
  field(HHSV, "MAJOR")
  field(HSV,  "MINOR")
  field(LSV,  "MINOR")
  field(LLSV, "MAJOR")
}


record(ai, "TORO:DMP1:999:BKGD") {
  field(DESC, "Analog Input")
  field(SCAN, "I/O Intr")
  field(DTYP, "IP330")
  field(INP,  "@ai0:7:DATA")
  field(PREC, "3")
  field(PRIO, "HIGH")
  field(EGUF, "5")
  field(EGUL, "0")
  field(HOPR, "5")
  field(LOPR, "0")
  field(ADEL, "0")
  field(MDEL, "0")
  field(HIHI, "4.5")
  field(HIGH, "4")
  field(LOW,  "1.0")
  field(LOLO, "0.5")
  field(EGU,  "Volts")
  field(LINR, "LINEAR")
  field(HHSV, "MAJOR")
  field(HSV,  "MINOR")
  field(LSV,  "MINOR")
  field(LLSV, "MAJOR")
}


#
# Used by higher level software to determine how to use PVs associated
# with the device.  This record is manually set by operations when the 
# state of the device changes.
# For example: Ops thinks the device is broken in some way.  
# They write an Artemis and put the device in MAINTENANCE.  
# The hardware guys fix the problem, solve the Artemis and put the 
# device in CHECKOUT.  Ops decides whether the device is working and 
# either marks it ONLINE or back to MAINTENANCE.
#
record(mbbo, "TORO:LTU1:920:ACCESS")
{
  field(DESC, "Usage Mode")
  field(PINI, "YES")
# Online - this device is operational, working normally, and ready to 
# be used by higher level software.
  field(ZRST, "Online")
  field(ZRSV, "NO_ALARM")
# Maintenance - this device is in a maintenance state (being worked on by 
# controls) where maintainers can see how it is performing, but should not 
# be used by most higher level software.
  field(ONST, "Maintenance")
  field(ONSV, "MINOR")
# Checkout - This device has had maintenance work done and is back in 
# production for 'check out' purposes by operations before it's released 
# for normal use.  Some higher level software may use it.
  field(TWST, "Checkout")
  field(TWSV, "MINOR")
# Offline - device is broken and should not be used by any higher level
# software.
  field(THST, "Offline")
  field(THSV, "MAJOR")
}
#
# Used by higher level software to determine if a PV is in feedback or not.
# May also be used by actuator (magnet and RF) IOC applications to 
# switch output records to "closed_loop" to prevent outside programs from
# changing setpoints when an actuator device is in feedback.
#
record(mbbo, "TORO:LTU1:920:FBCK")
{
  field(DESC, "Feedback State")
  field(PINI, "YES")
  field(VAL, "2")
# Off - this device can be used in feedback but all feedback loops 
# using it are off.
  field(ZRST, "Off")
# On - this device is being used by one or more feedback loops.
  field(ONST, "On")
# Unavailable - this device is not used by any feedback loop.
  field(TWST, "Unavailable")
}
#
# Used by higher level software to determine how to use PVs associated
# with the device.  This record is manually set by operations when the 
# state of the device changes.
# For example: Ops thinks the device is broken in some way.  
# They write an Artemis and put the device in MAINTENANCE.  
# The hardware guys fix the problem, solve the Artemis and put the 
# device in CHECKOUT.  Ops decides whether the device is working and 
# either marks it ONLINE or back to MAINTENANCE.
#
record(mbbo, "TORO:DMP1:198:ACCESS")
{
  field(DESC, "Usage Mode")
  field(PINI, "YES")
# Online - this device is operational, working normally, and ready to 
# be used by higher level software.
  field(ZRST, "Online")
  field(ZRSV, "NO_ALARM")
# Maintenance - this device is in a maintenance state (being worked on by 
# controls) where maintainers can see how it is performing, but should not 
# be used by most higher level software.
  field(ONST, "Maintenance")
  field(ONSV, "MINOR")
# Checkout - This device has had maintenance work done and is back in 
# production for 'check out' purposes by operations before it's released 
# for normal use.  Some higher level software may use it.
  field(TWST, "Checkout")
  field(TWSV, "MINOR")
# Offline - device is broken and should not be used by any higher level
# software.
  field(THST, "Offline")
  field(THSV, "MAJOR")
}
#
# Used by higher level software to determine if a PV is in feedback or not.
# May also be used by actuator (magnet and RF) IOC applications to 
# switch output records to "closed_loop" to prevent outside programs from
# changing setpoints when an actuator device is in feedback.
#
record(mbbo, "TORO:DMP1:198:FBCK")
{
  field(DESC, "Feedback State")
  field(PINI, "YES")
  field(VAL, "2")
# Off - this device can be used in feedback but all feedback loops 
# using it are off.
  field(ZRST, "Off")
# On - this device is being used by one or more feedback loops.
  field(ONST, "On")
# Unavailable - this device is not used by any feedback loop.
  field(TWST, "Unavailable")
}
#
# Used by higher level software to determine how to use PVs associated
# with the device.  This record is manually set by operations when the 
# state of the device changes.
# For example: Ops thinks the device is broken in some way.  
# They write an Artemis and put the device in MAINTENANCE.  
# The hardware guys fix the problem, solve the Artemis and put the 
# device in CHECKOUT.  Ops decides whether the device is working and 
# either marks it ONLINE or back to MAINTENANCE.
#
record(mbbo, "TORO:DMP1:424:ACCESS")
{
  field(DESC, "Usage Mode")
  field(PINI, "YES")
# Online - this device is operational, working normally, and ready to 
# be used by higher level software.
  field(ZRST, "Online")
  field(ZRSV, "NO_ALARM")
# Maintenance - this device is in a maintenance state (being worked on by 
# controls) where maintainers can see how it is performing, but should not 
# be used by most higher level software.
  field(ONST, "Maintenance")
  field(ONSV, "MINOR")
# Checkout - This device has had maintenance work done and is back in 
# production for 'check out' purposes by operations before it's released 
# for normal use.  Some higher level software may use it.
  field(TWST, "Checkout")
  field(TWSV, "MINOR")
# Offline - device is broken and should not be used by any higher level
# software.
  field(THST, "Offline")
  field(THSV, "MAJOR")
}
#
# Used by higher level software to determine if a PV is in feedback or not.
# May also be used by actuator (magnet and RF) IOC applications to 
# switch output records to "closed_loop" to prevent outside programs from
# changing setpoints when an actuator device is in feedback.
#
record(mbbo, "TORO:DMP1:424:FBCK")
{
  field(DESC, "Feedback State")
  field(PINI, "YES")
  field(VAL, "2")
# Off - this device can be used in feedback but all feedback loops 
# using it are off.
  field(ZRST, "Off")
# On - this device is being used by one or more feedback loops.
  field(ONST, "On")
# Unavailable - this device is not used by any feedback loop.
  field(TWST, "Unavailable")
}
#
# Used by higher level software to determine how to use PVs associated
# with the device.  This record is manually set by operations when the 
# state of the device changes.
# For example: Ops thinks the device is broken in some way.  
# They write an Artemis and put the device in MAINTENANCE.  
# The hardware guys fix the problem, solve the Artemis and put the 
# device in CHECKOUT.  Ops decides whether the device is working and 
# either marks it ONLINE or back to MAINTENANCE.
#
record(mbbo, "TORO:DMP1:999:ACCESS")
{
  field(DESC, "Usage Mode")
  field(PINI, "YES")
# Online - this device is operational, working normally, and ready to 
# be used by higher level software.
  field(ZRST, "Online")
  field(ZRSV, "NO_ALARM")
# Maintenance - this device is in a maintenance state (being worked on by 
# controls) where maintainers can see how it is performing, but should not 
# be used by most higher level software.
  field(ONST, "Maintenance")
  field(ONSV, "MINOR")
# Checkout - This device has had maintenance work done and is back in 
# production for 'check out' purposes by operations before it's released 
# for normal use.  Some higher level software may use it.
  field(TWST, "Checkout")
  field(TWSV, "MINOR")
# Offline - device is broken and should not be used by any higher level
# software.
  field(THST, "Offline")
  field(THSV, "MAJOR")
}
#
# Used by higher level software to determine if a PV is in feedback or not.
# May also be used by actuator (magnet and RF) IOC applications to 
# switch output records to "closed_loop" to prevent outside programs from
# changing setpoints when an actuator device is in feedback.
#
record(mbbo, "TORO:DMP1:999:FBCK")
{
  field(DESC, "Feedback State")
  field(PINI, "YES")
  field(VAL, "2")
# Off - this device can be used in feedback but all feedback loops 
# using it are off.
  field(ZRST, "Off")
# On - this device is being used by one or more feedback loops.
  field(ONST, "On")
# Unavailable - this device is not used by any feedback loop.
  field(TWST, "Unavailable")
}
#
# Used by higher level software to determine how to use PVs associated
# with the device.  This record is manually set by operations when the 
# state of the device changes.
# For example: Ops thinks the device is broken in some way.  
# They write an Artemis and put the device in MAINTENANCE.  
# The hardware guys fix the problem, solve the Artemis and put the 
# device in CHECKOUT.  Ops decides whether the device is working and 
# either marks it ONLINE or back to MAINTENANCE.
#
record(mbbo, "ARRY:DMP1:1:ACCESS")
{
  field(DESC, "Usage Mode")
  field(PINI, "YES")
# Online - this device is operational, working normally, and ready to 
# be used by higher level software.
  field(ZRST, "Online")
  field(ZRSV, "NO_ALARM")
# Maintenance - this device is in a maintenance state (being worked on by 
# controls) where maintainers can see how it is performing, but should not 
# be used by most higher level software.
  field(ONST, "Maintenance")
  field(ONSV, "MINOR")
# Checkout - This device has had maintenance work done and is back in 
# production for 'check out' purposes by operations before it's released 
# for normal use.  Some higher level software may use it.
  field(TWST, "Checkout")
  field(TWSV, "MINOR")
# Offline - device is broken and should not be used by any higher level
# software.
  field(THST, "Offline")
  field(THSV, "MAJOR")
}
#
# Used by higher level software to determine if a PV is in feedback or not.
# May also be used by actuator (magnet and RF) IOC applications to 
# switch output records to "closed_loop" to prevent outside programs from
# changing setpoints when an actuator device is in feedback.
#
record(mbbo, "ARRY:DMP1:1:FBCK")
{
  field(DESC, "Feedback State")
  field(PINI, "YES")
  field(VAL, "2")
# Off - this device can be used in feedback but all feedback loops 
# using it are off.
  field(ZRST, "Off")
# On - this device is being used by one or more feedback loops.
  field(ONST, "On")
# Unavailable - this device is not used by any feedback loop.
  field(TWST, "Unavailable")
}
