record(asyn,"SIOC:HTR:MC01:ASYN") { field(DTYP,"asynRecordDevice") field(PORT,"MOC_HTR_1") 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:HTR:MC01 - MOC:B34:MC01 # MOC_HTR_1 - asyn port name # 1 - 1 through 4 # 1 - 1 through 4 ########################################################################### record(longin, "MOC:HTR:MC01:TASK1ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(1) MOC_HTR_1") field(PINI, "YES") } record(longin, "MOC:HTR:MC01:TASK1STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(1) MOC_HTR_1") field(PINI, "YES") field(FLNK, "MOC:HTR:MC01:TASK1CALC") } record(calcout, "MOC:HTR:MC01:TASK1CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:HTR:MC01:TASK1STATRAW") field(CALC, "2^A") field(OUT, "MOC:HTR:MC01:TASK1STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:HTR:MC01: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:HTR:MC01: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:HTR:MC01 - MOC:B34:MC01 # MOC_HTR_1 - asyn port name # 2 - 1 through 4 # 2 - 1 through 4 ########################################################################### record(longin, "MOC:HTR:MC01:TASK2ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(2) MOC_HTR_1") field(PINI, "YES") } record(longin, "MOC:HTR:MC01:TASK2STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(2) MOC_HTR_1") field(PINI, "YES") field(FLNK, "MOC:HTR:MC01:TASK2CALC") } record(calcout, "MOC:HTR:MC01:TASK2CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:HTR:MC01:TASK2STATRAW") field(CALC, "2^A") field(OUT, "MOC:HTR:MC01:TASK2STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:HTR:MC01: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:HTR:MC01: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:HTR:MC01 - MOC:B34:MC01 # MOC_HTR_1 - asyn port name # 3 - 1 through 4 # 3 - 1 through 4 ########################################################################### record(longin, "MOC:HTR:MC01:TASK3ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(3) MOC_HTR_1") field(PINI, "YES") } record(longin, "MOC:HTR:MC01:TASK3STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(3) MOC_HTR_1") field(PINI, "YES") field(FLNK, "MOC:HTR:MC01:TASK3CALC") } record(calcout, "MOC:HTR:MC01:TASK3CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:HTR:MC01:TASK3STATRAW") field(CALC, "2^A") field(OUT, "MOC:HTR:MC01:TASK3STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:HTR:MC01: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:HTR:MC01: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:HTR:MC01 - MOC:B34:MC01 # MOC_HTR_1 - asyn port name # 4 - 1 through 4 # 4 - 1 through 4 ########################################################################### record(longin, "MOC:HTR:MC01:TASK4ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(4) MOC_HTR_1") field(PINI, "YES") } record(longin, "MOC:HTR:MC01:TASK4STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(4) MOC_HTR_1") field(PINI, "YES") field(FLNK, "MOC:HTR:MC01:TASK4CALC") } record(calcout, "MOC:HTR:MC01:TASK4CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:HTR:MC01:TASK4STATRAW") field(CALC, "2^A") field(OUT, "MOC:HTR:MC01:TASK4STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:HTR:MC01: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:HTR:MC01: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:HTR:MC01 - MOC:B34:MC01 # MOC_HTR_1 - asyn port name # 5 - 1 through 4 # 5 - 1 through 4 ########################################################################### record(longin, "MOC:HTR:MC01:TASK5ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(5) MOC_HTR_1") field(PINI, "YES") } record(longin, "MOC:HTR:MC01:TASK5STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(5) MOC_HTR_1") field(PINI, "YES") field(FLNK, "MOC:HTR:MC01:TASK5CALC") } record(calcout, "MOC:HTR:MC01:TASK5CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:HTR:MC01:TASK5STATRAW") field(CALC, "2^A") field(OUT, "MOC:HTR:MC01:TASK5STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:HTR:MC01: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:HTR:MC01:AXIS5NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechController.template # Description: Contains aerotech specific pv`s # Macros: # MOC:HTR:MC01 - MOC:B34:MC01 # MOC_HTR_1 - asyn port name ########################################################################### record(stringout, "MOC:HTR:MC01:LOCA") { field(DESC, "Location") field(VAL,"") info(autosaveFields, "VAL") } record(stringout, "MOC:HTR:MC01:RESET") { field(DESC, "Aerotech controller Reset") field(DTYP, "stream") field(OUT, "@aerotech.proto reset MOC_HTR_1") } record(stringout, "MOC:HTR:MC01:ACKALL") { field(DESC, "Aerotech controller Acknowledge All") field(DTYP, "stream") field(OUT, "@aerotech.proto ackAll MOC_HTR_1") } record(stringout, "MOC:HTR:MC01:TASK4START") { field(DESC, "Aerotech task restart") field(DTYP, "stream") field(OUT, "@aerotech.proto taskRestart MOC_HTR_1") } record(ao,"MOC:HTR:MC01:AXISCOUNT"){ field(DESC, "Aerotech controller axis count") field(VAL,"") info(autosaveFields, "VAL") } record(asyn,"MOC:HTR:MC01:ASYN") { field(DTYP,"asynRecordDevice") field(PORT,"MOC_HTR_1") 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:HTR:MC03 - MOC:B34:MC01 # MOC_HTR_3 - asyn port name # 1 - 1 through 4 # 1 - 1 through 4 ########################################################################### record(longin, "MOC:HTR:MC03:TASK1ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(1) MOC_HTR_3") field(PINI, "YES") } record(longin, "MOC:HTR:MC03:TASK1STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(1) MOC_HTR_3") field(PINI, "YES") field(FLNK, "MOC:HTR:MC03:TASK1CALC") } record(calcout, "MOC:HTR:MC03:TASK1CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:HTR:MC03:TASK1STATRAW") field(CALC, "2^A") field(OUT, "MOC:HTR:MC03:TASK1STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:HTR:MC03: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:HTR:MC03: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:HTR:MC03 - MOC:B34:MC01 # MOC_HTR_3 - asyn port name # 2 - 1 through 4 # 2 - 1 through 4 ########################################################################### record(longin, "MOC:HTR:MC03:TASK2ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(2) MOC_HTR_3") field(PINI, "YES") } record(longin, "MOC:HTR:MC03:TASK2STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(2) MOC_HTR_3") field(PINI, "YES") field(FLNK, "MOC:HTR:MC03:TASK2CALC") } record(calcout, "MOC:HTR:MC03:TASK2CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:HTR:MC03:TASK2STATRAW") field(CALC, "2^A") field(OUT, "MOC:HTR:MC03:TASK2STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:HTR:MC03: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:HTR:MC03: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:HTR:MC03 - MOC:B34:MC01 # MOC_HTR_3 - asyn port name # 3 - 1 through 4 # 3 - 1 through 4 ########################################################################### record(longin, "MOC:HTR:MC03:TASK3ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(3) MOC_HTR_3") field(PINI, "YES") } record(longin, "MOC:HTR:MC03:TASK3STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(3) MOC_HTR_3") field(PINI, "YES") field(FLNK, "MOC:HTR:MC03:TASK3CALC") } record(calcout, "MOC:HTR:MC03:TASK3CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:HTR:MC03:TASK3STATRAW") field(CALC, "2^A") field(OUT, "MOC:HTR:MC03:TASK3STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:HTR:MC03: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:HTR:MC03: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:HTR:MC03 - MOC:B34:MC01 # MOC_HTR_3 - asyn port name # 4 - 1 through 4 # 4 - 1 through 4 ########################################################################### record(longin, "MOC:HTR:MC03:TASK4ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(4) MOC_HTR_3") field(PINI, "YES") } record(longin, "MOC:HTR:MC03:TASK4STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(4) MOC_HTR_3") field(PINI, "YES") field(FLNK, "MOC:HTR:MC03:TASK4CALC") } record(calcout, "MOC:HTR:MC03:TASK4CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:HTR:MC03:TASK4STATRAW") field(CALC, "2^A") field(OUT, "MOC:HTR:MC03:TASK4STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:HTR:MC03: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:HTR:MC03: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:HTR:MC03 - MOC:B34:MC01 # MOC_HTR_3 - asyn port name # 5 - 1 through 4 # 5 - 1 through 4 ########################################################################### record(longin, "MOC:HTR:MC03:TASK5ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(5) MOC_HTR_3") field(PINI, "YES") } record(longin, "MOC:HTR:MC03:TASK5STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(5) MOC_HTR_3") field(PINI, "YES") field(FLNK, "MOC:HTR:MC03:TASK5CALC") } record(calcout, "MOC:HTR:MC03:TASK5CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:HTR:MC03:TASK5STATRAW") field(CALC, "2^A") field(OUT, "MOC:HTR:MC03:TASK5STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:HTR:MC03: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:HTR:MC03:AXIS5NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechController.template # Description: Contains aerotech specific pv`s # Macros: # MOC:HTR:MC03 - MOC:B34:MC01 # MOC_HTR_3 - asyn port name ########################################################################### record(stringout, "MOC:HTR:MC03:LOCA") { field(DESC, "Location") field(VAL,"") info(autosaveFields, "VAL") } record(stringout, "MOC:HTR:MC03:RESET") { field(DESC, "Aerotech controller Reset") field(DTYP, "stream") field(OUT, "@aerotech.proto reset MOC_HTR_3") } record(stringout, "MOC:HTR:MC03:ACKALL") { field(DESC, "Aerotech controller Acknowledge All") field(DTYP, "stream") field(OUT, "@aerotech.proto ackAll MOC_HTR_3") } record(stringout, "MOC:HTR:MC03:TASK4START") { field(DESC, "Aerotech task restart") field(DTYP, "stream") field(OUT, "@aerotech.proto taskRestart MOC_HTR_3") } record(ao,"MOC:HTR:MC03:AXISCOUNT"){ field(DESC, "Aerotech controller axis count") field(VAL,"") info(autosaveFields, "VAL") } record(asyn,"MOC:HTR:MC03:ASYN") { field(DTYP,"asynRecordDevice") field(PORT,"MOC_HTR_3") 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:COL0:MC01 - MOC:B34:MC01 # MOC_COL0_1 - asyn port name # 1 - 1 through 4 # 1 - 1 through 4 ########################################################################### record(longin, "MOC:COL0:MC01:TASK1ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(1) MOC_COL0_1") field(PINI, "YES") } record(longin, "MOC:COL0:MC01:TASK1STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(1) MOC_COL0_1") field(PINI, "YES") field(FLNK, "MOC:COL0:MC01:TASK1CALC") } record(calcout, "MOC:COL0:MC01:TASK1CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:COL0:MC01:TASK1STATRAW") field(CALC, "2^A") field(OUT, "MOC:COL0:MC01:TASK1STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:COL0:MC01: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:COL0:MC01: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:COL0:MC01 - MOC:B34:MC01 # MOC_COL0_1 - asyn port name # 2 - 1 through 4 # 2 - 1 through 4 ########################################################################### record(longin, "MOC:COL0:MC01:TASK2ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(2) MOC_COL0_1") field(PINI, "YES") } record(longin, "MOC:COL0:MC01:TASK2STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(2) MOC_COL0_1") field(PINI, "YES") field(FLNK, "MOC:COL0:MC01:TASK2CALC") } record(calcout, "MOC:COL0:MC01:TASK2CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:COL0:MC01:TASK2STATRAW") field(CALC, "2^A") field(OUT, "MOC:COL0:MC01:TASK2STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:COL0:MC01: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:COL0:MC01: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:COL0:MC01 - MOC:B34:MC01 # MOC_COL0_1 - asyn port name # 3 - 1 through 4 # 3 - 1 through 4 ########################################################################### record(longin, "MOC:COL0:MC01:TASK3ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(3) MOC_COL0_1") field(PINI, "YES") } record(longin, "MOC:COL0:MC01:TASK3STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(3) MOC_COL0_1") field(PINI, "YES") field(FLNK, "MOC:COL0:MC01:TASK3CALC") } record(calcout, "MOC:COL0:MC01:TASK3CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:COL0:MC01:TASK3STATRAW") field(CALC, "2^A") field(OUT, "MOC:COL0:MC01:TASK3STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:COL0:MC01: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:COL0:MC01: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:COL0:MC01 - MOC:B34:MC01 # MOC_COL0_1 - asyn port name # 4 - 1 through 4 # 4 - 1 through 4 ########################################################################### record(longin, "MOC:COL0:MC01:TASK4ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(4) MOC_COL0_1") field(PINI, "YES") } record(longin, "MOC:COL0:MC01:TASK4STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(4) MOC_COL0_1") field(PINI, "YES") field(FLNK, "MOC:COL0:MC01:TASK4CALC") } record(calcout, "MOC:COL0:MC01:TASK4CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:COL0:MC01:TASK4STATRAW") field(CALC, "2^A") field(OUT, "MOC:COL0:MC01:TASK4STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:COL0:MC01: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:COL0:MC01: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:COL0:MC01 - MOC:B34:MC01 # MOC_COL0_1 - asyn port name # 5 - 1 through 4 # 5 - 1 through 4 ########################################################################### record(longin, "MOC:COL0:MC01:TASK5ERROR") { field(DESC, "Aerotech controller task error") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskError(5) MOC_COL0_1") field(PINI, "YES") } record(longin, "MOC:COL0:MC01:TASK5STATRAW") { field(DESC, "Aerotech controller task state") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto taskState(5) MOC_COL0_1") field(PINI, "YES") field(FLNK, "MOC:COL0:MC01:TASK5CALC") } record(calcout, "MOC:COL0:MC01:TASK5CALC") { field(DESC, "Aerotech task state calculation") field(INPA, "MOC:COL0:MC01:TASK5STATRAW") field(CALC, "2^A") field(OUT, "MOC:COL0:MC01:TASK5STAT PP NMS") field(OOPT, "Every Time") } record(mbbi, "MOC:COL0:MC01: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:COL0:MC01:AXIS5NAME"){ field(DESC, "Aerotech controller axis name") field(VAL,"") info(autosaveFields, "VAL") } ############################################################################ # File: aerotechController.template # Description: Contains aerotech specific pv`s # Macros: # MOC:COL0:MC01 - MOC:B34:MC01 # MOC_COL0_1 - asyn port name ########################################################################### record(stringout, "MOC:COL0:MC01:LOCA") { field(DESC, "Location") field(VAL,"") info(autosaveFields, "VAL") } record(stringout, "MOC:COL0:MC01:RESET") { field(DESC, "Aerotech controller Reset") field(DTYP, "stream") field(OUT, "@aerotech.proto reset MOC_COL0_1") } record(stringout, "MOC:COL0:MC01:ACKALL") { field(DESC, "Aerotech controller Acknowledge All") field(DTYP, "stream") field(OUT, "@aerotech.proto ackAll MOC_COL0_1") } record(stringout, "MOC:COL0:MC01:TASK4START") { field(DESC, "Aerotech task restart") field(DTYP, "stream") field(OUT, "@aerotech.proto taskRestart MOC_COL0_1") } record(ao,"MOC:COL0:MC01:AXISCOUNT"){ field(DESC, "Aerotech controller axis count") field(VAL,"") info(autosaveFields, "VAL") } record(asyn,"MOC:COL0:MC01:ASYN") { field(DTYP,"asynRecordDevice") field(PORT,"MOC_COL0_1") 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, "USEG:HTR:650:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@0) MOC_HTR_1") field(SCAN, "1 second") } record(mbbiDirect, "USEG:HTR:650:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "USEG:HTR:650:DISTAT CP MS") } record(mbbiDirect, "USEG:HTR:650:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "USEG:HTR:650:DISTAT CP MS") field(SHFT, "16") } record(ai, "USEG:HTR:650:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@0) MOC_HTR_1") field(SCAN, "1 second") } record(ai, "USEG:HTR:650:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@0) MOC_HTR_1") field(SCAN, "1 second") } record(ai, "USEG:HTR:650:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_HTR_1") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "USEG:HTR:650:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "USEG:HTR:650:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "USEG:HTR:650:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "USEG:HTR:650:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "USEG:HTR:650:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "USEG:HTR:650:STAT CP MS") } record(mbbiDirect, "USEG:HTR:650:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "USEG:HTR:650:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "USEG:HTR:650:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "USEG:HTR:650:FAULT CP MS") } record(mbbiDirect, "USEG:HTR:650:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "USEG:HTR:650:FAULT CP MS") field(SHFT, "16") } record(bi, "USEG:HTR:650:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "USEG:HTR:650:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "USEG:HTR:650:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "USEG:HTR:650:STATS2.B6 CP MS") field(INPB, "USEG:HTR:650:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "USEG:HTR:650:CABLESTAT") } record(bo, "USEG:HTR:650:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "USEG:HTR:650:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "USEG:HTR:650:MOVEACTIVE") { field(DESC, "Move active") field(INP, "USEG:HTR:650:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "USEG:HTR:650:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@0) MOC_HTR_1") } record(stringout, "USEG:HTR:650:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@0) MOC_HTR_1") } record(stringout, "USEG:HTR:650:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@0) MOC_HTR_1") } record(stringout, "USEG:HTR:650:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@0) MOC_HTR_1") } record(stringout, "USEG:HTR:650:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@0) MOC_HTR_1") } record(ai, "USEG:HTR:650:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@0) MOC_HTR_1") field(SCAN, "1 second") field(PREC, 2) } record(ai, "USEG:HTR:650:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@0) MOC_HTR_1") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "USEG:HTR:650:EncOffset") { field(DESC, "UMHTR Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@0) MOC_HTR_1 ") 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, "USEG:HTR:650:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "USEG:HTR:650: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, "USEG:HTR:650:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "USEG:HTR:650: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, "COLL:COL0:790:NEGX:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@1) MOC_HTR_1") field(SCAN, "1 second") } record(mbbiDirect, "COLL:COL0:790:NEGX:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:NEGX:DISTAT CP MS") } record(mbbiDirect, "COLL:COL0:790:NEGX:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:NEGX:DISTAT CP MS") field(SHFT, "16") } record(ai, "COLL:COL0:790:NEGX:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@1) MOC_HTR_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:790:NEGX:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@1) MOC_HTR_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:790:NEGX:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_HTR_1") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "COLL:COL0:790:NEGX:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:NEGX:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "COLL:COL0:790:NEGX:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:NEGX:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:790:NEGX:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:NEGX:STAT CP MS") } record(mbbiDirect, "COLL:COL0:790:NEGX:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:NEGX:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:790:NEGX:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:NEGX:FAULT CP MS") } record(mbbiDirect, "COLL:COL0:790:NEGX:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:NEGX:FAULT CP MS") field(SHFT, "16") } record(bi, "COLL:COL0:790:NEGX:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "COLL:COL0:790:NEGX:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "COLL:COL0:790:NEGX:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "COLL:COL0:790:NEGX:STATS2.B6 CP MS") field(INPB, "COLL:COL0:790:NEGX:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "COLL:COL0:790:NEGX:CABLESTAT") } record(bo, "COLL:COL0:790:NEGX:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "COLL:COL0:790:NEGX:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "COLL:COL0:790:NEGX:MOVEACTIVE") { field(DESC, "Move active") field(INP, "COLL:COL0:790:NEGX:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "COLL:COL0:790:NEGX:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@1) MOC_HTR_1") } record(stringout, "COLL:COL0:790:NEGX:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@1) MOC_HTR_1") } record(stringout, "COLL:COL0:790:NEGX:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@1) MOC_HTR_1") } record(stringout, "COLL:COL0:790:NEGX:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@1) MOC_HTR_1") } record(stringout, "COLL:COL0:790:NEGX:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@1) MOC_HTR_1") } record(ai, "COLL:COL0:790:NEGX:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@1) MOC_HTR_1") field(SCAN, "1 second") field(PREC, 2) } record(ai, "COLL:COL0:790:NEGX:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@1) MOC_HTR_1") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "COLL:COL0:790:NEGX:EncOffset") { field(DESC, "CXC03-NEGX Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@1) MOC_HTR_1 ") 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, "COLL:COL0:790:NEGX:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:POSX:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@2) MOC_HTR_1") field(SCAN, "1 second") } record(mbbiDirect, "COLL:COL0:790:POSX:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:POSX:DISTAT CP MS") } record(mbbiDirect, "COLL:COL0:790:POSX:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:POSX:DISTAT CP MS") field(SHFT, "16") } record(ai, "COLL:COL0:790:POSX:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@2) MOC_HTR_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:790:POSX:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@2) MOC_HTR_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:790:POSX:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_HTR_1") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "COLL:COL0:790:POSX:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:POSX:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "COLL:COL0:790:POSX:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:POSX:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:790:POSX:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:POSX:STAT CP MS") } record(mbbiDirect, "COLL:COL0:790:POSX:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:POSX:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:790:POSX:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:POSX:FAULT CP MS") } record(mbbiDirect, "COLL:COL0:790:POSX:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:790:POSX:FAULT CP MS") field(SHFT, "16") } record(bi, "COLL:COL0:790:POSX:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "COLL:COL0:790:POSX:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "COLL:COL0:790:POSX:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "COLL:COL0:790:POSX:STATS2.B6 CP MS") field(INPB, "COLL:COL0:790:POSX:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "COLL:COL0:790:POSX:CABLESTAT") } record(bo, "COLL:COL0:790:POSX:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "COLL:COL0:790:POSX:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "COLL:COL0:790:POSX:MOVEACTIVE") { field(DESC, "Move active") field(INP, "COLL:COL0:790:POSX:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "COLL:COL0:790:POSX:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@2) MOC_HTR_1") } record(stringout, "COLL:COL0:790:POSX:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@2) MOC_HTR_1") } record(stringout, "COLL:COL0:790:POSX:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@2) MOC_HTR_1") } record(stringout, "COLL:COL0:790:POSX:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@2) MOC_HTR_1") } record(stringout, "COLL:COL0:790:POSX:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@2) MOC_HTR_1") } record(ai, "COLL:COL0:790:POSX:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@2) MOC_HTR_1") field(SCAN, "1 second") field(PREC, 2) } record(ai, "COLL:COL0:790:POSX:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@2) MOC_HTR_1") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "COLL:COL0:790:POSX:EncOffset") { field(DESC, "CXC03-POSX Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@2) MOC_HTR_1 ") 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, "COLL:COL0:790:POSX:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "COLL:COL0:790:POSX: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, "COLL:HTR:615:NEGX:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@0) MOC_HTR_3") field(SCAN, "1 second") } record(mbbiDirect, "COLL:HTR:615:NEGX:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:NEGX:DISTAT CP MS") } record(mbbiDirect, "COLL:HTR:615:NEGX:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:NEGX:DISTAT CP MS") field(SHFT, "16") } record(ai, "COLL:HTR:615:NEGX:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@0) MOC_HTR_3") field(SCAN, "1 second") } record(ai, "COLL:HTR:615:NEGX:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@0) MOC_HTR_3") field(SCAN, "1 second") } record(ai, "COLL:HTR:615:NEGX:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_HTR_3") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "COLL:HTR:615:NEGX:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:NEGX:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "COLL:HTR:615:NEGX:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:NEGX:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:HTR:615:NEGX:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:NEGX:STAT CP MS") } record(mbbiDirect, "COLL:HTR:615:NEGX:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:NEGX:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:HTR:615:NEGX:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:NEGX:FAULT CP MS") } record(mbbiDirect, "COLL:HTR:615:NEGX:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:NEGX:FAULT CP MS") field(SHFT, "16") } record(bi, "COLL:HTR:615:NEGX:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "COLL:HTR:615:NEGX:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "COLL:HTR:615:NEGX:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "COLL:HTR:615:NEGX:STATS2.B6 CP MS") field(INPB, "COLL:HTR:615:NEGX:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "COLL:HTR:615:NEGX:CABLESTAT") } record(bo, "COLL:HTR:615:NEGX:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "COLL:HTR:615:NEGX:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "COLL:HTR:615:NEGX:MOVEACTIVE") { field(DESC, "Move active") field(INP, "COLL:HTR:615:NEGX:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "COLL:HTR:615:NEGX:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@0) MOC_HTR_3") } record(stringout, "COLL:HTR:615:NEGX:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@0) MOC_HTR_3") } record(stringout, "COLL:HTR:615:NEGX:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@0) MOC_HTR_3") } record(stringout, "COLL:HTR:615:NEGX:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@0) MOC_HTR_3") } record(stringout, "COLL:HTR:615:NEGX:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@0) MOC_HTR_3") } record(ai, "COLL:HTR:615:NEGX:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@0) MOC_HTR_3") field(SCAN, "1 second") field(PREC, 2) } record(ai, "COLL:HTR:615:NEGX:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@0) MOC_HTR_3") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "COLL:HTR:615:NEGX:EncOffset") { field(DESC, "CEHTR-NEGX Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@0) MOC_HTR_3 ") 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, "COLL:HTR:615:NEGX:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:POSX:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@1) MOC_HTR_3") field(SCAN, "1 second") } record(mbbiDirect, "COLL:HTR:615:POSX:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:POSX:DISTAT CP MS") } record(mbbiDirect, "COLL:HTR:615:POSX:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:POSX:DISTAT CP MS") field(SHFT, "16") } record(ai, "COLL:HTR:615:POSX:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@1) MOC_HTR_3") field(SCAN, "1 second") } record(ai, "COLL:HTR:615:POSX:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@1) MOC_HTR_3") field(SCAN, "1 second") } record(ai, "COLL:HTR:615:POSX:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_HTR_3") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "COLL:HTR:615:POSX:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:POSX:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "COLL:HTR:615:POSX:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:POSX:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:HTR:615:POSX:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:POSX:STAT CP MS") } record(mbbiDirect, "COLL:HTR:615:POSX:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:POSX:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:HTR:615:POSX:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:POSX:FAULT CP MS") } record(mbbiDirect, "COLL:HTR:615:POSX:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:HTR:615:POSX:FAULT CP MS") field(SHFT, "16") } record(bi, "COLL:HTR:615:POSX:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "COLL:HTR:615:POSX:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "COLL:HTR:615:POSX:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "COLL:HTR:615:POSX:STATS2.B6 CP MS") field(INPB, "COLL:HTR:615:POSX:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "COLL:HTR:615:POSX:CABLESTAT") } record(bo, "COLL:HTR:615:POSX:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "COLL:HTR:615:POSX:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "COLL:HTR:615:POSX:MOVEACTIVE") { field(DESC, "Move active") field(INP, "COLL:HTR:615:POSX:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "COLL:HTR:615:POSX:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@1) MOC_HTR_3") } record(stringout, "COLL:HTR:615:POSX:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@1) MOC_HTR_3") } record(stringout, "COLL:HTR:615:POSX:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@1) MOC_HTR_3") } record(stringout, "COLL:HTR:615:POSX:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@1) MOC_HTR_3") } record(stringout, "COLL:HTR:615:POSX:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@1) MOC_HTR_3") } record(ai, "COLL:HTR:615:POSX:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@1) MOC_HTR_3") field(SCAN, "1 second") field(PREC, 2) } record(ai, "COLL:HTR:615:POSX:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@1) MOC_HTR_3") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "COLL:HTR:615:POSX:EncOffset") { field(DESC, "CEHTR-POSX Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@1) MOC_HTR_3 ") 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, "COLL:HTR:615:POSX:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "COLL:HTR:615:POSX: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, "COLL:COL0:390:POSY:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@2) MOC_HTR_3") field(SCAN, "1 second") } record(mbbiDirect, "COLL:COL0:390:POSY:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:POSY:DISTAT CP MS") } record(mbbiDirect, "COLL:COL0:390:POSY:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:POSY:DISTAT CP MS") field(SHFT, "16") } record(ai, "COLL:COL0:390:POSY:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@2) MOC_HTR_3") field(SCAN, "1 second") } record(ai, "COLL:COL0:390:POSY:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@2) MOC_HTR_3") field(SCAN, "1 second") } record(ai, "COLL:COL0:390:POSY:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_HTR_3") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "COLL:COL0:390:POSY:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:POSY:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "COLL:COL0:390:POSY:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:POSY:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:390:POSY:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:POSY:STAT CP MS") } record(mbbiDirect, "COLL:COL0:390:POSY:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:POSY:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:390:POSY:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:POSY:FAULT CP MS") } record(mbbiDirect, "COLL:COL0:390:POSY:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:POSY:FAULT CP MS") field(SHFT, "16") } record(bi, "COLL:COL0:390:POSY:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "COLL:COL0:390:POSY:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "COLL:COL0:390:POSY:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "COLL:COL0:390:POSY:STATS2.B6 CP MS") field(INPB, "COLL:COL0:390:POSY:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "COLL:COL0:390:POSY:CABLESTAT") } record(bo, "COLL:COL0:390:POSY:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "COLL:COL0:390:POSY:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "COLL:COL0:390:POSY:MOVEACTIVE") { field(DESC, "Move active") field(INP, "COLL:COL0:390:POSY:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "COLL:COL0:390:POSY:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@2) MOC_HTR_3") } record(stringout, "COLL:COL0:390:POSY:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@2) MOC_HTR_3") } record(stringout, "COLL:COL0:390:POSY:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@2) MOC_HTR_3") } record(stringout, "COLL:COL0:390:POSY:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@2) MOC_HTR_3") } record(stringout, "COLL:COL0:390:POSY:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@2) MOC_HTR_3") } record(ai, "COLL:COL0:390:POSY:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@2) MOC_HTR_3") field(SCAN, "1 second") field(PREC, 2) } record(ai, "COLL:COL0:390:POSY:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@2) MOC_HTR_3") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "COLL:COL0:390:POSY:EncOffset") { field(DESC, "CYC01-POSY Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@2) MOC_HTR_3 ") 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, "COLL:COL0:390:POSY:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "COLL:COL0:390:POSY: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, "COLL:COL0:390:NEGY:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@3) MOC_HTR_3") field(SCAN, "1 second") } record(mbbiDirect, "COLL:COL0:390:NEGY:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:NEGY:DISTAT CP MS") } record(mbbiDirect, "COLL:COL0:390:NEGY:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:NEGY:DISTAT CP MS") field(SHFT, "16") } record(ai, "COLL:COL0:390:NEGY:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@3) MOC_HTR_3") field(SCAN, "1 second") } record(ai, "COLL:COL0:390:NEGY:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@3) MOC_HTR_3") field(SCAN, "1 second") } record(ai, "COLL:COL0:390:NEGY:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_HTR_3") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "COLL:COL0:390:NEGY:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:NEGY:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "COLL:COL0:390:NEGY:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:NEGY:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:390:NEGY:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:NEGY:STAT CP MS") } record(mbbiDirect, "COLL:COL0:390:NEGY:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:NEGY:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:390:NEGY:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:NEGY:FAULT CP MS") } record(mbbiDirect, "COLL:COL0:390:NEGY:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:390:NEGY:FAULT CP MS") field(SHFT, "16") } record(bi, "COLL:COL0:390:NEGY:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "COLL:COL0:390:NEGY:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "COLL:COL0:390:NEGY:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "COLL:COL0:390:NEGY:STATS2.B6 CP MS") field(INPB, "COLL:COL0:390:NEGY:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "COLL:COL0:390:NEGY:CABLESTAT") } record(bo, "COLL:COL0:390:NEGY:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "COLL:COL0:390:NEGY:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "COLL:COL0:390:NEGY:MOVEACTIVE") { field(DESC, "Move active") field(INP, "COLL:COL0:390:NEGY:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "COLL:COL0:390:NEGY:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@3) MOC_HTR_3") } record(stringout, "COLL:COL0:390:NEGY:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@3) MOC_HTR_3") } record(stringout, "COLL:COL0:390:NEGY:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@3) MOC_HTR_3") } record(stringout, "COLL:COL0:390:NEGY:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@3) MOC_HTR_3") } record(stringout, "COLL:COL0:390:NEGY:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@3) MOC_HTR_3") } record(ai, "COLL:COL0:390:NEGY:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@3) MOC_HTR_3") field(SCAN, "1 second") field(PREC, 2) } record(ai, "COLL:COL0:390:NEGY:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@3) MOC_HTR_3") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "COLL:COL0:390:NEGY:EncOffset") { field(DESC, "CYC01-NEGY Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@3) MOC_HTR_3 ") 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, "COLL:COL0:390:NEGY:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "COLL:COL0:390:NEGY: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, "COLL:COL0:470:NEGX:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@0) MOC_COL0_1") field(SCAN, "1 second") } record(mbbiDirect, "COLL:COL0:470:NEGX:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:NEGX:DISTAT CP MS") } record(mbbiDirect, "COLL:COL0:470:NEGX:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:NEGX:DISTAT CP MS") field(SHFT, "16") } record(ai, "COLL:COL0:470:NEGX:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@0) MOC_COL0_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:470:NEGX:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@0) MOC_COL0_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:470:NEGX:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_COL0_1") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "COLL:COL0:470:NEGX:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:NEGX:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "COLL:COL0:470:NEGX:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:NEGX:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:470:NEGX:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:NEGX:STAT CP MS") } record(mbbiDirect, "COLL:COL0:470:NEGX:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:NEGX:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:470:NEGX:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:NEGX:FAULT CP MS") } record(mbbiDirect, "COLL:COL0:470:NEGX:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:NEGX:FAULT CP MS") field(SHFT, "16") } record(bi, "COLL:COL0:470:NEGX:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "COLL:COL0:470:NEGX:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "COLL:COL0:470:NEGX:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "COLL:COL0:470:NEGX:STATS2.B6 CP MS") field(INPB, "COLL:COL0:470:NEGX:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "COLL:COL0:470:NEGX:CABLESTAT") } record(bo, "COLL:COL0:470:NEGX:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "COLL:COL0:470:NEGX:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "COLL:COL0:470:NEGX:MOVEACTIVE") { field(DESC, "Move active") field(INP, "COLL:COL0:470:NEGX:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "COLL:COL0:470:NEGX:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@0) MOC_COL0_1") } record(stringout, "COLL:COL0:470:NEGX:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@0) MOC_COL0_1") } record(stringout, "COLL:COL0:470:NEGX:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@0) MOC_COL0_1") } record(stringout, "COLL:COL0:470:NEGX:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@0) MOC_COL0_1") } record(stringout, "COLL:COL0:470:NEGX:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@0) MOC_COL0_1") } record(ai, "COLL:COL0:470:NEGX:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@0) MOC_COL0_1") field(SCAN, "1 second") field(PREC, 2) } record(ai, "COLL:COL0:470:NEGX:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@0) MOC_COL0_1") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "COLL:COL0:470:NEGX:EncOffset") { field(DESC, "CXC01-NEGX Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@0) MOC_COL0_1 ") 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, "COLL:COL0:470:NEGX:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:POSX:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@1) MOC_COL0_1") field(SCAN, "1 second") } record(mbbiDirect, "COLL:COL0:470:POSX:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:POSX:DISTAT CP MS") } record(mbbiDirect, "COLL:COL0:470:POSX:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:POSX:DISTAT CP MS") field(SHFT, "16") } record(ai, "COLL:COL0:470:POSX:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@1) MOC_COL0_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:470:POSX:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@1) MOC_COL0_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:470:POSX:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_COL0_1") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "COLL:COL0:470:POSX:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:POSX:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "COLL:COL0:470:POSX:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:POSX:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:470:POSX:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:POSX:STAT CP MS") } record(mbbiDirect, "COLL:COL0:470:POSX:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:POSX:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:470:POSX:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:POSX:FAULT CP MS") } record(mbbiDirect, "COLL:COL0:470:POSX:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:470:POSX:FAULT CP MS") field(SHFT, "16") } record(bi, "COLL:COL0:470:POSX:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "COLL:COL0:470:POSX:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "COLL:COL0:470:POSX:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "COLL:COL0:470:POSX:STATS2.B6 CP MS") field(INPB, "COLL:COL0:470:POSX:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "COLL:COL0:470:POSX:CABLESTAT") } record(bo, "COLL:COL0:470:POSX:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "COLL:COL0:470:POSX:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "COLL:COL0:470:POSX:MOVEACTIVE") { field(DESC, "Move active") field(INP, "COLL:COL0:470:POSX:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "COLL:COL0:470:POSX:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@1) MOC_COL0_1") } record(stringout, "COLL:COL0:470:POSX:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@1) MOC_COL0_1") } record(stringout, "COLL:COL0:470:POSX:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@1) MOC_COL0_1") } record(stringout, "COLL:COL0:470:POSX:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@1) MOC_COL0_1") } record(stringout, "COLL:COL0:470:POSX:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@1) MOC_COL0_1") } record(ai, "COLL:COL0:470:POSX:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@1) MOC_COL0_1") field(SCAN, "1 second") field(PREC, 2) } record(ai, "COLL:COL0:470:POSX:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@1) MOC_COL0_1") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "COLL:COL0:470:POSX:EncOffset") { field(DESC, "CXC01-POSX Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@1) MOC_COL0_1 ") 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, "COLL:COL0:470:POSX:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "COLL:COL0:470:POSX: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, "COLL:COL0:710:POSY:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@2) MOC_COL0_1") field(SCAN, "1 second") } record(mbbiDirect, "COLL:COL0:710:POSY:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:POSY:DISTAT CP MS") } record(mbbiDirect, "COLL:COL0:710:POSY:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:POSY:DISTAT CP MS") field(SHFT, "16") } record(ai, "COLL:COL0:710:POSY:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@2) MOC_COL0_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:710:POSY:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@2) MOC_COL0_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:710:POSY:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_COL0_1") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "COLL:COL0:710:POSY:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:POSY:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "COLL:COL0:710:POSY:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:POSY:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:710:POSY:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:POSY:STAT CP MS") } record(mbbiDirect, "COLL:COL0:710:POSY:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:POSY:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:710:POSY:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:POSY:FAULT CP MS") } record(mbbiDirect, "COLL:COL0:710:POSY:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:POSY:FAULT CP MS") field(SHFT, "16") } record(bi, "COLL:COL0:710:POSY:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "COLL:COL0:710:POSY:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "COLL:COL0:710:POSY:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "COLL:COL0:710:POSY:STATS2.B6 CP MS") field(INPB, "COLL:COL0:710:POSY:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "COLL:COL0:710:POSY:CABLESTAT") } record(bo, "COLL:COL0:710:POSY:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "COLL:COL0:710:POSY:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "COLL:COL0:710:POSY:MOVEACTIVE") { field(DESC, "Move active") field(INP, "COLL:COL0:710:POSY:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "COLL:COL0:710:POSY:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@2) MOC_COL0_1") } record(stringout, "COLL:COL0:710:POSY:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@2) MOC_COL0_1") } record(stringout, "COLL:COL0:710:POSY:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@2) MOC_COL0_1") } record(stringout, "COLL:COL0:710:POSY:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@2) MOC_COL0_1") } record(stringout, "COLL:COL0:710:POSY:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@2) MOC_COL0_1") } record(ai, "COLL:COL0:710:POSY:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@2) MOC_COL0_1") field(SCAN, "1 second") field(PREC, 2) } record(ai, "COLL:COL0:710:POSY:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@2) MOC_COL0_1") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "COLL:COL0:710:POSY:EncOffset") { field(DESC, "CYC03-POSY Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@2) MOC_COL0_1 ") 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, "COLL:COL0:710:POSY:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "COLL:COL0:710:POSY: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, "COLL:COL0:710:NEGY:DISTAT") { field(DESC, "digital inputs") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getDINall(@3) MOC_COL0_1") field(SCAN, "1 second") } record(mbbiDirect, "COLL:COL0:710:NEGY:DISTATS1") { field(DESC, "Digital input lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:NEGY:DISTAT CP MS") } record(mbbiDirect, "COLL:COL0:710:NEGY:DISTATS2") { field(DESC, "Digital input higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:NEGY:DISTAT CP MS") field(SHFT, "16") } record(ai, "COLL:COL0:710:NEGY:STAT") { field(DESC, "axis status") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisStatus(@3) MOC_COL0_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:710:NEGY:FAULT") { field(DESC, "axis fault") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto axisFault(@3) MOC_COL0_1") field(SCAN, "1 second") } record(ai, "COLL:COL0:710:NEGY:AUTOHOMETRIGFAULT") { field(DESC, "fault to trigger autohome") field(DTYP, "stream") field(INP, "@aerotech.proto getIGLOBAL(60) MOC_COL0_1") field(PINI, "YES") field(SCAN,"1 second") } record(mbbiDirect, "COLL:COL0:710:NEGY:AUTOHOMETRIGFAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:NEGY:AUTOHOMETRIGFAULT CP MS") } record(mbbiDirect, "COLL:COL0:710:NEGY:AUTOHOMETRIGFAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:NEGY:AUTOHOMETRIGFAULT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:710:NEGY:STATS1") { field(DESC, "status lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:NEGY:STAT CP MS") } record(mbbiDirect, "COLL:COL0:710:NEGY:STATS2") { field(DESC, "status higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:NEGY:STAT CP MS") field(SHFT, "16") } record(mbbiDirect, "COLL:COL0:710:NEGY:FAULTS1") { field(DESC, "fault lower bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:NEGY:FAULT CP MS") } record(mbbiDirect, "COLL:COL0:710:NEGY:FAULTS2") { field(DESC, "fault higher bits") field(DTYP, "Raw Soft Channel") field(INP, "COLL:COL0:710:NEGY:FAULT CP MS") field(SHFT, "16") } record(bi, "COLL:COL0:710:NEGY:ENABLEDSTAT") { field(DESC, "Axis enabled") field(INP, "COLL:COL0:710:NEGY:STATS1.B0 CP MS") field(ZNAM, "Disabled") field(ONAM, "Enabled") } record(bi, "COLL:COL0:710:NEGY:HOMEDSTAT") { field(DESC, "Axis homed") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:CABLESTAT_CALC") { field(DESC, "Motor Cable Status") field(INPA, "COLL:COL0:710:NEGY:STATS2.B6 CP MS") field(INPB, "COLL:COL0:710:NEGY:STATS2.B7 CP MS") field(CALC, "(A&&B)") field(FLNK, "COLL:COL0:710:NEGY:CABLESTAT") } record(bo, "COLL:COL0:710:NEGY:CABLESTAT") { field(DESC, "Motor Cable Status") field(DOL, "COLL:COL0:710:NEGY:CABLESTAT_CALC MS") field(ONAM, "Motor cable disconnected") field(ZNAM, "OK") field(ZSV, "MAJOR") field(OSV, "NO_ALARM") } record(bi, "COLL:COL0:710:NEGY:MOVEACTIVE") { field(DESC, "Move active") field(INP, "COLL:COL0:710:NEGY:STATS1.B3 CP MS") field(ZNAM, "Not moving") field(ONAM, "Moving") } record(stringout, "COLL:COL0:710:NEGY:FAULTACK") { field(DESC, "Ack fault on axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisFaultAck(@3) MOC_COL0_1") } record(stringout, "COLL:COL0:710:NEGY:ENABLE") { field(DESC, "Enable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisEnable(@3) MOC_COL0_1") } record(stringout, "COLL:COL0:710:NEGY:ABORT") { field(DESC, "Abort axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisAbort(@3) MOC_COL0_1") } record(stringout, "COLL:COL0:710:NEGY:DISABLE") { field(DESC, "Disable axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisDisable(@3) MOC_COL0_1") } record(stringout, "COLL:COL0:710:NEGY:HOME") { field(DESC, "Home axis") field(DTYP, "stream") field(OUT, "@aerotech.proto axisHome(@3) MOC_COL0_1") } record(ai, "COLL:COL0:710:NEGY:IDES") { field(DESC, "axis current") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto getCur(@3) MOC_COL0_1") field(SCAN, "1 second") field(PREC, 2) } record(ai, "COLL:COL0:710:NEGY:EXTPOSN") { field(DESC, "Aux Encoder Position") field(PINI, "YES") field(DTYP, "stream") field(INP, "@aerotech.proto extPos(@3) MOC_COL0_1") field(SCAN, "1 second") field(PREC, 3) field(LINR, "SLOPE") info(autosaveFields, "ESLO EOFF EGU") } record(ai, "COLL:COL0:710:NEGY:EncOffset") { field(DESC, "CYC03-NEGY Encoder offset") field(DTYP, "stream") field(INP, "@aerotech.proto getEncOff(@3) MOC_COL0_1 ") 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, "COLL:COL0:710:NEGY:DIP0IN0") { field(DESC, "Port 0 Input 0") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP0IN1") { field(DESC, "Port 0 Input 1") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP0IN2") { field(DESC, "Port 0 Input 2") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP0IN3") { field(DESC, "Port 0 Input 3") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP0IN4") { field(DESC, "Port 0 Input 4") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP0IN5") { field(DESC, "Port 0 Input 5") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP1IN0") { field(DESC, "Port 1 Input 0") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP1IN1") { field(DESC, "Port 1 Input 1") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP1IN2") { field(DESC, "Port 1 Input 2") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP1IN3") { field(DESC, "Port 1 Input 3") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP1IN4") { field(DESC, "Port 1 Input 4") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP1IN5") { field(DESC, "Port 1 Input 5") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP1IN6") { field(DESC, "Port 1 Input 6") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP1IN7") { field(DESC, "Port 1 Input 7") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP2IN0") { field(DESC, "Port 2 Input 0") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP2IN1") { field(DESC, "Port 2 Input 1") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP2IN2") { field(DESC, "Port 2 Input 2") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP2IN3") { field(DESC, "Port 2 Input 3") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP2IN4") { field(DESC, "Port 2 Input 4") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP2IN5") { field(DESC, "Port 2 Input 5") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP2IN6") { field(DESC, "Port 2 Input 6") field(INP, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:DIP2IN7") { field(DESC, "Port 2 Input 7") field(INP, "COLL:COL0:710:NEGY:DISTATS1.B7 CP NMS") field(ZNAM, "Off") field(ONAM, "On") info(autosaveFields, "DESC") } record(motor, "USEG:HTR:650:MOTR") { field(DESC, "UMHTR") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_HTR_1M,0)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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, "COLL:COL0:790:NEGX:MOTR") { field(DESC, "CXC03-NEGX") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_HTR_1M,1)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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, "COLL:COL0:790:POSX:MOTR") { field(DESC, "CXC03-POSX") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_HTR_1M,2)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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, "COLL:HTR:615:NEGX:MOTR") { field(DESC, "CEHTR-NEGX") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_HTR_3M,0)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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, "COLL:HTR:615:POSX:MOTR") { field(DESC, "CEHTR-POSX") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_HTR_3M,1)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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, "COLL:COL0:390:POSY:MOTR") { field(DESC, "CYC01-POSY") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_HTR_3M,2)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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, "COLL:COL0:390:NEGY:MOTR") { field(DESC, "CYC01-NEGY") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_HTR_3M,3)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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, "COLL:COL0:470:NEGX:MOTR") { field(DESC, "CXC01-NEGX") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_COL0_1M,0)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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, "COLL:COL0:470:POSX:MOTR") { field(DESC, "CXC01-POSX") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_COL0_1M,1)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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, "COLL:COL0:710:POSY:MOTR") { field(DESC, "CYC03-POSY") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_COL0_1M,2)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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, "COLL:COL0:710:NEGY:MOTR") { field(DESC, "CYC03-NEGY") field(DTYP, "asynMotor") field(DIR, "Pos") field(VELO, "2") field(VBAS, "1") field(VMAX, "4") field(ACCL, "0.1") field(BDST, "0") field(OUT, "@asyn(MOC_COL0_1M,3)") field(MRES, "4e-4") field(ERES, "1") field(PREC, "4") field(EGU, "mm") 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") } # Collimator Database Entries for $(device) # This collimator has 2 jaws, each driven by a motor. # Looking upbeam (towards the gun) # On the right - $(device):POSX:MOTR # On the left - $(device):NEGX:MOTR # # Macros: # device - device name eg: COLL # mad - MAD device name eg: CEHTR (check MAD deck) # units - user units (mm) # higap - set hi gap for collimator # logap - set logap for the collimator # jump - set jog value # hipos - max set jog value # lopos - min set jog value # leftjaw - Left jaw attribute # rightjaw - Right jaw attribute #------------------------------------------------------------------------------- # Mod: # 10-Mar-2020, N. Balakrishnan (namrata): # Added Pv to calculate collimator state. # 19-Nov-2020, N. Balakrishnan (namrata): # CATER 138562 Error in Gap calculation around set center value. #------------------------------------------------------------------------------- # Store if device is in position record(bi, "$(device):State"){ field(DESC, "Collimator usable") field(ZNAM, "Active") field(ONAM, "Locked Off") } record(ao, "$(device):SETGAP") { field(DESC, "Set CXC03 Collimator Gap") field(EGU, "mm") field(OMSL, "supervisory") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(FLNK, "$(device):MAKEGAP") info(autosaveFields, "DRVH DRVL") } record(calcout, "$(device):UPGAP") { field(DESC, "CXC03 center Increment") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):UPGAPJUMP") field(INPB, "$(device):GETGAP") field(CALC, "B+A") field(OUT, "$(device):SETGAP PP") } record(calcout, "$(device):DNGAP") { field(DESC, "CXC03 center Decrement") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):DNGAPJUMP") field(INPB, "$(device):GETGAP") field(CALC, "B-A") field(OUT, "$(device):SETGAP PP") } record(ao, "$(device):UPGAPJUMP") { field(DESC, "CXC03 Gap Up Jump") # field(PINI, "YES") # field(ASG, "COLLUSER") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") info(autosaveFields, "VAL DRVH DRVL") } record(ao, "$(device):DNGAPJUMP") { field(DESC, "CXC03 Gap Dn Jump") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") info(autosaveFields, "VAL DRVH DRVL") } record(calc, "$(device):GETGAP") { field(DESC, "Get CXC03 Collimator Gap") field(EGU, "mm") field(SCAN, ".1 second") field(INPA, "$(device):NEGX:MOTR.RBV") field(INPB, "$(device):POSX:MOTR.RBV") field(CALC, "-A+B") } # # Each jaw has it's own calc record # record(fanout, "$(device):MAKEGAP") { field(DESC, "CXC03 Coll Gap Sync") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "3") field(LNK1, "$(device):POSX:GAPCALC") field(LNK2, "$(device):NEGX:GAPCALC") } # # both records add to CENTER, since they each increase # in distance as they move away from CENTER. # record(calcout, "$(device):POSX:GAPCALC") { field(DESC, "CXC03 Right Gap Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):GETCENTER") field(INPB, "$(device):SETGAP") field(CALC, "A+(B/2)") field(OUT, "$(device):POSX:MOTR PP") } record(calcout, "$(device):NEGX:GAPCALC") { field(DESC, "CXC03 Left Gap Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):GETCENTER") field(INPB, "$(device):SETGAP") field(CALC, "A-(B/2)") field(OUT, "$(device):NEGX:MOTR PP") } # # CENTER the collimator gap for $(device) # record(ao, "$(device):SETCENTER") { field(DESC, "CXC03 Collimator center") field(EGU, "mm") field(OMSL, "supervisory") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(FLNK, "$(device):MAKECEN") info(autosaveFields, "DRVH DRVL") } record(calcout, "$(device):UPCENTER") { field(DESC, "CXC03 center Increment") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):CENTERJUMP") field(INPB, "$(device):GETCENTER") field(CALC, "B+A") field(OUT, "$(device):SETCENTER PP") } record(calcout, "$(device):DNCENTER") { field(DESC, "CXC03 center Decrement") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):CENTERJUMP") field(INPB, "$(device):GETCENTER") field(CALC, "B-A") field(OUT, "$(device):SETCENTER PP") } record(ao, "$(device):CENTERJUMP") { field(DESC, "CXC03 Coll. Jump") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL DRVH DRVL") } record(fanout, "$(device):MAKECEN") { field(DESC, "CXC03 Coll center Sync") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "3") field(LNK1, "$(device):POSX:CENCALC") field(LNK2, "$(device):NEGX:CENCALC") } record(calcout, "$(device):POSX:CENCALC") { field(DESC, "CXC03 Right Jaw Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):SETCENTER") field(INPB, "$(device):GETGAP") field(CALC, "A+(B/2)") field(OUT, "$(device):POSX:MOTR PP") } record(calcout, "$(device):NEGX:CENCALC") { field(DESC, "CXC03 Left Jaw Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):SETCENTER") field(INPB, "$(device):GETGAP") field(CALC, "A-(B/2)") field(OUT, "$(device):NEGX:MOTR PP") } record(calc, "$(device):GETCENTER") { field(DESC, "Get CXC03 Coll Posn") field(EGU, "mm") field(SCAN, ".1 second") field(INPA, "$(device):POSX:MOTR.RBV") field(INPB, "$(device):NEGX:MOTR.RBV") field(CALC, "((A+B)/2)") } record(dfanout, "$(device):STOP") { field(DESC, "CXC03 Stop Motion") field(SCAN, "Passive") field(DOL, "1") field(OMSL, "supervisory") field(OUTA, "$(device):NEGX:MOTR.STOP PP") field(OUTB, "$(device):POSX:MOTR.STOP PP") } record(dfanout, "$(device):EXTRACT") { field(DESC, "CXC03 Retract Jaws") field(SCAN, "Passive") field(DOL, "1") field(OMSL, "supervisory") field(OUTA, "$(device):NEGX:MOTRLO PP") field(OUTB, "$(device):POSX:MOTRHI PP") } record(ao, "$(device):NEGX:MOTRLO") { field(DESC, "Move CXC03 Low") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):NEGX:MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):NEGX:MOTR.VAL") field(FLNK, "$(device):NEGX:MOTR") } record(ao, "$(device):NEGX:MOTRHI") { field(DESC, "Move CXC03 High") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):NEGX:MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):NEGX:MOTR.VAL") field(FLNK, "$(device):NEGX:MOTR") } record(ao, "$(device):POSX:MOTRHI") { field(DESC, "Move CXC03 High") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):POSX:MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):POSX:MOTR.VAL") field(FLNK, "$(device):POSX:MOTR") } record(ao, "$(device):POSX:MOTRLO") { field(DESC, "Move CXC03 Low") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):POSX:MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):POSX:MOTR.VAL") field(FLNK, "$(device):POSX:MOTR") } record(calc, "$(device):DONEMOVING") { field(DESC, "CXC03 Moving") field(SCAN, ".1 second") field(INPA, "$(device):POSX:MOTR.DMOV") field(INPB, "$(device):NEGX:MOTR.DMOV") field(CALC, "A&B") } record(calcout, "$(device):NEGX:CALCNEGPOS") { field(SCAN, "1 second") field(DTYP, "Soft Channel") field(FLNK, "$(device):NEGX:LVPOSDISP") field(CALC, "-1*A") field(INPA, "$(device):NEGX:LVPOS") field(OUT, "$(device):NEGX:LVPOSDISP.VAL") } record(ao, "$(device):NEGX:LVPOSDISP") { } record(calcout, "$(device):NEGX:CALCNEGMOTR") { field(SCAN, "1 second") field(DTYP, "Soft Channel") field(FLNK, "$(device):NEGX:MOTRDISP") field(CALC, "-1*A") field(INPA, "$(device):NEGX:MOTR.RBV") field(OUT, "$(device):NEGX:MOTRDISP.VAL") } record(ao, "$(device):NEGX:MOTRDISP") { } # Collimator Database Entries for $(device) # This collimator has 2 jaws, each driven by a motor. # Looking upbeam (towards the gun) # On the right - $(device):POSX:MOTR # On the left - $(device):NEGX:MOTR # # Macros: # device - device name eg: COLL # mad - MAD device name eg: CEHTR (check MAD deck) # units - user units (mm) # higap - set hi gap for collimator # logap - set logap for the collimator # jump - set jog value # hipos - max set jog value # lopos - min set jog value # leftjaw - Left jaw attribute # rightjaw - Right jaw attribute #------------------------------------------------------------------------------- # Mod: # 10-Mar-2020, N. Balakrishnan (namrata): # Added Pv to calculate collimator state. # 19-Nov-2020, N. Balakrishnan (namrata): # CATER 138562 Error in Gap calculation around set center value. #------------------------------------------------------------------------------- # Store if device is in position record(bi, "$(device):State"){ field(DESC, "Collimator usable") field(ZNAM, "Active") field(ONAM, "Locked Off") } record(ao, "$(device):SETGAP") { field(DESC, "Set CEHTR Collimator Gap") field(EGU, "mm") field(OMSL, "supervisory") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(FLNK, "$(device):MAKEGAP") info(autosaveFields, "DRVH DRVL") } record(calcout, "$(device):UPGAP") { field(DESC, "CEHTR center Increment") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):UPGAPJUMP") field(INPB, "$(device):GETGAP") field(CALC, "B+A") field(OUT, "$(device):SETGAP PP") } record(calcout, "$(device):DNGAP") { field(DESC, "CEHTR center Decrement") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):DNGAPJUMP") field(INPB, "$(device):GETGAP") field(CALC, "B-A") field(OUT, "$(device):SETGAP PP") } record(ao, "$(device):UPGAPJUMP") { field(DESC, "CEHTR Gap Up Jump") # field(PINI, "YES") # field(ASG, "COLLUSER") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") info(autosaveFields, "VAL DRVH DRVL") } record(ao, "$(device):DNGAPJUMP") { field(DESC, "CEHTR Gap Dn Jump") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") info(autosaveFields, "VAL DRVH DRVL") } record(calc, "$(device):GETGAP") { field(DESC, "Get CEHTR Collimator Gap") field(EGU, "mm") field(SCAN, ".1 second") field(INPA, "$(device):NEGX:MOTR.RBV") field(INPB, "$(device):POSX:MOTR.RBV") field(CALC, "-A+B") } # # Each jaw has it's own calc record # record(fanout, "$(device):MAKEGAP") { field(DESC, "CEHTR Coll Gap Sync") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "3") field(LNK1, "$(device):POSX:GAPCALC") field(LNK2, "$(device):NEGX:GAPCALC") } # # both records add to CENTER, since they each increase # in distance as they move away from CENTER. # record(calcout, "$(device):POSX:GAPCALC") { field(DESC, "CEHTR Right Gap Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):GETCENTER") field(INPB, "$(device):SETGAP") field(CALC, "A+(B/2)") field(OUT, "$(device):POSX:MOTR PP") } record(calcout, "$(device):NEGX:GAPCALC") { field(DESC, "CEHTR Left Gap Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):GETCENTER") field(INPB, "$(device):SETGAP") field(CALC, "A-(B/2)") field(OUT, "$(device):NEGX:MOTR PP") } # # CENTER the collimator gap for $(device) # record(ao, "$(device):SETCENTER") { field(DESC, "CEHTR Collimator center") field(EGU, "mm") field(OMSL, "supervisory") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(FLNK, "$(device):MAKECEN") info(autosaveFields, "DRVH DRVL") } record(calcout, "$(device):UPCENTER") { field(DESC, "CEHTR center Increment") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):CENTERJUMP") field(INPB, "$(device):GETCENTER") field(CALC, "B+A") field(OUT, "$(device):SETCENTER PP") } record(calcout, "$(device):DNCENTER") { field(DESC, "CEHTR center Decrement") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):CENTERJUMP") field(INPB, "$(device):GETCENTER") field(CALC, "B-A") field(OUT, "$(device):SETCENTER PP") } record(ao, "$(device):CENTERJUMP") { field(DESC, "CEHTR Coll. Jump") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL DRVH DRVL") } record(fanout, "$(device):MAKECEN") { field(DESC, "CEHTR Coll center Sync") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "3") field(LNK1, "$(device):POSX:CENCALC") field(LNK2, "$(device):NEGX:CENCALC") } record(calcout, "$(device):POSX:CENCALC") { field(DESC, "CEHTR Right Jaw Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):SETCENTER") field(INPB, "$(device):GETGAP") field(CALC, "A+(B/2)") field(OUT, "$(device):POSX:MOTR PP") } record(calcout, "$(device):NEGX:CENCALC") { field(DESC, "CEHTR Left Jaw Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):SETCENTER") field(INPB, "$(device):GETGAP") field(CALC, "A-(B/2)") field(OUT, "$(device):NEGX:MOTR PP") } record(calc, "$(device):GETCENTER") { field(DESC, "Get CEHTR Coll Posn") field(EGU, "mm") field(SCAN, ".1 second") field(INPA, "$(device):POSX:MOTR.RBV") field(INPB, "$(device):NEGX:MOTR.RBV") field(CALC, "((A+B)/2)") } record(dfanout, "$(device):STOP") { field(DESC, "CEHTR Stop Motion") field(SCAN, "Passive") field(DOL, "1") field(OMSL, "supervisory") field(OUTA, "$(device):NEGX:MOTR.STOP PP") field(OUTB, "$(device):POSX:MOTR.STOP PP") } record(dfanout, "$(device):EXTRACT") { field(DESC, "CEHTR Retract Jaws") field(SCAN, "Passive") field(DOL, "1") field(OMSL, "supervisory") field(OUTA, "$(device):NEGX:MOTRLO PP") field(OUTB, "$(device):POSX:MOTRHI PP") } record(ao, "$(device):NEGX:MOTRLO") { field(DESC, "Move CEHTR Low") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):NEGX:MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):NEGX:MOTR.VAL") field(FLNK, "$(device):NEGX:MOTR") } record(ao, "$(device):NEGX:MOTRHI") { field(DESC, "Move CEHTR High") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):NEGX:MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):NEGX:MOTR.VAL") field(FLNK, "$(device):NEGX:MOTR") } record(ao, "$(device):POSX:MOTRHI") { field(DESC, "Move CEHTR High") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):POSX:MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):POSX:MOTR.VAL") field(FLNK, "$(device):POSX:MOTR") } record(ao, "$(device):POSX:MOTRLO") { field(DESC, "Move CEHTR Low") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):POSX:MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):POSX:MOTR.VAL") field(FLNK, "$(device):POSX:MOTR") } record(calc, "$(device):DONEMOVING") { field(DESC, "CEHTR Moving") field(SCAN, ".1 second") field(INPA, "$(device):POSX:MOTR.DMOV") field(INPB, "$(device):NEGX:MOTR.DMOV") field(CALC, "A&B") } record(calcout, "$(device):NEGX:CALCNEGPOS") { field(SCAN, "1 second") field(DTYP, "Soft Channel") field(FLNK, "$(device):NEGX:LVPOSDISP") field(CALC, "-1*A") field(INPA, "$(device):NEGX:LVPOS") field(OUT, "$(device):NEGX:LVPOSDISP.VAL") } record(ao, "$(device):NEGX:LVPOSDISP") { } record(calcout, "$(device):NEGX:CALCNEGMOTR") { field(SCAN, "1 second") field(DTYP, "Soft Channel") field(FLNK, "$(device):NEGX:MOTRDISP") field(CALC, "-1*A") field(INPA, "$(device):NEGX:MOTR.RBV") field(OUT, "$(device):NEGX:MOTRDISP.VAL") } record(ao, "$(device):NEGX:MOTRDISP") { } # Collimator Database Entries for $(device) # This collimator has 2 jaws, each driven by a motor. # Looking upbeam (towards the gun) # On the right - $(device):NEGY:MOTR # On the left - $(device):POSY:MOTR # # Macros: # device - device name eg: COLL # mad - MAD device name eg: CEHTR (check MAD deck) # units - user units (mm) # higap - set hi gap for collimator # logap - set logap for the collimator # jump - set jog value # hipos - max set jog value # lopos - min set jog value # leftjaw - Left jaw attribute # rightjaw - Right jaw attribute #------------------------------------------------------------------------------- # Mod: # 10-Mar-2020, N. Balakrishnan (namrata): # Added Pv to calculate collimator state. # 19-Nov-2020, N. Balakrishnan (namrata): # CATER 138562 Error in Gap calculation around set center value. #------------------------------------------------------------------------------- # Store if device is in position record(bi, "$(device):State"){ field(DESC, "Collimator usable") field(ZNAM, "Active") field(ONAM, "Locked Off") } record(ao, "$(device):SETGAP") { field(DESC, "Set CYC01 Collimator Gap") field(EGU, "mm") field(OMSL, "supervisory") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(FLNK, "$(device):MAKEGAP") info(autosaveFields, "DRVH DRVL") } record(calcout, "$(device):UPGAP") { field(DESC, "CYC01 center Increment") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):UPGAPJUMP") field(INPB, "$(device):GETGAP") field(CALC, "B+A") field(OUT, "$(device):SETGAP PP") } record(calcout, "$(device):DNGAP") { field(DESC, "CYC01 center Decrement") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):DNGAPJUMP") field(INPB, "$(device):GETGAP") field(CALC, "B-A") field(OUT, "$(device):SETGAP PP") } record(ao, "$(device):UPGAPJUMP") { field(DESC, "CYC01 Gap Up Jump") # field(PINI, "YES") # field(ASG, "COLLUSER") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") info(autosaveFields, "VAL DRVH DRVL") } record(ao, "$(device):DNGAPJUMP") { field(DESC, "CYC01 Gap Dn Jump") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") info(autosaveFields, "VAL DRVH DRVL") } record(calc, "$(device):GETGAP") { field(DESC, "Get CYC01 Collimator Gap") field(EGU, "mm") field(SCAN, ".1 second") field(INPA, "$(device):POSY:MOTR.RBV") field(INPB, "$(device):NEGY:MOTR.RBV") field(CALC, "-A+B") } # # Each jaw has it's own calc record # record(fanout, "$(device):MAKEGAP") { field(DESC, "CYC01 Coll Gap Sync") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "3") field(LNK1, "$(device):NEGY:GAPCALC") field(LNK2, "$(device):POSY:GAPCALC") } # # both records add to CENTER, since they each increase # in distance as they move away from CENTER. # record(calcout, "$(device):NEGY:GAPCALC") { field(DESC, "CYC01 Right Gap Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):GETCENTER") field(INPB, "$(device):SETGAP") field(CALC, "A+(B/2)") field(OUT, "$(device):NEGY:MOTR PP") } record(calcout, "$(device):POSY:GAPCALC") { field(DESC, "CYC01 Left Gap Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):GETCENTER") field(INPB, "$(device):SETGAP") field(CALC, "A-(B/2)") field(OUT, "$(device):POSY:MOTR PP") } # # CENTER the collimator gap for $(device) # record(ao, "$(device):SETCENTER") { field(DESC, "CYC01 Collimator center") field(EGU, "mm") field(OMSL, "supervisory") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(FLNK, "$(device):MAKECEN") info(autosaveFields, "DRVH DRVL") } record(calcout, "$(device):UPCENTER") { field(DESC, "CYC01 center Increment") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):CENTERJUMP") field(INPB, "$(device):GETCENTER") field(CALC, "B+A") field(OUT, "$(device):SETCENTER PP") } record(calcout, "$(device):DNCENTER") { field(DESC, "CYC01 center Decrement") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):CENTERJUMP") field(INPB, "$(device):GETCENTER") field(CALC, "B-A") field(OUT, "$(device):SETCENTER PP") } record(ao, "$(device):CENTERJUMP") { field(DESC, "CYC01 Coll. Jump") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL DRVH DRVL") } record(fanout, "$(device):MAKECEN") { field(DESC, "CYC01 Coll center Sync") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "3") field(LNK1, "$(device):NEGY:CENCALC") field(LNK2, "$(device):POSY:CENCALC") } record(calcout, "$(device):NEGY:CENCALC") { field(DESC, "CYC01 Right Jaw Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):SETCENTER") field(INPB, "$(device):GETGAP") field(CALC, "A+(B/2)") field(OUT, "$(device):NEGY:MOTR PP") } record(calcout, "$(device):POSY:CENCALC") { field(DESC, "CYC01 Left Jaw Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):SETCENTER") field(INPB, "$(device):GETGAP") field(CALC, "A-(B/2)") field(OUT, "$(device):POSY:MOTR PP") } record(calc, "$(device):GETCENTER") { field(DESC, "Get CYC01 Coll Posn") field(EGU, "mm") field(SCAN, ".1 second") field(INPA, "$(device):NEGY:MOTR.RBV") field(INPB, "$(device):POSY:MOTR.RBV") field(CALC, "((A+B)/2)") } record(dfanout, "$(device):STOP") { field(DESC, "CYC01 Stop Motion") field(SCAN, "Passive") field(DOL, "1") field(OMSL, "supervisory") field(OUTA, "$(device):POSY:MOTR.STOP PP") field(OUTB, "$(device):NEGY:MOTR.STOP PP") } record(dfanout, "$(device):EXTRACT") { field(DESC, "CYC01 Retract Jaws") field(SCAN, "Passive") field(DOL, "1") field(OMSL, "supervisory") field(OUTA, "$(device):POSY:MOTRLO PP") field(OUTB, "$(device):NEGY:MOTRHI PP") } record(ao, "$(device):POSY:MOTRLO") { field(DESC, "Move CYC01 Low") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):POSY:MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):POSY:MOTR.VAL") field(FLNK, "$(device):POSY:MOTR") } record(ao, "$(device):POSY:MOTRHI") { field(DESC, "Move CYC01 High") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):POSY:MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):POSY:MOTR.VAL") field(FLNK, "$(device):POSY:MOTR") } record(ao, "$(device):NEGY:MOTRHI") { field(DESC, "Move CYC01 High") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):NEGY:MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):NEGY:MOTR.VAL") field(FLNK, "$(device):NEGY:MOTR") } record(ao, "$(device):NEGY:MOTRLO") { field(DESC, "Move CYC01 Low") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):NEGY:MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):NEGY:MOTR.VAL") field(FLNK, "$(device):NEGY:MOTR") } record(calc, "$(device):DONEMOVING") { field(DESC, "CYC01 Moving") field(SCAN, ".1 second") field(INPA, "$(device):NEGY:MOTR.DMOV") field(INPB, "$(device):POSY:MOTR.DMOV") field(CALC, "A&B") } record(calcout, "$(device):POSY:CALCNEGPOS") { field(SCAN, "1 second") field(DTYP, "Soft Channel") field(FLNK, "$(device):POSY:LVPOSDISP") field(CALC, "-1*A") field(INPA, "$(device):POSY:LVPOS") field(OUT, "$(device):POSY:LVPOSDISP.VAL") } record(ao, "$(device):POSY:LVPOSDISP") { } record(calcout, "$(device):POSY:CALCNEGMOTR") { field(SCAN, "1 second") field(DTYP, "Soft Channel") field(FLNK, "$(device):POSY:MOTRDISP") field(CALC, "-1*A") field(INPA, "$(device):POSY:MOTR.RBV") field(OUT, "$(device):POSY:MOTRDISP.VAL") } record(ao, "$(device):POSY:MOTRDISP") { } # Collimator Database Entries for $(device) # This collimator has 2 jaws, each driven by a motor. # Looking upbeam (towards the gun) # On the right - $(device):POSX:MOTR # On the left - $(device):NEGX:MOTR # # Macros: # device - device name eg: COLL # mad - MAD device name eg: CEHTR (check MAD deck) # units - user units (mm) # higap - set hi gap for collimator # logap - set logap for the collimator # jump - set jog value # hipos - max set jog value # lopos - min set jog value # leftjaw - Left jaw attribute # rightjaw - Right jaw attribute #------------------------------------------------------------------------------- # Mod: # 10-Mar-2020, N. Balakrishnan (namrata): # Added Pv to calculate collimator state. # 19-Nov-2020, N. Balakrishnan (namrata): # CATER 138562 Error in Gap calculation around set center value. #------------------------------------------------------------------------------- # Store if device is in position record(bi, "$(device):State"){ field(DESC, "Collimator usable") field(ZNAM, "Active") field(ONAM, "Locked Off") } record(ao, "$(device):SETGAP") { field(DESC, "Set CXC01 Collimator Gap") field(EGU, "mm") field(OMSL, "supervisory") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(FLNK, "$(device):MAKEGAP") info(autosaveFields, "DRVH DRVL") } record(calcout, "$(device):UPGAP") { field(DESC, "CXC01 center Increment") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):UPGAPJUMP") field(INPB, "$(device):GETGAP") field(CALC, "B+A") field(OUT, "$(device):SETGAP PP") } record(calcout, "$(device):DNGAP") { field(DESC, "CXC01 center Decrement") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):DNGAPJUMP") field(INPB, "$(device):GETGAP") field(CALC, "B-A") field(OUT, "$(device):SETGAP PP") } record(ao, "$(device):UPGAPJUMP") { field(DESC, "CXC01 Gap Up Jump") # field(PINI, "YES") # field(ASG, "COLLUSER") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") info(autosaveFields, "VAL DRVH DRVL") } record(ao, "$(device):DNGAPJUMP") { field(DESC, "CXC01 Gap Dn Jump") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") info(autosaveFields, "VAL DRVH DRVL") } record(calc, "$(device):GETGAP") { field(DESC, "Get CXC01 Collimator Gap") field(EGU, "mm") field(SCAN, ".1 second") field(INPA, "$(device):NEGX:MOTR.RBV") field(INPB, "$(device):POSX:MOTR.RBV") field(CALC, "-A+B") } # # Each jaw has it's own calc record # record(fanout, "$(device):MAKEGAP") { field(DESC, "CXC01 Coll Gap Sync") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "3") field(LNK1, "$(device):POSX:GAPCALC") field(LNK2, "$(device):NEGX:GAPCALC") } # # both records add to CENTER, since they each increase # in distance as they move away from CENTER. # record(calcout, "$(device):POSX:GAPCALC") { field(DESC, "CXC01 Right Gap Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):GETCENTER") field(INPB, "$(device):SETGAP") field(CALC, "A+(B/2)") field(OUT, "$(device):POSX:MOTR PP") } record(calcout, "$(device):NEGX:GAPCALC") { field(DESC, "CXC01 Left Gap Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):GETCENTER") field(INPB, "$(device):SETGAP") field(CALC, "A-(B/2)") field(OUT, "$(device):NEGX:MOTR PP") } # # CENTER the collimator gap for $(device) # record(ao, "$(device):SETCENTER") { field(DESC, "CXC01 Collimator center") field(EGU, "mm") field(OMSL, "supervisory") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(FLNK, "$(device):MAKECEN") info(autosaveFields, "DRVH DRVL") } record(calcout, "$(device):UPCENTER") { field(DESC, "CXC01 center Increment") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):CENTERJUMP") field(INPB, "$(device):GETCENTER") field(CALC, "B+A") field(OUT, "$(device):SETCENTER PP") } record(calcout, "$(device):DNCENTER") { field(DESC, "CXC01 center Decrement") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):CENTERJUMP") field(INPB, "$(device):GETCENTER") field(CALC, "B-A") field(OUT, "$(device):SETCENTER PP") } record(ao, "$(device):CENTERJUMP") { field(DESC, "CXC01 Coll. Jump") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL DRVH DRVL") } record(fanout, "$(device):MAKECEN") { field(DESC, "CXC01 Coll center Sync") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "3") field(LNK1, "$(device):POSX:CENCALC") field(LNK2, "$(device):NEGX:CENCALC") } record(calcout, "$(device):POSX:CENCALC") { field(DESC, "CXC01 Right Jaw Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):SETCENTER") field(INPB, "$(device):GETGAP") field(CALC, "A+(B/2)") field(OUT, "$(device):POSX:MOTR PP") } record(calcout, "$(device):NEGX:CENCALC") { field(DESC, "CXC01 Left Jaw Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):SETCENTER") field(INPB, "$(device):GETGAP") field(CALC, "A-(B/2)") field(OUT, "$(device):NEGX:MOTR PP") } record(calc, "$(device):GETCENTER") { field(DESC, "Get CXC01 Coll Posn") field(EGU, "mm") field(SCAN, ".1 second") field(INPA, "$(device):POSX:MOTR.RBV") field(INPB, "$(device):NEGX:MOTR.RBV") field(CALC, "((A+B)/2)") } record(dfanout, "$(device):STOP") { field(DESC, "CXC01 Stop Motion") field(SCAN, "Passive") field(DOL, "1") field(OMSL, "supervisory") field(OUTA, "$(device):NEGX:MOTR.STOP PP") field(OUTB, "$(device):POSX:MOTR.STOP PP") } record(dfanout, "$(device):EXTRACT") { field(DESC, "CXC01 Retract Jaws") field(SCAN, "Passive") field(DOL, "1") field(OMSL, "supervisory") field(OUTA, "$(device):NEGX:MOTRLO PP") field(OUTB, "$(device):POSX:MOTRHI PP") } record(ao, "$(device):NEGX:MOTRLO") { field(DESC, "Move CXC01 Low") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):NEGX:MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):NEGX:MOTR.VAL") field(FLNK, "$(device):NEGX:MOTR") } record(ao, "$(device):NEGX:MOTRHI") { field(DESC, "Move CXC01 High") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):NEGX:MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):NEGX:MOTR.VAL") field(FLNK, "$(device):NEGX:MOTR") } record(ao, "$(device):POSX:MOTRHI") { field(DESC, "Move CXC01 High") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):POSX:MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):POSX:MOTR.VAL") field(FLNK, "$(device):POSX:MOTR") } record(ao, "$(device):POSX:MOTRLO") { field(DESC, "Move CXC01 Low") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):POSX:MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):POSX:MOTR.VAL") field(FLNK, "$(device):POSX:MOTR") } record(calc, "$(device):DONEMOVING") { field(DESC, "CXC01 Moving") field(SCAN, ".1 second") field(INPA, "$(device):POSX:MOTR.DMOV") field(INPB, "$(device):NEGX:MOTR.DMOV") field(CALC, "A&B") } record(calcout, "$(device):NEGX:CALCNEGPOS") { field(SCAN, "1 second") field(DTYP, "Soft Channel") field(FLNK, "$(device):NEGX:LVPOSDISP") field(CALC, "-1*A") field(INPA, "$(device):NEGX:LVPOS") field(OUT, "$(device):NEGX:LVPOSDISP.VAL") } record(ao, "$(device):NEGX:LVPOSDISP") { } record(calcout, "$(device):NEGX:CALCNEGMOTR") { field(SCAN, "1 second") field(DTYP, "Soft Channel") field(FLNK, "$(device):NEGX:MOTRDISP") field(CALC, "-1*A") field(INPA, "$(device):NEGX:MOTR.RBV") field(OUT, "$(device):NEGX:MOTRDISP.VAL") } record(ao, "$(device):NEGX:MOTRDISP") { } # Collimator Database Entries for $(device) # This collimator has 2 jaws, each driven by a motor. # Looking upbeam (towards the gun) # On the right - $(device):NEGY:MOTR # On the left - $(device):POSY:MOTR # # Macros: # device - device name eg: COLL # mad - MAD device name eg: CEHTR (check MAD deck) # units - user units (mm) # higap - set hi gap for collimator # logap - set logap for the collimator # jump - set jog value # hipos - max set jog value # lopos - min set jog value # leftjaw - Left jaw attribute # rightjaw - Right jaw attribute #------------------------------------------------------------------------------- # Mod: # 10-Mar-2020, N. Balakrishnan (namrata): # Added Pv to calculate collimator state. # 19-Nov-2020, N. Balakrishnan (namrata): # CATER 138562 Error in Gap calculation around set center value. #------------------------------------------------------------------------------- # Store if device is in position record(bi, "$(device):State"){ field(DESC, "Collimator usable") field(ZNAM, "Active") field(ONAM, "Locked Off") } record(ao, "$(device):SETGAP") { field(DESC, "Set CYC03 Collimator Gap") field(EGU, "mm") field(OMSL, "supervisory") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(FLNK, "$(device):MAKEGAP") info(autosaveFields, "DRVH DRVL") } record(calcout, "$(device):UPGAP") { field(DESC, "CYC03 center Increment") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):UPGAPJUMP") field(INPB, "$(device):GETGAP") field(CALC, "B+A") field(OUT, "$(device):SETGAP PP") } record(calcout, "$(device):DNGAP") { field(DESC, "CYC03 center Decrement") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):DNGAPJUMP") field(INPB, "$(device):GETGAP") field(CALC, "B-A") field(OUT, "$(device):SETGAP PP") } record(ao, "$(device):UPGAPJUMP") { field(DESC, "CYC03 Gap Up Jump") # field(PINI, "YES") # field(ASG, "COLLUSER") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") info(autosaveFields, "VAL DRVH DRVL") } record(ao, "$(device):DNGAPJUMP") { field(DESC, "CYC03 Gap Dn Jump") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") info(autosaveFields, "VAL DRVH DRVL") } record(calc, "$(device):GETGAP") { field(DESC, "Get CYC03 Collimator Gap") field(EGU, "mm") field(SCAN, ".1 second") field(INPA, "$(device):POSY:MOTR.RBV") field(INPB, "$(device):NEGY:MOTR.RBV") field(CALC, "-A+B") } # # Each jaw has it's own calc record # record(fanout, "$(device):MAKEGAP") { field(DESC, "CYC03 Coll Gap Sync") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "3") field(LNK1, "$(device):NEGY:GAPCALC") field(LNK2, "$(device):POSY:GAPCALC") } # # both records add to CENTER, since they each increase # in distance as they move away from CENTER. # record(calcout, "$(device):NEGY:GAPCALC") { field(DESC, "CYC03 Right Gap Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):GETCENTER") field(INPB, "$(device):SETGAP") field(CALC, "A+(B/2)") field(OUT, "$(device):NEGY:MOTR PP") } record(calcout, "$(device):POSY:GAPCALC") { field(DESC, "CYC03 Left Gap Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):GETCENTER") field(INPB, "$(device):SETGAP") field(CALC, "A-(B/2)") field(OUT, "$(device):POSY:MOTR PP") } # # CENTER the collimator gap for $(device) # record(ao, "$(device):SETCENTER") { field(DESC, "CYC03 Collimator center") field(EGU, "mm") field(OMSL, "supervisory") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(FLNK, "$(device):MAKECEN") info(autosaveFields, "DRVH DRVL") } record(calcout, "$(device):UPCENTER") { field(DESC, "CYC03 center Increment") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):CENTERJUMP") field(INPB, "$(device):GETCENTER") field(CALC, "B+A") field(OUT, "$(device):SETCENTER PP") } record(calcout, "$(device):DNCENTER") { field(DESC, "CYC03 center Decrement") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):CENTERJUMP") field(INPB, "$(device):GETCENTER") field(CALC, "B-A") field(OUT, "$(device):SETCENTER PP") } record(ao, "$(device):CENTERJUMP") { field(DESC, "CYC03 Coll. Jump") field(EGU, "mm") field(OMSL, "supervisory") field(VAL, "1") field(DRVH, "55") field(DRVL, "1") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL DRVH DRVL") } record(fanout, "$(device):MAKECEN") { field(DESC, "CYC03 Coll center Sync") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "3") field(LNK1, "$(device):NEGY:CENCALC") field(LNK2, "$(device):POSY:CENCALC") } record(calcout, "$(device):NEGY:CENCALC") { field(DESC, "CYC03 Right Jaw Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):SETCENTER") field(INPB, "$(device):GETGAP") field(CALC, "A+(B/2)") field(OUT, "$(device):NEGY:MOTR PP") } record(calcout, "$(device):POSY:CENCALC") { field(DESC, "CYC03 Left Jaw Calc") field(EGU, "mm") field(SCAN, "Passive") field(INPA, "$(device):SETCENTER") field(INPB, "$(device):GETGAP") field(CALC, "A-(B/2)") field(OUT, "$(device):POSY:MOTR PP") } record(calc, "$(device):GETCENTER") { field(DESC, "Get CYC03 Coll Posn") field(EGU, "mm") field(SCAN, ".1 second") field(INPA, "$(device):NEGY:MOTR.RBV") field(INPB, "$(device):POSY:MOTR.RBV") field(CALC, "((A+B)/2)") } record(dfanout, "$(device):STOP") { field(DESC, "CYC03 Stop Motion") field(SCAN, "Passive") field(DOL, "1") field(OMSL, "supervisory") field(OUTA, "$(device):POSY:MOTR.STOP PP") field(OUTB, "$(device):NEGY:MOTR.STOP PP") } record(dfanout, "$(device):EXTRACT") { field(DESC, "CYC03 Retract Jaws") field(SCAN, "Passive") field(DOL, "1") field(OMSL, "supervisory") field(OUTA, "$(device):POSY:MOTRLO PP") field(OUTB, "$(device):NEGY:MOTRHI PP") } record(ao, "$(device):POSY:MOTRLO") { field(DESC, "Move CYC03 Low") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):POSY:MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):POSY:MOTR.VAL") field(FLNK, "$(device):POSY:MOTR") } record(ao, "$(device):POSY:MOTRHI") { field(DESC, "Move CYC03 High") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):POSY:MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):POSY:MOTR.VAL") field(FLNK, "$(device):POSY:MOTR") } record(ao, "$(device):NEGY:MOTRHI") { field(DESC, "Move CYC03 High") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):NEGY:MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):NEGY:MOTR.VAL") field(FLNK, "$(device):NEGY:MOTR") } record(ao, "$(device):NEGY:MOTRLO") { field(DESC, "Move CYC03 Low") field(EGU, "mm") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(device):NEGY:MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(device):NEGY:MOTR.VAL") field(FLNK, "$(device):NEGY:MOTR") } record(calc, "$(device):DONEMOVING") { field(DESC, "CYC03 Moving") field(SCAN, ".1 second") field(INPA, "$(device):NEGY:MOTR.DMOV") field(INPB, "$(device):POSY:MOTR.DMOV") field(CALC, "A&B") } record(calcout, "$(device):POSY:CALCNEGPOS") { field(SCAN, "1 second") field(DTYP, "Soft Channel") field(FLNK, "$(device):POSY:LVPOSDISP") field(CALC, "-1*A") field(INPA, "$(device):POSY:LVPOS") field(OUT, "$(device):POSY:LVPOSDISP.VAL") } record(ao, "$(device):POSY:LVPOSDISP") { } record(calcout, "$(device):POSY:CALCNEGMOTR") { field(SCAN, "1 second") field(DTYP, "Soft Channel") field(FLNK, "$(device):POSY:MOTRDISP") field(CALC, "-1*A") field(INPA, "$(device):POSY:MOTR.RBV") field(OUT, "$(device):POSY:MOTRDISP.VAL") } record(ao, "$(device):POSY:MOTRDISP") { } record(ai, "USEG:HTR:650:LVRAW") { field(DESC, "UMHTR LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@0,0) MOC_HTR_1") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "USEG:HTR:650:LVPOS_SUB") } #record(ai, "USEG:HTR:650:LVRAW_MODE") { # field(DESC, "UMHTR LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@0) MOC_HTR_1") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "USEG:HTR:650:LVPOS_SUB") #} record(compress, "USEG:HTR:650:LVRAW_AVERAGED") { field(DESC, "UMHTR LVDT Averaged Value") field(INP, "USEG:HTR:650:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "USEG:HTR:650:LVPOS_SUB") { field(DESC, "UMHTR Position") field(SCAN, "Passive") field(INPA, "-21.9456") field(INPB, "-3.35519") field(INPC, "0.0107526") field(INPD, "0.00210737") field(INPE, "-8.71188e-05") field(INPF, "0.0") field(INPG, "0.0") field(INPH, "0.0") field(INPL, "USEG:HTR:650: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, "USEG:HTR:650:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "USEG:HTR:650:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "USEG:HTR:650:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "USEG:HTR:650:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "USEG:HTR:650:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "COLL:COL0:790:NEGX:LVRAW") { field(DESC, "CXC03-NEGX LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@1,0) MOC_HTR_1") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "COLL:COL0:790:NEGX:LVPOS_SUB") } #record(ai, "COLL:COL0:790:NEGX:LVRAW_MODE") { # field(DESC, "CXC03-NEGX LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@1) MOC_HTR_1") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "COLL:COL0:790:NEGX:LVPOS_SUB") #} record(compress, "COLL:COL0:790:NEGX:LVRAW_AVERAGED") { field(DESC, "CXC03-NEGX LVDT Averaged Value") field(INP, "COLL:COL0:790:NEGX:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "COLL:COL0:790:NEGX:LVPOS_SUB") { field(DESC, "CXC03-NEGX Position") field(SCAN, "Passive") field(INPA, "23.1767") field(INPB, "3.26685") field(INPC, "-0.00385633") field(INPD, "-0.00493726") field(INPE, "3.81212e-05") field(INPF, "2.82327e-05") field(INPG, "0.0") field(INPH, "0.0") field(INPL, "COLL:COL0:790:NEGX: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, "COLL:COL0:790:NEGX:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "COLL:COL0:790:NEGX:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "COLL:COL0:790:NEGX:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "COLL:COL0:790:NEGX:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "COLL:COL0:790:NEGX:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "COLL:COL0:790:POSX:LVRAW") { field(DESC, "CXC03-POSX LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@2,0) MOC_HTR_1") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "COLL:COL0:790:POSX:LVPOS_SUB") } #record(ai, "COLL:COL0:790:POSX:LVRAW_MODE") { # field(DESC, "CXC03-POSX LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@2) MOC_HTR_1") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "COLL:COL0:790:POSX:LVPOS_SUB") #} record(compress, "COLL:COL0:790:POSX:LVRAW_AVERAGED") { field(DESC, "CXC03-POSX LVDT Averaged Value") field(INP, "COLL:COL0:790:POSX:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "COLL:COL0:790:POSX:LVPOS_SUB") { field(DESC, "CXC03-POSX Position") field(SCAN, "Passive") field(INPA, "-20.958") field(INPB, "-3.58374") field(INPC, "0.00474783") field(INPD, "0.00461633") field(INPE, "-1.79762e-05") field(INPF, "-1.64396e-05") field(INPG, "0.0") field(INPH, "0.0") field(INPL, "COLL:COL0:790:POSX: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, "COLL:COL0:790:POSX:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "COLL:COL0:790:POSX:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "COLL:COL0:790:POSX:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "COLL:COL0:790:POSX:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "COLL:COL0:790:POSX:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "COLL:HTR:615:NEGX:LVRAW") { field(DESC, "CEDL13-NEGX LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@0,0) MOC_HTR_3") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "COLL:HTR:615:NEGX:LVPOS_SUB") } #record(ai, "COLL:HTR:615:NEGX:LVRAW_MODE") { # field(DESC, "CEDL13-NEGX LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@0) MOC_HTR_3") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "COLL:HTR:615:NEGX:LVPOS_SUB") #} record(compress, "COLL:HTR:615:NEGX:LVRAW_AVERAGED") { field(DESC, "CEDL13-NEGX LVDT Averaged Value") field(INP, "COLL:HTR:615:NEGX:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "COLL:HTR:615:NEGX:LVPOS_SUB") { field(DESC, "CEDL13-NEGX Position") field(SCAN, "Passive") field(INPA, "-23.3223") field(INPB, "-3.33135") field(INPC, "-0.000776605") field(INPD, "0.00407539") field(INPE, "0.00030056") field(INPF, "-1.54314e-05") field(INPG, "-2.61449e-06") field(INPH, "0.0") field(INPL, "COLL:HTR:615:NEGX: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, "COLL:HTR:615:NEGX:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "COLL:HTR:615:NEGX:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "COLL:HTR:615:NEGX:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "COLL:HTR:615:NEGX:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "COLL:HTR:615:NEGX:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "COLL:HTR:615:POSX:LVRAW") { field(DESC, "CEDL13-POSX LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@1,0) MOC_HTR_3") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "COLL:HTR:615:POSX:LVPOS_SUB") } #record(ai, "COLL:HTR:615:POSX:LVRAW_MODE") { # field(DESC, "CEDL13-POSX LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@1) MOC_HTR_3") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "COLL:HTR:615:POSX:LVPOS_SUB") #} record(compress, "COLL:HTR:615:POSX:LVRAW_AVERAGED") { field(DESC, "CEDL13-POSX LVDT Averaged Value") field(INP, "COLL:HTR:615:POSX:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "COLL:HTR:615:POSX:LVPOS_SUB") { field(DESC, "CEDL13-POSX Position") field(SCAN, "Passive") field(INPA, "22.1714") field(INPB, "3.35152") field(INPC, "-0.0156949") field(INPD, "-0.00335186") field(INPE, "0.000385083") field(INPF, "6.78408e-06") field(INPG, "-2.40925e-06") field(INPH, "0.0") field(INPL, "COLL:HTR:615:POSX: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, "COLL:HTR:615:POSX:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "COLL:HTR:615:POSX:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "COLL:HTR:615:POSX:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "COLL:HTR:615:POSX:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "COLL:HTR:615:POSX:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "COLL:COL0:390:POSY:LVRAW") { field(DESC, "CYC01-POSY LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@2,0) MOC_HTR_3") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "COLL:COL0:390:POSY:LVPOS_SUB") } #record(ai, "COLL:COL0:390:POSY:LVRAW_MODE") { # field(DESC, "CYC01-POSY LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@2) MOC_HTR_3") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "COLL:COL0:390:POSY:LVPOS_SUB") #} record(compress, "COLL:COL0:390:POSY:LVRAW_AVERAGED") { field(DESC, "CYC01-POSY LVDT Averaged Value") field(INP, "COLL:COL0:390:POSY:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "COLL:COL0:390:POSY:LVPOS_SUB") { field(DESC, "CYC01-POSY Position") field(SCAN, "Passive") field(INPA, "-22.0569") field(INPB, "-3.38774") field(INPC, "0.0108246") field(INPD, "0.00441276") field(INPE, "-0.000114925") field(INPF, "-2.04136e-05") field(INPG, "0.0") field(INPH, "0.0") field(INPL, "COLL:COL0:390:POSY: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, "COLL:COL0:390:POSY:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "COLL:COL0:390:POSY:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "COLL:COL0:390:POSY:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "COLL:COL0:390:POSY:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "COLL:COL0:390:POSY:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "COLL:COL0:390:NEGY:LVRAW") { field(DESC, "CYC01-NEGY LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@3,0) MOC_HTR_3") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "COLL:COL0:390:NEGY:LVPOS_SUB") } #record(ai, "COLL:COL0:390:NEGY:LVRAW_MODE") { # field(DESC, "CYC01-NEGY LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@3) MOC_HTR_3") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "COLL:COL0:390:NEGY:LVPOS_SUB") #} record(compress, "COLL:COL0:390:NEGY:LVRAW_AVERAGED") { field(DESC, "CYC01-NEGY LVDT Averaged Value") field(INP, "COLL:COL0:390:NEGY:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "COLL:COL0:390:NEGY:LVPOS_SUB") { field(DESC, "CYC01-NEGY Position") field(SCAN, "Passive") field(INPA, "22.048") field(INPB, "3.40088") field(INPC, "-0.00637485") field(INPD, "-0.00505319") field(INPE, "4.73341e-05") field(INPF, "2.45824e-05") field(INPG, "0.0") field(INPH, "0.0") field(INPL, "COLL:COL0:390:NEGY: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, "COLL:COL0:390:NEGY:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "COLL:COL0:390:NEGY:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "COLL:COL0:390:NEGY:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "COLL:COL0:390:NEGY:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "COLL:COL0:390:NEGY:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "COLL:COL0:470:NEGX:LVRAW") { field(DESC, "CXC01-NEGX LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@0,0) MOC_COL0_1") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "COLL:COL0:470:NEGX:LVPOS_SUB") } #record(ai, "COLL:COL0:470:NEGX:LVRAW_MODE") { # field(DESC, "CXC01-NEGX LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@0) MOC_COL0_1") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "COLL:COL0:470:NEGX:LVPOS_SUB") #} record(compress, "COLL:COL0:470:NEGX:LVRAW_AVERAGED") { field(DESC, "CXC01-NEGX LVDT Averaged Value") field(INP, "COLL:COL0:470:NEGX:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "COLL:COL0:470:NEGX:LVPOS_SUB") { field(DESC, "CXC01-NEGX Position") field(SCAN, "Passive") field(INPA, "-23.3223") field(INPB, "-3.33135") field(INPC, "-0.000776605") field(INPD, "0.00407539") field(INPE, "0.00030056") field(INPF, "-1.54314e-05") field(INPG, "-2.61449e-06") field(INPH, "0.0") field(INPL, "COLL:COL0:470:NEGX: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, "COLL:COL0:470:NEGX:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "COLL:COL0:470:NEGX:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "COLL:COL0:470:NEGX:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "COLL:COL0:470:NEGX:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "COLL:COL0:470:NEGX:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "COLL:COL0:470:POSX:LVRAW") { field(DESC, "CXC01-POSX LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@1,0) MOC_COL0_1") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "COLL:COL0:470:POSX:LVPOS_SUB") } #record(ai, "COLL:COL0:470:POSX:LVRAW_MODE") { # field(DESC, "CXC01-POSX LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@1) MOC_COL0_1") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "COLL:COL0:470:POSX:LVPOS_SUB") #} record(compress, "COLL:COL0:470:POSX:LVRAW_AVERAGED") { field(DESC, "CXC01-POSX LVDT Averaged Value") field(INP, "COLL:COL0:470:POSX:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "COLL:COL0:470:POSX:LVPOS_SUB") { field(DESC, "CXC01-POSX Position") field(SCAN, "Passive") field(INPA, "22.1714") field(INPB, "3.35152") field(INPC, "-0.0156949") field(INPD, "-0.00335186") field(INPE, "0.000385083") field(INPF, "6.78408e-06") field(INPG, "-2.40925e-06") field(INPH, "0.0") field(INPL, "COLL:COL0:470:POSX: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, "COLL:COL0:470:POSX:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "COLL:COL0:470:POSX:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "COLL:COL0:470:POSX:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "COLL:COL0:470:POSX:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "COLL:COL0:470:POSX:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "COLL:COL0:710:POSY:LVRAW") { field(DESC, "CYC03-POSY LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@2,0) MOC_COL0_1") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "COLL:COL0:710:POSY:LVPOS_SUB") } #record(ai, "COLL:COL0:710:POSY:LVRAW_MODE") { # field(DESC, "CYC03-POSY LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@2) MOC_COL0_1") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "COLL:COL0:710:POSY:LVPOS_SUB") #} record(compress, "COLL:COL0:710:POSY:LVRAW_AVERAGED") { field(DESC, "CYC03-POSY LVDT Averaged Value") field(INP, "COLL:COL0:710:POSY:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "COLL:COL0:710:POSY:LVPOS_SUB") { field(DESC, "CYC03-POSY Position") field(SCAN, "Passive") field(INPA, "-22.0569") field(INPB, "-3.38774") field(INPC, "0.0108246") field(INPD, "0.00441276") field(INPE, "-0.000114925") field(INPF, "-2.04136e-05") field(INPG, "0.0") field(INPH, "0.0") field(INPL, "COLL:COL0:710:POSY: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, "COLL:COL0:710:POSY:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "COLL:COL0:710:POSY:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "COLL:COL0:710:POSY:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "COLL:COL0:710:POSY:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "COLL:COL0:710:POSY:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") } record(ai, "COLL:COL0:710:NEGY:LVRAW") { field(DESC, "CYC03-NEGY LVDT Raw Data") field(SCAN, "1 second") field(DTYP, "stream") field(INP, "@aerotech.proto getAIN(@@3,0) MOC_COL0_1") field(LINR, "NO CONVERSION") field(PHAS, "0") field(EGU, "raw") field(PREC, "4") field(FLNK, "COLL:COL0:710:NEGY:LVPOS_SUB") } #record(ai, "COLL:COL0:710:NEGY:LVRAW_MODE") { # field(DESC, "CYC03-NEGY LVDT Raw Mode Data") # field(SCAN, "1 second") # field(DTYP, "stream") # field(INP, "@aerotech.proto getDGLOBAL(@3) MOC_COL0_1") # field(LINR, "NO CONVERSION") # field(PHAS, "0") # field(EGU, "V") # field(PREC, "4") # field(FLNK, "COLL:COL0:710:NEGY:LVPOS_SUB") #} record(compress, "COLL:COL0:710:NEGY:LVRAW_AVERAGED") { field(DESC, "CYC03-NEGY LVDT Averaged Value") field(INP, "COLL:COL0:710:NEGY:LVRAW CP MS") field(ALG, "N to 1 Average") field(PREC, "4") field(N, "10") } record(sub, "COLL:COL0:710:NEGY:LVPOS_SUB") { field(DESC, "CYC03-NEGY Position") field(SCAN, "Passive") field(INPA, "22.048") field(INPB, "3.40088") field(INPC, "-0.00637485") field(INPD, "-0.00505319") field(INPE, "4.73341e-05") field(INPF, "2.45824e-05") field(INPG, "0.0") field(INPH, "0.0") field(INPL, "COLL:COL0:710:NEGY: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, "COLL:COL0:710:NEGY:LVPOS") { field(DESC, "LVDT position calculated") field(SCAN, ".1 second") field(DOL, "COLL:COL0:710:NEGY:LVPOS_SUB.VAL") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") field(HIHI, "35") field(LOLO, "34") field(HIGH, "34.8") field(LOW, "34.2") field(HHSV, "MAJOR") field(LLSV, "MAJOR") field(HSV, "MINOR") field(LSV, "MINOR") info(autosaveFields, "LOW LOLO HIGH HIHI HHSV LLSV HSV LSV") } record(ao, "COLL:COL0:710:NEGY:XACT") { field(DESC, "LVDT position") field(SCAN, ".1 second") field(DOL, "COLL:COL0:710:NEGY:MOTR.RBV") field(OMSL, "closed_loop") field(PREC, "4") field(EGU, "mm") } record(bo, "COLL:COL0:710:NEGY:TRIM_DBG") { field(DTYP, "Raw Soft Channel") field(DESC, "Trim debug flag") field(VAL, "0") field(ZNAM, "Debug Off") field(ONAM, "Debug On") }