# # # The following two records are for IOC heartbeat # # grecord(calc,"$(IOC):second_counter") { field(DESC,"Counting seconds") field(PINI,"1") field(VAL, "0") field(SCAN,"1 second") field(CALC,"A>100001?0:A+1") field(INPA,"$(IOC):second_counter NPP NMS") field(FLNK,"$(IOC):heartbeat" ) } record( calc, "$(IOC):heartbeat" ) { field(DESC,"heartbeat for $(IOC)") field(SCAN,"Passive") field(CALC,"ABS(A%2)<0.01?0:1") field(INPA,"$(IOC):second_counter NPP NMS") }