# Smart Platform for Monitoring and Control of Discrete Event System in Industry 4.0 Concept
## 1 Introduction
### Mixed and Augmented Reality  
Two main issues concerning augmented reality have been studied: how to adequately present the objects in augmented reality and how to affix virtual objects within the physical world. Project [8] is dedicated to the presentation of new construction parts via AR. The proposed solution offers the possibility to include various geometric shapes and 3D objects and place them at any position in space. The size of the added objects can be varied. After finishing the design, the model can be saved. The saving function scans the whole object and records the video of the scanned object from different angles. This video in the form of an image series is sent to the cloud server. The saved video then serves for a recognition of the respective machine (device). Another project studies a robot control using augmented reality [9]. In this case, the project includes several robots that have Raspberry Pi modules and can be controlled using an AR application by drawing a driving path. The application consists of a preloaded scene that can be placed on any flat surface. After the scene is loaded, individual robots can be controlled by drawing a path on the tablet. Since simpler Raspberry Pi modules are used, communication takes place via the TCP/IP protocol. In [10], a mobile device is presented that is equipped with augmented reality to present measured values delivered by sensors. These measured data serve to detect malfunctions and alarms. The recorded data can be shared by other devices using augmented reality or employing a web browser. Also worth mentioning is the patent [11] from Meta, where it is stated that an AR application for an AR headset accesses a library of user interfaces for groups of devices. After recognizing an object in space, it simply loads the interface for that object. Another inspirative work is [12], where AR is combined with the IoT and cloud technologies. The MQTT protocol is used for communication, and the Unity RD engine is used as a development tool. One of the main issues--object recognition--is solved using Wikitude Studio to create a 3D map. The AR application communicates with a cloud server and a digital image of the studied object is saved. In 2022, the IIoT Situational Data Visualization project was developed into the MS HoloLens 2 device [13]. The project presents data collection from the PLC device of an industrial furnace, which is then sent to a local server. The authors use the OPC UA protocol, and the local server based on the Node-RED tool provides visualization created in the Dashboard library. The local server then sends data to the MS HoloLens 2 device using the MQTT protocol. The data are subsequently displayed on the production system with the option of displaying the data in the Dashboard via a web browser. Last year, a project [14] was published that deals with modern methods for human-machine interaction. Several options are listed in this publication, such as the use of artificial intelligence, mobile devices, the IIoT, Industry 4.0, and, especially, the possibility of scanning real objects and subsequently transforming them into 3D objects. Our recent works [15; 16] were devoted to partial tasks concerning the digitalization of the production line within the Industry 4.0 framework. In [16], a data acquisition and visualization SCADA system is proposed for a laboratory production line. The measured data are transferred and collected in a cloud database based on the Microsoft Azure platform. The basic concept of a digitalization platform for event systems was outlined in [15], where basic notions and some proposed technologies were studied; however, there was no concrete solution or implementation. The main goal of this paper is the design and implementation of a complex smart mechatronic platform, where monitoring and data recording is realized using cloud services.