<< Click to Display Table of Contents >> Navigation: »No topics above this level« Shift statistics in table form in an HMI application |
mapp Services V5.16
A workday is broken down into shifts. Data from the current shift (shift duration, downtime, etc.) should be available in the application and displayed in the HMI application. It should be possible to export OEE data in a CSV file.
|
|
•Component list
•MpOeeCore (own MpLink): Manages and saves shift data
•MpOeeTimelineUI (MpLink from MpOeeCore): Contains all necessary parameters and structures for establishing a connection to an HMI application and shows the stored shift data, downtime or duration of the shift in table form.
The MpOeeCore configuration is added. The desired shift division is specified under "Shifts". In addition, the name and format of the export file can be edited under "Export". The starting and ending times of a shift are specified as milliseconds beginning at 12:00 AM (00:00). An hour is 3,600,000 milliseconds. This means that the "Morning" shift starts at 6:00 AM and ends at 2:00 PM.
The component MpOeeCore is added to collect the shift data, and the MpOeeTimelineUI component is added to display the shift data.
The components are connected to one another as depicted in "Connection diagram". The function blocks are then configured.
For information about establishing a connection to an HMI application using MpOeeTimelineUI, see section VC4 templates.
If a connection to an HMI application exists and a shift is active, then a screen in the HMI application will show this. The "MpOeeCore.Export = TRUE" command exports a CSV file containing all recorded events to the specified data storage device.