#! Generated by VisualDCT v2.6 #! DBDSTART #! DBDEND # motor channel $(asynport)/$(chan) record(motor, "$(dev):$(area):$(location):MOTR") { field(DESC, "$(mad) $(desc)") field(SCAN, "Passive") field(ASG, "$(security)USER") field(DIR, "$(dir)") field(DTYP, "asynMotor") field(VELO, "$(vel)") field(VBAS, "$(vbas)") field(VMAX, "$(vmax)") field(ACCL, "$(atime)") field(OUT, "@asyn( $(asynport), $(chan))") field(MRES, "$(res)") field(SREV, "$(steps)") field(PREC, "$(prec)") field(EGU, "$(units)") field(DHLM, "$(hilim)") field(HOPR, "$(hilim)") field(DLLM, "$(lolim)") field(LOPR, "$(lolim)") field(DLY, "0") field(TWV, "$(jump)") field(SET, "$(no_move)") field(RDBD, "$(res)") field(FOFF, "Frozen") field(FLNK, "$(dev):$(area):$(location):MOTRVALREST") field(PINI, "YES") field(PRIO, "HIGH") } # # Position of motor on $(dev):$(area):$(location) # updated regularly, when a specific event arrives # from the event timing system, indicating that # beam has arrived. This is unused for collimators # or other simple motion devices; it is important # for wire scanners and other beam-synchronous # devices. # WARNING: The EVNT field is changed when calibrations # are performed. If problems are suspected with this, # check the save and restore code in the sequencer, # under calibrate.st, in the READY_TO_PROFILE state. # record(ai, "$(dev):$(area):$(location):POSN") { field(DESC, "$(mad) Current Position") field(ASG, "$(security)ADMIN") field(DTYP, "Hytec8601Location") field(EGU, "$(units)") field(INP, "#C$(card) S$(chan) @L") field(SCAN, "Event") field(PRIO, "HIGH") field(EVNT, "140") field(LINR, "SLOPE") field(ROFF, "0") field(EOFF, "0") field(ESLO, "$(conv)") field(FLNK, "$(dev):$(area):$(location):EFPOSN") } # # This record contains a simple value that changes per # beam pulse; when $(dev):$(area):$(location) ($(mad)) # is scanning, it will have a non-zero value, and when # moving to a start position or positioning to confirm # an LVDT value, it will be zero. # record(ao, "$(dev):$(area):$(location):MASK") { field(DESC, "$(mad) Scan Mask") field(ASG, "$(security)USER") field(OMSL, "supervisory") field(SCAN, "Event") field(EVNT, "140") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(FLNK, "$(dev):$(area):$(location):EFMASK") } # # This record takes the calibration offset from # $(dev):$(area):$(location) ($(mad)) and pushes # it to the EOFF field in the POSN record, above. # It is triggered by the state machine after a # calibration is complete, or when the IOC starts. # record(ao, "$(dev):$(area):$(location):NEWOFFS") { field(DESC, "New $(mad) Cal") field(ASG, "$(security)ADMIN") field(EGU, "$(units)") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(dev):$(area):$(location):MOTR.OFF PP") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(dev):$(area):$(location):POSN.EOFF") } record(ao, "$(dev):$(area):$(location):MOTRVAL") { field(DESC, "$(mad) Value Proxy") field(ASG, "$(security)USER") field(EGU, "$(units)") field(OMSL, "supervisory") field(DRVH, "$(hilim)") field(DRVL, "$(lolim)") field(SCAN, "Passive") field(OUT, "$(dev):$(area):$(location):MOTR.VAL") field(FLNK, "$(dev):$(area):$(location):MOTR") } record(ao, "$(dev):$(area):$(location):MOTRHI") { field(DESC, "Move $(mad) High") field(ASG, "$(security)BYPASS") field(EGU, "$(units)") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(dev):$(area):$(location):MOTR.HLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(dev):$(area):$(location):MOTR.VAL") field(FLNK, "$(dev):$(area):$(location):MOTR") } record(ao, "$(dev):$(area):$(location):MOTRLO") { field(DESC, "Move $(mad) Low") field(ASG, "$(security)BYPASS") field(EGU, "$(units)") field(OMSL, "closed_loop") field(OIF, "Full") field(DOL, "$(dev):$(area):$(location):MOTR.LLM") field(DRVH, "4000000000") field(DRVL, "-4000000000") field(SCAN, "Passive") field(OUT, "$(dev):$(area):$(location):MOTR.VAL") field(FLNK, "$(dev):$(area):$(location):MOTR") } record(fanout, "$(dev):$(area):$(location):SYNCMOTPROFILE") { field(DESC, "$(mad) Calib Profile Sync") field(ASG, "$(security)ADMIN") field(SCAN, "Passive") field(SELM, "Mask") field(SELL, "7") field(LNK1, "$(dev):$(area):$(location):MOTPROFILE") field(LNK2, "$(dev):$(area):$(location):LVDTPROFILE") field(LNK3, "$(dev):$(area):$(location):CALIBSYNC") } # # This record is processed at the end of an acquisition # sequence. The calibration state machine waits for it # to become 0. Specifically, it awaits processing. # record(event, "$(dev):$(area):$(location):CALIBSYNC") { field(DESC, "$(mad) Cal Delay Sync") field(ASG, "$(security)USER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") } record(compress, "$(dev):$(area):$(location):MOTPROFILE") { field(DESC, "$(mad) Motion Profile") field(ASG, "$(security)USER") field(SCAN, "Passive") field(ALG, "Circular Buffer") field(NSAM, "$(profile)") field(INP, "$(dev):$(area):$(location):POSN PP") } record(compress, "$(dev):$(area):$(location):LVDTPROFILE") { field(DESC, "$(mad) Measured Profile") field(ASG, "$(security)USER") field(SCAN, "Passive") field(ALG, "Circular Buffer") field(NSAM, "$(profile)") field(INP, "$(dev):$(area):$(location):LVRAW PP") } record(subArray, "$(dev):$(area):$(location):SUBLPROF") { field(DESC, "$(mad) Distance Region") field(ASG, "$(security)USER") field(SCAN, "Passive") field(MALM, "$(profile)") field(NELM, "$(profile)") field(INDX, "0") field(FTVL, "DOUBLE") field(INP, "$(dev):$(area):$(location):PLVDTPROFILE.VAL") } record(subArray, "$(dev):$(area):$(location):SUBMPROF") { field(DESC, "$(mad) Motion Region") field(ASG, "$(security)USER") field(SCAN, "Passive") field(MALM, "$(profile)") field(NELM, "$(profile)") field(INDX, "0") field(FTVL, "DOUBLE") field(INP, "$(dev):$(area):$(location):PMOTPROFILE.VAL") } record(waveform, "$(dev):$(area):$(location):PMOTPROFILE") { field(DESC, "$(mad) Prev Motion Profile") field(ASG, "$(security)USER") field(SCAN, "Passive") field(FTVL, "DOUBLE") field(EGU, "$(units)") field(NELM, "$(profile)") field(INP, "$(dev):$(area):$(location):MOTPROFILE") field(FLNK, "$(dev):$(area):$(location):SUBMPROF") } record(waveform, "$(dev):$(area):$(location):PLVDTPROFILE") { field(DESC, "$(mad) Prev Measured Profl") field(ASG, "$(security)USER") field(SCAN, "Passive") field(FTVL, "DOUBLE") field(EGU, "$(units)") field(NELM, "$(profile)") field(INP, "$(dev):$(area):$(location):LVDTPROFILE") field(FLNK, "$(dev):$(area):$(location):SUBLPROF") } record(ai, "$(dev):$(area):$(location):MOTRVALREST") { field(INP, "$(dev):$(area):$(location):MOTR") } #! Further lines contain data used by VisualDCT #! View(-231,455,1.0) #! Record("$(dev):$(area):$(location):MOTR",20,23,0,0,"$(dev):$(area):$(location):MOTR") #! Field("$(dev):$(area):$(location):MOTR.OFF",16777215,1,"$(dev):$(area):$(location):MOTR.OFF") #! Field("$(dev):$(area):$(location):MOTR.VAL",16777215,1,"$(dev):$(area):$(location):MOTR.VAL") #! Field("$(dev):$(area):$(location):MOTR.HLM",16777215,1,"$(dev):$(area):$(location):MOTR.HLM") #! Field("$(dev):$(area):$(location):MOTR.LLM",16777215,1,"$(dev):$(area):$(location):MOTR.LLM") #! Field("$(dev):$(area):$(location):MOTR.FLNK",16777215,1,"$(dev):$(area):$(location):MOTR.FLNK") #! Link("$(dev):$(area):$(location):MOTR.FLNK","$(dev):$(area):$(location):MOTRVALREST") #! Record("$(dev):$(area):$(location):POSN",260,23,0,0,"$(dev):$(area):$(location):POSN") #! Field("$(dev):$(area):$(location):POSN.FLNK",16777215,1,"$(dev):$(area):$(location):POSN.FLNK") #! Field("$(dev):$(area):$(location):POSN.EOFF",16777215,1,"$(dev):$(area):$(location):POSN.EOFF") #! Field("$(dev):$(area):$(location):POSN.VAL",16777215,1,"$(dev):$(area):$(location):POSN.VAL") #! Record("$(dev):$(area):$(location):MASK",500,12,0,0,"$(dev):$(area):$(location):MASK") #! Field("$(dev):$(area):$(location):MASK.FLNK",16777215,1,"$(dev):$(area):$(location):MASK.FLNK") #! Record("$(dev):$(area):$(location):NEWOFFS",740,25,0,0,"$(dev):$(area):$(location):NEWOFFS") #! Field("$(dev):$(area):$(location):NEWOFFS.DOL",16777215,0,"$(dev):$(area):$(location):NEWOFFS.DOL") #! Link("$(dev):$(area):$(location):NEWOFFS.DOL","$(dev):$(area):$(location):MOTR.OFF") #! Field("$(dev):$(area):$(location):NEWOFFS.OUT",16777215,0,"$(dev):$(area):$(location):NEWOFFS.OUT") #! Link("$(dev):$(area):$(location):NEWOFFS.OUT","$(dev):$(area):$(location):POSN.EOFF") #! Record("$(dev):$(area):$(location):MOTRVAL",980,19,0,0,"$(dev):$(area):$(location):MOTRVAL") #! Field("$(dev):$(area):$(location):MOTRVAL.OUT",16777215,0,"$(dev):$(area):$(location):MOTRVAL.OUT") #! Link("$(dev):$(area):$(location):MOTRVAL.OUT","$(dev):$(area):$(location):MOTR.VAL") #! Field("$(dev):$(area):$(location):MOTRVAL.FLNK",16777215,0,"$(dev):$(area):$(location):MOTRVAL.FLNK") #! Link("$(dev):$(area):$(location):MOTRVAL.FLNK","$(dev):$(area):$(location):MOTR") #! Record("$(dev):$(area):$(location):MOTRHI",1220,11,0,0,"$(dev):$(area):$(location):MOTRHI") #! Field("$(dev):$(area):$(location):MOTRHI.DOL",16777215,0,"$(dev):$(area):$(location):MOTRHI.DOL") #! Link("$(dev):$(area):$(location):MOTRHI.DOL","$(dev):$(area):$(location):MOTR.HLM") #! Field("$(dev):$(area):$(location):MOTRHI.OUT",16777215,0,"$(dev):$(area):$(location):MOTRHI.OUT") #! Link("$(dev):$(area):$(location):MOTRHI.OUT","$(dev):$(area):$(location):MOTR.VAL") #! Field("$(dev):$(area):$(location):MOTRHI.FLNK",16777215,0,"$(dev):$(area):$(location):MOTRHI.FLNK") #! Link("$(dev):$(area):$(location):MOTRHI.FLNK","$(dev):$(area):$(location):MOTR") #! Record("$(dev):$(area):$(location):MOTRLO",1460,11,0,0,"$(dev):$(area):$(location):MOTRLO") #! Field("$(dev):$(area):$(location):MOTRLO.DOL",16777215,0,"$(dev):$(area):$(location):MOTRLO.DOL") #! Link("$(dev):$(area):$(location):MOTRLO.DOL","$(dev):$(area):$(location):MOTR.LLM") #! Field("$(dev):$(area):$(location):MOTRLO.OUT",16777215,0,"$(dev):$(area):$(location):MOTRLO.OUT") #! Link("$(dev):$(area):$(location):MOTRLO.OUT","$(dev):$(area):$(location):MOTR.VAL") #! Field("$(dev):$(area):$(location):MOTRLO.FLNK",16777215,0,"$(dev):$(area):$(location):MOTRLO.FLNK") #! Link("$(dev):$(area):$(location):MOTRLO.FLNK","$(dev):$(area):$(location):MOTR") #! Record("$(dev):$(area):$(location):SYNCMOTPROFILE",500,292,0,0,"$(dev):$(area):$(location):SYNCMOTPROFILE") #! Field("$(dev):$(area):$(location):SYNCMOTPROFILE.LNK1",16777215,1,"$(dev):$(area):$(location):SYNCMOTPROFILE.LNK1") #! Link("$(dev):$(area):$(location):SYNCMOTPROFILE.LNK1","$(dev):$(area):$(location):MOTPROFILE") #! Field("$(dev):$(area):$(location):SYNCMOTPROFILE.LNK2",16777215,1,"$(dev):$(area):$(location):SYNCMOTPROFILE.LNK2") #! Link("$(dev):$(area):$(location):SYNCMOTPROFILE.LNK2","$(dev):$(area):$(location):LVDTPROFILE") #! Field("$(dev):$(area):$(location):SYNCMOTPROFILE.LNK3",16777215,1,"$(dev):$(area):$(location):SYNCMOTPROFILE.LNK3") #! Link("$(dev):$(area):$(location):SYNCMOTPROFILE.LNK3","$(dev):$(area):$(location):CALIBSYNC") #! Record("$(dev):$(area):$(location):CALIBSYNC",740,314,0,1,"$(dev):$(area):$(location):CALIBSYNC") #! Record("$(dev):$(area):$(location):MOTPROFILE",1000,320,0,0,"$(dev):$(area):$(location):MOTPROFILE") #! Field("$(dev):$(area):$(location):MOTPROFILE.INP",16777215,0,"$(dev):$(area):$(location):MOTPROFILE.INP") #! Link("$(dev):$(area):$(location):MOTPROFILE.INP","$(dev):$(area):$(location):POSN.VAL") #! Field("$(dev):$(area):$(location):MOTPROFILE.VAL",16777215,1,"$(dev):$(area):$(location):MOTPROFILE.VAL") #! Record("$(dev):$(area):$(location):LVDTPROFILE",1240,360,0,0,"$(dev):$(area):$(location):LVDTPROFILE") #! Field("$(dev):$(area):$(location):LVDTPROFILE.INP",16777215,1,"$(dev):$(area):$(location):LVDTPROFILE.INP") #! Field("$(dev):$(area):$(location):LVDTPROFILE.VAL",16777215,0,"$(dev):$(area):$(location):LVDTPROFILE.VAL") #! Record("$(dev):$(area):$(location):SUBLPROF",900,592,0,0,"$(dev):$(area):$(location):SUBLPROF") #! Field("$(dev):$(area):$(location):SUBLPROF.INP",16777215,0,"$(dev):$(area):$(location):SUBLPROF.INP") #! Link("$(dev):$(area):$(location):SUBLPROF.INP","$(dev):$(area):$(location):PLVDTPROFILE.VAL") #! Record("$(dev):$(area):$(location):SUBMPROF",1200,692,0,1,"$(dev):$(area):$(location):SUBMPROF") #! Field("$(dev):$(area):$(location):SUBMPROF.INP",16777215,1,"$(dev):$(area):$(location):SUBMPROF.INP") #! Link("$(dev):$(area):$(location):SUBMPROF.INP","$(dev):$(area):$(location):PMOTPROFILE.VAL") #! Record("$(dev):$(area):$(location):PMOTPROFILE",1480,412,0,0,"$(dev):$(area):$(location):PMOTPROFILE") #! Field("$(dev):$(area):$(location):PMOTPROFILE.VAL",16777215,0,"$(dev):$(area):$(location):PMOTPROFILE.VAL") #! Field("$(dev):$(area):$(location):PMOTPROFILE.INP",16777215,0,"$(dev):$(area):$(location):PMOTPROFILE.INP") #! Link("$(dev):$(area):$(location):PMOTPROFILE.INP","$(dev):$(area):$(location):MOTPROFILE.VAL") #! Field("$(dev):$(area):$(location):PMOTPROFILE.FLNK",16777215,0,"$(dev):$(area):$(location):PMOTPROFILE.FLNK") #! Link("$(dev):$(area):$(location):PMOTPROFILE.FLNK","$(dev):$(area):$(location):SUBMPROF") #! Record("$(dev):$(area):$(location):PLVDTPROFILE",640,632,0,0,"$(dev):$(area):$(location):PLVDTPROFILE") #! Field("$(dev):$(area):$(location):PLVDTPROFILE.VAL",16777215,1,"$(dev):$(area):$(location):PLVDTPROFILE.VAL") #! Field("$(dev):$(area):$(location):PLVDTPROFILE.INP",16777215,1,"$(dev):$(area):$(location):PLVDTPROFILE.INP") #! Link("$(dev):$(area):$(location):PLVDTPROFILE.INP","$(dev):$(area):$(location):LVDTPROFILE.VAL") #! Field("$(dev):$(area):$(location):PLVDTPROFILE.FLNK",16777215,1,"$(dev):$(area):$(location):PLVDTPROFILE.FLNK") #! Link("$(dev):$(area):$(location):PLVDTPROFILE.FLNK","$(dev):$(area):$(location):SUBLPROF") #! Record("$(dev):$(area):$(location):MOTRVALREST",460,550,0,0,"$(dev):$(area):$(location):MOTRVALREST") #! Field("$(dev):$(area):$(location):MOTRVALREST.INP",16777215,0,"$(dev):$(area):$(location):MOTRVALREST.INP") #! Link("$(dev):$(area):$(location):MOTRVALREST.INP","$(dev):$(area):$(location):MOTR.VAL")