The PLC program from the old repo's 04-plc/, flattened into one folder and
checked against the running system.
Verified during the move:
- build.py regenerates register-map.csv byte-identically (69 points)
- polled the live PLC: the SIMULATION build is what is deployed and
running, %MW21=2 wet weather, values moving, run hours accumulating
- addresses, %MW HR1024 segmentation and %QW17/%QW7 signedness all
match the map
Corrections against the old repo:
- 10_globals.st header cited WRPS-CTL-002 (the FDS); it means CTL-003
- build.py wrote the map to its parent directory; now beside itself
- deploy/README.md was a single-file folder; now DEPLOY.md
- dropped the empty editor-devices/remote/
- README no longer claims the simulation build is uncompiled - it is
the one running
Two open items are now stated plainly rather than buried:
- none of the 20 acceptance tests in CTL-003 have ever been run
- the OpenPLC Editor lived only on the retired dev-ubuntu host, so
there is currently NO route to deploy a new program (DEPLOY.md 0)
Documents the setpoint distinction: IO_MUX seeds %MW defaults once at
first scan, operators retune them live, and that tuning exists only in
the container volume - a restart reverts it.
40 lines
940 B
Text
40 lines
940 B
Text
# --- Secrets: never commit ---------------------------------------------------
|
|
*.local.md
|
|
.env
|
|
.env.*
|
|
*.pem
|
|
*.key
|
|
*.ppk
|
|
id_rsa*
|
|
id_ed25519*
|
|
*_token
|
|
*.jwt
|
|
|
|
# --- OS / editor junk --------------------------------------------------------
|
|
Thumbs.db
|
|
ehthumbs.db
|
|
desktop.ini
|
|
.DS_Store
|
|
*~
|
|
*.swp
|
|
.vscode/
|
|
.idea/
|
|
|
|
# --- Python ------------------------------------------------------------------
|
|
__pycache__/
|
|
*.py[cod]
|
|
.venv/
|
|
venv/
|
|
.pytest_cache/
|
|
|
|
# --- Build output ------------------------------------------------------------
|
|
*.log
|
|
|
|
# Generated by 03-plc/build.py - a single-file review artefact. Rebuild it.
|
|
# NOTE: 03-plc/register-map.csv IS committed even though it is generated: it is
|
|
# the PLC-side half of the Modbus contract, so changes must show up in diffs.
|
|
03-plc/build/
|
|
|
|
# Generated by 03-plc/gen_project.py - the OpenPLC Editor v4 project, rebuilt
|
|
# from src/. Regenerate it; never hand-edit it, never commit it.
|
|
03-plc/editor-project/
|