# Borrowed # File: xleap_din_bit.template # Author: Wayne Lewis # Date: 2017-05-08 # # Description: # This database is the template for the generic Aerotech # digital input PVs. # # Macros: # U - Device prefix # Port - Aerotech input port number (port is Aerotech terminology) # In . - Input number # Word - MBBI word (from aerotech_din.db) # Bit - Bit number from word record(bi, "$(U):DIP$(Port)IN$(In)") { field(DESC, "Port $(Port) Input $(In)") field(INP, "$(U):DISTATS$(Word).B$(Bit) CP NMS") field(ZNAM, "Off") field(ONAM, "On") field(SDIS, "$(U):DISABLEALLPVS") info(autosaveFields, "DESC") }