#! Generated by VisualDCT v2.6.1280
#! DBDSTART
#! DBDEND



record(mbboDirect, "register$(port)") {
  field(DTYP, "Raw Soft Channel")
  field(OUT, "set_register$(port) PP")
}


record(longout, "set_register$(port)") {
  field(DESC, "control pin output")
  field(DTYP, "stream")
  field(OUT, "@hadcon_RGWR.proto write($(register)) hadcon2")
  field(OMSL, "supervisory")
  field(FLNK, "proc_getp$(port)_")
}


record(mbbiDirect, "get_register$(port)") {
  field(DESC, "read register")
  field(DTYP, "stream")
  field(FLNK, "register_$(port)_fo_")
  field(INP, "@hadcon_RGRE.proto read($(register)) hadcon2")
  field(PINI, "YES")
}

record(bo, "register_B0$(port)_") {
  field(OUT, "register$(port).B0")
  field(OMSL, "closed_loop")
  field(DOL, "get_register$(port).B0")
}

record(bo, "register_B1$(port)_") {
  field(OUT, "register$(port).B1")
  field(OMSL, "closed_loop")
  field(DOL, "get_register$(port).B1")
}

record(bo, "register_B2$(port)_") {
  field(OUT, "register$(port).B2")
  field(OMSL, "closed_loop")
  field(DOL, "get_register$(port).B2")
}

record(bo, "register_B4$(port)_") {
  field(OUT, "register$(port).B4")
  field(OMSL, "closed_loop")
  field(DOL, "get_register$(port).B4")
}

record(fanout, "register_$(port)_fo_") {
  field(LNK0, "register_B0$(port)_")
  field(LNK1, "register_B1$(port)_")
  field(LNK2, "register_B2$(port)_")
  field(LNK4, "register_B4$(port)_")
}

record(calcout, "proc_getp$(port)_") {
  field(VAL, "1")
  field(OUT, "get_register$(port).PROC PP")
  field(ODLY, "0.1")
}

#! Further lines contain data used by VisualDCT
#! View(159,508,0.7)
#! Record("register$(port)",1600,1555,0,0,"register$(port)")
#! Field("register$(port).OUT",16777215,1,"register$(port).OUT")
#! Link("register$(port).OUT","set_register$(port).VAL")
#! Field("register$(port).B0",16777215,0,"register$(port).B0")
#! Field("register$(port).B1",16777215,0,"register$(port).B1")
#! Field("register$(port).B2",16777215,0,"register$(port).B2")
#! Field("register$(port).B4",16777215,0,"register$(port).B4")
#! Record("set_register$(port)",1860,1512,0,0,"set_register$(port)")
#! Field("set_register$(port).VAL",16777215,0,"set_register$(port).VAL")
#! Field("set_register$(port).FLNK",16777215,0,"set_register$(port).FLNK")
#! Link("set_register$(port).FLNK","set_register$(port)/FLNK1")
#! Connector("set_register$(port)/FLNK","proc_getp$(port)_",1607,1760,16777215,"",0)
#! Connector("set_register$(port)/FLNK1","set_register$(port)/FLNK",1800,1715,16777215,"",0)
#! Record("get_register$(port)",380,1572,16711731,0,"get_register$(port)")
#! Field("get_register$(port).FLNK",16777215,0,"get_register$(port).FLNK")
#! Link("get_register$(port).FLNK","get_register$(port)/FLNK")
#! Field("get_register$(port).B0",16777215,1,"get_register$(port).B0")
#! Field("get_register$(port).B1",16777215,1,"get_register$(port).B1")
#! Field("get_register$(port).B2",16777215,1,"get_register$(port).B2")
#! Field("get_register$(port).B4",16777215,1,"get_register$(port).B4")
#! Connector("get_register$(port)/FLNK","register_$(port)_fo_",300,1496,16777215,"",0)
#! Field("get_register$(port).PROC",16777215,1,"get_register$(port).PROC")
#! Record("register_B0$(port)_",1200,880,0,0,"register_B0$(port)_")
#! Field("register_B0$(port)_.OUT",16777215,1,"register_B0$(port)_.OUT")
#! Link("register_B0$(port)_.OUT","register_B0$(port)_/OUT")
#! Field("register_B0$(port)_.DOL",16777215,0,"register_B0$(port)_.DOL")
#! Link("register_B0$(port)_.DOL","register_B0$(port)/DOL")
#! Connector("register_B0$(port)/DOL","get_register$(port).B0",1040,1370,16777215,"",0)
#! Connector("register_B0$(port)_/OUT","register$(port).B0",1540,1330,16777215,"",0)
#! Record("register_B1$(port)_",1200,1040,0,0,"register_B1$(port)_")
#! Field("register_B1$(port)_.OUT",16777215,1,"register_B1$(port)_.OUT")
#! Link("register_B1$(port)_.OUT","register_B1$(port)_/OUT")
#! Field("register_B1$(port)_.DOL",16777215,0,"register_B1$(port)_.DOL")
#! Link("register_B1$(port)_.DOL","register_B1$(port)/DOL")
#! Connector("register_B1$(port)/DOL","get_register$(port).B1",1060,1460,16777215,"",0)
#! Connector("register_B1$(port)_/OUT","register$(port).B1",1500,1420,16777215,"",0)
#! Record("register_B2$(port)_",1200,1200,0,0,"register_B2$(port)_")
#! Field("register_B2$(port)_.OUT",16777215,1,"register_B2$(port)_.OUT")
#! Link("register_B2$(port)_.OUT","register_B2$(port)_/OUT")
#! Field("register_B2$(port)_.DOL",16777215,0,"register_B2$(port)_.DOL")
#! Link("register_B2$(port)_.DOL","register_B2$(port)/DOL")
#! Connector("register_B2$(port)/DOL","get_register$(port).B2",1080,1550,16777215,"",0)
#! Connector("register_B2$(port)_/OUT","register$(port).B2",1460,1510,16777215,"",0)
#! Record("register_B4$(port)_",1200,1360,0,0,"register_B4$(port)_")
#! Field("register_B4$(port)_.OUT",16777215,1,"register_B4$(port)_.OUT")
#! Link("register_B4$(port)_.OUT","register_B4$(port)_/OUT")
#! Field("register_B4$(port)_.DOL",16777215,0,"register_B4$(port)_.DOL")
#! Link("register_B4$(port)_.DOL","register_B4$(port)/DOL")
#! Connector("register_B4$(port)/DOL","get_register$(port).B4",1100,1640,16777215,"",0)
#! Connector("register_B4$(port)_/OUT","register$(port).B4",1420,1600,16777215,"",0)
#! Record("register_$(port)_fo_",540,1226,0,0,"register_$(port)_fo_")
#! Field("register_$(port)_fo_.LNK0",16777215,1,"register_$(port)_fo_.LNK0")
#! Link("register_$(port)_fo_.LNK0","register_$(port)_fo_/LNK0")
#! Field("register_$(port)_fo_.LNK1",16777215,1,"register_$(port)_fo_.LNK1")
#! Link("register_$(port)_fo_.LNK1","register_$(port)_fo_/LNK1")
#! Field("register_$(port)_fo_.LNK2",16777215,1,"register_$(port)_fo_.LNK2")
#! Link("register_$(port)_fo_.LNK2","register_$(port)_fo_/LNK2")
#! Field("register_$(port)_fo_.LNK4",16777215,1,"register_$(port)_fo_.LNK4")
#! Link("register_$(port)_fo_.LNK4","register_$(port)_fo_/LNK4")
#! Connector("register_$(port)_fo_/LNK4","register_B4$(port)_",860,1410,16777215,"",0)
#! Connector("register_$(port)_fo_/LNK2","register_B2$(port)_",880,1320,16777215,"",0)
#! Connector("register_$(port)_fo_/LNK1","register_B1$(port)_",820,1230,16777215,"",0)
#! Connector("register_$(port)_fo_/LNK0","register_B0$(port)_",780,1140,16777215,"",0)
#! Record("proc_getp$(port)_",1220,1700,0,1,"proc_getp$(port)_")
#! Field("proc_getp$(port)_.OUT",16777215,0,"proc_getp$(port)_.OUT")
#! Link("proc_getp$(port)_.OUT","get_register$(port).PROC")
