International Distributors
Using parameterization and indirection in your screens is an important way to reduce the amount of repetitive design work required when creating a SCADA system. For example, suppose you have 35 valves that need to be monitored and controlled. By creating one valve control screen and re-using it 35 times, you save time creating your system and you'll save time in the future when you only have to update the single valve control screen. There are two concepts that are required to achieve this in FactoryPMI: indirect data binding and parameter passing. Indirect Data Binding
Facility/Valves/ValveX/HOA Facility/Valves/ValveX/Flow Facility/Valves/ValveX/OpenPct
tag( "Facility/Valves/Valve" + {Root Container.ValveNumber} + "/OpenPct" ) * 100.0
SELECT AVG(Valve{Root Container.ValveNumber}Flow) FROM ValveFlowHistory WHERE t_stamp > DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 15 MINUTE)