# Source Index Skill version: 1.5.0 This skill v1.5.0 was built from user-provided Xinje manuals plus Xinje official download-center references. The latest ZIP share artifact predates the current manual-search-index update; rebuild a ZIP only when the user explicitly requests it. The skill bundles Markdown summaries for fast use, original PDF manuals under `assets/manuals/` for visual/layout fallback, and generated official document metadata under `assets/catalogs/`. Patch note for v0.3.1: tightened the `M8000`/`SM0` wording. The XD/XL/XG manuals document `SM000` as the running always-ON coil; the current bundled references no longer claim that the manuals explicitly define `M8000 = SM000`. Working note for v0.3.2-dev: further corrected `M8000` handling. For Xinje XD/XL/XG, do not treat `M8000` as a special relay or as functionally equivalent to `SM000`; if a project accepts `M8000`, treat it as ordinary `M` auxiliary relay memory within the valid model range. Working note for v0.4.0-dev: added P0-P4 focused coverage: accuracy guardrails and regression prompts, TouchWin screen switching/animation/alarms/recipes, ladder basic instructions and patterns, PLC-HMI integration patterns, and Modbus/communication troubleshooting. No zip was rebuilt for this working version. Release note for v1.0.0: downloaded and bundled P0/P1 official manuals from the Xinje download-center catalog, added `p0-p1-official-manuals-overview.md`, added `future-expansion-plan.md`, updated coverage and maintenance routing, and added repeatable scripts for catalog-ID batch downloads and PDF frontmatter probing. No zip was rebuilt unless the user asks for packaging. Release note for v1.2.0: packaged the post-v1.0.0 motion work: official XDH-60 hardware, XD/XL positioning, XDH advanced motion, EtherCAT motion, and DS5C servo-drive manuals; focused XDH-60T4 and DS5C-20P4-PTA references; exact source-page routing; cable-code checks; EtherCAT/CSP/HM commissioning and diagnostic guardrails. Working update after v1.2.0: added a page-level full-text SQLite index and generated table-of-contents index for every currently bundled PDF. Use `manual-search-index.md` and `manual-chapter-index.md` before full-PDF scans. No zip was rebuilt. Release note for v1.5.0: established the Git repository as the source-controlled release baseline. The repository includes the complete current skill, the 22-PDF manual set, and the page-level index covering 5,268 pages. Future completed changes are released through `scripts/release_skill.ps1`, which increments the version by `0.1`, commits, and pushes. ZIP packages remain on-demand only. ## Original PDFs - `F:/XinJe/skill/文档/XD XL XG系列可编程控制器用户手册(软件篇)(V3.8.1)(PD03 20260510 1.5.1).pdf` - Bundled copy: `assets/manuals/XD XL XG系列可编程控制器用户手册(软件篇)(V3.8.1)(PD03 20260510 1.5.1).pdf` - 213 pages. - Current bundled coverage: chapters 2-5, pages 17-145. - Covered topics: XDPPro basics, project creation, PLC add/delete/change, editing environment, connection, upload/download, online download, PLC status, initial values, PLC information, locks, ladder editing, ST execution block, special instruction configuration, function libraries, configuration blocks, PLC configuration, PLC communication, motion/process-control entry points, monitoring, oscilloscope, information/status bars. - `F:/XinJe/skill/文档/TouchWin编辑软件用户手册(HC 02 20240527 1.2)-2024.5.27.pdf` - Bundled copy: `assets/manuals/TouchWin编辑软件用户手册(HC 02 20240527 1.2)-2024.5.27.pdf` - 321 pages. - Current bundled coverage: high-level overview only. - Covered topics in outline: installation, simple project creation, screen editing, offline/online simulation, download/upload, software windows, project area, menus, components, communication, alarms, recipes, macros, variables, registers. ## Xinje Official Download-Center Additions Official source page searched on 2026-07-08: `https://www.xinje.com/web/downloadCenter/index` Generated catalog: - `assets/catalogs/xinje-official-document-catalog.csv` - `assets/catalogs/xinje-official-document-catalog.json` - `assets/catalogs/xinje-official-document-catalog-summary.md` - Scope: metadata only, no file downloads. - Included categories: 产品手册, 彩页/样本, 产品图纸, EPLAN, 认证证书. - Total cataloged document-like entries: 3683. ## P0/P1 Official PDFs Added In v1.0.0 These public official PDFs were downloaded from the catalog URLs and bundled under `assets/manuals/`. Coverage status is `overview` unless another reference file says otherwise. | ID | Official title | Version | Update date | Bundled PDF | PDF pages | Size | |---:|---|---|---|---|---:|---:| | 2831 | XD、XL系列可编程控制器用户手册【硬件篇】 | 1.6 | 20260626 | `assets/manuals/XD、XL系列可编程控制器用户手册【硬件篇】 (v1.6, 20260626).pdf` | 140 | 15.12 MB | | 29 | XG系列可编程序控制器用户手册【硬件篇】 | 1.0 | 20241216 | `assets/manuals/XG系列可编程序控制器用户手册【硬件篇】 (v1.0, 20241216).pdf` | 81 | 2.85 MB | | 64 | 触摸屏与PLC及其他设备通讯连接手册 | 1.2.1 | 20241223 | `assets/manuals/触摸屏与PLC及其他设备通讯连接手册 (v1.2.1, 20241223).pdf` | 329 | 15.5 MB | | 95 | 以太网通讯用户手册 | 1.5.1 | 20260626 | `assets/manuals/以太网通讯用户手册 (v1.5.1, 20260626).pdf` | 118 | 9.5 MB | | 40 | XD系列PLC扩展模块用户手册 | 1.2.4 | 20260626 | `assets/manuals/XD系列PLC扩展模块用户手册 (v1.2.4, 20260626).pdf` | 289 | 10.47 MB | | 44 | XL系列PLC扩展模块用户手册 | 1.6.2 | 20260225 | `assets/manuals/XL系列PLC扩展模块用户手册 (v1.6.2, 20260225).pdf` | 192 | 7.4 MB | | 46 | XG系列PLC扩展模块用户手册 | 1.1 | 20241216 | `assets/manuals/XG系列PLC扩展模块用户手册 (v1.1, 20241216).pdf` | 118 | 3.04 MB | | 51 | TouchWin Pro编辑软件用户手册(TS系列适用) | 1.7 | 20260605 | `assets/manuals/TouchWin Pro编辑软件用户手册(TS系列适用) (v1.7, 20260605).pdf` | 519 | 25.76 MB | | 52 | TS系列人机界面用户手册【通讯篇】 | 1.9.1 | 20260605 | `assets/manuals/TS系列人机界面用户手册【通讯篇】 (v1.9.1, 20260605).pdf` | 328 | 17.31 MB | | 50 | TS系列人机界面用户手册【硬件篇】 | 1.4 | 20260605 | `assets/manuals/TS系列人机界面用户手册【硬件篇】 (v1.4, 20260605).pdf` | 40 | 2.28 MB | | 65 | TouchWin组态软件使用说明 | 1.0 | 20241216 | `assets/manuals/TouchWin组态软件使用说明 (v1.0, 20241216).pdf` | 32 | 1.94 MB | | 67 | TS系列人机界面常见问题汇总 | 1.0 | 20241216 | `assets/manuals/TS系列人机界面常见问题汇总 (v1.0, 20241216).pdf` | 12 | 805 KB | | 68 | TG系列人机界面常见问题汇总 | 1.0 | 20241216 | `assets/manuals/TG系列人机界面常见问题汇总 (v1.0, 20241216).pdf` | 25 | 1.22 MB | P0 additions total about 63.88 MB. P1 additions total about 49.30 MB. Current bundled PDFs total about 187 MB. - `XD、XL系列可编程控制器用户手册【基本指令篇】` - Official download-center file ID: `9` - Official title: `XD、XL系列可编程控制器用户手册【基本指令篇】` - Official URL: `https://cdn.xinje.com/XD、XL系列可编程控制器用户手册(基本指令篇)(PD05 20260610 1.6.1).pdf` - Version: `1.6.1` - Download-center update date: `20260626` - Bundled copy: `assets/manuals/XD、XL系列可编程控制器用户手册(基本指令篇)(PD05 20260610 1.6.1).pdf` - 524 PDF pages. - Current bundled coverage: focused extraction of chapter 2 soft-element usage and appendix special soft-element tables. - Covered in Markdown: `soft-elements-and-special-relays.md`. - `XG系列PLC用户手册【基本指令篇】` - Official download-center file ID: `30` - Official title: `XG系列PLC用户手册【基本指令篇】` - Official URL: `https://cdn.xinje.com/XG系列PLC用户手册【基本指令篇】.pdf` - Version: `1.0` - Download-center update date: `20241216` - Bundled copy: `assets/manuals/XG系列PLC用户手册【基本指令篇】.pdf` - 356 PDF pages. - Current bundled coverage: focused validation of `SM000~SM003` and special auxiliary relay appendix. - Covered in Markdown: `soft-elements-and-special-relays.md`. ## Bundled Manuals - Keep the PDFs as source-of-truth fallback for screenshots, UI icons, exact dialog wording, tables, and page layout details. - Prefer the Markdown references for normal question answering because they are smaller and task-oriented. - When a Markdown answer depends on a detailed UI page that has not been distilled yet, inspect the PDF and add a focused reference file in a later skill version. ## XDH-60T4 Motion Sources Added After v1.0.0 | ID | Official title | Version / update | Bundled PDF | Pages | Focused source pages | Use in skill | |---:|---|---|---|---:|---|---| | 2599 | XDH-60 可编程控制器用户随机手册 | v1.4 / 20250506 | `assets/manuals/XDH-60可编程控制器用户随机手册 (v1.4, 20250506).pdf` | 2 | PDF 1-2 | XDH-60T4 features, output limits, local pulse terminals. | | 27 | XD、XL 系列可编程控制器用户手册【定位控制篇】 | v1.3 / 20260626 | `assets/manuals/XD、XL系列可编程控制器用户手册【定位控制篇】 (v1.3, 20260626).pdf` | 436 | PDF 6-16, 111-130, 162-173 | XDH applicability, pulse output, `DRVI`/`DRVA`/`ZRN`, wiring, driver input form, completion signals, troubleshooting. | | 94 | XDH/XLH/XG2 系列可编程控制器用户手册【高级运动控制篇】 | v1.4.3 / 20260626 | `assets/manuals/XDH_XLH_XG2系列可编程控制器用户手册【高级运动控制篇】 (v1.4.3, 20260626).pdf` | 636 | PDF 8-25, 42-76, 75-105, 537-542 | EtherCAT topology/configuration, axis setup/debug, POU route, common axis commands, SDO read/write. | | 2431 | EtherCAT 运动控制用户手册 | v1.0 / 20250213 | `assets/manuals/EtherCAT运动控制用户手册 (v1.0, 20250213).pdf` | 175 | PDF 1-21, 162-175 | Supplementary CiA402/PDO/SDO/ESM/diagnostic terminology; not the primary XDH configuration source. | | 86 | DS5C 系列伺服驱动器用户手册 | v1.3.1 / 20260401 | `assets/manuals/DS5C系列伺服驱动器用户手册 (v1.3.1, 20260401).pdf` | 382 | PDF 13, 18-25, 46-51, 75-91, 106-118, 241-261, 262-275 | DS5C-20P4-PTA specification, cables, wiring, EtherCAT, HM, XDH commissioning example, alarms. | ## Bundled References - `xdp-pro-ch2-5-reference.md`: Detailed XDPPro chapter 2-5 workflow reference. - `accuracy-rules.md`: P0 evidence levels, hard rules, forbidden claims, and manual/software/inference separation. - `p0-regression-prompts.md`: P0 validation prompts to prevent repeated known bad answers. - `ladder-basic-instructions.md`: P2 ladder basics, timers/counters, compare/move/arithmetic overview, double-coil cautions, common patterns. - `soft-elements-and-special-relays.md`: XD/XL/XG soft-element overview, `M8000` correction, `SM000~SM003`, special auxiliary relays, `SD`/`SFD` registers, and address rules. - `touchwin-screen-animation.md`: P1 TouchWin screen jump, PLC-register screen control, current-screen report, buttons, animation, moving-cart template. - `touchwin-alarms-recipes.md`: P1 TouchWin alarms, events, recipes, internal objects, CSV import/export, storage cautions. - `plc-hmi-integration-patterns.md`: P3 command/status/ack handshakes, address allocation, HMI parameter writes, alarm integration, debug page template. - `communication-modbus-and-troubleshooting.md`: P4 PC/HMI/PLC communication, Modbus RTU/TCP, XDPPro Modbus TCP graphic setup, status/result diagnostics. - `xinje-official-document-catalog.md`: Summary and usage guidance for the official download-center metadata catalog. - `coverage-map.md`: Honest coverage status for bundled manuals and catalog-only sources. - `maintenance-workflow.md`: Update loop for cataloging, downloading, extracting, distilling, validating, installing, and packaging the skill. - `known-ingestion-issues.md`: Known repeat issues for Xinje website access, CDN links, PowerShell UTF-8, and PDF extraction. - `touchwin-overview.md`: Initial HMI workflow overview pending detailed extraction. - `safety-debug-checklist.md`: Safety and commissioning guidance for live equipment tasks. - `plc-output-templates.md`: Reusable response templates for PLC/HMI work. - `p0-p1-official-manuals-overview.md`: v1.0.0 overview for P0/P1 official PDFs, page counts, chapter maps, task routing, and space summary. - `future-expansion-plan.md`: Prioritized post-1.0.0 plan for motion/fieldbus, new controller families, and deep distillation. ## Bundled Scripts - `scripts/catalog_xinje_downloads.py`: Catalog official download-center metadata for document-like categories. Does not download files. - `scripts/download_xinje_file.py`: Download official files by direct URL or file ID when needed. - `scripts/download_catalog_ids.py`: Batch-download official files by catalog ID using stable filenames with version/update-date suffixes. - `scripts/probe_pdf_manuals.py`: Probe bundled PDF manuals for page counts and frontmatter/table-of-contents text. - `scripts/search_pdf_keywords.py`: Locate keyword hits and page numbers in a PDF. - `scripts/extract_pdf_pages.py`: Extract selected PDF pages into UTF-8 Markdown. ## Iteration Notes Good next additions: - Deeper instruction-by-instruction extraction from the XD/XL and XG basic instruction manuals. - Xinje communication manuals for Modbus RTU/TCP, Ethernet socket, XNET, CANopen, and EtherCAT. - Xinje motion-control manual for axis, EtherCAT, CAM, CSP, homing, and servo diagnostics. - TouchWin detailed references for components, alarms, recipes, macros, and PLC communication. - Real project examples with I/O tables, soft-element maps, HMI pages, and commissioning records. - See `future-expansion-plan.md` for the current priority list and expected storage impact.