ci-server-engineer/.claude/skills/equipment/SKILL.md
cliu 90058ffdef Add equipment skill and Modbus loopback station to CI-Eng-Sample
- New skill equipment with task modbus-station: line, station, scan type,
  points and connected items by quick load, tested against CI Server's own
  Modbus slave mirror (eqpmdcmem + eqpmdcslvtcp)
- CI-Eng-Sample: section PLC1, station CIENG_PLC with write/read-back
  items, load/remove steps and mirror start/stop scripts
- ISS-024: the TCP slave answers Open Modbus/TCP, not RTU (closed)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 17:22:58 +10:00

34 lines
2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: equipment
description: >-
CI Server R1.03 EQUIPMENT Service: lines, stations, scan types, I/O points and conversion
types. Use when the user wants to connect CI Server to a PLC, RTU or other device (Modbus
TCP/RTU, STARDOM FCX, FA-M3, DNP3, IEC 60870-5-104, IEC 61850, MQTT, OPC …), define or
remove a line, station, scan type or point, connect an item to an I/O address, set a station
off-scan or suppress outputs, add a station communication status item, run CI Server as a
Modbus slave, force a faster scan (eqpfrcscn), check equipment statistics or use the
equipment debugger (eqpdbg). Sources IM 36K10L40-01EN, IM 36K10L41-01EN, IM 36K10C10-01EN §4.1.
---
# Equipment (R1.03)
Background: `knowledge/manuals/IM36K10L41-01EN.md` (line types, station parameters,
conversion types, Modbus, driver table), `IM36K10L40-01EN.md` (forced scan, statistics,
`eqpdbg`), `IM36K10C10-01EN.md` §4.1 (Engineering Module forms).
Rules:
- Run the `system-check` skill first; follow the user's chosen way of working.
- Loading a line creates files in `tls\com` and `tls\sup` and starts an equipment manager;
removing it stops the manager and deletes them. Only do this on test systems or with the
user's approval.
- Outputs write to real devices: never write to a production station's output points without
the user's explicit approval.
- `eqpdbg`: only the read-only actions (see L40 summary) unless the user approves.
| 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) |
| 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) |