{'fraction_non_alphanumeric': 0.02482003599280144, 'fraction_numerical': 0.006823635272945411, 'mean_word_length': 5.106684981684982, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
DIGITAL FACTORY IN THE UNIVERSITY OF PANNONIA NAGYKANIZSA CAMPUS — THE FACTORY SUBSYSTEM

One of the new challenges of the 21st century is the Industry 4.0. Manufacturing companies moving away from mass production and getting closer to customized production and manufacturing of customized products through digitization. The expectations are high, meeting the requirements is a real challenge to industrial partners. In order to help meet the challenges the University of Pannonia Nagykanizsa Campus started to establish a fully automatized industrial laboratory. In this paper the architecture of the Industry 4.0 laboratory and the purpose of the Factory Subsystem is presented.


INTRODUCTION
Digitization, the deployment of information technology and automation have great impact in manufacturing industry and manufacturing companies. The operation of manufacturing companies has changed significantly, it is switched from mass production to customized products and production. Industry 4.0 strategy includes several key technologies to digitize production flow or even the whole supply chain. The University of Pannonia Nagykanizsa Campus is establishing an Industry 4.0 laboratory. The goal of the laboratory is to cover most areas of factory digitalization. Not only the production but the entire supply chain, i.e. from acquisition to customer services, will be modelled in the laboratory. It requires the integration of different research areas and technologies e.g. adaptive systems, data mining, machine learning, optimization, protocol technology, sensor and computer networks. These key technologies may provide to model the main elements of the fully automated industrial processes that leads to efficiency gains and allows to produce highly customized product at small lot size. In this paper the structure of the laboratory is presented and the role and functions of its Factory Subsystem is described in details. The paper is organized as follows. Section 2 describes Industry 4.0 and learning factory concepts. In Section 3 problem statement is presented. Section 4 presents the system plan of the laboratory. Section 5 introduces the Factory Subsystem. The last section concludes the paper.

INDUSTRY 4.0 AND LEARNING FACTORIES
Nowadays we are facing of the next industrial revolution, so-called Industry 4.0. The term Industry 4.0 has been introduced by the German government. The complexity of manufacturing systems and the need of customized products yield to the digitalization of the production. The digitalization cannot be realized effectively without computerization. The continuous evolution of information technology like Cyber-Physical Systems (CPS), Internet of Things (IoT), Internet of Services (IoS), robotics, cloud-and cognitive computing, big data and augmented reality (AR) results significant change in production systems [1] [2]. The concept of the Industry 4.0 digitalizes the whole supply chain to be able to make fully customized products [3]. This approach is used worldwide but some countries use different terms. For example, in the USA it is called "reindustrialization" of the manufacturing industry, in Japan "New Robot Strategy" for producing cooperative robots, in China "Made-in-China 2025", in France 'New Industrial France", in UK "high-value manufacturing" and in South Korea "advanced innovators' strategy" [4] The Industry 4.0 is a widely researched area, systematic literature reviews are frequently published [5] [9] [10] [11]. Most research papers in this area are mainly focused on the technological aspects [12] [13] [14] but the human operators also are important part of the production systems [15] [16] [17] [18] [19]. The newest development of IoT devices has the possibility to design machines which can replace human minds [20]. Numerous papers exist about learning factories focusing on Industry 4.0. These factories have different look and purpose and they demonstrate different implementation aspects [21] [22] [23] [24] [25]. There are reviews demonstrating the existing approaches of learning factories available in academia and industry [26] [27] [28] [29].

PROBLEM STATEMENT
The technology is developing continuously by humanity. Many important breakthroughs were seen in the past. But none of them was as important as that is now in progress. It has many names around the world as Industry 4.0, IIoT, Digital Factory. The essence is not the name, but the available technologies and their possible interconnections. Naturally, this process has advantages and disadvantage too and now we can hardly see what will happen exactly in the near future. But what we clearly see is the following. The complexity and the capability of these systems stand on incredible level. The knowledge that needs to create, update or operate these kinds of solution is also high. The fact is, the humanity has a big chance with this to do something really good. Probably, this will bring fundamental changes in all areas of our lives. But we can only use this opportunity if we can prepare ourselves in time. Our goal is to create a multipurpose laboratory in the area of Industry 4.0. This solution will be able to use in the followings: -The laboratory will serve as an infrastructural basis for useful industrial researches, which in the future can contribute to the development of the Industry 4.0 concept and its newer versions. -The infrastructure of the laboratory will support the teaching of modern industrial processes. The students can learn about the structure and the interoperation of this modular architecture, i.e. students can learn the functions, working flows and the place of the main units / components / elements / entities of the modern digital industrial area. -The students can understand the whole system and the relationship between each unit. -The motivation and innovation level of the students are kept high and give them a chance to develop new capabilities of the system. -It can become a cooperation and collaboration environment between the university and the industrial partners. The laboratory can demonstrate the possibilities of this new technology in practice. Moreover, this environment makes it possible on the one hand to introduce and on the other hand to develop and test new technologies before industrial deployment. An important design aspect is to develop the laboratory with modular structure. This property is important in many cases. One of these is that the capabilities of the laboratory can be expanded or modified with the help of minor improvements. On the other hand, we can schedule of the activation time of some functions of the system. This enables this development on a campus with small resource.

SYSTEM PLAN
Our system will include all main components of a modern, fully automated industrial solution. This is necessary to reach the multipurpose operational area. Note that we want to model this process from the ordering of a customized product -through the production -to the customer's service, i.e. the whole supply chain. This activity requires coordinated work of numerous research areas. There are some dominant areas for example adaptive systems, data mining, machine learning, optimization, protocol technology, and sensor and computer networks. Customer: This entity indicates the manufacturing process. Note that this means the factory will only produce the ordered products. Brain: This is the central unit and its main functions are the process control and the information management: collection and transmission of information. Webshop: The customer can manage (buy, modify, get information) his/her order with the help of this unit. This subsystem communicates with the brain unit. Manufacturing planning: This unit determines the production scheduling and the raw material requirements based on the order. Logistics planning: This unit determines the scheduling of logistics for the manufacturing process based on the order. Resource planning: This unit selects the specific factory and logistics partner involved in the manufacturing process based on the availability information and manufacturing parameters. Logistics: This unit is responsible for transportation, it provides information on its activities. Factory: The task of this unit is the physical production. It provides information on its activities. It is important to note that the Webshop, the Brain, the Manufacturing planning, the Logistics planning and the Resource Planning are IT systems / services that work together in the process.
Because of its complexity, the system will be implemented in several phases. Therefore, the individual functions will be integrated step by step into the system. In the first phase the Factory Subsystem will be realized. The next section describes the architecture of the Factory Subsystem in details.

FACTORY SUBSYSTEM
The task of the Factory Subsystem is to start and coordinate the manufacturing processes necessary to fulfill the orders. There are many aspects to consider when planning the manufacturing processes. This becomes more difficult, when we want to expand the manufacturing processes with further processes, taking into account the currently running ones. This requires centralized manufacturing planning that should guide all sub-components. Fig. 2 shows the logical structure of the Factory Subsystem. The main information is provided by the Enterprise Resource Planning System (ERPS). It is transmitted through an interface that forms a transition between a particular ERPS and the specific control software. The purpose of the interface is to connect different ERPSs and modular control systems. The Manufacturing Controller (MC) can deliver tasks in the form of instructions from the data contained in the ERPSs (orders, manufacturing scheme, etc.). The MC includes the Manufacturing Logistics Controller, which controls material handling between the factory and the factory-owned warehouse. It also includes the Manufacturing Line Controller (MLC) that controls the robot or machine controllers performing operations during production. The MLC includes a Manufacturing Line Logistics Controller that controls the material delivery between the robots/machines or production lines required for a given production process, and also includes Host Controllers. A Host Controller contains the control programs of an associated machine or robot. The Host Controllers communicate with the device using an interface, give instructions and receive feedback about the status of the operations. Depending on their type, this information is returned to the Host Controller or the Data Collector Internal Controller. The purpose of the latter is to further analyse and subsequently optimize operations based on the data obtained during operations, both locally and at a high level.

Factory Information Flow
The MC is responsible for scheduling and assigning existing and ongoing production processes form the newly received order (received from the ERPS) between the MLCs. It is also tasked with giving instructions to the MLC on which Manufacturing Line needs to meet the order in which they are to be delivered, and where to place the existing goods (intermediate or finished product) from the Manufacturing Line (warehouse or to other Manufacturing Line). The MC can schedule further processes from the returned data and return the status of the running processes to the ERPS and indicate the completion of orders. The task of the Manufacturing Logistics Controller is to define and pass on the instructions for moving materials within the warehouse to the controllers of the logistics tools. Starting from the current inventory of the factory-owned warehouse (which is constantly updated), it can coordinate all material handling processes. A further task is to supply the production line of the associated Factory and to coordinate the supply according to the instructions of the MC. The MLC controls the controllers of the devices that perform operations within the Factory and schedule the associated devices. On the basis of the instructions received from the production control, the instruction sequences are issued to the Host Controllers in the order specified. An instruction contains the product manufacturing sub-scheme that the device must perform and the repeat number of the operation. The Manufacturing Line Logistics Controller receives the instructions that meet the needs of the raw material needed to perform the given Host operation, as well as the material delivery tasks between the Hosts.

CONCLUSION
Industry 4.0 strategy includes a number of modern technologies that can be used to digitize production or even the entire supply chain. In University of Pannonia Nagykanizsa Campus an Industry 4.0 based laboratory is currently under construction. The aims of the laboratory are teaching university students, making research in the field of Industry 4.0 and implementing industrial flows in small scale. The present paper is represented the modular model of the laboratory especially the Factory Subsystem. Currently, the model is being implemented. During the first phase of the realization the Factory Subsystem is developed. The task of this unit is the physical production. The paper presents the logical structure and the information flow of the subsystem.