@etm-professional-control/winccoa-mcp-server 1.4.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env.example +6 -2
- package/LEGAL_INFO.md +47 -0
- package/LICENSE.md +21 -0
- package/OSS.md +178 -0
- package/README.md +57 -6
- package/build/config/demo-project-instructions.md +28 -0
- package/build/config/server.config.d.ts +16 -1
- package/build/config/server.config.d.ts.map +1 -1
- package/build/config/server.config.js +60 -10
- package/build/config/server.config.js.map +1 -1
- package/build/fields/default.md +50 -0
- package/build/fields/oil.md +46 -0
- package/build/fields/transport.md +70 -0
- package/build/helpers/icons/IX_ICONS_LIST.txt +1407 -0
- package/build/helpers/icons/IconGenerator.d.ts +54 -3
- package/build/helpers/icons/IconGenerator.d.ts.map +1 -1
- package/build/helpers/icons/IconGenerator.js +104 -22
- package/build/helpers/icons/IconGenerator.js.map +1 -1
- package/build/helpers/icons/IconList.d.ts +17 -2
- package/build/helpers/icons/IconList.d.ts.map +1 -1
- package/build/helpers/icons/IconList.js +41 -19
- package/build/helpers/icons/IconList.js.map +1 -1
- package/build/helpers/pmon/PmonClient.d.ts.map +1 -1
- package/build/helpers/pmon/PmonClient.js +53 -27
- package/build/helpers/pmon/PmonClient.js.map +1 -1
- package/build/index_http.d.ts +14 -1
- package/build/index_http.d.ts.map +1 -1
- package/build/index_http.js +122 -45
- package/build/index_http.js.map +1 -1
- package/build/server.d.ts +37 -3
- package/build/server.d.ts.map +1 -1
- package/build/server.js +173 -122
- package/build/server.js.map +1 -1
- package/build/systemprompt.md +50 -0
- package/build/tool_loader.d.ts +21 -1
- package/build/tool_loader.d.ts.map +1 -1
- package/build/tool_loader.js +65 -10
- package/build/tool_loader.js.map +1 -1
- package/build/tools/archive/archive_query.d.ts.map +1 -1
- package/build/tools/archive/archive_query.js +2 -5
- package/build/tools/archive/archive_query.js.map +1 -1
- package/build/tools/common/common_query.d.ts.map +1 -1
- package/build/tools/common/common_query.js +51 -37
- package/build/tools/common/common_query.js.map +1 -1
- package/build/tools/dashboards/widget.d.ts.map +1 -1
- package/build/tools/dashboards/widget.js +12 -2
- package/build/tools/dashboards/widget.js.map +1 -1
- package/build/tools/datapoints/dp_basic.d.ts.map +1 -1
- package/build/tools/datapoints/dp_basic.js +106 -34
- package/build/tools/datapoints/dp_basic.js.map +1 -1
- package/build/tools/datapoints/dp_types.d.ts.map +1 -1
- package/build/tools/datapoints/dp_types.js +31 -10
- package/build/tools/datapoints/dp_types.js.map +1 -1
- package/build/tools/icons/icon.d.ts.map +1 -1
- package/build/tools/icons/icon.js +52 -7
- package/build/tools/icons/icon.js.map +1 -1
- package/build/tools/pv_range/pv_range_query.d.ts +12 -0
- package/build/tools/pv_range/pv_range_query.d.ts.map +1 -1
- package/build/tools/pv_range/pv_range_query.js +63 -31
- package/build/tools/pv_range/pv_range_query.js.map +1 -1
- package/build/utils/helpers.d.ts +56 -4
- package/build/utils/helpers.d.ts.map +1 -1
- package/build/utils/helpers.js +144 -14
- package/build/utils/helpers.js.map +1 -1
- package/build/utils/logger.d.ts +29 -0
- package/build/utils/logger.d.ts.map +1 -0
- package/build/utils/logger.js +56 -0
- package/build/utils/logger.js.map +1 -0
- package/build/utils/projectPath.d.ts +52 -0
- package/build/utils/projectPath.d.ts.map +1 -0
- package/build/utils/projectPath.js +102 -0
- package/build/utils/projectPath.js.map +1 -0
- package/manifest.cjs +50 -0
- package/package.json +84 -71
- package/postinstall.cjs +10 -4
- package/sbom.json +5500 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Oil & Gas Industry Instructions
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
This configuration applies to WinCC OA systems used in Oil & Gas production, refining, and distribution facilities.
|
|
5
|
+
|
|
6
|
+
## Safety Requirements
|
|
7
|
+
- **CRITICAL**: Never modify safety-critical datapoints without explicit authorization
|
|
8
|
+
- All changes to production systems require validation and confirmation
|
|
9
|
+
- Emergency shutdown systems are strictly read-only
|
|
10
|
+
- Interlock conditions must be verified before any process modifications
|
|
11
|
+
|
|
12
|
+
## Operational Limits
|
|
13
|
+
- **Flow rates**: 0-1000 m³/h (validate against pipe capacity)
|
|
14
|
+
- **Pressure**: Maximum 100 bar (safety valve at 110 bar)
|
|
15
|
+
- **Temperature**: -20°C to +80°C operational range
|
|
16
|
+
- **Valve positions**: 0-100% (check for intermediate restrictions)
|
|
17
|
+
|
|
18
|
+
## Process Control Rules
|
|
19
|
+
1. **Before changing flow rates**:
|
|
20
|
+
- Verify upstream and downstream pressures
|
|
21
|
+
- Check valve positions in the flow path
|
|
22
|
+
- Confirm tank levels are within limits
|
|
23
|
+
|
|
24
|
+
2. **Recipe Management**:
|
|
25
|
+
- Recipe percentages represent VALVE POSITIONS, not volume percentages
|
|
26
|
+
- Material consumption = (valve_position/100) × flow_rate × time
|
|
27
|
+
- Always validate total consumption against target volume
|
|
28
|
+
|
|
29
|
+
3. **Cascade Control**:
|
|
30
|
+
- Changes to master controllers affect all slaves
|
|
31
|
+
- Verify slave controller limits before modifying master setpoints
|
|
32
|
+
|
|
33
|
+
## Alarm Management
|
|
34
|
+
- Critical alarms (Priority 1-2) require immediate operator attention
|
|
35
|
+
- Do not suppress alarms without proper authorization
|
|
36
|
+
- Alarm limits should only be modified through approved change management
|
|
37
|
+
|
|
38
|
+
## Integration Points
|
|
39
|
+
- OPC UA nodes under `ns=2;s=Production/*` are production critical
|
|
40
|
+
- Modbus registers 40001-40100 contain safety interlocks
|
|
41
|
+
- SQL historian updates every 10 seconds for trending data
|
|
42
|
+
|
|
43
|
+
## Compliance Notes
|
|
44
|
+
- All changes are logged for regulatory compliance
|
|
45
|
+
- Maintain audit trail for production setpoint modifications
|
|
46
|
+
- Environmental limits must be respected at all times
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Transportation Systems Instructions
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
This configuration applies to WinCC OA systems used in transportation infrastructure including rail, traffic management, and logistics systems.
|
|
5
|
+
|
|
6
|
+
## Safety Critical Systems
|
|
7
|
+
- **Emergency Stop Systems**: Absolutely read-only, no modifications allowed
|
|
8
|
+
- **Signal Interlocking**: Changes must respect interlocking logic
|
|
9
|
+
- **Track Switching**: Requires coordination with dispatch systems
|
|
10
|
+
- **Platform Safety**: Door and barrier systems have strict sequencing
|
|
11
|
+
|
|
12
|
+
## Traffic Signal Management
|
|
13
|
+
- Signal states must follow proper sequencing (RED → RED+YELLOW → GREEN → YELLOW → RED)
|
|
14
|
+
- Pedestrian crossings have priority during their active phase
|
|
15
|
+
- Conflicting movements must be interlocked
|
|
16
|
+
- Emergency vehicle preemption overrides normal operation
|
|
17
|
+
|
|
18
|
+
## Operational Rules
|
|
19
|
+
|
|
20
|
+
### Rail Systems
|
|
21
|
+
1. **Track Switching**:
|
|
22
|
+
- Verify no train in section before switching
|
|
23
|
+
- Check signal aspects match intended route
|
|
24
|
+
- Confirm switch position feedback
|
|
25
|
+
|
|
26
|
+
2. **Signal Control**:
|
|
27
|
+
- Maintain safe braking distances
|
|
28
|
+
- Respect block occupancy
|
|
29
|
+
- Follow fail-safe principles (default to stop)
|
|
30
|
+
|
|
31
|
+
### Traffic Management
|
|
32
|
+
1. **Intersection Control**:
|
|
33
|
+
- Minimum green times must be respected
|
|
34
|
+
- Yellow phase duration based on approach speed
|
|
35
|
+
- All-red clearance intervals are mandatory
|
|
36
|
+
|
|
37
|
+
2. **Adaptive Control**:
|
|
38
|
+
- Queue detectors influence timing
|
|
39
|
+
- Bus/tram priority requires validation
|
|
40
|
+
- Network coordination maintains green waves
|
|
41
|
+
|
|
42
|
+
## Communication Systems
|
|
43
|
+
- CCTV systems are monitor-only unless specifically designated
|
|
44
|
+
- Variable message signs require approved messages
|
|
45
|
+
- PA systems have zone-based authorization
|
|
46
|
+
|
|
47
|
+
## Scheduling Integration
|
|
48
|
+
- Timetable systems are authoritative for planned movements
|
|
49
|
+
- Real-time adjustments must consider knock-on effects
|
|
50
|
+
- Passenger information systems update automatically
|
|
51
|
+
|
|
52
|
+
## Data Recording
|
|
53
|
+
- All control actions are logged with timestamp and operator
|
|
54
|
+
- Video recording retention follows legal requirements
|
|
55
|
+
- Incident data preserved for investigation
|
|
56
|
+
|
|
57
|
+
## Maintenance Mode
|
|
58
|
+
- Maintenance overrides require special authorization
|
|
59
|
+
- Test modes must not affect live operations
|
|
60
|
+
- Return to normal operation requires verification
|
|
61
|
+
|
|
62
|
+
## Environmental Considerations
|
|
63
|
+
- Weather stations may trigger speed restrictions
|
|
64
|
+
- Ice/snow detection affects signal timing
|
|
65
|
+
- Wind sensors can close bridges/tunnels
|
|
66
|
+
|
|
67
|
+
## Integration Protocols
|
|
68
|
+
- IEC 61850 for substation automation
|
|
69
|
+
- NTCIP for traffic devices
|
|
70
|
+
- RaSTA for safety-critical rail communication
|