fc3422a4a9
Picks up the file renames that landed alongside the previous commit and fixes everything that pointed at the old root locations: - README.md doc-map updated: every entry now points at docs/X.md, with a new "docs/" lead entry pointing at the guided-tour index. - README inline cross-refs (ARCHITECTURE / INTEGRATION / SECURITY / BENCHMARKS / MES_INTEROP / PROOFS) repointed to docs/. - README "Interop" section rewritten — used to mention only secsgem-py; now covers all four external validators (secsgem-py 31 / secs4java8 55 / tshark 69 frames / libFuzzer 200 k+ runs) with a one-line summary each, plus pointers to interop/README.md and docs/VERIFICATION.md. - README "Deferred follow-ups" cleaned: dropped the explanatory "Listed here so reviewers don't go looking for them in COMPLIANCE.md and find an 'out of scope' entry that sounds defensive" sentence — the section header speaks for itself. - docs/00_index.md "Where the rest of the docs live" table: dropped every `../` prefix since the docs are now siblings. - docs/01_what_is_secs_gem.md PROOFS reference updated to sibling. - docs/02_the_cast.md INTEGRATION + MES_INTEROP refs updated to siblings; dropped the stale "at the repo root" wording. - interop/README.md: VERIFICATION + PROOFS refs updated to ../docs/X.md; stale "~24 + 4 checks" updated to 31 (matches PROOFS.md and README). - examples/pvd_tool/README.md: every doc cross-ref now points at ../../docs/X.md. - Source / data / CI comments mentioning doc names (e.g. "INTEGRATION.md §3", "COMPLIANCE.md gap") rewritten to "docs/INTEGRATION.md §3" etc. — affects 9 files across include/, apps/, tests/, data/, examples/, .gitea/workflows/. Verified: full build under docker passes, 445/445 test cases pass, 2 753/2 753 assertions pass. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
94 lines
4.0 KiB
YAML
94 lines
4.0 KiB
YAML
# Equipment data dictionary loaded by secs_server at startup. Adding a
|
|
# capability (SVID, ECID, CEID, alarm, recipe, command) is a YAML edit;
|
|
# no code change is required as long as the underlying message handler
|
|
# already exists in the C++ Router.
|
|
|
|
device:
|
|
id: 0
|
|
model_name: "SECSGEM-SIM"
|
|
software_rev: "0.1.0"
|
|
equipment_type: "EQUIPMENT" # S1F20 EQPTYP string
|
|
|
|
# Reported on S1F19 -> S1F20 (Get GEM Compliance). CCODE values follow
|
|
# E30 Appendix A; CDESC is implementer-defined. Keep this list honest:
|
|
# it should reflect what the equipment actually implements (see
|
|
# docs/COMPLIANCE.md for the audit).
|
|
capabilities:
|
|
- {code: 1, name: "Establish Communications"}
|
|
- {code: 2, name: "Dynamic Event Report Configuration"}
|
|
- {code: 3, name: "Variable Data Collection"}
|
|
- {code: 5, name: "Status Data Collection"}
|
|
- {code: 6, name: "Alarm Management"}
|
|
- {code: 7, name: "Remote Control"}
|
|
- {code: 8, name: "Equipment Constants"}
|
|
- {code: 9, name: "Process Program Management"}
|
|
- {code: 11, name: "Equipment Terminal Services"}
|
|
- {code: 12, name: "Clock"}
|
|
- {code: 14, name: "Spooling (partial; S2F43/F44 + S6F23/F24)"}
|
|
- {code: 15, name: "Control (operator initiated)"}
|
|
# GEM300 extensions (declared so the host can probe with S1F19).
|
|
- {code: 40, name: "E40 Process Job Management"}
|
|
- {code: 94, name: "E94 Control Job Management"}
|
|
|
|
# Reported on S1F3 (values) and S1F11 (namelist). `value` is the initial.
|
|
# `type` controls the SECS-II Item format.
|
|
svids:
|
|
- {id: 1, name: ControlState, units: "", type: ASCII, value: ""}
|
|
- {id: 2, name: Clock, units: "", type: ASCII, value: ""}
|
|
- {id: 3, name: EventsEnabled, units: "", type: BOOLEAN, value: true}
|
|
|
|
# Reported on S1F21/F22 (DVID namelist). Same shape as SVIDs.
|
|
dvids:
|
|
- {id: 100, name: WaferCounter, units: "wafer", type: U4, value: 0}
|
|
- {id: 101, name: ChamberPressure, units: "Torr", type: F4, value: 0.000001}
|
|
|
|
# Reported on S2F13 (values) / S2F29 (namelist) / S2F15 (set).
|
|
ecids:
|
|
- {id: 10, name: TimeFormat, units: "code", type: U4, value: 1, min: "0", max: "1"}
|
|
- {id: 11, name: EstablishCommTimeout, units: "sec", type: U4, value: 10, min: "1", max: "60"}
|
|
|
|
# Reported on S6F11. The host links these to reports via S2F35 and
|
|
# enables them via S2F37.
|
|
ceids:
|
|
- {id: 100, name: ControlStateChanged}
|
|
- {id: 200, name: AlarmSetEvent}
|
|
- {id: 300, name: ProcessStarted}
|
|
- {id: 400, name: ControlJobExecuting} # E94 CJ entered Executing
|
|
- {id: 401, name: ControlJobCompleted} # E94 CJ entered Completed
|
|
|
|
# Reported on S5F5 / S5F1. `category` is the lower-7 of ALCD.
|
|
alarms:
|
|
- {id: 1, text: "Chiller Temp High", category: 4}
|
|
- {id: 2, text: "Door Open", category: 1}
|
|
|
|
# Reported on S7F19. Body served by S7F5/F6.
|
|
recipes:
|
|
- {id: "RECIPE-A", body: "STEP CHAMBER ARGON 30s\nSTEP CHAMBER NITROGEN 60s\nEND"}
|
|
- {id: "RECIPE-B", body: "STEP HEATER 800C 120s\nEND"}
|
|
|
|
# Dispatched by S2F41. `ack` is the HCACK enum value. Optional `emit_ceid`
|
|
# fires a CEID after dispatch (e.g. ProcessStarted on START), and optional
|
|
# `set_alarm` activates an alarm (e.g. FAULT -> alarm 1). `force_spool`
|
|
# (true/false) flips the spool store's test-force flag — for the demo this
|
|
# stands in for "the host link has gone down" without actually dropping
|
|
# TCP.
|
|
host_commands:
|
|
- {name: START, ack: Accept, emit_ceid: 300}
|
|
- {name: STOP, ack: Accept}
|
|
- {name: PAUSE, ack: CannotDoNow}
|
|
- {name: FAULT, ack: Accept, set_alarm: 1}
|
|
- {name: SPOOL_ON, ack: Accept, force_spool: true}
|
|
- {name: SPOOL_OFF, ack: Accept, force_spool: false}
|
|
|
|
# Spool (E30 §6.22). Streams listed here may be queued by the equipment
|
|
# when the host is unreachable; queued messages drain when the host sends
|
|
# S6F23 with RSDC=0. max_size caps the in-memory queue (FIFO eviction on
|
|
# overflow).
|
|
spool:
|
|
max_size: 100
|
|
spoolable_streams: [5, 6]
|
|
|
|
# CEID emitted automatically whenever the control state machine transitions
|
|
# (i.e. on every change-handler call). Set to null to disable.
|
|
emit_on_control_change: 100
|