8.5 KiB
Equipment History Report
1. Function Overview
The Equipment History Report is part of the Equipment Model submodule under the MES system's Production Configuration module. It is used to centrally view and manage the operating status history records of all equipment. The system records real-time status changes (such as Running, Trouble, Idle, Offline, etc.) and their durations for each piece of equipment, forming a complete equipment operation history to provide data support for equipment management, fault analysis, and production scheduling.
Core Features:
- Equipment Status History Query: Query equipment status change records by conditions such as device code, device category, device status, and time range
- Equipment Status Tracking: Real-time reflection of status changes for each device, including status type, error code, status message, and status duration
- Data Export: Support exporting equipment history data to CSV files, which can be downloaded through the system download task
2. Term Definitions
| Term | Definition | Description |
|---|---|---|
| Equipment History Report | Equipment History Report, a report recording equipment status change history | Submodule under Production Configuration → Equipment Model |
| Device Category | Device Category, a unit for classifying and managing equipment | Such as SMT, Grading, Formation, OCV, etc. |
| Device Code | Device Code, unique identifier for equipment in the system | Used as one of the query filter conditions |
| Device Status | Device Status, the current operating status of equipment | Including Running, Trouble, Idle, Manual, Finished, Offline, etc. |
| Error Code | Error Code, corresponding error code when equipment encounters an exception | Used to quickly locate equipment fault types |
| Device Status Message | Device Status Message, detailed description of equipment status or exception | Shows specific description of current equipment status |
| Device Other Info | Device Other Info, supplementary information related to equipment status | May include additional data such as device position, channel, etc. |
| Duration | Duration, time the equipment remains in the current status | Unit is seconds |
| Release Time | Release Time, time when equipment exits current status | Records new status and releases old status when equipment status changes |
Device Status Description:
| Status | English Identifier | Description |
|---|---|---|
| 工作中 | RUN | Equipment is executing production tasks |
| 异常中 | TROUBLE | Equipment has encountered an exception requiring manual intervention |
| 已完成 | FINISH | Equipment has completed current production task |
| 空闲中 | IDLE | Equipment is in idle standby state, waiting for production tasks |
| 手动中 | PAUSE | Equipment has been manually paused or taken over by operator |
| 离线中 | OFFLINE | Equipment is disconnected from MES system, unable to communicate |
3. Equipment History Query
3.1 Query Condition Description
The Equipment History Report supports multi-condition combined queries, allowing filtering by device code, device category, device status, and time range.
Query Conditions:
| Query Condition | Description | Required |
|---|---|---|
| Device Code | Enter device code for exact match query | No |
| Device Category | Select device category from dropdown list for filtering | No |
| Device Status | Select device status for filtering (Idle/Running/Finished/Trouble/Manual/Offline) | No |
| Creation Time | Select date/time range to filter status record creation time | No |
| Release Time | Select date/time range to filter status release time | No |
[Note] All query conditions are optional. The system defaults to displaying the latest status records for all equipment. For precise queries, it is recommended to fill in at least one condition.
3.2 Query Result Field Description
Query results are displayed at the equipment status record level, where each record represents equipment status information during a specific time period.
| Field | Description |
|---|---|
| ID | Unique identifier for equipment history record |
| Device Category | Category name of the equipment, such as "SMT", "Grading", etc. |
| Device Code | Unique identification code of the equipment |
| Device Status | Current operating status of the equipment |
| Error Code | Error code corresponding to equipment exception, may be empty for normal status |
| Device Status Message | Detailed description of equipment status or exception |
| Device Other Info | Supplementary data related to equipment status |
| Creation Time | Time when this status record was created |
| Release Time | Time when this status was released, i.e., when equipment switched to a new status |
| Duration (Seconds) | Duration the equipment remained in this status, in seconds |
3.3 Query Operation Steps
- Navigate to [Production Configuration] → [Equipment Model] → [Equipment History Report]
- Fill in query conditions as needed (Device Code, Device Category, Device Status, Creation Time, Release Time)
- Click [Query] button, the system displays equipment history records that match the conditions
- To clear all query conditions, click [Reset] button
- Query results support pagination browsing, you can switch pages or adjust the number of items per page through the bottom pagination bar
4. Data Export
4.1 Function Description
The Equipment History Report supports exporting query results to CSV files. The export operation uses an asynchronous task mechanism - the system first creates an export task, and users can view the task progress and download the generated file in [System Download Tasks] at the top of the system.
Export Field Description:
| Export Field | Description |
|---|---|
| Device Category | Category name of the equipment |
| Device Name | Code of the equipment |
| Device Status | Operating status of the equipment |
| Error Code | Error code corresponding to exception occurrence |
| Device Status Message | Detailed description of status or exception |
| Device Other Info | Supplementary data for equipment status |
| Creation Time | Time when status record was created |
| Release Time | Time when status was released |
| Duration (Seconds) | Duration of status |
4.2 Operation Steps
- On the Equipment History Report page, fill in query conditions as needed (export scope matches current query conditions)
- Click the [Export] button above the table
- The system pops up a confirmation prompt: "Data export requires creating a download task first (you can view download progress and download files in System Download Tasks at the top of the system). Continue?"
- Click [OK], the system creates an export task
- After successful creation, the system prompts "Download task created successfully" and automatically redirects to the [System Download Tasks] page
- Wait for the task to complete on the download task page, then click download to obtain the CSV file
[Note] If there is no data within the current query conditions, the system will prompt "No download data available, cannot create download task!" Please adjust query conditions and retry.
5. Related Functions
| Function | Relationship | Description |
|---|---|---|
| Equipment Management | Upstream Data | Basic equipment information (code, category, etc.) is maintained in the equipment management module. The equipment history report displays the operating status history of these devices |
| Equipment Category Management | Upstream Data | Equipment categories are defined in the equipment category management module, used for category filtering in equipment history reports |
| System Download Tasks | Downstream Function | After export tasks are created from equipment history reports, track progress and download files in system download tasks |



