SECS/GEM Explained

SECS/GEM is the set of SEMI standards that lets a semiconductor fab's host computer talk to its process and metrology equipment: to collect data, receive events and alarms, select recipes and run the tool remotely. This guide explains SECS/GEM, GEM300 and EDA, and the practical ways to add them to equipment or build a host, drawing on more than 25 years of TransSECS™ projects.

What is SECS/GEM?

SECS/GEM is a family of SEMI standards for equipment-to-host communication. SECS defines how messages are carried and structured; GEM defines how the equipment behaves, so any GEM-compliant host can work with any GEM-compliant tool in the same way.

SECS-I (SEMI E4) Message transport over RS-232 serial. Still found on older tools.
HSMS (SEMI E37) Message transport over TCP/IP. The standard for modern equipment.
SECS-II (SEMI E5) The message format: streams and functions, written SxFy. For example S1F13 establishes communication, S2F41 sends a remote command and S6F11 reports an event.
GEM (SEMI E30) The equipment's behaviour: communication and control states (offline, online local, online remote), data collection through status variables (SVIDs), data variables and equipment constants, collection events (CEIDs) and event reports, alarms (ALIDs), remote commands, recipe (process program) management, spooling, limits monitoring, trace data and clock.

The host defines reports (S2F33), links them to events (S2F35) and enables the events it wants (S2F37). From then on the tool sends an S6F11 with the report data each time an event occurs. TransSECS handles the GEM state machines, communications, spooling and limits for you, on either side of the link. TransSECS overview »

All topics »

SECS/GEM vs. GEM300

GEM300 is the set of standards added on top of GEM for automated 300 mm fabs. GEM covers a tool's data, events, alarms, recipes and remote control; GEM300 adds the objects an automated fab manages: carriers (FOUPs) at load ports, process and control jobs, and individual substrates. A tool for a 300 mm fab normally needs both. Many 200 mm, back-end and specialty tools need GEM only.

ETX-300 plasma etch cluster screen: E87 carriers at two load ports, E94 control jobs and E40 process jobs, E90 substrate tracking and the wafer handling robot
An etch cluster with GEM300 objects: E87 carriers, E94 control jobs, E40 process jobs and E90 substrate tracking.
E39 Object services: a common way to query and set GEM300 objects
E40 Process jobs: what to run, on which substrates, with which recipe
E87 Carrier management: load ports, carrier ID and slot map verification, access
E90 Substrate tracking: where each wafer is and what has happened to it
E94 Control jobs: groups of process jobs and the order they run in
E116 Equipment performance tracking: productive, idle and down time
SECS/GEME4E5E30E37GEM300E39E40E41E87E88E90E94E116EDAE120E125E132E134E164

The standards TransSECS supports.

All topics »

Implementing SECS/GEM on existing equipment

Adding SECS/GEM to an existing tool means exposing the data and events its controller already has, in the form a fab host expects. The tool's control software doesn't need to be rewritten. The work is a register or tag map, the GEM configuration and testing.

  1. List what the host needs: status variables, alarms and collection events. Events for lot integrity come first: lot loaded, started, completed, paused and recipe changed. The fab's GEM specification usually says what is required.
  2. Map them to the data you have: PLC registers, OPC UA tags, a database or your own code, in the TransSECS editor. You can do it by hand, with AI assistance, or programmatically.
  3. Add host control: remote commands such as start and stop, and recipe handling if the fab will select recipes.
  4. Test against a simulated host before the tool ships, then generate the GEM documentation from the project with ErgoTech's SECS/GEM manual template.

Typical projects: wet benches on Omron CJ (FINS) or Modbus, a wafer washer through an OPC UA server on a Mitsubishi Q, a sensor replacement on Omron NX (EtherNet/IP) and full tool retrofits. Simple interfaces are often complete in a few days. SECS/GEM for process tool OEMs »

All topics »

Building a SECS/GEM host application

A SECS/GEM host is the fab-side software that connects to equipment, configures what it reports, and acts on the data: recipe selection, data collection, fault tracking, MES integration and remote control.

  • Online characterization: TransSECS connects to the tool and collects its variables, events and reports, so you configure the host from what the tool actually offers rather than from its manual.
  • Automatic setup: on every connect and reconnect, TransSECS establishes communication and sends the report and event configuration (S1F13, S2F33, S2F35, S2F37) without extra code.
  • Recipe selection and verification, for example from a barcode scan checked against a database, to avoid operator errors and scrap.
  • Integration with MES, SQL databases, web services, OPC UA, MQTT and data platforms such as InfluxDB, Databricks and Snowflake. FDC, run-to-run and golden-batch comparison in MIStudio.
  • Start small: the most problematic tools first, then more of the line. One customer gained 15% tool throughput. Read the case study »

Fab recipe automation »   Building a host in code »

All topics »

SECS/GEM with PLCs

Many tools, especially older ones, are controlled by a PLC with no SECS/GEM interface. TransSECS/PLC connects to the PLC directly and becomes the tool's GEM interface: map the PLC addresses to variables, alarms and events, press build, and the interface is done.

PLCs Modbus, Rockwell (Allen-Bradley), Siemens, Mitsubishi, Omron, Beckhoff, and OPC UA for anything else
Runs on A Raspberry Pi beside the tool, an existing Windows or Linux PC, or a “BlackBox” external retrofit that leaves the tool's software untouched
Serial-only tools The SECS-I to HSMS protocol converter puts SECS-I tools on the network, as software or a plug-in box
Existing GEM tools GEM pass-through monitoring adds data collection without disturbing the existing host connection

TransSECS/PLC »   SECS-I to HSMS converter »

All topics »

SECS/GEM and OPC UA

OPC UA and SECS/GEM meet in two places, and TransSECS covers both.

  • On the tool: TransSECS/OPC runs the GEM interface as an OPC UA server. The tool's existing HMI or control software, such as Wonderware InTouch, Ignition or CIMPLICITY, keeps its values updated and sets a tag when an alarm or event occurs. Host messages arrive as OPC UA tags. Alternatively TransSECS reads the tool's own OPC UA server as a client.
  • In the fab: a TransSECS host publishes equipment data through an OPC UA server, so plant systems that speak OPC UA can use SECS/GEM data without speaking SECS.

The server is stand-alone, with no third-party software, and runs on Windows, Linux or a Raspberry Pi. TransSECS OPC Server »

All topics »

SECS/GEM and MQTT / Sparkplug B

In a Unified Namespace (UNS) or DataOps architecture, equipment data is published once to a broker and used by many consumers. TransSECS brings SECS/GEM tools into that architecture: it holds the GEM conversation with the tool and publishes the results.

  • TransSECS/IoT publishes each value, report and complete event, with timestamps, as JSON over MQTT. Host commands, such as a start with a recipe name, are sent back as JSON messages. It also supports REST and OPC UA, and cloud platforms such as AWS IoT and Azure IoT.
  • MIStudio adds MQTT and Sparkplug B, store-and-forward through poor network links, and delivery to InfluxDB, Databricks, Snowflake or Parquet on S3.
A TransSECS GEM host showing the message tree and live S6F11 event reports, with the same wafer data in InfluxDB Cloud
A TransSECS GEM host: live S6F11 event reports, and the same wafer data landing in InfluxDB Cloud.

TransSECS/IoT »

All topics »

SECS/GEM equipment simulation

Simulation lets each side be built and tested without the other. Tool builders test their interface against a simulated host, and fabs build and exercise host applications before the tool arrives.

  • Every TransSECS project can simulate either side of the link, with a message log of every SECS-II message
  • The free SECS/GEM Tester & Simulator validates and simulates tool interfaces over HSMS (Ethernet) and SECS-I (serial)
  • Simulated equipment, such as the running etch-tool simulator in the 25-minute video below, gives AI and engineers something real to integrate against

SECS/GEM Tester & Simulator »

All topics »

AI-assisted SECS/GEM engineering

AI can now do much of the repetitive SECS/GEM integration work, as long as it builds with proven components and an engineer reviews the result. In TransSECS, the AI works through the editor's own operations, so what it produces is an ordinary TransSECS project, not generated code.

  • In a time-lapse, Claude adds a GEM interface to a running etch-tool simulator in about 25 minutes, wiring 48 status variables, 21 events and the alarms
  • It leaves the equipment untouched, documents its work, and reports what it could not yet test
  • Every node is standard TransSECS that an engineer can open, review and change, then validate against simulation

Same model, different engineering »

TransSECS logic wired into a working tool by Claude, with its build notes
Claude's build notes beside the TransSECS logic it wired.

All topics »

SECS/GEM vs. SEMI EDA (Interface A)

EDA, also called Interface A, is a separate SEMI standard set for high-volume data collection. It complements SECS/GEM rather than replacing it: GEM remains the interface the fab host uses to control the tool, while EDA lets several applications collect detailed data at the same time.

SECS/GEM EDA (Interface A)
Purpose Control and data: recipes, remote commands, events, alarms, variables Data acquisition only
Clients One host connection Several client applications at once, such as FDC, yield and engineering
Transport SECS-II messages over HSMS (or SECS-I) XML web services over HTTP
Equipment model Lists of variables, events and alarms A self-described equipment structure (E120, E125) that clients can browse
Standards E4, E5, E30, E37 E120, E125, E132, E134, E164

Fabs specify EDA when they need more data, faster, than a single GEM link carries, typically for FDC and advanced process control. TransSECS supports both.

All topics »

Watch it work