# # This file defines the EPICS records for power chassis for IU base control # # ADC voltage readbacks record(stringin, "$(PREFIX)$(PORT):stat_ip") { field(DTYP, "BaseIU") field(DESC, "Static IP Address") field(SCAN, "$(SCAN)") field(INP, "@$(PORT)//ANAGATE/IP/") } record( ai, "$(PREFIX)$(PORT):$(ADDR):vla") { field( DESC, "Left A Voltage Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/VLA") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):vlb") { field( DESC, "Left B Voltage Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/VLB") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):vlc") { field( DESC, "Left C Voltage Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/VLC") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):vld") { field( DESC, "Left D Voltage Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/VLD") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):vra") { field( DESC, "Right A Voltage Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/VRA") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):vrb") { field( DESC, "Right B Voltage Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/VRB") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):vrc") { field( DESC, "Right C Voltage Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/VRC") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):vrd") { field( DESC, "Right D Voltage Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/VRD") field( SCAN, "$(SCAN)") field( PREC, "2") } # ADC current readbacks record( ai, "$(PREFIX)$(PORT):$(ADDR):ila") { field( DESC, "Left A Current Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/ILA") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):ilb") { field( DESC, "Left B Current Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/ILB") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):ilc") { field( DESC, "Left C Current Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/ILC") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):ild") { field( DESC, "Left D Current Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/ILD") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):ira") { field( DESC, "Right A Current Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/IRA") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):irb") { field( DESC, "Right B Current Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/IRB") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):irc") { field( DESC, "Right C Current Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/IRC") field( SCAN, "$(SCAN)") field( PREC, "2") } record( ai, "$(PREFIX)$(PORT):$(ADDR):ird") { field( DESC, "Right D Current Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/IRD") field( SCAN, "$(SCAN)") field( PREC, "2") } # ADC status readbacks record( mbbiDirect, "$(PREFIX)$(PORT):$(ADDR):sla") { field( DESC, "Left A Status Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/SLA") field( SCAN, "$(SCAN)") } record( mbbiDirect, "$(PREFIX)$(PORT):$(ADDR):slb") { field( DESC, "Left B Status Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/SLB") field( SCAN, "$(SCAN)") } record( mbbiDirect, "$(PREFIX)$(PORT):$(ADDR):slc") { field( DESC, "Left C Status Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/SLC") field( SCAN, "$(SCAN)") } record( mbbiDirect, "$(PREFIX)$(PORT):$(ADDR):sld") { field( DESC, "Left D Status Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/SLD") field( SCAN, "$(SCAN)") } record( mbbiDirect, "$(PREFIX)$(PORT):$(ADDR):sra") { field( DESC, "Right A Status Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/SRA") field( SCAN, "$(SCAN)") } record( mbbiDirect, "$(PREFIX)$(PORT):$(ADDR):srb") { field( DESC, "Right B Status Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/SRB") field( SCAN, "$(SCAN)") } record( mbbiDirect, "$(PREFIX)$(PORT):$(ADDR):src") { field( DESC, "Right C Status Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/SRC") field( SCAN, "$(SCAN)") } record( mbbiDirect, "$(PREFIX)$(PORT):$(ADDR):srd") { field( DESC, "Right D Status Readback") field( DTYP, "BaseIU") field( INP, "@$(PORT)/$(ADDR)/ADC/SRD") field( SCAN, "$(SCAN)") }