# Supervision System 4.0 for a Road Tanker Washing Robot Manipulator
## 3 SCADA 4.0 System
### SCADA 4.0 Software  
The ISA101:2015 standard establishes a life cycle for the development, implementation and maintenance of SCADA systems encompassing five main stages: conception, planning, design, implementation and operation and maintenance. Figure 5 graphically represents the five stages that make up the life cycle. The adoption of this life cycle aims at guaranteeing the efficiency, security and reliability of SCADA software. Figure 4: SCADA system architecture. In accordance with this life cycle, the first step in the development of the SCADA system was the definition of the objectives and technical specifications. Among other aspects, this led to the definition of the security requirements and the characteristics of the synoptics to be developed. In the second stage, all the steps of the project planning were carried out. In the third stage, all SCADA software functionalities were developed. In this stage, the design, architecture of the SCADA software and the various functions that it should perform were elaborated. Next, the various services developed for the SCADA system are detailed. 1. The robotic washing system supervision by the SCADA 4.0 system. The purpose of the supervision and control function is to inform system operators about the system state in real time. In traditional SCADA systems, process supervision is carried out through HMI interfaces integrated into the production system. By introducing industry 4.0 concepts into the SCADA system, it becomes possible to remotely access the status of processes, thus allowing total mobility for operators. For each application, a set of synoptics was developed that allows operators to access the state of the robot manipulator and to control all washing process. The control system interfaces are represented in the flowchart of Figure 6. This navigation scheme was designed with the purpose of minimizing the steps necessary to carry out an operation. Figure 5: Lifecycle of SCADA software (ISA 101:2015). Figure 6: Flowchart of the control and supervision synoptics. All the synoptics were developed following the recommendations of the ANSI/ISA-101.01-2015 standard. Specifically, the control and supervision components were drawn in grayscale and supplemented with animations and bright colors (red and green) to illustrate the process state and anomalous situations through warnings or alarms. The application for mobile devices was designed to adapt to the device's screen size, thus ensuring a better user experience. In this way, for screens with a width greater than 500 pixels, the supervision application presents the layout visible in Figure 7a, while the layout for devices with screens smaller than that value is illustrated in Figure 7b. Both applications allow performing the same tasks, with the differences existing strictly in the layout. In addition to being a data acquisition and process platform, the SCADA 4.0 system can also be classified as a communication system, given the essential role it plays in the exchange and communication of data in the smart factory context. The SCADA system has the responsibility of connecting the control system to the enterprise's organization systems. As SCADA systems are in constant communication with command systems, these have privileged access to all process status data. The SCADA system under construction has the function of transmitting all the process state information with the remaining communication software. For the exchange of information, a database was used that communicates with Ignition through the MQTT protocol. This architecture is represented in Figure 4. The database tables were created to record the washing operations history and the relevant data about the processes status. The SCADA system was also configured to read information from the database. This bidirectional communication between the SCADA system and the database server allows sharing process data with other information systems such as the Manufacturing Execution System (MES) and Enterprise Resource Planning (ERP) system, among others.