Phase 5 (NC Validator) UNIFY complete. v0.1 Multi-CN Release milestone closed — all 5 phases done. - 05-01-SUMMARY.md: NcProgramValidator + 30+ tests documented - ROADMAP.md: all phases marked complete, v0.2 scope drafted - PROJECT.md: requirements evolved, tech stack updated to 4 manufacturers - STATE.md: milestone 100%, loop closed, next action documented Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3.2 KiB
Roadmap: FanucProgramManager
Overview
Console tool for CNC program transfer and file management. Fanuc FOCAS base, expanding to multi-CN (Heidenhain LSV2, Siemens FTP, Mitsubishi FTP) with NC program validation.
Current Milestone
v0.1 Multi-CN Release (v0.1.0) Status: ✅ Complete Phases: 5 of 5 complete Completed: 2026-05-13
Phases
| Phase | Name | Plans | Status | Completed |
|---|---|---|---|---|
| 1 | cnc-abstraction | 1 | ✅ Complete | 2026-05-13 |
| 2 | heidenhain | 1 | ✅ Complete | 2026-05-13 |
| 3 | siemens | 1 | ✅ Complete | 2026-05-13 |
| 4 | program-wiring | 1 | ✅ Complete | 2026-05-13 |
| 5 | nc-validator | 1 | ✅ Complete | 2026-05-13 |
Phase Details
Phase 1: cnc-abstraction ✅
Goal: Fix namespace, add all Cnc/ files to csproj, complete ICncMachine + IFanucMachine with 3-file support Completed: 2026-05-13
Delivered:
- Namespace
Fanuc_integration.Cnc.*→FanucProgramManager.Cnc.*(29 files) IFocasDialectextended:UploadStart/DownloadStartacceptshort fileTypeIFanucMachineinterface: extendsICncMachinewith tool offset + work zero R/WCncManufacturerenum: Fanuc, Heidenhain, Siemens- All 29
Cnc/**/*.csfiles added to csproj
Phase 2: heidenhain ✅
Goal: Implement ICncMachine for Heidenhain TNC via LSV2 protocol Completed: 2026-05-13
Delivered:
HeidenhainConnectionConfig— IP, port 19000, credentials, timeoutLsv2Client— TCP framing, CRC-16/CCITT, login (SELECT+LOG_IN), ReceiveFile/SendFileHeidenhainMachine : ICncMachine— RunGuardedAsync pattern, state machine
Phase 3: siemens ✅
Goal: Implement ICncMachine for Siemens Sinumerik via FTP Completed: 2026-05-13
Delivered:
SiemensConnectionConfig— IP, port 21, creds, program dir/_N_MPF_DIR/SiemensFtpClient— FtpWebRequest wrapper, ASCII mode, passiveSiemensMachine : ICncMachine
Bonus (post-apply):
MitsubishiConnectionConfig/MitsubishiFtpClient/MitsubishiMachine : ICncMachineCncManufacturer.Mitsubishiadded to enum + factory + CLI
Phase 4: program-wiring ✅
Goal: Wire all manufacturers into Program.cs + InputArgs Completed: 2026-05-13
Delivered:
CncMachineFactory— creates rightICncMachinefromInputArgsInputArgs— addedmanufacturer,username,passwordfieldsProgram.cs— full rewrite usingICncMachinefactory; Fanuc 3-file viaIFanucMachinecast
Phase 5: nc-validator ✅
Goal: Per-manufacturer NC program validator runs inside WriteProgramAsync before upload Completed: 2026-05-13
Delivered:
ValidationSeverity/ValidationError/ValidationResultmodel typesINcProgramValidator+NcProgramValidatorwith universal + per-manufacturer rules- Validator injected into all 4 machine classes
NcProgramValidatorTests— 30+ NUnit tests
Next Milestone
v0.2 License System (proposed) Status: Not started
Planned scope:
- Hardware fingerprint (CPU ID + disk serial)
- Encrypted license file (AES, offline)
- License generator tool (internal)
- Replace hardcoded key/IV
Roadmap updated: 2026-05-17 — v0.1 milestone complete