<< Click to Display Table of Contents >> Navigation: »No topics above this level« Description |
mapp Services V5.16
The MpLink for this function block is the same that is used for function block MpAssetIntCore. All entries logged by MpAssetIntCore are then displayed by MpAssetIntTrendUI. MpAssetIntCore must be active in order to use the functions of this mapp components. MpAssetIntTrendUI represents a connection between the trend data and a Visual Components 4 HMI application. Data is exchanged between MpAssetIntTrendUI and the HMI application using structure MpAssetIntTrendUIConnectType.
The collected shift-related asset intensity data is displayed in multiple trends. An entry is always created as soon as a shift has been completed or as soon as a job change has been performed. If a job change is performed during a shift, the entry contains the data since the beginning of the shift until the time of the job change. If the shift has ended, the data from the time of the shift change to the end of the shift is listed.
The asset intensity from a maximum of 365 days can be displayed depending on the memory settings in the MpAssetIntCore configuration. If 500 days worth of data is available, for example, only information from the last 365 days can be displayed. Using the filter parameter in structure MpAssetIntTrendUIConnectType, it is also possible to display the asset intensity from the remaining 135 days.
Structure "UIConnect" is divided into the following areas:
•Status: Parameter "Status" provides information about the current activity of trend management.
•ScheduledDowntimeRate: Indicates the scheduled downtime rate over time. Connected to a VC4 trend.
•UnscheduledDowntimeRate: Indicates the unscheduled downtime rate over time. Connected to a VC4 trend.
•NominalProductionRate: Indicates the production rate at the machine's nominal speed. Connected to a VC4 trend.
•BadPieceRate: Indicates the rate of bad products over time. Connected to a VC4 trend.
•ShiftList: Used to display the asset intensity values for the desired shift.
•Filter: Offers the option of displaying the trend data from a certain starting point to a certain ending point
For information about how individual parameters can be calculated, see section Basic concept.
To display the parameters in a VC4 trend in structure MpAssetIntTrendUIConnectType, proceed as follows:
Creating a variable
In the program, a variable of data type MpAssetIntTrendUIConnectType is created. This variable must be linked to a VC4 trend. Variable MpAssetIntTrendUIConnect is created in this example.
Trend data
Trend data must first be created. Trend data is generated for "ScheduledDowntimeRate", "UnscheduledDowntimeRate", "NominalProductionRate" and "BadPieceRate":
Variable MpAssetIntTrendUIConnect is connected as shown in the figure above.
Connecting to a VC4 trend
The trend data is specified under "TrendData" in the VC4 trend.
The data points for scrolling and zooming in "TrendTimeScale" can be linked:
Finally, the configured trend is specified in the trend control: