PLC-Fault-Diagnosis-Simulator

基于 Flask 的 PLC 故障诊断模拟平台,把自动输送线的四类典型故障映射为真实 PLC I/O 信号变化,复现工业售后从报警到定位的完整排查链路,无需实体 PLC 硬件即可训练。

A new way for AI to search for data
View on GitHub
3GitHub stars
5commits on main
0forks
PLClatest release, 2026-10-26

Python 54.6%, JavaScript 22.9%, CSS 17.3%, HTML 5.1% · created 2026-09-20 · last push 2026-10-27

What XERJ indexed

Snapshot

22 files · 396.0 KB

The whole repository at commit 402870d6d3 (2026-10-26). main is 2 commits ahead.

Selected work

escorter
@ayybyw

“桌面版 + 梯形图联动 + 考核模式”. 10 files, 1,304 lines in the project root, static, tests.

Licence

The repository

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-26. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

Example questions

The prompt

Paste it into your AI agent. It clones ayybyw/PLC-Fault-Diagnosis-Simulator at the pinned commit and indexes it on your machine.

Search the GitHub repository ayybyw/PLC-Fault-Diagnosis-Simulator with XERJ (https://hub.xerj.org/corpus/ayybyw--plc-fault-diagnosis-simulator).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/ayybyw/PLC-Fault-Diagnosis-Simulator PLC-Fault-Diagnosis-Simulator && git -C PLC-Fault-Diagnosis-Simulator checkout 402870d6d3684fe3fb9baece8ec15079da0c9ba0
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./PLC-Fault-Diagnosis-Simulator --url http://127.0.0.1:9200 --prefix plc-fault-diagnosis-simu --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.