Created
October 26, 2017 13:50
-
-
Save blaz-kranjc/2e26ff5b9747aa764bd6f640b3bdbd54 to your computer and use it in GitHub Desktop.
EPICS Heartbeat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Provides heartbeat monitor | |
## | |
record(longout, "$(DEVICE):HB_TIMER") { | |
field(DESC, "Timer for heartbeat.") | |
field(SCAN, "1 second") | |
field(SDIS, "$(SWITCH)") | |
field(DISV, 0) | |
field(OUT, "$(DEVICE):HEART PP") | |
field(OMSL, "supervisory") | |
field(VAL, 1) | |
} | |
record(longin, "$(DEVICE):HEART") { | |
field(DESC, "Heartbeat monitor.") | |
field(FLNK, "$(DEVICE):HB_RESET") | |
field(VAL, 0) | |
} | |
record(calcout, "$(DEVICE):HB_RESET") { | |
field(DESC, "Reset heartbeat.") | |
field(SDIS, "$(DEVICE):HEART") | |
field(DISV, 0) | |
field(OUT, "$(DEVICE):HEART PP") | |
field(INPA, 0) | |
field(CALC, "A") | |
field(ODLY, 0.9) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment