# 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" # 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 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} # 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