From PLC Programming to SCADA Monitoring: Building and Monitoring an Industrial Control System.