From 79c0bfa8486610b2aabd2d3b084ac316eb432c9e Mon Sep 17 00:00:00 2001 From: cliu Date: Wed, 30 Sep 2026 17:26:17 +1000 Subject: [PATCH] Record Modbus mirror start via tls\com after restart Co-Authored-By: Claude Opus 5.5 --- .claude/skills/equipment/SKILL.md | 2 +- .claude/skills/equipment/tasks/modbus-station.md | 5 ++++- knowledge/progress.md | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.claude/skills/equipment/SKILL.md b/.claude/skills/equipment/SKILL.md index 0a86fe7..7ebb4fd 100644 --- a/.claude/skills/equipment/SKILL.md +++ b/.claude/skills/equipment/SKILL.md @@ -28,7 +28,7 @@ Rules: | Task | File | Status | |---|---|---| | Modbus TCP station by quick load: line, station, scan type, points, connected items; test, off-scan, remove | `tasks/modbus-station.md` | verified | -| CI Server as Modbus slave (mirror `eqpmdcmem` + `eqpmdcslvtcp`) | `tasks/modbus-station.md` §1 | verified (started by hand; start file see task) | +| CI Server as Modbus slave (mirror `eqpmdcmem` + `eqpmdcslvtcp`) | `tasks/modbus-station.md` §1 | verified (by hand and via start file after a restart) | | Read-only equipment manager status with `eqpdbg` | `system-management` task `tuning-checks.md` | verified | | Forced scan (`eqpfrcscn`), hourly statistics (`eqpiostat`) | L40 summary | from docs (statistics empty, ISS-021) | | Other protocols | L41 summary §3.8–3.40 | from docs (no hardware) | diff --git a/.claude/skills/equipment/tasks/modbus-station.md b/.claude/skills/equipment/tasks/modbus-station.md index f7fb1fa..2f59f02 100644 --- a/.claude/skills/equipment/tasks/modbus-station.md +++ b/.claude/skills/equipment/tasks/modbus-station.md @@ -116,4 +116,7 @@ on-scan (output method *On change and connect*). Full cycle on CI-Eng-Sample: loaded, `SETPOINT` 1234/4321/2468 and `CMD` 1/0 read back through Modbus on `READBACK`/`FEEDBACK`, off-scan/on-scan checked, removed (manager stopped, -files deleted), reloaded from the sample files and re-tested: all 0 errors. +files deleted), reloaded from the sample files and re-tested: all 0 errors. With +`eqpciengslv_start.cmd`/`_stop.cmd` copied to `tls\com` and CI Server restarted, the mirror and +`EQPCIENG` started under the CI Service, `COMM_OK` = 1, and the saved setpoint (2468) was +re-sent to the freshly zeroed slave memory on connect (output method *On change and connect*). diff --git a/knowledge/progress.md b/knowledge/progress.md index 63b5fb4..d60664f 100644 --- a/knowledge/progress.md +++ b/knowledge/progress.md @@ -104,7 +104,7 @@ now come before classes and objects (phase 6), and the other interfaces follow a | C10 | String items: length 1–200, holds length − 1 characters ([task](../.claude/skills/item-engineering/tasks/string-items.md)) | passed | passed | Tested with temporary `CI-Eng-Sample.DEMO.STR*` items (removed): 201 rejected; too-long writes cut, status 12 OVERRANGED ([ISS-019](issues.md)). | | C10 | Integrator time unit: integration granule `itm_int_secs` in `itm.sup` ([task](../.claude/skills/item-engineering/tasks/sub-items.md)) | passed | passed | 60 → `RUN_SECONDS` +1 per minute; restored to 1 (file identical to backup), +1 per second again ([ISS-010](issues.md)). Elevated restarts run by the user. | | G10 | Displays, symbols, Operator Interface test | not practiced | pending | GUI (Edit Module); phase 10. | -| L41/C10 | Modbus TCP line, station, scan type, points, connected items by quick load ([task](../.claude/skills/equipment/tasks/modbus-station.md)) | passed | passed | Loopback to CI Server's own Modbus slave (`eqpmdcmem` + `eqpmdcslvtcp` on 5020, started by hand). Line load created and started `EQPCIENG`; removal stopped it and deleted its files. Write/read-back, off-scan/on-scan checked; full remove/reload from sample files. Protocol must be Open Modbus/TCP ([ISS-024](issues.md)). Mirror start file in `tls\com` not yet tested (needs admin). | +| L41/C10 | Modbus TCP line, station, scan type, points, connected items by quick load ([task](../.claude/skills/equipment/tasks/modbus-station.md)) | passed | passed | Loopback to CI Server's own Modbus slave (`eqpmdcmem` + `eqpmdcslvtcp` on 5020, started by hand). Line load created and started `EQPCIENG`; removal stopped it and deleted its files. Write/read-back, off-scan/on-scan checked; full remove/reload from sample files. Protocol must be Open Modbus/TCP ([ISS-024](issues.md)). Mirror start files copied to `tls\com` by the user; after a restart everything came back under the CI Service and the setpoint was re-sent on connect. | | G10 | Alarms, reports, audit, RDBMS, history | not practiced | pending | Covered in their own phases (7–12). | | R10/R20 | Read a setup file: active settings and keyword help ([task](../.claude/skills/portal-setup/tasks/read-setup-file.md)) | passed | n/a | Read-only. Compared with the Setup File Editor GUI for `wfla_display.sup`, `wflgdi.sup` and all 9 tabs of `jwuiisg.sup`: fields and values identical. Manual differences logged as ISS-012 to ISS-017 (installed software taken as the reference). | | R10 | Check web access for CI View: ports, Remote Connect page, `DEPLOY` folder ([task](../.claude/skills/portal-setup/tasks/check-web-access.md)) | passed | n/a | 8080/8443 listening, page 200, six `DEPLOY` folders. |