GEM State Models

The SEMI E30 communication and control state models.

Communication state

DISABLED ──enable──▶ NOT COMMUNICATING ──S1F13/S1F14──▶ COMMUNICATING

Control state

OFF-LINE: EQUIPMENT OFF-LINE · ATTEMPT ON-LINE · HOST OFF-LINE
ON-LINE:  LOCAL ◀──▶ REMOTE

The host asks a tool to go off-line with S1F15 and back on-line with S1F17. In FabConnect that is POST /api/v1/equipment/{id}/control-state with {"state": "offline"} or {"state": "online"}, or the Remote Control page. The response says whether the tool accepted. Whether an on-line tool is LOCAL or REMOTE is the operator’s choice at the tool.

Processing state

E30 leaves the processing state model to the tool, so its states and their names differ by vendor. FabConnect reports what the tool reports.

Spooling

A tool that loses its host can keep the messages the host asked it to spool and send them when the host asks (SEMI E30 spooling: S2F43 sets the streams and functions, S6F23 asks for the spool or purges it). Turn it on per tool in the equipment form, or with spooling on the equipment record: {"enabled": true} spools stream 5 (alarms) and S6F11 (event reports); streams lists others, e.g. [{"stream": 6, "functions": [11, 13]}], where no functions means the whole stream. Stream 1 and replies cannot be spooled, and are refused. {"enabled": false} turns spooling off on the tool itself (S2F43 with an empty list): a tool keeps its spool setup until told otherwise. deadline_s bounds a whole transmit or purge (600 s by default).

At every connect, after establishing communication, the gateway reads the tool’s spool counters and, if it holds spooled messages, asks for them, whatever the setup (in batches if the tool’s MaxSpoolTransmit is set). Then it sends the setup (once per connection; a reconnect of the same link that the tool already accepted it on skips it). Those alarms and events are stored and streamed with spooled: true. E30 clocks carry no time zone: set clock_time_zone on the equipment (UTC, an offset such as +05:30, or a name such as Asia/Kolkata) and an event whose report carries the tool’s Clock keeps the tool’s time; without it the event keeps its arrival time and tool_clock gives the tool’s clock as written. A tool that rejects the setup, or does not offer spooling, is reported on its equipment card and asked again only at the next connect. Spooled alarms do not start escalations: each matching alert rule sends one late summary per tool (Alerts and Reports).

If the tool has E30’s Spooling Activated, Spooling Deactivated and Spool Transmit Failure events enabled, the equipment card also shows when it last reported each.

Tested against the simulated tool by dropping a real link while it reports, over HSMS and over SECS-I (the line dropped at a test device server). It has not been run against physical equipment.

Seeing state changes

  • The console’s equipment and dashboard pages
  • equipment_status messages on the WebSocket
  • GET /api/v1/equipment/{id}/status and GET /api/v1/fleet/status

Something missing or wrong on this page? Tell us.