The initial requirement of the customer sounded pretty simple: ‘We’d just like to know whether our manufacturing equipment is producing or not’. When standing in front of a machine this can be detected within seconds by combining a few factors: If the machine is switched on, a program is loaded (1) and running (2) not interrupted or stopped and there are no errors shown at the operator panel (3) then one can safely assume that the device currently produces parts.
Goal:
Acquire 'mutually exclusive machine states' from highly diverse manufacturing resources
FIG 1: Screenshot of an operator panel of a machine that currently produces (click to enlarge)
As it doesn’t make sense to have employees run around at the shop-floor making notes of the state of every machine once a minute other ways had to be found. The question now was: ‘Can this check be automatically performed by an external device?’
Should devices for machine-data-acquisition be used?
Devices for machine-data-acquisition that have to be wired with analog and digital signal outputs of the machines never were an option because the devices themselves are costly, an additional network connection is needed at every machine and the effort for setup in terms of time and money was foreseeable astronomic for 240 machines. In addition the customer strictly wanted to avoid any modification of machines that could have an impact on warranty.
The customer’s first ‘software-only’ approach looked simple and effective: Use an OPC Server! There are several affordable products available that claim to be able to read data from ‘myriads’ of different devices. With Kepware’s product KEPSERVER for the 140 Programmable Logic Controller (PLC) controlled devices that perform more simple tasks like sealing or packaging it was, apart from the effort to communicate with the PLCs, not too difficult to get a useable machine state once a minute and store it at a server.
FIG 2: PLC controlled devices could be connected by using an OPC server (click to enlarge)
However, when it came to the 100 more complex devices like CNC or PC controlled machines the situation was different because the majority of them did neither provide OPC functionality nor access to its internal PLC which mandatorily is required by OPC. As the required data was visible at the machine’s operator panel there definitely should exist a way to access and read it!
After some research the customer finally found Inventcom’s solution CNCnetPDM. This approach was completely different. Instead of requiring a specific communication protocol at the machine side this technique is able to access the controller via its built in standard communication interface and query data by using commands that are natively understood by the machine’s internal components, comparable to the machine’s own ‘language’. By doing so it was possible to read and combine the data needed to form ‘mutually exclusive machine states’, translate them into comparable data packets and store them at the data acquisition server.
FIG 3: CNCnetPDM enabled access to and extraction of data from a wide range of CNC machines (click to enlarge)
Although this was perfect for the CNC’s for devices controlled by a PC such as Laser Markers and Molding machines an alternate solution had to be found as their architecture again is different. As the name implies, these machines use standard PC’s as operator panels. The PC’s typically have an expansion card installed that directly communicates with the machine’s internal components which cannot be accessed from the ‘outside world’. However, due to the fact that the PC itself is accessible and the machine operator uses a normal program to control the machine it should be possible to get data from there without the need for any modifications at the device. To accomplish this, again CNCnetPDM could be used. But instead of exchanging machine specific commands now the service’s ability to read log files was employed to get the required data. By analyzing the content of the log files it again was possible to combine data into ‘mutually exclusive machine states’ followed by translation and transmission to the server.
FIG 4: PC controlled manufacturing device - Laser Marker (click to enlarge)
Functions:
Acquisition of machine states from CNC, PLC and PC controlled machines
Benefits:
Collected comparable information about the current activity of different manufacturing resources
Eliminated the need for external devices at the machines
Reduced implementation costs and speeded up implementation time by using 'software-only' solutions
Avoided modifications of the machines that could impact warranty
Privacy notice
This website uses cookies. By continuing to use it you agree to our privacy policy.