# # A chain to initiate IOC reboot # grecord(calc,"$(IOC):plc_dead_time") { field(DESC,"Time PLC is not communicating" ) field(SCAN,"1 second") field(CALC,"a=1&b=3&c=0&d=0?g+1:0") field(INPA,"$(IOC):Coil:H_LN2.STAT NPP NMS") field(INPB,"$(IOC):Coil:H_LN2.SEVR NPP NMS") field(INPC,"$(IOC):plc_heartbeat.STAT NPP NMS") field(INPD,"$(IOC):plc_heartbeat.SEVR NPP NMS") field(INPG,"$(IOC):plc_dead_time NPP NMS") field(FLNK, "$(IOC):ioc_reboot_calc PP NMS") } grecord(calcout,"$(IOC):ioc_reboot_calc") { field(DESC,"Reboot is needed or not") field(SCAN,"Passive") field(CALC,"a