record(asyn,"SIOC:LTUH:MC04:ASYN") { field(DTYP,"asynRecordDevice") field(PORT,"MOC_LTUH_5") field(ADDR,"0") field(OMAX,"200") field(IMAX,"200") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC05 - MOC:B34:MC01 # MOC_LTUH_5 - asyn port name # 1 - 1 through 4 # 1 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC05:TASK1ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(1) MOC_LTUH_5") field(PINI, "YES") } record(longin, "MOC:LTUH:MC05:TASK1STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(1) MOC_LTUH_5") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC05:TASK1CALC") } record(calcout, "MOC:LTUH:MC05:TASK1CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC05:TASK1STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC05:TASK1STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC05:TASK1STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC05:AXIS1NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC05 - MOC:B34:MC01 # MOC_LTUH_5 - asyn port name # 2 - 1 through 4 # 2 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC05:TASK2ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(2) MOC_LTUH_5") field(PINI, "YES") } record(longin, "MOC:LTUH:MC05:TASK2STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(2) MOC_LTUH_5") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC05:TASK2CALC") } record(calcout, "MOC:LTUH:MC05:TASK2CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC05:TASK2STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC05:TASK2STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC05:TASK2STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC05:AXIS2NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC05 - MOC:B34:MC01 # MOC_LTUH_5 - asyn port name # 3 - 1 through 4 # 3 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC05:TASK3ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(3) MOC_LTUH_5") field(PINI, "YES") } record(longin, "MOC:LTUH:MC05:TASK3STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(3) MOC_LTUH_5") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC05:TASK3CALC") } record(calcout, "MOC:LTUH:MC05:TASK3CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC05:TASK3STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC05:TASK3STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC05:TASK3STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC05:AXIS3NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC05 - MOC:B34:MC01 # MOC_LTUH_5 - asyn port name # 4 - 1 through 4 # 4 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC05:TASK4ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(4) MOC_LTUH_5") field(PINI, "YES") } record(longin, "MOC:LTUH:MC05:TASK4STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(4) MOC_LTUH_5") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC05:TASK4CALC") } record(calcout, "MOC:LTUH:MC05:TASK4CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC05:TASK4STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC05:TASK4STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC05:TASK4STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC05:AXIS4NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC05 - MOC:B34:MC01 # MOC_LTUH_5 - asyn port name # 5 - 1 through 4 # 5 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC05:TASK5ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(5) MOC_LTUH_5") field(PINI, "YES") } record(longin, "MOC:LTUH:MC05:TASK5STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(5) MOC_LTUH_5") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC05:TASK5CALC") } record(calcout, "MOC:LTUH:MC05:TASK5CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC05:TASK5STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC05:TASK5STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC05:TASK5STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC05:AXIS5NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechController.template # Description: Contains aerotech specific pv`s # Macros: # MOC:LTUH:MC05 - MOC:B34:MC01 # MOC_LTUH_5 - asyn port name ########################################################################### record(stringout, "MOC:LTUH:MC05:LOCA") { field(DESC, "Location") field(VAL,"") info(autosaveFields, "VAL") } record(stringout, "MOC:LTUH:MC05:RESET") { field(DESC, "Aerotech controller Reset") field(DTYP, "stream") field(OUT, "@aerotech.proto reset MOC_LTUH_5") } record(stringout, "MOC:LTUH:MC05:ACKALL") { field(DESC, "Aerotech controller Acknowledge All") field(DTYP, "stream") field(OUT, "@aerotech.proto ackAll MOC_LTUH_5") } record(stringout, "MOC:LTUH:MC05:TASK4START") { field(DESC, "Aerotech task restart") field(DTYP, "stream") field(OUT, "@aerotech.proto taskRestart MOC_LTUH_5") } record(ao,"MOC:LTUH:MC05:AXISCOUNT"){ field(DESC, "Aerotech controller axis count") field(VAL,"") info(autosaveFields, "VAL") } record(asyn,"MOC:LTUH:MC05:ASYN") { field(DTYP,"asynRecordDevice") field(PORT,"MOC_LTUH_5") field(ADDR,"0") field(OMAX,"200") field(IMAX,"200") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC06 - MOC:B34:MC01 # MOC_LTUH_6 - asyn port name # 1 - 1 through 4 # 1 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC06:TASK1ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(1) MOC_LTUH_6") field(PINI, "YES") } record(longin, "MOC:LTUH:MC06:TASK1STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(1) MOC_LTUH_6") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC06:TASK1CALC") } record(calcout, "MOC:LTUH:MC06:TASK1CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC06:TASK1STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC06:TASK1STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC06:TASK1STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC06:AXIS1NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC06 - MOC:B34:MC01 # MOC_LTUH_6 - asyn port name # 2 - 1 through 4 # 2 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC06:TASK2ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(2) MOC_LTUH_6") field(PINI, "YES") } record(longin, "MOC:LTUH:MC06:TASK2STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(2) MOC_LTUH_6") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC06:TASK2CALC") } record(calcout, "MOC:LTUH:MC06:TASK2CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC06:TASK2STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC06:TASK2STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC06:TASK2STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC06:AXIS2NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC06 - MOC:B34:MC01 # MOC_LTUH_6 - asyn port name # 3 - 1 through 4 # 3 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC06:TASK3ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(3) MOC_LTUH_6") field(PINI, "YES") } record(longin, "MOC:LTUH:MC06:TASK3STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(3) MOC_LTUH_6") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC06:TASK3CALC") } record(calcout, "MOC:LTUH:MC06:TASK3CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC06:TASK3STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC06:TASK3STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC06:TASK3STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC06:AXIS3NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC06 - MOC:B34:MC01 # MOC_LTUH_6 - asyn port name # 4 - 1 through 4 # 4 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC06:TASK4ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(4) MOC_LTUH_6") field(PINI, "YES") } record(longin, "MOC:LTUH:MC06:TASK4STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(4) MOC_LTUH_6") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC06:TASK4CALC") } record(calcout, "MOC:LTUH:MC06:TASK4CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC06:TASK4STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC06:TASK4STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC06:TASK4STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC06:AXIS4NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC06 - MOC:B34:MC01 # MOC_LTUH_6 - asyn port name # 5 - 1 through 4 # 5 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC06:TASK5ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(5) MOC_LTUH_6") field(PINI, "YES") } record(longin, "MOC:LTUH:MC06:TASK5STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(5) MOC_LTUH_6") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC06:TASK5CALC") } record(calcout, "MOC:LTUH:MC06:TASK5CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC06:TASK5STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC06:TASK5STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC06:TASK5STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC06:AXIS5NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechController.template # Description: Contains aerotech specific pv`s # Macros: # MOC:LTUH:MC06 - MOC:B34:MC01 # MOC_LTUH_6 - asyn port name ########################################################################### record(stringout, "MOC:LTUH:MC06:LOCA") { field(DESC, "Location") field(VAL,"") info(autosaveFields, "VAL") } record(stringout, "MOC:LTUH:MC06:RESET") { field(DESC, "Aerotech controller Reset") field(DTYP, "stream") field(OUT, "@aerotech.proto reset MOC_LTUH_6") } record(stringout, "MOC:LTUH:MC06:ACKALL") { field(DESC, "Aerotech controller Acknowledge All") field(DTYP, "stream") field(OUT, "@aerotech.proto ackAll MOC_LTUH_6") } record(stringout, "MOC:LTUH:MC06:TASK4START") { field(DESC, "Aerotech task restart") field(DTYP, "stream") field(OUT, "@aerotech.proto taskRestart MOC_LTUH_6") } record(ao,"MOC:LTUH:MC06:AXISCOUNT"){ field(DESC, "Aerotech controller axis count") field(VAL,"") info(autosaveFields, "VAL") } record(asyn,"MOC:LTUH:MC06:ASYN") { field(DTYP,"asynRecordDevice") field(PORT,"MOC_LTUH_6") field(ADDR,"0") field(OMAX,"200") field(IMAX,"200") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC07 - MOC:B34:MC01 # MOC_LTUH_7 - asyn port name # 1 - 1 through 4 # 1 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC07:TASK1ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(1) MOC_LTUH_7") field(PINI, "YES") } record(longin, "MOC:LTUH:MC07:TASK1STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(1) MOC_LTUH_7") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC07:TASK1CALC") } record(calcout, "MOC:LTUH:MC07:TASK1CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC07:TASK1STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC07:TASK1STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC07:TASK1STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC07:AXIS1NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC07 - MOC:B34:MC01 # MOC_LTUH_7 - asyn port name # 2 - 1 through 4 # 2 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC07:TASK2ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(2) MOC_LTUH_7") field(PINI, "YES") } record(longin, "MOC:LTUH:MC07:TASK2STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(2) MOC_LTUH_7") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC07:TASK2CALC") } record(calcout, "MOC:LTUH:MC07:TASK2CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC07:TASK2STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC07:TASK2STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC07:TASK2STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC07:AXIS2NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC07 - MOC:B34:MC01 # MOC_LTUH_7 - asyn port name # 3 - 1 through 4 # 3 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC07:TASK3ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(3) MOC_LTUH_7") field(PINI, "YES") } record(longin, "MOC:LTUH:MC07:TASK3STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(3) MOC_LTUH_7") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC07:TASK3CALC") } record(calcout, "MOC:LTUH:MC07:TASK3CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC07:TASK3STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC07:TASK3STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC07:TASK3STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC07:AXIS3NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC07 - MOC:B34:MC01 # MOC_LTUH_7 - asyn port name # 4 - 1 through 4 # 4 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC07:TASK4ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(4) MOC_LTUH_7") field(PINI, "YES") } record(longin, "MOC:LTUH:MC07:TASK4STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(4) MOC_LTUH_7") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC07:TASK4CALC") } record(calcout, "MOC:LTUH:MC07:TASK4CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC07:TASK4STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC07:TASK4STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC07:TASK4STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC07:AXIS4NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechTask.template # Description: Contains aerotech specific task pv`s and axis name`s # Macros: # MOC:LTUH:MC07 - MOC:B34:MC01 # MOC_LTUH_7 - asyn port name # 5 - 1 through 4 # 5 - 1 through 4 ########################################################################### record(longin, "MOC:LTUH:MC07:TASK5ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(5) MOC_LTUH_7") field(PINI, "YES") } record(longin, "MOC:LTUH:MC07:TASK5STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(5) MOC_LTUH_7") field(PINI, "YES") field(FLNK, "MOC:LTUH:MC07:TASK5CALC") } record(calcout, "MOC:LTUH:MC07:TASK5CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:LTUH:MC07:TASK5STATRAW") field(CALC, "2^A") field(OUT, "MOC:LTUH:MC07:TASK5STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:LTUH:MC07:TASK5STAT") { field(DESC, "Aerotech controller task state") field(ZRST, "Inactive") field(ONST, "Idle") field(TWST, "Program Ready") field(THST, "Program Running") field(FRST, "Program Paused") field(FVST, "Program Complete") field(SXST, "Error") field(TEST, "Running Plugin") } record(stringout,"MOC:LTUH:MC07:AXIS5NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechController.template # Description: Contains aerotech specific pv`s # Macros: # MOC:LTUH:MC07 - MOC:B34:MC01 # MOC_LTUH_7 - asyn port name ########################################################################### record(stringout, "MOC:LTUH:MC07:LOCA") { field(DESC, "Location") field(VAL,"") info(autosaveFields, "VAL") } record(stringout, "MOC:LTUH:MC07:RESET") { field(DESC, "Aerotech controller Reset") field(DTYP, "stream") field(OUT, "@aerotech.proto reset MOC_LTUH_7") } record(stringout, "MOC:LTUH:MC07:ACKALL") { field(DESC, "Aerotech controller Acknowledge All") field(DTYP, "stream") field(OUT, "@aerotech.proto ackAll MOC_LTUH_7") } record(stringout, "MOC:LTUH:MC07:TASK4START") { field(DESC, "Aerotech task restart") field(DTYP, "stream") field(OUT, "@aerotech.proto taskRestart MOC_LTUH_7") } record(ao,"MOC:LTUH:MC07:AXISCOUNT"){ field(DESC, "Aerotech controller axis count") field(VAL,"") info(autosaveFields, "VAL") } record(asyn,"MOC:LTUH:MC07:ASYN") { field(DTYP,"asynRecordDevice") field(PORT,"MOC_LTUH_7") field(ADDR,"0") field(OMAX,"200") field(IMAX,"200") } ########################################################################## # Description: # This database gets the digital input status from the Aerotech controller # and splits it into two MBBI records. # This database also gets axis specifc status and fault pv`s # Disableallpvs PV can be used to disable all the pv`s for the device # # Macros: # U - Device prefix # PORT - Aerotech asyn port # AXIS - Aerotech axis identifier # SCAN - Desired scan rate # MAD - mad device name ########################################################################## record(ai, "WIRE:LTUH:538:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@0) MOC_LTUH_5") field(SCAN, "1 second") } record(mbbiDirect, "WIRE:LTUH:538:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:538:DISTAT CP MS") } record(mbbiDirect, "WIRE:LTUH:538:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:538:DISTAT CP MS") field(SHFT, "16") } record(ai, "WIRE:LTUH:538:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@0) MOC_LTUH_5") field(SCAN, "1 second") } record(ai, "WIRE:LTUH:538:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@0) MOC_LTUH_5") field(SCAN, "1 second") } record(ai, "WIRE:LTUH:538:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_LTUH_5") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "WIRE:LTUH:538:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:538:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "WIRE:LTUH:538:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:538:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "WIRE:LTUH:538:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:538:STAT CP MS") } record(mbbiDirect, "WIRE:LTUH:538:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:538:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "WIRE:LTUH:538:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:538:FAULT CP MS") } record(mbbiDirect, "WIRE:LTUH:538:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:538:FAULT CP MS") field(SHFT, "16") } record(bi, "WIRE:LTUH:538:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "WIRE:LTUH:538:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "WIRE:LTUH:538:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "WIRE:LTUH:538:STATS1.B1 CP MS") field(ZNAM, "Not Homed") field(ONAM, "Homed") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } # If both limit switch show as active record(calcout, "WIRE:LTUH:538:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "WIRE:LTUH:538:STATS2.B6 CP MS") field(INPB, "WIRE:LTUH:538:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "WIRE:LTUH:538:CABLESTAT") } record(bo, "WIRE:LTUH:538:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "WIRE:LTUH:538:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "WIRE:LTUH:538:MOVEACTIVE") { field(DESC, "Move active") field(INP, "WIRE:LTUH:538:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "WIRE:LTUH:538:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@0) MOC_LTUH_5") } record(stringout, "WIRE:LTUH:538:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@0) MOC_LTUH_5") } record(stringout, "WIRE:LTUH:538:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@0) MOC_LTUH_5") } record(stringout, "WIRE:LTUH:538:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@0) MOC_LTUH_5") } record(stringout, "WIRE:LTUH:538:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@0) MOC_LTUH_5") } record(ai, "WIRE:LTUH:538:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@0) MOC_LTUH_5") field(SCAN, "1 second") field(PREC, 2) } record(ai, "WIRE:LTUH:538:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@0) MOC_LTUH_5") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "WIRE:LTUH:538:EncOffset") { field(DESC, "WSDL4 Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@0) MOC_LTUH_5 ") field(PINI, "YES") field(PREC, "3") field(EGU, "mm") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "WIRE:LTUH:538:DISTATS0.B0 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "WIRE:LTUH:538:DISTATS0.B1 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "WIRE:LTUH:538:DISTATS0.B2 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "WIRE:LTUH:538:DISTATS0.B3 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "WIRE:LTUH:538:DISTATS0.B4 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "WIRE:LTUH:538:DISTATS0.B5 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "WIRE:LTUH:538:DISTATS0.B8 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "WIRE:LTUH:538:DISTATS0.B9 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "WIRE:LTUH:538:DISTATS0.BA CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "WIRE:LTUH:538:DISTATS0.BB CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "WIRE:LTUH:538:DISTATS0.BC CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "WIRE:LTUH:538:DISTATS0.BD CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "WIRE:LTUH:538:DISTATS0.BE CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "WIRE:LTUH:538:DISTATS0.BF CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "WIRE:LTUH:538:DISTATS1.B0 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "WIRE:LTUH:538:DISTATS1.B1 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "WIRE:LTUH:538:DISTATS1.B2 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "WIRE:LTUH:538:DISTATS1.B3 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "WIRE:LTUH:538:DISTATS1.B4 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "WIRE:LTUH:538:DISTATS1.B5 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "WIRE:LTUH:538:DISTATS1.B6 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:538:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "WIRE:LTUH:538:DISTATS1.B7 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } ########################################################################## # Description: # This database gets the digital input status from the Aerotech controller # and splits it into two MBBI records. # This database also gets axis specifc status and fault pv`s # Disableallpvs PV can be used to disable all the pv`s for the device # # Macros: # U - Device prefix # PORT - Aerotech asyn port # AXIS - Aerotech axis identifier # SCAN - Desired scan rate # MAD - mad device name ########################################################################## record(ai, "WIRE:LTUH:715:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@0) MOC_LTUH_6") field(SCAN, "1 second") } record(mbbiDirect, "WIRE:LTUH:715:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:715:DISTAT CP MS") } record(mbbiDirect, "WIRE:LTUH:715:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:715:DISTAT CP MS") field(SHFT, "16") } record(ai, "WIRE:LTUH:715:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@0) MOC_LTUH_6") field(SCAN, "1 second") } record(ai, "WIRE:LTUH:715:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@0) MOC_LTUH_6") field(SCAN, "1 second") } record(ai, "WIRE:LTUH:715:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_LTUH_6") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "WIRE:LTUH:715:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:715:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "WIRE:LTUH:715:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:715:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "WIRE:LTUH:715:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:715:STAT CP MS") } record(mbbiDirect, "WIRE:LTUH:715:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:715:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "WIRE:LTUH:715:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:715:FAULT CP MS") } record(mbbiDirect, "WIRE:LTUH:715:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:715:FAULT CP MS") field(SHFT, "16") } record(bi, "WIRE:LTUH:715:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "WIRE:LTUH:715:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "WIRE:LTUH:715:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "WIRE:LTUH:715:STATS1.B1 CP MS") field(ZNAM, "Not Homed") field(ONAM, "Homed") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } # If both limit switch show as active record(calcout, "WIRE:LTUH:715:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "WIRE:LTUH:715:STATS2.B6 CP MS") field(INPB, "WIRE:LTUH:715:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "WIRE:LTUH:715:CABLESTAT") } record(bo, "WIRE:LTUH:715:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "WIRE:LTUH:715:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "WIRE:LTUH:715:MOVEACTIVE") { field(DESC, "Move active") field(INP, "WIRE:LTUH:715:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "WIRE:LTUH:715:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@0) MOC_LTUH_6") } record(stringout, "WIRE:LTUH:715:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@0) MOC_LTUH_6") } record(stringout, "WIRE:LTUH:715:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@0) MOC_LTUH_6") } record(stringout, "WIRE:LTUH:715:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@0) MOC_LTUH_6") } record(stringout, "WIRE:LTUH:715:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@0) MOC_LTUH_6") } record(ai, "WIRE:LTUH:715:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@0) MOC_LTUH_6") field(SCAN, "1 second") field(PREC, 2) } record(ai, "WIRE:LTUH:715:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@0) MOC_LTUH_6") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "WIRE:LTUH:715:EncOffset") { field(DESC, "WS31 Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@0) MOC_LTUH_6 ") field(PINI, "YES") field(PREC, "3") field(EGU, "mm") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "WIRE:LTUH:715:DISTATS0.B0 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "WIRE:LTUH:715:DISTATS0.B1 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "WIRE:LTUH:715:DISTATS0.B2 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "WIRE:LTUH:715:DISTATS0.B3 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "WIRE:LTUH:715:DISTATS0.B4 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "WIRE:LTUH:715:DISTATS0.B5 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "WIRE:LTUH:715:DISTATS0.B8 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "WIRE:LTUH:715:DISTATS0.B9 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "WIRE:LTUH:715:DISTATS0.BA CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "WIRE:LTUH:715:DISTATS0.BB CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "WIRE:LTUH:715:DISTATS0.BC CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "WIRE:LTUH:715:DISTATS0.BD CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "WIRE:LTUH:715:DISTATS0.BE CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "WIRE:LTUH:715:DISTATS0.BF CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "WIRE:LTUH:715:DISTATS1.B0 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "WIRE:LTUH:715:DISTATS1.B1 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "WIRE:LTUH:715:DISTATS1.B2 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "WIRE:LTUH:715:DISTATS1.B3 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "WIRE:LTUH:715:DISTATS1.B4 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "WIRE:LTUH:715:DISTATS1.B5 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "WIRE:LTUH:715:DISTATS1.B6 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:715:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "WIRE:LTUH:715:DISTATS1.B7 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } ########################################################################## # Description: # This database gets the digital input status from the Aerotech controller # and splits it into two MBBI records. # This database also gets axis specifc status and fault pv`s # Disableallpvs PV can be used to disable all the pv`s for the device # # Macros: # U - Device prefix # PORT - Aerotech asyn port # AXIS - Aerotech axis identifier # SCAN - Desired scan rate # MAD - mad device name ########################################################################## record(ai, "WIRE:LTUH:735:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@0) MOC_LTUH_7") field(SCAN, "1 second") } record(mbbiDirect, "WIRE:LTUH:735:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:735:DISTAT CP MS") } record(mbbiDirect, "WIRE:LTUH:735:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:735:DISTAT CP MS") field(SHFT, "16") } record(ai, "WIRE:LTUH:735:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@0) MOC_LTUH_7") field(SCAN, "1 second") } record(ai, "WIRE:LTUH:735:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@0) MOC_LTUH_7") field(SCAN, "1 second") } record(ai, "WIRE:LTUH:735:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_LTUH_7") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "WIRE:LTUH:735:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:735:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "WIRE:LTUH:735:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:735:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "WIRE:LTUH:735:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:735:STAT CP MS") } record(mbbiDirect, "WIRE:LTUH:735:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:735:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "WIRE:LTUH:735:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:735:FAULT CP MS") } record(mbbiDirect, "WIRE:LTUH:735:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "WIRE:LTUH:735:FAULT CP MS") field(SHFT, "16") } record(bi, "WIRE:LTUH:735:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "WIRE:LTUH:735:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "WIRE:LTUH:735:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "WIRE:LTUH:735:STATS1.B1 CP MS") field(ZNAM, "Not Homed") field(ONAM, "Homed") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } # If both limit switch show as active record(calcout, "WIRE:LTUH:735:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "WIRE:LTUH:735:STATS2.B6 CP MS") field(INPB, "WIRE:LTUH:735:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "WIRE:LTUH:735:CABLESTAT") } record(bo, "WIRE:LTUH:735:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "WIRE:LTUH:735:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "WIRE:LTUH:735:MOVEACTIVE") { field(DESC, "Move active") field(INP, "WIRE:LTUH:735:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "WIRE:LTUH:735:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@0) MOC_LTUH_7") } record(stringout, "WIRE:LTUH:735:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@0) MOC_LTUH_7") } record(stringout, "WIRE:LTUH:735:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@0) MOC_LTUH_7") } record(stringout, "WIRE:LTUH:735:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@0) MOC_LTUH_7") } record(stringout, "WIRE:LTUH:735:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@0) MOC_LTUH_7") } record(ai, "WIRE:LTUH:735:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@0) MOC_LTUH_7") field(SCAN, "1 second") field(PREC, 2) } record(ai, "WIRE:LTUH:735:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@0) MOC_LTUH_7") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "WIRE:LTUH:735:EncOffset") { field(DESC, "WS32 Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@0) MOC_LTUH_7 ") field(PINI, "YES") field(PREC, "3") field(EGU, "mm") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "WIRE:LTUH:735:DISTATS0.B0 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "WIRE:LTUH:735:DISTATS0.B1 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "WIRE:LTUH:735:DISTATS0.B2 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "WIRE:LTUH:735:DISTATS0.B3 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "WIRE:LTUH:735:DISTATS0.B4 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "WIRE:LTUH:735:DISTATS0.B5 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "WIRE:LTUH:735:DISTATS0.B8 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "WIRE:LTUH:735:DISTATS0.B9 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "WIRE:LTUH:735:DISTATS0.BA CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "WIRE:LTUH:735:DISTATS0.BB CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "WIRE:LTUH:735:DISTATS0.BC CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "WIRE:LTUH:735:DISTATS0.BD CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "WIRE:LTUH:735:DISTATS0.BE CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "WIRE:LTUH:735:DISTATS0.BF CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "WIRE:LTUH:735:DISTATS1.B0 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "WIRE:LTUH:735:DISTATS1.B1 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "WIRE:LTUH:735:DISTATS1.B2 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "WIRE:LTUH:735:DISTATS1.B3 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "WIRE:LTUH:735:DISTATS1.B4 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "WIRE:LTUH:735:DISTATS1.B5 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "WIRE:LTUH:735:DISTATS1.B6 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } # Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "WIRE:LTUH:735:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "WIRE:LTUH:735:DISTATS1.B7 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } record(motor, "WIRE:LTUH:538:MOTR") { field(DESC, "WSDL4") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "1000") field(VBAS, "500") field(VMAX, "2000") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_LTUH_5M,0)") field(MRES, "2e-1") field(ERES, "1") field(PREC, "4") field(EGU, "um") field(DHLM, "0") field(DLLM, "0") field(UEIP, "1") field(TWV, "1") field(FOFF, "Frozen") field(OFF, "0") field(URIP, "0") field(RRES, "1") field(RTRY, "0") field(RDBL, "") field(RDBD, "1") field(DLY, "0") field(SCAN, "Passive") info(autosaveFields_pass0, "VAL") info(autosaveFields, "DIR DESC VMAX VBAS ACCL VELO MRES ERES PREC EGU DHLM DLLM DLY TWV RDBL RRES RTRY URIP UEIP FOFF OFF FRAC JVEL JAR HVEL HLM LLM") } record(motor, "WIRE:LTUH:715:MOTR") { field(DESC, "WS31") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "10000") field(VBAS, "1000") field(VMAX, "30000") field(ACCL, "0.02") field(BDST, "0") field(OUT, "@asyn(MOC_LTUH_6M,0)") field(MRES, "1") field(ERES, "1") field(PREC, "1") field(EGU, "um") field(DHLM, "0") field(DLLM, "0") field(UEIP, "1") field(TWV, "1") field(FOFF, "Frozen") field(OFF, "0") field(URIP, "0") field(RRES, "1") field(RTRY, "0") field(RDBL, "") field(RDBD, "1") field(DLY, "0") field(SCAN, "Passive") info(autosaveFields_pass0, "VAL") info(autosaveFields, "DIR DESC VMAX VBAS ACCL VELO MRES ERES PREC EGU DHLM DLLM DLY TWV RDBL RRES RTRY URIP UEIP FOFF OFF FRAC JVEL JAR HVEL HLM LLM") } record(motor, "WIRE:LTUH:735:MOTR") { field(DESC, "WS32") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "10000") field(VBAS, "1000") field(VMAX, "30000") field(ACCL, "0.02") field(BDST, "0") field(OUT, "@asyn(MOC_LTUH_7M,0)") field(MRES, "1") field(ERES, "1") field(PREC, "1") field(EGU, "um") field(DHLM, "0") field(DLLM, "0") field(UEIP, "1") field(TWV, "1") field(FOFF, "Frozen") field(OFF, "0") field(URIP, "0") field(RRES, "1") field(RTRY, "0") field(RDBL, "") field(RDBD, "1") field(DLY, "0") field(SCAN, "Passive") info(autosaveFields_pass0, "VAL") info(autosaveFields, "DIR DESC VMAX VBAS ACCL VELO MRES ERES PREC EGU DHLM DLLM DLY TWV RDBL RRES RTRY URIP UEIP FOFF OFF FRAC JVEL JAR HVEL HLM LLM") } record(bo, "WIRE:LTUH:715:MOTR_ALRM") { field(DESC, "In Beam Alarm") field(DOL, "WIRE:LTUH:715:MOTRERROR MS") field(OMSL, "closed_loop") field(ZNAM, "IN_BEAM") field(ONAM, "OUT_OF_BEAM") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(calcout, "WIRE:LTUH:715:MOTRERROR") { field(CALC, "(A>=B)?0:1") field(FLNK, "WIRE:LTUH:715:MOTR_ALRM") field(SCAN, "1 second") field(INPA, "WIRE:LTUH:715:MOTR.RBV NPP MS") field(INPB, "3000") field(INPC, "0") field(HIGH, "1") field(LOW, "0") field(HSV, "MAJOR") field(LSV, "NO_ALARM") info(autosaveFields, "CALC INPA INPB INPC") } # Init sequence record. Initialized by pressing :MOTR_INIT button. # The init_seq, # a) turns off and then turns on the motor within 0.5s # c) pushes 0 to home_check disable field and then homes the motor after 0.5s record(bo, "WIRE:LTUH:715:MOTR_INIT") { field(DESC, "Init or Re Init") field(ZNAM, "Standby") field(ONAM, "Initialize ") } record(bo, "WIRE:LTUH:715:MOTR_INIT_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Init debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } # Error acknowledge command initiates acknowledge sequence # For linmot, disbale and then enable the motor to clear the error. record(bo, "WIRE:LTUH:715:MOTR_ERR_ACK_CMD") { field(DESC, "Error Ack CMD") field(FLNK, "WIRE:LTUH:715:FAULTACK") field(ZNAM, "NO ACK") field(ONAM, "ACK") } record(seq, "WIRE:LTUH:715:ACK_ERR_SEQ") { field(DESC, "Acknowledge error") field(DLY1, "2") field(DOL1, "0") field(LNK1, "WIRE:LTUH:715:MOTR.CNEN") field(DOL2, "1") field(LNK2, "WIRE:LTUH:715:MOTR.CNEN") field(ASG, "Internal") } # Motor switch on command # Motor can be turned on by # a) MOTR.CNEN and MOTR_SWITCH_ON_CMD # To ensure that both the commands work and not counter one another, calc records used # and both the PV`s should be updated if one does. record(bo, "WIRE:LTUH:715:MOTR_SWITCH_ON_CMD") { field(DESC, "Motor switch on CMD") field(ZNAM, "OFF") field(ONAM, "ON") } record(calcout, "WIRE:LTUH:715:CALC_ENABLE") { field(DESC, "Check ON cmd is pressed") field(CALC, "(A#B)?1:0") field(INPA, "WIRE:LTUH:715:MOTR_SWITCH_ON_CMD CP") field(INPB, "WIRE:LTUH:715:MOTR.CNEN") field(OUT, "WIRE:LTUH:715:ENABLE_BO.PROC") field(OOPT, "When Non-zero") field(ASG, "Internal") } record(bo, "WIRE:LTUH:715:ENABLE_BO") { field(DESC, "copies switch on to cnen") field(DOL, "WIRE:LTUH:715:MOTR_SWITCH_ON_CMD") field(OUT, "WIRE:LTUH:715:MOTR.CNEN PP") field(OMSL, "closed_loop") field(ASG, "Internal") } record(calcout, "WIRE:LTUH:715:CALC_CNEN") { field(DESC, "Check CNEN is pressed") field(CALC, "(A#B)?1:0") field(INPA, "WIRE:LTUH:715:MOTR.CNEN CP") field(INPB, "WIRE:LTUH:715:MOTR_SWITCH_ON_CMD") field(OUT, "WIRE:LTUH:715:CNEN_BO.PROC") field(OOPT, "When Non-zero") field(ASG, "Internal") } record(bo, "WIRE:LTUH:715:CNEN_BO") { field(DESC, "copies switch on to bo") field(DOL, "WIRE:LTUH:715:MOTR.CNEN") field(OUT, "WIRE:LTUH:715:MOTR_SWITCH_ON_CMD PP") field(OMSL, "closed_loop") field(ASG, "Internal") } # Motor home command # Motor can be homed by # a) MOTR.HOMR , HOML and MOTR_HOME_CMD # To ensure that both the commands work and not counter one another, calc records used # and both the PV`s should be updated if one does. record(bo, "WIRE:LTUH:715:MOTR_HOME_CMD") { field(DESC, "MOtor Home CMD") field(ZNAM, "OFF") field(ONAM, "HOME") } record(calcout, "WIRE:LTUH:715:CALC_HCMD") { field(DESC, "Check HOME cmd is pressed") field(CALC, "(A#B)?1:0") field(INPA, "WIRE:LTUH:715:MOTR_HOME_CMD CP") field(INPB, "WIRE:LTUH:715:MOTR.HOMR") field(OUT, "WIRE:LTUH:715:HCMD_BO.PROC") field(OOPT, "When Non-zero") field(ASG, "Internal") } record(bo, "WIRE:LTUH:715:HCMD_BO") { field(DESC, "copies home cmd to homr_bo") field(DOL, "WIRE:LTUH:715:MOTR_HOME_CMD") field(OUT, "WIRE:LTUH:715:MOTR.HOMR PP") field(OMSL, "closed_loop") field(ASG, "Internal") } record(calcout, "WIRE:LTUH:715:CALC_HOMR") { field(DESC, "Check HOMR is pressed") field(CALC, "(A#B)?1:0") field(INPA, "WIRE:LTUH:715:MOTR.HOMR CP") field(INPB, "WIRE:LTUH:715:MOTR_HOME_CMD") field(OUT, "WIRE:LTUH:715:HOMR_BO.PROC") field(OOPT, "When Non-zero") field(ASG, "Internal") } record(bo, "WIRE:LTUH:715:HOMR_BO") { field(DESC, "copies HOMR to HCMD_bo") field(DOL, "WIRE:LTUH:715:MOTR.HOMR") field(OUT, "WIRE:LTUH:715:MOTR_HOME_CMD PP") field(OMSL, "closed_loop") field(ASG, "Internal") } # Retract pv inititates the retract sequence # Retract equence homes and disables the motor record(bo, "WIRE:LTUH:715:MOTR_RETRACT") { field(DESC, "Motor Home and Disable") field(ZNAM, "Standby") field(ONAM, "Retract") } # As counter is incremental, reset counter sequence is used. # This sequence check`s if motor is homed and then resets the counter value. # To check if motor is homed, motion active status should transition to zero. # If motor record readback and external encoder readback are different # Initiates a sequence which updates teh motor readback to match encoder # Also make sure the retract position is higher than lower limit # Ensure the links are passive process. # No need for passive process for POSN. It updates as I/O interrupt record(bo, "WIRE:LTUH:715:CORRECT"){ field(DESC, "Update POSN value into MOTR value") field(FLNK, "WIRE:LTUH:715:CORRECT_SEQ") field(ZNAM, "No Update") field(ONAM, "Updating") } record(calcout, "WIRE:LTUH:715:CORRECT_CALC") { field(DESC, "Diff btw POSN and MOTR.VAL") field(CALC, "A-B+C") field(INPA, "WIRE:LTUH:715:POSN") field(INPB, "WIRE:LTUH:715:MOTR.RBV PP") field(INPC, "WIRE:LTUH:715:MOTR.OFF PP") field(ASG, "Internal") } record(seq, "WIRE:LTUH:715:CORRECT_SEQ") { field(DESC, "Update POSN value into MOTR value") field(DOL1, "1") field(LNK1, "WIRE:LTUH:715:MOTR.SET PP") field(DOL2, "WIRE:LTUH:715:CORRECT_CALC.VAL PP") field(LNK2, "WIRE:LTUH:715:MOTR.OFF") field(DLY2, "1") field(DOL3, "0") field(LNK3, "WIRE:LTUH:715:MOTR.SET PP") field(DLY3, "1") field(DLY4, "1") field(DOL4, "WIRE:LTUH:715:MOTR_RETRACT_POS_CALC PP") field(LNK4, "WIRE:LTUH:715:MOTR_RETRACT_POS.VAL PP") field(DLY5, "1") field(DOL5, "1") field(LNK5, "WIRE:LTUH:715:CORRECT_STS PP") field(ASG, "Internal") } record(calcout, "WIRE:LTUH:715:MOTR_RETRACT_POS_CALC") { field(DESC, "Diff btw lower limit and retract pos") field(CALC, "A+100") field(INPA, "WIRE:LTUH:715:MOTR.LLM PP") field(ASG, "Internal") } record(bi, "WIRE:LTUH:715:CORRECT_STS") { field(DESC, "readback correct status") field(ZNAM, "No Update") field(ONAM, "Readback corrected") } # Store control architecture record(bo, "WIRE:LTUH:715:ARCHITECTURE") { field(DESC, "set control architecture") field(SCAN, "Passive") field(ZNAM, "ATCA") field(ONAM, "APCI") field(VAL, "1") info(autosaveFields, "VAL") } record(bo, "WIRE:LTUH:715:Reset") { field(DESC, "trigger LLS Sw control reset - atca") field(SCAN, "Passive") field(ZNAM, "Idle") field(ONAM, "Reset") field(OUT, "WIRE:LTUH:715:LLS_SWCTRL_TOGGLE.PROC PP") } record(seq, "WIRE:LTUH:715:LLS_SWCTRL_TOGGLE") { field(DESC, "toggle LLS SW control - atca") ## Used while debugging field(TPRO, "1") field(DOL1, "0") field(LNK1, "WIRE:LTUH:715:LLSSwCtrl PP") field(DLY2, "1") field(DOL2, "1") field(LNK2, "WIRE:LTUH:715:LLSSwCtrl PP") field(DLY3, "1") field(DOL3, "0") field(LNK3, "WIRE:LTUH:715:LLSSwCtrl PP") } # File: wirescanner_status.db # # Description: # This database is used to get the status PV on EDM # Homes and encoder # It uses the motor record to get PV`s used used by HLA # # Macros: # P - Controller prefix # M - motor record(bi, "WIRE:LTUH:715:MOTR_ENABLED_STS") { field(DESC, "Enabled status") field(ZNAM, "Not Ready for WireScan") field(ONAM, "Ready for wirescan") } record(calcout, "WIRE:LTUH:715:CALC_ENABLED_STS") { field(DESC, "Check if enabled") field(CALC, "A&&B&&C") field(INPA, "WIRE:LTUH:715:MOTR_INIT_STS CP") field(INPB, "WIRE:LTUH:715:MOTR_ON_STS CP") field(INPC, "WIRE:LTUH:715:MOTR_HOMED_STS CP") field(OUT, "WIRE:LTUH:715:MOTR_ENABLED_STS PP") } record(bi, "WIRE:LTUH:715:MOTR_INIT_STS") { field(DESC, "Init status") field(ZNAM, "Not Initialized") field(ONAM, "Initialized") } record(bi, "WIRE:LTUH:715:MOTR_ON_STS") { field(DESC, "Torque status") field(INP, "WIRE:LTUH:715:STATS1.B0 CP") field(ZNAM, "Torque OFF") field(ONAM, "Torque ON") } record(bi, "WIRE:LTUH:715:MOTR_HOMED_STS") { field(DESC, "Homed") field(INP, "WIRE:LTUH:715:STATS1.B1 CP") field(ZNAM, "Not Homed") field(ONAM, "Homed") } record(bi, "WIRE:LTUH:715:MOTR_MOTION_ACT_STS") { field(DESC, "Motion Active") field(INP, "WIRE:LTUH:715:STATS1.B3 CP") field(ZNAM, "Not Moving") field(ONAM, "Moving") } record(bi, "WIRE:LTUH:715:MOTR_ERROR_STS") { field(DESC, "Error Status") field(INP, "WIRE:LTUH:715:AXIS_ERROR_CALC CP") field(ZNAM, "No Error") field(ONAM, "ERROR") field(ZSV, "NO_ALARM") field(OSV, "MAJOR") } record(calcout, "WIRE:LTUH:715:AXIS_ERROR_CALC") { field(DESC, "Check if Axis at fault") field(CALC, "(A>0)?1:0") field(INPA, "WIRE:LTUH:715:FAULT CP") field(OUT, "WIRE:LTUH:715:MOTR_ERROR_STS PP") field(ASG, "Internal") } # Get the home position from the motor record lower limit record(ao, "WIRE:LTUH:715:MOTR_RETRACT_POS") { field(ASG, "Internal") field(DESC, "Motor retract position") field(VAL, "0") info(autosaveFields, "VAL") } record(ao, "WIRE:LTUH:715:MOTR_TIMEOUT") { field(DTYP, "Raw Soft Channel") field(DESC, "Wait time before homing") field(VAL, "30") field(EGU, "sec") info(autosaveFields, "VAL") } record(ao, "WIRE:LTUH:715:MOTR_LTIMEOUT") { field(DTYP, "Raw Soft Channel") field(DESC, "Wait time at home to turn off") field(VAL, "30") field(EGU, "sec") info(autosaveFields, "VAL") } record(bo, "WIRE:LTUH:715:MOTR_TIMEOUTEN") { field(DTYP, "Raw Soft Channel") field(DESC, "Enable timeout: retract motor") field(ZNAM, "Disabled") field(ONAM, "Enabled") info(autosaveFields, "VAL") } record(bo, "WIRE:LTUH:715:MOTR_TIMEOUT_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Timeout debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(bo, "WIRE:LTUH:735:MOTR_ALRM") { field(DESC, "In Beam Alarm") field(DOL, "WIRE:LTUH:735:MOTRERROR MS") field(OMSL, "closed_loop") field(ZNAM, "IN_BEAM") field(ONAM, "OUT_OF_BEAM") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(calcout, "WIRE:LTUH:735:MOTRERROR") { field(CALC, "(A>=B)?0:1") field(FLNK, "WIRE:LTUH:735:MOTR_ALRM") field(SCAN, "1 second") field(INPA, "WIRE:LTUH:735:MOTR.RBV NPP MS") field(INPB, "3000") field(INPC, "0") field(HIGH, "1") field(LOW, "0") field(HSV, "MAJOR") field(LSV, "NO_ALARM") info(autosaveFields, "CALC INPA INPB INPC") } # Init sequence record. Initialized by pressing :MOTR_INIT button. # The init_seq, # a) turns off and then turns on the motor within 0.5s # c) pushes 0 to home_check disable field and then homes the motor after 0.5s record(bo, "WIRE:LTUH:735:MOTR_INIT") { field(DESC, "Init or Re Init") field(ZNAM, "Standby") field(ONAM, "Initialize ") } record(bo, "WIRE:LTUH:735:MOTR_INIT_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Init debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } # Error acknowledge command initiates acknowledge sequence # For linmot, disbale and then enable the motor to clear the error. record(bo, "WIRE:LTUH:735:MOTR_ERR_ACK_CMD") { field(DESC, "Error Ack CMD") field(FLNK, "WIRE:LTUH:735:FAULTACK") field(ZNAM, "NO ACK") field(ONAM, "ACK") } record(seq, "WIRE:LTUH:735:ACK_ERR_SEQ") { field(DESC, "Acknowledge error") field(DLY1, "2") field(DOL1, "0") field(LNK1, "WIRE:LTUH:735:MOTR.CNEN") field(DOL2, "1") field(LNK2, "WIRE:LTUH:735:MOTR.CNEN") field(ASG, "Internal") } # Motor switch on command # Motor can be turned on by # a) MOTR.CNEN and MOTR_SWITCH_ON_CMD # To ensure that both the commands work and not counter one another, calc records used # and both the PV`s should be updated if one does. record(bo, "WIRE:LTUH:735:MOTR_SWITCH_ON_CMD") { field(DESC, "Motor switch on CMD") field(ZNAM, "OFF") field(ONAM, "ON") } record(calcout, "WIRE:LTUH:735:CALC_ENABLE") { field(DESC, "Check ON cmd is pressed") field(CALC, "(A#B)?1:0") field(INPA, "WIRE:LTUH:735:MOTR_SWITCH_ON_CMD CP") field(INPB, "WIRE:LTUH:735:MOTR.CNEN") field(OUT, "WIRE:LTUH:735:ENABLE_BO.PROC") field(OOPT, "When Non-zero") field(ASG, "Internal") } record(bo, "WIRE:LTUH:735:ENABLE_BO") { field(DESC, "copies switch on to cnen") field(DOL, "WIRE:LTUH:735:MOTR_SWITCH_ON_CMD") field(OUT, "WIRE:LTUH:735:MOTR.CNEN PP") field(OMSL, "closed_loop") field(ASG, "Internal") } record(calcout, "WIRE:LTUH:735:CALC_CNEN") { field(DESC, "Check CNEN is pressed") field(CALC, "(A#B)?1:0") field(INPA, "WIRE:LTUH:735:MOTR.CNEN CP") field(INPB, "WIRE:LTUH:735:MOTR_SWITCH_ON_CMD") field(OUT, "WIRE:LTUH:735:CNEN_BO.PROC") field(OOPT, "When Non-zero") field(ASG, "Internal") } record(bo, "WIRE:LTUH:735:CNEN_BO") { field(DESC, "copies switch on to bo") field(DOL, "WIRE:LTUH:735:MOTR.CNEN") field(OUT, "WIRE:LTUH:735:MOTR_SWITCH_ON_CMD PP") field(OMSL, "closed_loop") field(ASG, "Internal") } # Motor home command # Motor can be homed by # a) MOTR.HOMR , HOML and MOTR_HOME_CMD # To ensure that both the commands work and not counter one another, calc records used # and both the PV`s should be updated if one does. record(bo, "WIRE:LTUH:735:MOTR_HOME_CMD") { field(DESC, "MOtor Home CMD") field(ZNAM, "OFF") field(ONAM, "HOME") } record(calcout, "WIRE:LTUH:735:CALC_HCMD") { field(DESC, "Check HOME cmd is pressed") field(CALC, "(A#B)?1:0") field(INPA, "WIRE:LTUH:735:MOTR_HOME_CMD CP") field(INPB, "WIRE:LTUH:735:MOTR.HOMR") field(OUT, "WIRE:LTUH:735:HCMD_BO.PROC") field(OOPT, "When Non-zero") field(ASG, "Internal") } record(bo, "WIRE:LTUH:735:HCMD_BO") { field(DESC, "copies home cmd to homr_bo") field(DOL, "WIRE:LTUH:735:MOTR_HOME_CMD") field(OUT, "WIRE:LTUH:735:MOTR.HOMR PP") field(OMSL, "closed_loop") field(ASG, "Internal") } record(calcout, "WIRE:LTUH:735:CALC_HOMR") { field(DESC, "Check HOMR is pressed") field(CALC, "(A#B)?1:0") field(INPA, "WIRE:LTUH:735:MOTR.HOMR CP") field(INPB, "WIRE:LTUH:735:MOTR_HOME_CMD") field(OUT, "WIRE:LTUH:735:HOMR_BO.PROC") field(OOPT, "When Non-zero") field(ASG, "Internal") } record(bo, "WIRE:LTUH:735:HOMR_BO") { field(DESC, "copies HOMR to HCMD_bo") field(DOL, "WIRE:LTUH:735:MOTR.HOMR") field(OUT, "WIRE:LTUH:735:MOTR_HOME_CMD PP") field(OMSL, "closed_loop") field(ASG, "Internal") } # Retract pv inititates the retract sequence # Retract equence homes and disables the motor record(bo, "WIRE:LTUH:735:MOTR_RETRACT") { field(DESC, "Motor Home and Disable") field(ZNAM, "Standby") field(ONAM, "Retract") } # As counter is incremental, reset counter sequence is used. # This sequence check`s if motor is homed and then resets the counter value. # To check if motor is homed, motion active status should transition to zero. # If motor record readback and external encoder readback are different # Initiates a sequence which updates teh motor readback to match encoder # Also make sure the retract position is higher than lower limit # Ensure the links are passive process. # No need for passive process for POSN. It updates as I/O interrupt record(bo, "WIRE:LTUH:735:CORRECT"){ field(DESC, "Update POSN value into MOTR value") field(FLNK, "WIRE:LTUH:735:CORRECT_SEQ") field(ZNAM, "No Update") field(ONAM, "Updating") } record(calcout, "WIRE:LTUH:735:CORRECT_CALC") { field(DESC, "Diff btw POSN and MOTR.VAL") field(CALC, "A-B+C") field(INPA, "WIRE:LTUH:735:POSN") field(INPB, "WIRE:LTUH:735:MOTR.RBV PP") field(INPC, "WIRE:LTUH:735:MOTR.OFF PP") field(ASG, "Internal") } record(seq, "WIRE:LTUH:735:CORRECT_SEQ") { field(DESC, "Update POSN value into MOTR value") field(DOL1, "1") field(LNK1, "WIRE:LTUH:735:MOTR.SET PP") field(DOL2, "WIRE:LTUH:735:CORRECT_CALC.VAL PP") field(LNK2, "WIRE:LTUH:735:MOTR.OFF") field(DLY2, "1") field(DOL3, "0") field(LNK3, "WIRE:LTUH:735:MOTR.SET PP") field(DLY3, "1") field(DLY4, "1") field(DOL4, "WIRE:LTUH:735:MOTR_RETRACT_POS_CALC PP") field(LNK4, "WIRE:LTUH:735:MOTR_RETRACT_POS.VAL PP") field(DLY5, "1") field(DOL5, "1") field(LNK5, "WIRE:LTUH:735:CORRECT_STS PP") field(ASG, "Internal") } record(calcout, "WIRE:LTUH:735:MOTR_RETRACT_POS_CALC") { field(DESC, "Diff btw lower limit and retract pos") field(CALC, "A+100") field(INPA, "WIRE:LTUH:735:MOTR.LLM PP") field(ASG, "Internal") } record(bi, "WIRE:LTUH:735:CORRECT_STS") { field(DESC, "readback correct status") field(ZNAM, "No Update") field(ONAM, "Readback corrected") } # Store control architecture record(bo, "WIRE:LTUH:735:ARCHITECTURE") { field(DESC, "set control architecture") field(SCAN, "Passive") field(ZNAM, "ATCA") field(ONAM, "APCI") field(VAL, "1") info(autosaveFields, "VAL") } record(bo, "WIRE:LTUH:735:Reset") { field(DESC, "trigger LLS Sw control reset - atca") field(SCAN, "Passive") field(ZNAM, "Idle") field(ONAM, "Reset") field(OUT, "WIRE:LTUH:735:LLS_SWCTRL_TOGGLE.PROC PP") } record(seq, "WIRE:LTUH:735:LLS_SWCTRL_TOGGLE") { field(DESC, "toggle LLS SW control - atca") ## Used while debugging field(TPRO, "1") field(DOL1, "0") field(LNK1, "WIRE:LTUH:735:LLSSwCtrl PP") field(DLY2, "1") field(DOL2, "1") field(LNK2, "WIRE:LTUH:735:LLSSwCtrl PP") field(DLY3, "1") field(DOL3, "0") field(LNK3, "WIRE:LTUH:735:LLSSwCtrl PP") } # File: wirescanner_status.db # # Description: # This database is used to get the status PV on EDM # Homes and encoder # It uses the motor record to get PV`s used used by HLA # # Macros: # P - Controller prefix # M - motor record(bi, "WIRE:LTUH:735:MOTR_ENABLED_STS") { field(DESC, "Enabled status") field(ZNAM, "Not Ready for WireScan") field(ONAM, "Ready for wirescan") } record(calcout, "WIRE:LTUH:735:CALC_ENABLED_STS") { field(DESC, "Check if enabled") field(CALC, "A&&B&&C") field(INPA, "WIRE:LTUH:735:MOTR_INIT_STS CP") field(INPB, "WIRE:LTUH:735:MOTR_ON_STS CP") field(INPC, "WIRE:LTUH:735:MOTR_HOMED_STS CP") field(OUT, "WIRE:LTUH:735:MOTR_ENABLED_STS PP") } record(bi, "WIRE:LTUH:735:MOTR_INIT_STS") { field(DESC, "Init status") field(ZNAM, "Not Initialized") field(ONAM, "Initialized") } record(bi, "WIRE:LTUH:735:MOTR_ON_STS") { field(DESC, "Torque status") field(INP, "WIRE:LTUH:735:STATS1.B0 CP") field(ZNAM, "Torque OFF") field(ONAM, "Torque ON") } record(bi, "WIRE:LTUH:735:MOTR_HOMED_STS") { field(DESC, "Homed") field(INP, "WIRE:LTUH:735:STATS1.B1 CP") field(ZNAM, "Not Homed") field(ONAM, "Homed") } record(bi, "WIRE:LTUH:735:MOTR_MOTION_ACT_STS") { field(DESC, "Motion Active") field(INP, "WIRE:LTUH:735:STATS1.B3 CP") field(ZNAM, "Not Moving") field(ONAM, "Moving") } record(bi, "WIRE:LTUH:735:MOTR_ERROR_STS") { field(DESC, "Error Status") field(INP, "WIRE:LTUH:735:AXIS_ERROR_CALC CP") field(ZNAM, "No Error") field(ONAM, "ERROR") field(ZSV, "NO_ALARM") field(OSV, "MAJOR") } record(calcout, "WIRE:LTUH:735:AXIS_ERROR_CALC") { field(DESC, "Check if Axis at fault") field(CALC, "(A>0)?1:0") field(INPA, "WIRE:LTUH:735:FAULT CP") field(OUT, "WIRE:LTUH:735:MOTR_ERROR_STS PP") field(ASG, "Internal") } # Get the home position from the motor record lower limit record(ao, "WIRE:LTUH:735:MOTR_RETRACT_POS") { field(ASG, "Internal") field(DESC, "Motor retract position") field(VAL, "0") info(autosaveFields, "VAL") } record(ao, "WIRE:LTUH:735:MOTR_TIMEOUT") { field(DTYP, "Raw Soft Channel") field(DESC, "Wait time before homing") field(VAL, "30") field(EGU, "sec") info(autosaveFields, "VAL") } record(ao, "WIRE:LTUH:735:MOTR_LTIMEOUT") { field(DTYP, "Raw Soft Channel") field(DESC, "Wait time at home to turn off") field(VAL, "30") field(EGU, "sec") info(autosaveFields, "VAL") } record(bo, "WIRE:LTUH:735:MOTR_TIMEOUTEN") { field(DTYP, "Raw Soft Channel") field(DESC, "Enable timeout: retract motor") field(ZNAM, "Disabled") field(ONAM, "Enabled") info(autosaveFields, "VAL") } record(bo, "WIRE:LTUH:735:MOTR_TIMEOUT_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Timeout debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "WIRE:LTUH:538:POSN") { field(DESC, "WSDL4 Current Position") field(EGU, "um") # field(INP, "WIRE:LTUH:538:LVPOS CP") field(SCAN, "Event") field(PRIO, "HIGH") field(EVNT, "140") field(FLNK, "WIRE:LTUH:538:EFPOSN") field(TSE, "-1") } record(ao, "WIRE:LTUH:538:MASK") { field(DESC, "WSDL4 Scan Mask") field(OMSL, "supervisory") field(SCAN, "Event") field(PRIO, "HIGH") field(EVNT, "140") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(FLNK, "WIRE:LTUH:538:EFMASK") field(TSE, -1) } record(bi,"WIRE:LTUH:538:CORRECT") { field(DESC, "CORRECT Button") field(DTYP, "Soft Channel") field(OSV, "MINOR") field(ZSV, "NO_ALARM") field(PINI, "YES") field(INP, "0") field(ZNAM, "OFF") field(ONAM, "On") } record(bi,"WIRE:LTUH:538:VERIFY") { field(DESC, "VERIFY Button") field(DTYP, "Soft Channel") field(OSV, "MINOR") field(ZSV, "NO_ALARM") field(PINI, "YES") field(INP, "0") field(ZNAM, "OFF") field(ONAM, "On") } record(bi,"WIRE:LTUH:538:SETMODEALARM") { field(DESC, "Set Button Alarm") field(DTYP, "Soft Channel") field(OSV, "MAJOR") field(ZSV, "NO_ALARM") field(PINI, "YES") field(INP, "0") field(ZNAM, "OFF") field(ONAM, "On") } record(bo, "WIRE:LTUH:538:MOTR_ALRM") { field(DESC, "In Beam Alarm") field(DOL, "WIRE:LTUH:538:MOTRERROR MS") field(OMSL, "closed_loop") field(ZNAM, "IN_BEAM") field(ONAM, "OUT_OF_BEAM") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(calcout, "WIRE:LTUH:538:MOTRERROR") { field(CALC, "(A>=B)?0:1") field(FLNK, "WIRE:LTUH:538:MOTR_ALRM") field(SCAN, "1 second") field(INPA, "WIRE:LTUH:538:MOTR.RBV NPP MS") field(INPB, "3000") field(INPC, "0") field(HIGH, "1") field(LOW, "0") field(HSV, "MAJOR") field(LSV, "NO_ALARM") info(autosaveFields, "CALC INPA INPB INPC") } #! Generated by VisualDCT v2.5 #! DBDSTART #! DBDEND # # Wire Scanner Database Entries for WIRE:LTUH:538 # # # Start or Stop Scanning WIRE:LTUH:538 # record(bo, "WIRE:LTUH:538:STARTSCAN") { field(DESC, "Start Wire Scan with WSDL4") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Scanning") field(ZNAM, "Scan Stopped") } # # Normally scanning moves from inner position to outer # position, against the force of the vacuum. If this # PV is set to true, then WIRE:LTUH:538 # will scan from the outer to inner position, moving # with the force of the vacuum. The scanner is expected # to provide best results when moving against the force # of the vacuum. # record(bo, "WIRE:LTUH:538:SCANTOCENTER") { field(DESC, "WSDL4 will scan inwards") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Scan to Center") field(ZNAM, "Scan from Center") info(autosaveFields, "VAL") } # # Angle of WIRE:LTUH:538 from beam's point of view # record(ao, "WIRE:LTUH:538:INSTALLANGLE") { field(DESC, "Orientation of WSDL4") field(ASG, "WIREADMIN") field(EGU, "degrees") field(VAL, "-45") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # Repeatability of WIRE:LTUH:538 when doing a wire scan. # If the motion returns to the original LVDT-measured position, within # POSNTHRESH microns, the scan is considered successful. If not, then # RETRIES number of scans (in total) will be attempted. # record(ao, "WIRE:LTUH:538:POSNTHRESH") { field(DESC, "WSDL4 Position Deadband") field(ASG, "WIREUSER") field(EGU, "microns") field(VAL, "1000") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # Calculated time for wire scan; actual time that wire is spent moving. # record(ao, "WIRE:LTUH:538:SCANTIME") { field(DESC, "WSDL4 Calc. Scan Time") field(ASG, "WIREUSER") field(EGU, "seconds") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") } # # The most recent scan WIRE:LTUH:538 # was considered to have successfully moved. # record(mbbo, "WIRE:LTUH:538:HADSUCCESS") { field(DESC, "WSDL4 Scan Successful") field(ASG, "$WIREUSER") field(OMSL, "supervisory") field(VAL, "0") field(SCAN, "Passive") field(DTYP, "Raw Soft Channel") field(NOBT, "32") field(ZRST, "No Scan Attempt") field(ZRVL, "0") field(ONST, "Scan Successful") field(ONVL, "1") field(TWST, "Scan Failed") field(TWVL, "2") field(PINI, "YES") } # # The total number of scans to be done by WIRE:LTUH:538 # for a given scan request; if the scanner motion does not return # to POSNTHRESH microns of where it started, then a retry is made. # record(ao, "WIRE:LTUH:538:RETRIES") { field(DESC, "WSDL4 Retries to Do") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The current retry attempt of WIRE:LTUH:538 to # perform a scan. Up to RETRIES attempts will be made, and this # value indicates which attempt is currently underway. # record(ao, "WIRE:LTUH:538:CURRENTRETRY") { field(DESC, "WSDL4 Current Retry Count") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") } # # Does WIRE:LTUH:538 Have a Working X Wire? # record(bo, "WIRE:LTUH:538:HASXWIRE") { field(DESC, "Is X Wire Avail. on WSDL4") field(ASG, "WIREADMIN") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "X Wire is Usable") field(ZNAM, "X Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the X Wire from WIRE:LTUH:538 be Used? # record(bo, "WIRE:LTUH:538:USEXWIRE") { field(DESC, "Is X Wire Used on WSDL4") field(ASG, "WIREUSER") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "X Wire Selected") field(ZNAM, "X Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of WIRE:LTUH:538 X Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "WIRE:LTUH:538:XWIREOFFSET") { field(DESC, "Offset of WSDL4 X Wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "11278") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the X Wire can be positioned to # start a scan in pull-through-beam mode on WIRE:LTUH:538 # record(longout, "WIRE:LTUH:538:XWIREOUTER") { field(DESC, "Outer X on WSDL4") field(ASG, "WIREUSER") field(VAL, "12278") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The location at which the X Wire can be positioned to # start a scan in push-through-beam mode on WIRE:LTUH:538 # record(longout, "WIRE:LTUH:538:XWIREINNER") { field(DESC, "Inner X on WSDL4") field(ASG, "WIREUSER") field(VAL, "10278") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # Does WIRE:LTUH:538 Have a Working Y Wire? # record(bo, "WIRE:LTUH:538:HASYWIRE") { field(DESC, "Is Y Wire Avail. on WSDL4") field(ASG, "WIREADMIN") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Y Wire is Usable") field(ZNAM, "Y Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the Y Wire from WIRE:LTUH:538 be Used? # record(bo, "WIRE:LTUH:538:USEYWIRE") { field(DESC, "Is Y Wire Used on WSDL4") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Y Wire Selected") field(ZNAM, "Y Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of WIRE:LTUH:538 Y Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "WIRE:LTUH:538:YWIREOFFSET") { field(DESC, "Offset of WSDL4 Y Wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "-17653") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the Y Wire can be positioned to # start a scan in pull-through-beam mode on WIRE:LTUH:538 # record(longout, "WIRE:LTUH:538:YWIREOUTER") { field(DESC, "Outer Y on WSDL4") field(ASG, "WIREUSER") field(VAL, "-16653") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The location at which the Y Wire can be positioned to # start a scan in push-through-beam mode on WIRE:LTUH:538 # record(longout, "WIRE:LTUH:538:YWIREINNER") { field(DESC, "Inner Y on WSDL4") field(ASG, "WIREUSER") field(VAL, "-18653") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # Does WIRE:LTUH:538 Have a Working U (diagonal) Wire? # record(bo, "WIRE:LTUH:538:HASUWIRE") { field(DESC, "Is U Wire Avail. on WSDL4") field(ASG, "WIREADMIN") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "U Wire is Usable") field(ZNAM, "U Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the U Wire from WIRE:LTUH:538 be Used? # record(bo, "WIRE:LTUH:538:USEUWIRE") { field(DESC, "Is U Wire Used on WSDL4") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "U Wire Selected") field(ZNAM, "U Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of WIRE:LTUH:538 U Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "WIRE:LTUH:538:UWIREOFFSET") { field(DESC, "Offset of WSDL4 U Wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the U Wire can be positioned to # start a scan in pull-through-beam mode on WIRE:LTUH:538 # record(longout, "WIRE:LTUH:538:UWIREOUTER") { field(DESC, "Outer U on WSDL4") field(ASG, "WIREUSER") field(VAL, "1000") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The location at which the U Wire can be positioned to # start a scan in push-through-beam mode on WIRE:LTUH:538 # record(longout, "WIRE:LTUH:538:UWIREINNER") { field(DESC, "Inner U on WSDL4") field(ASG, "WIREUSER") field(VAL, "-1000") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The position at which the current scan will start, set to # the value of :XWIREOUTER, :YWIREOUTER or UWIREOUTER if in # pull-through-beam mode, or set to :XWIREINNER, :YWIREINNER # or UWIREINNER if in push-through-beam mode, for WIRE:LTUH:538 # record(ao, "WIRE:LTUH:538:SCANPOSSTART") { field(DESC, "WSDL4 Wire Start Pos") field(ASG, "WIREUSER") field(VAL, "10278") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The position at which the current scan will stop, set to # the value of :XWIREOUTER, :YWIREOUTER or UWIREOUTER if in # push-through-beam mode, or set to :XWIREINNER, :YWIREINNER # or UWIREINNER if in pull-through-beam mode, for WIRE:LTUH:538 # record(ao, "WIRE:LTUH:538:SCANPOSSTOP") { field(DESC, "WSDL4 Stop Position") field(ASG, "WIREUSER") field(VAL, "12278") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The number of beam pulses which WIRE:LTUH:538 # will intercept as it moves across the total range of travel. # This is typically selected by the user. # record(ao, "WIRE:LTUH:538:SCANPULSES") { field(DESC, "Pulses needed by WSDL4") field(ASG, "WIREUSER") field(VAL, "100") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The time to delay between motion stop and position readout # record(ao, "WIRE:LTUH:538:SCANDELAY") { field(DESC, "WSDL4 Position Delay Time") field(ASG, "WIREUSER") field(VAL, "1.5") field(EGU, "seconds") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # An indication of progress in terms of percent # completion of WIRE:LTUH:538 # record(ao, "WIRE:LTUH:538:SCANPROGRESS") { field(DESC, "Progress WSDL4 WireScan") field(ASG, "WIREUSER") field(VAL, "0") field(EGU, "percent") field(HOPR, "100") field(LOPR, "0") field(PREC, "0") field(SCAN, "Passive") field(PINI, "YES") } # # A textual indication of the status of WIRE:LTUH:538 # record(stringout, "WIRE:LTUH:538:SCANTEXT") { field(DESC, "WSDL4 Wire Scan Status") field(ASG, "WIREUSER") field(VAL, "READY to START Wire Scan") field(SCAN, "Passive") field(PINI, "YES") } #! Further lines contain data used by VisualDCT #! View(-194,-11,0.7) #! Record("WIRE:LTUH:538:STARTSCAN",20,23,0,0,"WIRE:LTUH:538:STARTSCAN") #! Record("WIRE:LTUH:538:SCANTOCENTER",260,23,0,0,"WIRE:LTUH:538:SCANTOCENTER") #! Record("WIRE:LTUH:538:INSTALLANGLE",500,18,0,0,"WIRE:LTUH:538:INSTALLANGLE") #! Record("WIRE:LTUH:538:POSNTHRESH",740,18,0,0,"WIRE:LTUH:538:POSNTHRESH") #! Record("WIRE:LTUH:538:SCANTIME",980,12,0,0,"WIRE:LTUH:538:SCANTIME") #! Record("WIRE:LTUH:538:HADSUCCESS",1220,22,0,0,"WIRE:LTUH:538:HADSUCCESS") #! Record("WIRE:LTUH:538:RETRIES",1460,12,0,0,"WIRE:LTUH:538:RETRIES") #! Record("WIRE:LTUH:538:CURRENTRETRY",1700,12,0,0,"WIRE:LTUH:538:CURRENTRETRY") #! Record("WIRE:LTUH:538:HASXWIRE",1940,23,0,0,"WIRE:LTUH:538:HASXWIRE") #! Record("WIRE:LTUH:538:USEXWIRE",2180,23,0,0,"WIRE:LTUH:538:USEXWIRE") #! Record("WIRE:LTUH:538:XWIREOFFSET",2420,18,0,0,"WIRE:LTUH:538:XWIREOFFSET") #! Record("WIRE:LTUH:538:XWIREOUTER",20,19,0,0,"WIRE:LTUH:538:XWIREOUTER") #! Record("WIRE:LTUH:538:XWIREINNER",260,19,0,0,"WIRE:LTUH:538:XWIREINNER") #! Record("WIRE:LTUH:538:HASYWIRE",3140,23,0,0,"WIRE:LTUH:538:HASYWIRE") #! Record("WIRE:LTUH:538:USEYWIRE",3380,23,0,0,"WIRE:LTUH:538:USEYWIRE") #! Record("WIRE:LTUH:538:YWIREOFFSET",3620,18,0,0,"WIRE:LTUH:538:YWIREOFFSET") #! Record("WIRE:LTUH:538:YWIREOUTER",3860,19,0,0,"WIRE:LTUH:538:YWIREOUTER") #! Record("WIRE:LTUH:538:YWIREINNER",4100,19,0,0,"WIRE:LTUH:538:YWIREINNER") #! Record("WIRE:LTUH:538:HASUWIRE",4340,23,0,0,"WIRE:LTUH:538:HASUWIRE") #! Record("WIRE:LTUH:538:USEUWIRE",4580,23,0,0,"WIRE:LTUH:538:USEUWIRE") #! Record("WIRE:LTUH:538:UWIREOFFSET",20,378,0,0,"WIRE:LTUH:538:UWIREOFFSET") #! Record("WIRE:LTUH:538:UWIREOUTER",260,319,0,0,"WIRE:LTUH:538:UWIREOUTER") #! Record("WIRE:LTUH:538:UWIREINNER",500,319,0,0,"WIRE:LTUH:538:UWIREINNER") #! Record("WIRE:LTUH:538:SCANPOSSTART",740,378,0,0,"WIRE:LTUH:538:SCANPOSSTART") #! Record("WIRE:LTUH:538:SCANPOSSTOP",980,378,0,0,"WIRE:LTUH:538:SCANPOSSTOP") #! Record("WIRE:LTUH:538:SCANPULSES",1220,372,0,0,"WIRE:LTUH:538:SCANPULSES") #! Record("WIRE:LTUH:538:SCANDELAY",1460,378,0,0,"WIRE:LTUH:538:SCANDELAY") #! Record("WIRE:LTUH:538:SCANPROGRESS",1700,373,0,0,"WIRE:LTUH:538:SCANPROGRESS") #! Record("WIRE:LTUH:538:SCANTEXT",1940,372,0,0,"WIRE:LTUH:538:SCANTEXT") # # Angle of WIRE:LTUH:538 from beam's point of view # record(ao, "WIRE:LTUH:538:XWIRESIZE") { field(DESC, "Diam. of WSDL4 x wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "WIRE:LTUH:538:YWIRESIZE") { field(DESC, "Diam. of WSDL4 y wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "WIRE:LTUH:538:UWIRESIZE") { field(DESC, "Diam. of WSDL4 u wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } #! Generated by VisualDCT v2.5 #! DBDSTART #! DBDEND # # Wire Scanner Database Entries for WIRE:LTUH:715 # # # Start or Stop Scanning WIRE:LTUH:715 # record(bo, "WIRE:LTUH:715:STARTSCAN") { field(DESC, "Start Wire Scan with WS31") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Scanning") field(ZNAM, "Scan Stopped") } # # Normally scanning moves from inner position to outer # position, against the force of the vacuum. If this # PV is set to true, then WIRE:LTUH:715 # will scan from the outer to inner position, moving # with the force of the vacuum. The scanner is expected # to provide best results when moving against the force # of the vacuum. # record(bo, "WIRE:LTUH:715:SCANTOCENTER") { field(DESC, "WS31 will scan inwards") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Scan to Center") field(ZNAM, "Scan from Center") info(autosaveFields, "VAL") } # # Angle of WIRE:LTUH:715 from beam's point of view # record(ao, "WIRE:LTUH:715:INSTALLANGLE") { field(DESC, "Orientation of WS31") field(ASG, "WIREADMIN") field(EGU, "degrees") field(VAL, "-45") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # Repeatability of WIRE:LTUH:715 when doing a wire scan. # If the motion returns to the original LVDT-measured position, within # POSNTHRESH microns, the scan is considered successful. If not, then # RETRIES number of scans (in total) will be attempted. # record(ao, "WIRE:LTUH:715:POSNTHRESH") { field(DESC, "WS31 Position Deadband") field(ASG, "WIREUSER") field(EGU, "microns") field(VAL, "1000") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # Calculated time for wire scan; actual time that wire is spent moving. # record(ao, "WIRE:LTUH:715:SCANTIME") { field(DESC, "WS31 Calc. Scan Time") field(ASG, "WIREUSER") field(EGU, "seconds") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") } # # The most recent scan WIRE:LTUH:715 # was considered to have successfully moved. # record(mbbo, "WIRE:LTUH:715:HADSUCCESS") { field(DESC, "WS31 Scan Successful") field(ASG, "$WIREUSER") field(OMSL, "supervisory") field(VAL, "0") field(SCAN, "Passive") field(DTYP, "Raw Soft Channel") field(NOBT, "32") field(ZRST, "No Scan Attempt") field(ZRVL, "0") field(ONST, "Scan Successful") field(ONVL, "1") field(TWST, "Scan Failed") field(TWVL, "2") field(PINI, "YES") } # # The total number of scans to be done by WIRE:LTUH:715 # for a given scan request; if the scanner motion does not return # to POSNTHRESH microns of where it started, then a retry is made. # record(ao, "WIRE:LTUH:715:RETRIES") { field(DESC, "WS31 Retries to Do") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The current retry attempt of WIRE:LTUH:715 to # perform a scan. Up to RETRIES attempts will be made, and this # value indicates which attempt is currently underway. # record(ao, "WIRE:LTUH:715:CURRENTRETRY") { field(DESC, "WS31 Current Retry Count") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") } # # Does WIRE:LTUH:715 Have a Working X Wire? # record(bo, "WIRE:LTUH:715:HASXWIRE") { field(DESC, "Is X Wire Avail. on WS31") field(ASG, "WIREADMIN") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "X Wire is Usable") field(ZNAM, "X Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the X Wire from WIRE:LTUH:715 be Used? # record(bo, "WIRE:LTUH:715:USEXWIRE") { field(DESC, "Is X Wire Used on WS31") field(ASG, "WIREUSER") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "X Wire Selected") field(ZNAM, "X Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of WIRE:LTUH:715 X Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "WIRE:LTUH:715:XWIREOFFSET") { field(DESC, "Offset of WS31 X Wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "30240") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the X Wire can be positioned to # start a scan in pull-through-beam mode on WIRE:LTUH:715 # record(longout, "WIRE:LTUH:715:XWIREOUTER") { field(DESC, "Outer X on WS31") field(ASG, "WIREUSER") field(VAL, "32240") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The location at which the X Wire can be positioned to # start a scan in push-through-beam mode on WIRE:LTUH:715 # record(longout, "WIRE:LTUH:715:XWIREINNER") { field(DESC, "Inner X on WS31") field(ASG, "WIREUSER") field(VAL, "28240") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # Does WIRE:LTUH:715 Have a Working Y Wire? # record(bo, "WIRE:LTUH:715:HASYWIRE") { field(DESC, "Is Y Wire Avail. on WS31") field(ASG, "WIREADMIN") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Y Wire is Usable") field(ZNAM, "Y Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the Y Wire from WIRE:LTUH:715 be Used? # record(bo, "WIRE:LTUH:715:USEYWIRE") { field(DESC, "Is Y Wire Used on WS31") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Y Wire Selected") field(ZNAM, "Y Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of WIRE:LTUH:715 Y Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "WIRE:LTUH:715:YWIREOFFSET") { field(DESC, "Offset of WS31 Y Wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40320") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the Y Wire can be positioned to # start a scan in pull-through-beam mode on WIRE:LTUH:715 # record(longout, "WIRE:LTUH:715:YWIREOUTER") { field(DESC, "Outer Y on WS31") field(ASG, "WIREUSER") field(VAL, "42320") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The location at which the Y Wire can be positioned to # start a scan in push-through-beam mode on WIRE:LTUH:715 # record(longout, "WIRE:LTUH:715:YWIREINNER") { field(DESC, "Inner Y on WS31") field(ASG, "WIREUSER") field(VAL, "38320") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # Does WIRE:LTUH:715 Have a Working U (diagonal) Wire? # record(bo, "WIRE:LTUH:715:HASUWIRE") { field(DESC, "Is U Wire Avail. on WS31") field(ASG, "WIREADMIN") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "U Wire is Usable") field(ZNAM, "U Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the U Wire from WIRE:LTUH:715 be Used? # record(bo, "WIRE:LTUH:715:USEUWIRE") { field(DESC, "Is U Wire Used on WS31") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "U Wire Selected") field(ZNAM, "U Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of WIRE:LTUH:715 U Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "WIRE:LTUH:715:UWIREOFFSET") { field(DESC, "Offset of WS31 U Wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the U Wire can be positioned to # start a scan in pull-through-beam mode on WIRE:LTUH:715 # record(longout, "WIRE:LTUH:715:UWIREOUTER") { field(DESC, "Outer U on WS31") field(ASG, "WIREUSER") field(VAL, "18160") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The location at which the U Wire can be positioned to # start a scan in push-through-beam mode on WIRE:LTUH:715 # record(longout, "WIRE:LTUH:715:UWIREINNER") { field(DESC, "Inner U on WS31") field(ASG, "WIREUSER") field(VAL, "14160") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The position at which the current scan will start, set to # the value of :XWIREOUTER, :YWIREOUTER or UWIREOUTER if in # pull-through-beam mode, or set to :XWIREINNER, :YWIREINNER # or UWIREINNER if in push-through-beam mode, for WIRE:LTUH:715 # record(ao, "WIRE:LTUH:715:SCANPOSSTART") { field(DESC, "WS31 Wire Start Pos") field(ASG, "WIREUSER") field(VAL, "28240") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The position at which the current scan will stop, set to # the value of :XWIREOUTER, :YWIREOUTER or UWIREOUTER if in # push-through-beam mode, or set to :XWIREINNER, :YWIREINNER # or UWIREINNER if in pull-through-beam mode, for WIRE:LTUH:715 # record(ao, "WIRE:LTUH:715:SCANPOSSTOP") { field(DESC, "WS31 Stop Position") field(ASG, "WIREUSER") field(VAL, "32240") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The number of beam pulses which WIRE:LTUH:715 # will intercept as it moves across the total range of travel. # This is typically selected by the user. # record(ao, "WIRE:LTUH:715:SCANPULSES") { field(DESC, "Pulses needed by WS31") field(ASG, "WIREUSER") field(VAL, "100") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The time to delay between motion stop and position readout # record(ao, "WIRE:LTUH:715:SCANDELAY") { field(DESC, "WS31 Position Delay Time") field(ASG, "WIREUSER") field(VAL, "1.5") field(EGU, "seconds") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # An indication of progress in terms of percent # completion of WIRE:LTUH:715 # record(ao, "WIRE:LTUH:715:SCANPROGRESS") { field(DESC, "Progress WS31 WireScan") field(ASG, "WIREUSER") field(VAL, "0") field(EGU, "percent") field(HOPR, "100") field(LOPR, "0") field(PREC, "0") field(SCAN, "Passive") field(PINI, "YES") } # # A textual indication of the status of WIRE:LTUH:715 # record(stringout, "WIRE:LTUH:715:SCANTEXT") { field(DESC, "WS31 Wire Scan Status") field(ASG, "WIREUSER") field(VAL, "READY to START Wire Scan") field(SCAN, "Passive") field(PINI, "YES") } #! Further lines contain data used by VisualDCT #! View(-194,-11,0.7) #! Record("WIRE:LTUH:715:STARTSCAN",20,23,0,0,"WIRE:LTUH:715:STARTSCAN") #! Record("WIRE:LTUH:715:SCANTOCENTER",260,23,0,0,"WIRE:LTUH:715:SCANTOCENTER") #! Record("WIRE:LTUH:715:INSTALLANGLE",500,18,0,0,"WIRE:LTUH:715:INSTALLANGLE") #! Record("WIRE:LTUH:715:POSNTHRESH",740,18,0,0,"WIRE:LTUH:715:POSNTHRESH") #! Record("WIRE:LTUH:715:SCANTIME",980,12,0,0,"WIRE:LTUH:715:SCANTIME") #! Record("WIRE:LTUH:715:HADSUCCESS",1220,22,0,0,"WIRE:LTUH:715:HADSUCCESS") #! Record("WIRE:LTUH:715:RETRIES",1460,12,0,0,"WIRE:LTUH:715:RETRIES") #! Record("WIRE:LTUH:715:CURRENTRETRY",1700,12,0,0,"WIRE:LTUH:715:CURRENTRETRY") #! Record("WIRE:LTUH:715:HASXWIRE",1940,23,0,0,"WIRE:LTUH:715:HASXWIRE") #! Record("WIRE:LTUH:715:USEXWIRE",2180,23,0,0,"WIRE:LTUH:715:USEXWIRE") #! Record("WIRE:LTUH:715:XWIREOFFSET",2420,18,0,0,"WIRE:LTUH:715:XWIREOFFSET") #! Record("WIRE:LTUH:715:XWIREOUTER",20,19,0,0,"WIRE:LTUH:715:XWIREOUTER") #! Record("WIRE:LTUH:715:XWIREINNER",260,19,0,0,"WIRE:LTUH:715:XWIREINNER") #! Record("WIRE:LTUH:715:HASYWIRE",3140,23,0,0,"WIRE:LTUH:715:HASYWIRE") #! Record("WIRE:LTUH:715:USEYWIRE",3380,23,0,0,"WIRE:LTUH:715:USEYWIRE") #! Record("WIRE:LTUH:715:YWIREOFFSET",3620,18,0,0,"WIRE:LTUH:715:YWIREOFFSET") #! Record("WIRE:LTUH:715:YWIREOUTER",3860,19,0,0,"WIRE:LTUH:715:YWIREOUTER") #! Record("WIRE:LTUH:715:YWIREINNER",4100,19,0,0,"WIRE:LTUH:715:YWIREINNER") #! Record("WIRE:LTUH:715:HASUWIRE",4340,23,0,0,"WIRE:LTUH:715:HASUWIRE") #! Record("WIRE:LTUH:715:USEUWIRE",4580,23,0,0,"WIRE:LTUH:715:USEUWIRE") #! Record("WIRE:LTUH:715:UWIREOFFSET",20,378,0,0,"WIRE:LTUH:715:UWIREOFFSET") #! Record("WIRE:LTUH:715:UWIREOUTER",260,319,0,0,"WIRE:LTUH:715:UWIREOUTER") #! Record("WIRE:LTUH:715:UWIREINNER",500,319,0,0,"WIRE:LTUH:715:UWIREINNER") #! Record("WIRE:LTUH:715:SCANPOSSTART",740,378,0,0,"WIRE:LTUH:715:SCANPOSSTART") #! Record("WIRE:LTUH:715:SCANPOSSTOP",980,378,0,0,"WIRE:LTUH:715:SCANPOSSTOP") #! Record("WIRE:LTUH:715:SCANPULSES",1220,372,0,0,"WIRE:LTUH:715:SCANPULSES") #! Record("WIRE:LTUH:715:SCANDELAY",1460,378,0,0,"WIRE:LTUH:715:SCANDELAY") #! Record("WIRE:LTUH:715:SCANPROGRESS",1700,373,0,0,"WIRE:LTUH:715:SCANPROGRESS") #! Record("WIRE:LTUH:715:SCANTEXT",1940,372,0,0,"WIRE:LTUH:715:SCANTEXT") # # Angle of WIRE:LTUH:715 from beam's point of view # record(ao, "WIRE:LTUH:715:XWIRESIZE") { field(DESC, "Diam. of WS31 x wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "WIRE:LTUH:715:YWIRESIZE") { field(DESC, "Diam. of WS31 y wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "WIRE:LTUH:715:UWIRESIZE") { field(DESC, "Diam. of WS31 u wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } #! Generated by VisualDCT v2.5 #! DBDSTART #! DBDEND # # Wire Scanner Database Entries for WIRE:LTUH:735 # # # Start or Stop Scanning WIRE:LTUH:735 # record(bo, "WIRE:LTUH:735:STARTSCAN") { field(DESC, "Start Wire Scan with WS32") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Scanning") field(ZNAM, "Scan Stopped") } # # Normally scanning moves from inner position to outer # position, against the force of the vacuum. If this # PV is set to true, then WIRE:LTUH:735 # will scan from the outer to inner position, moving # with the force of the vacuum. The scanner is expected # to provide best results when moving against the force # of the vacuum. # record(bo, "WIRE:LTUH:735:SCANTOCENTER") { field(DESC, "WS32 will scan inwards") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Scan to Center") field(ZNAM, "Scan from Center") info(autosaveFields, "VAL") } # # Angle of WIRE:LTUH:735 from beam's point of view # record(ao, "WIRE:LTUH:735:INSTALLANGLE") { field(DESC, "Orientation of WS32") field(ASG, "WIREADMIN") field(EGU, "degrees") field(VAL, "-45") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # Repeatability of WIRE:LTUH:735 when doing a wire scan. # If the motion returns to the original LVDT-measured position, within # POSNTHRESH microns, the scan is considered successful. If not, then # RETRIES number of scans (in total) will be attempted. # record(ao, "WIRE:LTUH:735:POSNTHRESH") { field(DESC, "WS32 Position Deadband") field(ASG, "WIREUSER") field(EGU, "microns") field(VAL, "1000") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # Calculated time for wire scan; actual time that wire is spent moving. # record(ao, "WIRE:LTUH:735:SCANTIME") { field(DESC, "WS32 Calc. Scan Time") field(ASG, "WIREUSER") field(EGU, "seconds") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") } # # The most recent scan WIRE:LTUH:735 # was considered to have successfully moved. # record(mbbo, "WIRE:LTUH:735:HADSUCCESS") { field(DESC, "WS32 Scan Successful") field(ASG, "$WIREUSER") field(OMSL, "supervisory") field(VAL, "0") field(SCAN, "Passive") field(DTYP, "Raw Soft Channel") field(NOBT, "32") field(ZRST, "No Scan Attempt") field(ZRVL, "0") field(ONST, "Scan Successful") field(ONVL, "1") field(TWST, "Scan Failed") field(TWVL, "2") field(PINI, "YES") } # # The total number of scans to be done by WIRE:LTUH:735 # for a given scan request; if the scanner motion does not return # to POSNTHRESH microns of where it started, then a retry is made. # record(ao, "WIRE:LTUH:735:RETRIES") { field(DESC, "WS32 Retries to Do") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The current retry attempt of WIRE:LTUH:735 to # perform a scan. Up to RETRIES attempts will be made, and this # value indicates which attempt is currently underway. # record(ao, "WIRE:LTUH:735:CURRENTRETRY") { field(DESC, "WS32 Current Retry Count") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") } # # Does WIRE:LTUH:735 Have a Working X Wire? # record(bo, "WIRE:LTUH:735:HASXWIRE") { field(DESC, "Is X Wire Avail. on WS32") field(ASG, "WIREADMIN") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "X Wire is Usable") field(ZNAM, "X Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the X Wire from WIRE:LTUH:735 be Used? # record(bo, "WIRE:LTUH:735:USEXWIRE") { field(DESC, "Is X Wire Used on WS32") field(ASG, "WIREUSER") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "X Wire Selected") field(ZNAM, "X Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of WIRE:LTUH:735 X Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "WIRE:LTUH:735:XWIREOFFSET") { field(DESC, "Offset of WS32 X Wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "30240") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the X Wire can be positioned to # start a scan in pull-through-beam mode on WIRE:LTUH:735 # record(longout, "WIRE:LTUH:735:XWIREOUTER") { field(DESC, "Outer X on WS32") field(ASG, "WIREUSER") field(VAL, "32240") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The location at which the X Wire can be positioned to # start a scan in push-through-beam mode on WIRE:LTUH:735 # record(longout, "WIRE:LTUH:735:XWIREINNER") { field(DESC, "Inner X on WS32") field(ASG, "WIREUSER") field(VAL, "28240") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # Does WIRE:LTUH:735 Have a Working Y Wire? # record(bo, "WIRE:LTUH:735:HASYWIRE") { field(DESC, "Is Y Wire Avail. on WS32") field(ASG, "WIREADMIN") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Y Wire is Usable") field(ZNAM, "Y Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the Y Wire from WIRE:LTUH:735 be Used? # record(bo, "WIRE:LTUH:735:USEYWIRE") { field(DESC, "Is Y Wire Used on WS32") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Y Wire Selected") field(ZNAM, "Y Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of WIRE:LTUH:735 Y Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "WIRE:LTUH:735:YWIREOFFSET") { field(DESC, "Offset of WS32 Y Wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40320") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the Y Wire can be positioned to # start a scan in pull-through-beam mode on WIRE:LTUH:735 # record(longout, "WIRE:LTUH:735:YWIREOUTER") { field(DESC, "Outer Y on WS32") field(ASG, "WIREUSER") field(VAL, "42320") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The location at which the Y Wire can be positioned to # start a scan in push-through-beam mode on WIRE:LTUH:735 # record(longout, "WIRE:LTUH:735:YWIREINNER") { field(DESC, "Inner Y on WS32") field(ASG, "WIREUSER") field(VAL, "38320") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # Does WIRE:LTUH:735 Have a Working U (diagonal) Wire? # record(bo, "WIRE:LTUH:735:HASUWIRE") { field(DESC, "Is U Wire Avail. on WS32") field(ASG, "WIREADMIN") field(VAL, "1") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "U Wire is Usable") field(ZNAM, "U Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the U Wire from WIRE:LTUH:735 be Used? # record(bo, "WIRE:LTUH:735:USEUWIRE") { field(DESC, "Is U Wire Used on WS32") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "U Wire Selected") field(ZNAM, "U Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of WIRE:LTUH:735 U Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "WIRE:LTUH:735:UWIREOFFSET") { field(DESC, "Offset of WS32 U Wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the U Wire can be positioned to # start a scan in pull-through-beam mode on WIRE:LTUH:735 # record(longout, "WIRE:LTUH:735:UWIREOUTER") { field(DESC, "Outer U on WS32") field(ASG, "WIREUSER") field(VAL, "18160") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The location at which the U Wire can be positioned to # start a scan in push-through-beam mode on WIRE:LTUH:735 # record(longout, "WIRE:LTUH:735:UWIREINNER") { field(DESC, "Inner U on WS32") field(ASG, "WIREUSER") field(VAL, "14160") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "46000") field(DRVL, "100") field(HOPR, "46000") field(LOPR, "100") info(autosaveFields, "VAL") } # # The position at which the current scan will start, set to # the value of :XWIREOUTER, :YWIREOUTER or UWIREOUTER if in # pull-through-beam mode, or set to :XWIREINNER, :YWIREINNER # or UWIREINNER if in push-through-beam mode, for WIRE:LTUH:735 # record(ao, "WIRE:LTUH:735:SCANPOSSTART") { field(DESC, "WS32 Wire Start Pos") field(ASG, "WIREUSER") field(VAL, "28240") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The position at which the current scan will stop, set to # the value of :XWIREOUTER, :YWIREOUTER or UWIREOUTER if in # push-through-beam mode, or set to :XWIREINNER, :YWIREINNER # or UWIREINNER if in pull-through-beam mode, for WIRE:LTUH:735 # record(ao, "WIRE:LTUH:735:SCANPOSSTOP") { field(DESC, "WS32 Stop Position") field(ASG, "WIREUSER") field(VAL, "32240") field(EGU, "microns") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The number of beam pulses which WIRE:LTUH:735 # will intercept as it moves across the total range of travel. # This is typically selected by the user. # record(ao, "WIRE:LTUH:735:SCANPULSES") { field(DESC, "Pulses needed by WS32") field(ASG, "WIREUSER") field(VAL, "100") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The time to delay between motion stop and position readout # record(ao, "WIRE:LTUH:735:SCANDELAY") { field(DESC, "WS32 Position Delay Time") field(ASG, "WIREUSER") field(VAL, "1.5") field(EGU, "seconds") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # An indication of progress in terms of percent # completion of WIRE:LTUH:735 # record(ao, "WIRE:LTUH:735:SCANPROGRESS") { field(DESC, "Progress WS32 WireScan") field(ASG, "WIREUSER") field(VAL, "0") field(EGU, "percent") field(HOPR, "100") field(LOPR, "0") field(PREC, "0") field(SCAN, "Passive") field(PINI, "YES") } # # A textual indication of the status of WIRE:LTUH:735 # record(stringout, "WIRE:LTUH:735:SCANTEXT") { field(DESC, "WS32 Wire Scan Status") field(ASG, "WIREUSER") field(VAL, "READY to START Wire Scan") field(SCAN, "Passive") field(PINI, "YES") } #! Further lines contain data used by VisualDCT #! View(-194,-11,0.7) #! Record("WIRE:LTUH:735:STARTSCAN",20,23,0,0,"WIRE:LTUH:735:STARTSCAN") #! Record("WIRE:LTUH:735:SCANTOCENTER",260,23,0,0,"WIRE:LTUH:735:SCANTOCENTER") #! Record("WIRE:LTUH:735:INSTALLANGLE",500,18,0,0,"WIRE:LTUH:735:INSTALLANGLE") #! Record("WIRE:LTUH:735:POSNTHRESH",740,18,0,0,"WIRE:LTUH:735:POSNTHRESH") #! Record("WIRE:LTUH:735:SCANTIME",980,12,0,0,"WIRE:LTUH:735:SCANTIME") #! Record("WIRE:LTUH:735:HADSUCCESS",1220,22,0,0,"WIRE:LTUH:735:HADSUCCESS") #! Record("WIRE:LTUH:735:RETRIES",1460,12,0,0,"WIRE:LTUH:735:RETRIES") #! Record("WIRE:LTUH:735:CURRENTRETRY",1700,12,0,0,"WIRE:LTUH:735:CURRENTRETRY") #! Record("WIRE:LTUH:735:HASXWIRE",1940,23,0,0,"WIRE:LTUH:735:HASXWIRE") #! Record("WIRE:LTUH:735:USEXWIRE",2180,23,0,0,"WIRE:LTUH:735:USEXWIRE") #! Record("WIRE:LTUH:735:XWIREOFFSET",2420,18,0,0,"WIRE:LTUH:735:XWIREOFFSET") #! Record("WIRE:LTUH:735:XWIREOUTER",20,19,0,0,"WIRE:LTUH:735:XWIREOUTER") #! Record("WIRE:LTUH:735:XWIREINNER",260,19,0,0,"WIRE:LTUH:735:XWIREINNER") #! Record("WIRE:LTUH:735:HASYWIRE",3140,23,0,0,"WIRE:LTUH:735:HASYWIRE") #! Record("WIRE:LTUH:735:USEYWIRE",3380,23,0,0,"WIRE:LTUH:735:USEYWIRE") #! Record("WIRE:LTUH:735:YWIREOFFSET",3620,18,0,0,"WIRE:LTUH:735:YWIREOFFSET") #! Record("WIRE:LTUH:735:YWIREOUTER",3860,19,0,0,"WIRE:LTUH:735:YWIREOUTER") #! Record("WIRE:LTUH:735:YWIREINNER",4100,19,0,0,"WIRE:LTUH:735:YWIREINNER") #! Record("WIRE:LTUH:735:HASUWIRE",4340,23,0,0,"WIRE:LTUH:735:HASUWIRE") #! Record("WIRE:LTUH:735:USEUWIRE",4580,23,0,0,"WIRE:LTUH:735:USEUWIRE") #! Record("WIRE:LTUH:735:UWIREOFFSET",20,378,0,0,"WIRE:LTUH:735:UWIREOFFSET") #! Record("WIRE:LTUH:735:UWIREOUTER",260,319,0,0,"WIRE:LTUH:735:UWIREOUTER") #! Record("WIRE:LTUH:735:UWIREINNER",500,319,0,0,"WIRE:LTUH:735:UWIREINNER") #! Record("WIRE:LTUH:735:SCANPOSSTART",740,378,0,0,"WIRE:LTUH:735:SCANPOSSTART") #! Record("WIRE:LTUH:735:SCANPOSSTOP",980,378,0,0,"WIRE:LTUH:735:SCANPOSSTOP") #! Record("WIRE:LTUH:735:SCANPULSES",1220,372,0,0,"WIRE:LTUH:735:SCANPULSES") #! Record("WIRE:LTUH:735:SCANDELAY",1460,378,0,0,"WIRE:LTUH:735:SCANDELAY") #! Record("WIRE:LTUH:735:SCANPROGRESS",1700,373,0,0,"WIRE:LTUH:735:SCANPROGRESS") #! Record("WIRE:LTUH:735:SCANTEXT",1940,372,0,0,"WIRE:LTUH:735:SCANTEXT") # # Angle of WIRE:LTUH:735 from beam's point of view # record(ao, "WIRE:LTUH:735:XWIRESIZE") { field(DESC, "Diam. of WS32 x wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "WIRE:LTUH:735:YWIRESIZE") { field(DESC, "Diam. of WS32 y wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } record(ao, "WIRE:LTUH:735:UWIRESIZE") { field(DESC, "Diam. of WS32 u wire") field(ASG, "WIREADMIN") field(EGU, "microns") field(VAL, "40") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } record(ai, "WIRE:LTUH:538:LVRAW") { field(DESC, "WSDL4 LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@0,0) MOC_LTUH_5") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "WIRE:LTUH:538:LVPOS_SUB") } #record(ai, "WIRE:LTUH:538:LVRAW_MODE") { # field(DESC, "WSDL4 LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@0) MOC_LTUH_5") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "WIRE:LTUH:538:LVPOS_SUB") #} record(compress, "WIRE:LTUH:538:LVRAW_AVERAGED") { field(DESC, "WSDL4 LVDT Averaged Value") field(INP, "WIRE:LTUH:538:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "WIRE:LTUH:538:LVPOS_SUB") { field(DESC, "WSDL4 Position") field(SCAN, "Passive") field(INPA, "7661.28068802") field(INPB, "-2920.77686028") field(INPC, "-0.605255667552") field(INPD, "10.8701319049") field(INPE, "0.00258269789188") field(INPF, "-0.141701602559") field(INPG, "0.000146978578352") field(INPH, "0.00070") field(INPL, "WIRE:LTUH:538:LVRAW") field(PREC, "4") field(PINI, "YES") field(INAM, "InitPoly") field(SNAM, "CalcPoly") info(autosaveFields, "A B C D E F G H") } record(ao, "WIRE:LTUH:538:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "WIRE:LTUH:538:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35000") field(LOLO, "-20000") field(HIGH, "33000") field(LOW, "-19000") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "WIRE:LTUH:538:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "WIRE:LTUH:538:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "WIRE:LTUH:538:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn paramter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Addrres based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "WIRE:LTUH:538:Velo") { field(DTYP, "asynFloat64") field(DESC, "WireScanner Velo") field(PINI, "YES") field(SCAN, "1 second") field(EGU, "um/sec") field(HIGH, "") field(HSV, "") field(LOW, "") field(LSV, "") field(EGU, "um/sec") field(INP, "@asyn(cpsw,2)MVR0:Velo") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn paramter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Addrres based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "WIRE:LTUH:538:CalcPos") { field(DTYP, "asynFloat64") field(DESC, "Coeff/Count") field(PINI, "YES") field(SCAN, "1 second") field(EGU, "") field(HIGH, "") field(HSV, "") field(LOW, "") field(LSV, "") field(EGU, "") field(INP, "@asyn(cpsw,2)MVR0:CalcPos") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:538:CoefPos") { field(DTYP, "asynFloat64") field(DESC, "Counts/um") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR0:CoefPos") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:538:CoefVel") { field(DTYP, "asynFloat64") field(DESC, "um/Counts/time") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR0:CoefVel") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:538:LLimPos") { field(DTYP, "asynFloat64") field(DESC, "LLim Position") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR0:LLimPos") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:538:MPSMonStartPos") { field(DTYP, "asynFloat64") field(DESC, "MPS Monitor Start") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR0:MPSMonStart") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:538:MPSMonStopPos") { field(DTYP, "asynFloat64") field(DESC, "Stop MPS Monitor") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR0:MPSMonStop") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:538:EndOfScanPos") { field(DTYP, "asynFloat64") field(DESC, "End of Scan Pos") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR0:EndOfScan") info(autosaveFields, "VAL") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:538:CoefPosRBV") { field(DTYP, "asynFloat64") field(DESC, "Counts/um RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR0:CoefPos") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:538:CoefVelRBV") { field(DTYP, "asynFloat64") field(DESC, "um/time/Counts RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR0:CoefVel") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:538:LLimPosRBV") { field(DTYP, "asynFloat64") field(DESC, "LLim Position RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR0:LLimPos") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:538:MPSMonStartPosRBV") { field(DTYP, "asynFloat64") field(DESC, "MPS Monitor Start RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR0:MPSMonStart") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:538:MPSMonStopPosRBV") { field(DTYP, "asynFloat64") field(DESC, "Stop MPS Monitor RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR0:MPSMonStop") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:538:EndOfScanPosRBV") { field(DTYP, "asynFloat64") field(DESC, "End of Scan Pos RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR0:EndOfScan") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding register. # It is a longout record with type asynInt32. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longout, "WIRE:LTUH:538:VelTOThresh") { field(DTYP, "asynInt32") field(DESC, "Vel Timeout Thres") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,1)MVR:SpeedTOThresh") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding register. # It is a longout record with type asynInt32. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longout, "WIRE:LTUH:538:ChargeThresh") { field(DTYP, "asynInt32") field(DESC, "ChargeThreshold") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,1)MVR:ChargeThresh") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding register. # It is a longout record with type asynInt32. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longout, "WIRE:LTUH:538:RepRateThresh") { field(DTYP, "asynInt32") field(DESC, "Allowed RepRate") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,1)MVR:RepRateThresh") info(autosaveFields, "VAL") } #================================================================== # Record example for reading back from an IntField, RW, 1 element, # no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longin, "WIRE:LTUH:538:VelTOThreshRBV") { field(DTYP, "asynInt32") field(DESC, "Vel TO Thresh RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,1)MVR:SpeedTOThresh") } #================================================================== # Record example for reading back from an IntField, RW, 1 element, # no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longin, "WIRE:LTUH:538:ChargeThreshRBV") { field(DTYP, "asynInt32") field(DESC, "ChargeThreshold RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,1)MVR:ChargeThresh") } #================================================================== # Record example for reading back from an IntField, RW, 1 element, # no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longin, "WIRE:LTUH:538:RepRateThreshRBV") { field(DTYP, "asynInt32") field(DESC, "Allowed RepRateRBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,1)MVR:RepRateThresh") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:538:LLSSwCtrlEn") { field(DTYP, "asynUInt32Digital") field(DESC, "LLS SwCtrl Enable") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR0:LimitSwtchSWCtrlEn") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:538:LLSSwCtrl") { field(DTYP, "asynUInt32Digital") field(DESC, "Encoder Counter Reset") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR0:LimitSwtchSWCtrl") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:538:Ctrl") { field(DTYP, "asynUInt32Digital") field(DESC, "Reset control") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR0:MoverCtrl") field(ZNAM, "ATCA") field(ONAM, "LimitSw") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:538:Stop") { field(DTYP, "asynUInt32Digital") field(DESC, "Stop command from FPGA") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR0:MoverStop") field(ZNAM, "OK") field(ONAM, "STOP") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:538:SwFltCtrlEn") { field(DTYP, "asynUInt32Digital") field(DESC, "SW Fault Ctrl Enable") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR0:MoverFltSimEn") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:538:SwFltCtrl") { field(DTYP, "asynUInt32Digital") field(DESC, "SW Fault Ctrl") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR0:MoverFltSim") field(ZNAM, "OK") field(ONAM, "FAULT") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn paramter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Addrres based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "WIRE:LTUH:715:Velo") { field(DTYP, "asynFloat64") field(DESC, "WireScanner Velo") field(PINI, "YES") field(SCAN, "1 second") field(EGU, "um/sec") field(HIGH, "") field(HSV, "") field(LOW, "") field(LSV, "") field(EGU, "um/sec") field(INP, "@asyn(cpsw,2)MVR1:Velo") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn paramter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Addrres based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "WIRE:LTUH:715:CalcPos") { field(DTYP, "asynFloat64") field(DESC, "Coeff/Count") field(PINI, "YES") field(SCAN, "1 second") field(EGU, "") field(HIGH, "") field(HSV, "") field(LOW, "") field(LSV, "") field(EGU, "") field(INP, "@asyn(cpsw,2)MVR1:CalcPos") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:715:CoefPos") { field(DTYP, "asynFloat64") field(DESC, "Counts/um") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR1:CoefPos") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:715:CoefVel") { field(DTYP, "asynFloat64") field(DESC, "um/Counts/time") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR1:CoefVel") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:715:LLimPos") { field(DTYP, "asynFloat64") field(DESC, "LLim Position") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR1:LLimPos") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:715:MPSMonStartPos") { field(DTYP, "asynFloat64") field(DESC, "MPS Monitor Start") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR1:MPSMonStart") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:715:MPSMonStopPos") { field(DTYP, "asynFloat64") field(DESC, "Stop MPS Monitor") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR1:MPSMonStop") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:715:EndOfScanPos") { field(DTYP, "asynFloat64") field(DESC, "End of Scan Pos") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR1:EndOfScan") info(autosaveFields, "VAL") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:715:CoefPosRBV") { field(DTYP, "asynFloat64") field(DESC, "Counts/um RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR1:CoefPos") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:715:CoefVelRBV") { field(DTYP, "asynFloat64") field(DESC, "um/time/Counts RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR1:CoefVel") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:715:LLimPosRBV") { field(DTYP, "asynFloat64") field(DESC, "LLim Position RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR1:LLimPos") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:715:MPSMonStartPosRBV") { field(DTYP, "asynFloat64") field(DESC, "MPS Monitor Start RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR1:MPSMonStart") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:715:MPSMonStopPosRBV") { field(DTYP, "asynFloat64") field(DESC, "Stop MPS Monitor RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR1:MPSMonStop") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:715:EndOfScanPosRBV") { field(DTYP, "asynFloat64") field(DESC, "End of Scan Pos RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR1:EndOfScan") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding register. # It is a longout record with type asynInt32. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longout, "WIRE:LTUH:715:VelTOThresh") { field(DTYP, "asynInt32") field(DESC, "Vel Timeout Thres") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,1)MVR:SpeedTOThresh") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding register. # It is a longout record with type asynInt32. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longout, "WIRE:LTUH:715:ChargeThresh") { field(DTYP, "asynInt32") field(DESC, "ChargeThreshold") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,1)MVR:ChargeThresh") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding register. # It is a longout record with type asynInt32. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longout, "WIRE:LTUH:715:RepRateThresh") { field(DTYP, "asynInt32") field(DESC, "Allowed RepRate") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,1)MVR:RepRateThresh") info(autosaveFields, "VAL") } #================================================================== # Record example for reading back from an IntField, RW, 1 element, # no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longin, "WIRE:LTUH:715:VelTOThreshRBV") { field(DTYP, "asynInt32") field(DESC, "Vel TO Thresh RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,1)MVR:SpeedTOThresh") } #================================================================== # Record example for reading back from an IntField, RW, 1 element, # no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longin, "WIRE:LTUH:715:ChargeThreshRBV") { field(DTYP, "asynInt32") field(DESC, "ChargeThreshold RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,1)MVR:ChargeThresh") } #================================================================== # Record example for reading back from an IntField, RW, 1 element, # no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longin, "WIRE:LTUH:715:RepRateThreshRBV") { field(DTYP, "asynInt32") field(DESC, "Allowed RepRateRBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,1)MVR:RepRateThresh") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:715:LLSSwCtrlEn") { field(DTYP, "asynUInt32Digital") field(DESC, "LLS SwCtrl Enable") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR1:LimitSwtchSWCtrlEn") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:715:LLSSwCtrl") { field(DTYP, "asynUInt32Digital") field(DESC, "Encoder Counter Reset") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR1:LimitSwtchSWCtrl") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:715:Ctrl") { field(DTYP, "asynUInt32Digital") field(DESC, "Reset control") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR1:MoverCtrl") field(ZNAM, "ATCA") field(ONAM, "LimitSw") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:715:Stop") { field(DTYP, "asynUInt32Digital") field(DESC, "Stop command from FPGA") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR1:MoverStop") field(ZNAM, "OK") field(ONAM, "STOP") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:715:SwFltCtrlEn") { field(DTYP, "asynUInt32Digital") field(DESC, "SW Fault Ctrl Enable") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR1:MoverFltSimEn") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:715:SwFltCtrl") { field(DTYP, "asynUInt32Digital") field(DESC, "SW Fault Ctrl") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR1:MoverFltSim") field(ZNAM, "OK") field(ONAM, "FAULT") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn paramter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Addrres based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "WIRE:LTUH:735:Velo") { field(DTYP, "asynFloat64") field(DESC, "WireScanner Velo") field(PINI, "YES") field(SCAN, "1 second") field(EGU, "um/sec") field(HIGH, "") field(HSV, "") field(LOW, "") field(LSV, "") field(EGU, "um/sec") field(INP, "@asyn(cpsw,2)MVR2:Velo") } #================================================================== # Record example for an IntField, RO, 1 element, IEEE_754 encoding # register. # It is a ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn paramter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Addrres based on the type of register. # For IntField, RO, with IEEE_754 encoding is 2. #================================================================== record(ai, "WIRE:LTUH:735:CalcPos") { field(DTYP, "asynFloat64") field(DESC, "Coeff/Count") field(PINI, "YES") field(SCAN, "1 second") field(EGU, "") field(HIGH, "") field(HSV, "") field(LOW, "") field(LSV, "") field(EGU, "") field(INP, "@asyn(cpsw,2)MVR2:CalcPos") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:735:CoefPos") { field(DTYP, "asynFloat64") field(DESC, "Counts/um") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR2:CoefPos") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:735:CoefVel") { field(DTYP, "asynFloat64") field(DESC, "um/Counts/time") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR2:CoefVel") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:735:LLimPos") { field(DTYP, "asynFloat64") field(DESC, "LLim Position") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR2:LLimPos") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:735:MPSMonStartPos") { field(DTYP, "asynFloat64") field(DESC, "MPS Monitor Start") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR2:MPSMonStart") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:735:MPSMonStopPos") { field(DTYP, "asynFloat64") field(DESC, "Stop MPS Monitor") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR2:MPSMonStop") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, IEEE_754 encoding # register. # It is an ao record with type asynFloat64. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ao, "WIRE:LTUH:735:EndOfScanPos") { field(DTYP, "asynFloat64") field(DESC, "End of Scan Pos") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,3)MVR2:EndOfScan") info(autosaveFields, "VAL") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:735:CoefPosRBV") { field(DTYP, "asynFloat64") field(DESC, "Counts/um RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR2:CoefPos") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:735:CoefVelRBV") { field(DTYP, "asynFloat64") field(DESC, "um/time/Counts RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR2:CoefVel") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:735:LLimPosRBV") { field(DTYP, "asynFloat64") field(DESC, "LLim Position RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR2:LLimPos") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:735:MPSMonStartPosRBV") { field(DTYP, "asynFloat64") field(DESC, "MPS Monitor Start RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR2:MPSMonStart") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:735:MPSMonStopPosRBV") { field(DTYP, "asynFloat64") field(DESC, "Stop MPS Monitor RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR2:MPSMonStop") } #================================================================== # Record example for reading back an IntField, RW, 1 element, # IEEE_754 encoding register. # It is an ai record with type asynFloat64. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, with IEEE_754 encoding is 3. #================================================================== record(ai, "WIRE:LTUH:735:EndOfScanPosRBV") { field(DTYP, "asynFloat64") field(DESC, "End of Scan Pos RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,3)MVR2:EndOfScan") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding register. # It is a longout record with type asynInt32. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longout, "WIRE:LTUH:735:VelTOThresh") { field(DTYP, "asynInt32") field(DESC, "Vel Timeout Thres") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,1)MVR:SpeedTOThresh") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding register. # It is a longout record with type asynInt32. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longout, "WIRE:LTUH:735:ChargeThresh") { field(DTYP, "asynInt32") field(DESC, "ChargeThreshold") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,1)MVR:ChargeThresh") info(autosaveFields, "VAL") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding register. # It is a longout record with type asynInt32. # The OUT field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longout, "WIRE:LTUH:735:RepRateThresh") { field(DTYP, "asynInt32") field(DESC, "Allowed RepRate") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asyn(cpsw,1)MVR:RepRateThresh") info(autosaveFields, "VAL") } #================================================================== # Record example for reading back from an IntField, RW, 1 element, # no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longin, "WIRE:LTUH:735:VelTOThreshRBV") { field(DTYP, "asynInt32") field(DESC, "Vel TO Thresh RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,1)MVR:SpeedTOThresh") } #================================================================== # Record example for reading back from an IntField, RW, 1 element, # no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longin, "WIRE:LTUH:735:ChargeThreshRBV") { field(DTYP, "asynInt32") field(DESC, "ChargeThreshold RBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,1)MVR:ChargeThresh") } #================================================================== # Record example for reading back from an IntField, RW, 1 element, # no encoding register. # It is a longin record with type asynInt32. # The INP field has the form @asyn(PORT,ADDR)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(longin, "WIRE:LTUH:735:RepRateThreshRBV") { field(DTYP, "asynInt32") field(DESC, "Allowed RepRateRBV") field(PINI, "YES") field(SCAN, "1 second") field(INP, "@asyn(cpsw,1)MVR:RepRateThresh") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:735:LLSSwCtrlEn") { field(DTYP, "asynUInt32Digital") field(DESC, "LLS SwCtrl Enable") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR2:LimitSwtchSWCtrlEn") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:735:LLSSwCtrl") { field(DTYP, "asynUInt32Digital") field(DESC, "Encoder Counter Reset") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR2:LimitSwtchSWCtrl") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:735:Ctrl") { field(DTYP, "asynUInt32Digital") field(DESC, "Reset control") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR2:MoverCtrl") field(ZNAM, "ATCA") field(ONAM, "LimitSw") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:735:Stop") { field(DTYP, "asynUInt32Digital") field(DESC, "Stop command from FPGA") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR2:MoverStop") field(ZNAM, "OK") field(ONAM, "STOP") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:735:SwFltCtrlEn") { field(DTYP, "asynUInt32Digital") field(DESC, "SW Fault Ctrl Enable") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR2:MoverFltSimEn") field(ZNAM, "Disabled") field(ONAM, "Enabled") } #================================================================== # Record example for an IntField, RW, 1 element, no encoding, # enum (1-bit) register. # It is a bo record with type asynUInt32Digital. # The OUT field has the form @asynMask(PORT,ADDR,MASK)PARAM where: # - PORT : The asyn port name. It must match the port name given # when calling "YCPSWASYNConfig" on st.cmd # - PARAM : The asyn parameter name. It must be defined in the # dictionary file and assigned to a register. # - MASK : It is 1 for 1-bit register. # - ADDR : Address based on the type of register. # For IntField, RW, without encoding is 1. #================================================================== record(bo, "WIRE:LTUH:735:SwFltCtrl") { field(DTYP, "asynUInt32Digital") field(DESC, "SW Fault Ctrl") field(PINI, "NO") field(SCAN, "Passive") field(OUT, "@asynMask(cpsw,1,1)MVR2:MoverFltSim") field(ZNAM, "OK") field(ONAM, "FAULT") }