#==============================================================================
#
# Abs:  Database substitutions for utility PLC PID loops
#
# Name:  util_pid.substitutions
# Desc:  substitution file for utility PLC component controls and status
#
# Macros In:
# PIDTAG	P&ID number of instrument on warm compressor P&ID
# PLC_NAME  Name of ether_ip connection to PLC as defined in st.cmd, tag name 	
# PLCTAG	plc tag name for instrument output
# AREA		area for pid
# LOCA		location for pid
#
# Macros Out:
# PLC_NAME	Name of ether_ip connection to PLC as defined in st.cmd, tag name
# CP		cryoplant number
#
#==============================================================================
#
# for now, number loop after actuator
#
file pid.vdb
{
	pattern	{ PLC_NAME, PRIM, AREA, LOCA,  PLCTAG,  PIDTAG,   EGU  , OUTEGU, ACTUATOR }
		{ $(PLC_NAME) , CPIC, CP07, 1010,  CPV71010, CPIC71010, bara, %, CPV71010 }
		{ $(PLC_NAME) , CPIC, CP07, 1020,  CPV71020, CPIC71020, bara, %, CPV71020 }
# the following are not defined in the SW SPEC
		{ $(PLC_NAME) , CPIC, CP05, 1051,  CPV51051, CPIC51051, bara, %, CPV51051 }
		{ $(PLC_NAME) , CPIC, CP05, 1053,  CPV51053, CPIC51053, bara, %, CPV51053 }
		{ $(PLC_NAME) , CPIC, CP05, 1054,  CPV51054, CPIC51054, bara, %, CPV51054 }
		{ $(PLC_NAME) , CPIC, CP05, 1055,  CPV51055, CPIC51055, bara, %, CPV51055 }
		{ $(PLC_NAME) , CPIC, CP05, 1056,  CPV51056, CPIC51056, bara, %, CPV51056 }
}
