Autonomous <5ms feed rate override companion for Weihong PCIMC-3D motion controllers.
Continuously monitors Windows message queue for active NcStudio.exe and PCIMC-3D control windows.
Connects to Forge AI sensor stream over WebSocket, monitoring tooth-pass harmonics (600 Hz) and chatter anomalies (2.4 kHz).
Dispatches rapid WM_KEYDOWN VK_NEXT (PageDown) messages directly to the NcStudio window, throttling feed rate from 100% to 25% in < 5ms.
Reverse-engineered from Nanjing Qinheng WCH CH365 PCI bridge and whnc3d.sys driver:
| Pin | Signal Name | Dir | Logic Level |
|---|---|---|---|
| 1 | Tool Calibration (对刀) | IN | 5V TTL (Active Low) |
| 2 | Z-Axis Pulse (CP- / PUL) | OUT | 5V TTL (Active Low) |
| 3 | Y-Axis Pulse (CP- / PUL) | OUT | 5V TTL (Active Low) |
| 4 | X-Axis Pulse (CP- / PUL) | OUT | 5V TTL (Active Low) |
| 5 | Spindle High Speed (主轴高速) | OUT | Open Collector |
| 6 | Z-Axis Home (Z 零点) | IN | 5V TTL (Active Low) |
| 7 | Y-Axis Home (Y 零点) | IN | 5V TTL (Active Low) |
| 8 | X-Axis Home (X 零点) | IN | 5V TTL (Active Low) |
| 9 | X-Axis Direction (DIR) | OUT | 5V TTL |
| 10 | Y-Axis Direction (DIR) | OUT | 5V TTL |
| 11 | Z-Axis Direction (DIR) | OUT | 5V TTL |
| 12 | Spindle Low Speed | OUT | Open Collector |
| 13 | Spindle Mid Speed | OUT | Open Collector |
| 14 | GND (信号地) | PWR | 0V Ground |
| 15 | +5V Output | PWR | +5V (Max 500mA) |