############################################################################
# File: aerotechController.template
# Description: Contains aerotech specific pv`s
# Macros: 
#        $(U) - MOC:B34:MC01
#        $(PORT) - asyn port name
###########################################################################
record(stringout, "$(U):LOCA") {
  field(DESC, "Location")
  field(VAL,"")
  info(autosaveFields, "VAL")
  field(SDIS, "$(U):DISABLEALLPVS")
}
record(stringout, "$(U):RESET") {
  field(DESC, "Aerotech controller Reset")
  field(DTYP, "stream")
  field(OUT, "@aerotech.proto reset $(PORT)")
  field(SDIS, "$(U):DISABLEALLPVS")
}

record(stringout, "$(U):ACKALL") {
  field(DESC, "Aerotech controller Acknowledge All")
  field(DTYP, "stream")
  field(OUT, "@aerotech.proto ackAll $(PORT)")
  field(SDIS, "$(U):DISABLEALLPVS")
}

record(stringout, "$(U):TASK4START") {
  field(DESC, "Aerotech task restart")
  field(DTYP, "stream")
  field(OUT, "@aerotech.proto taskRestart $(PORT)")
  field(SDIS, "$(U):DISABLEALLPVS")
}

record(ao,"$(U):AXISCOUNT"){
  field(DESC, "Aerotech controller axis count")
  field(VAL,"")
  info(autosaveFields, "VAL")
  field(SDIS, "$(U):DISABLEALLPVS")
}

record(bo, "$(U):DISABLEALLPVS") {
  field(DESC, "Disable all pv`s to this moc")
  field(ZNAM, "Controller unavailable")
  field(ONAM, "Active")
}

