SECS/GEM Nodes
Read status variables and equipment constants, and send remote commands to GEM equipment from a pipeline.
- Status
- Beta
- Reads
- Status variables · Equipment constants · Namelists
- Writes
- Remote command (sent at most once) · Set equipment constants
Use semiconductor, SMT and back-end equipment that speaks SECS/GEM in pipelines. Each function authored on a SECS/GEM connection is available as a matching node in the Pipeline Designer.
For connection setup and what MaestroHub does on connect, see the SECS/GEM connection guide.
For the event-driven triggers (collection events and alarms), see the SECS/GEM Triggers.
Configuration Quick Reference
| Field | What you choose | Details |
|---|---|---|
| Parameters | Connection, Function, Function Parameters, Timeout Override | Select the SECS/GEM connection, pick a function, bind parameters with expression support, and optionally override the timeout. |
| Settings | Description, Timeout (seconds), Retry on Timeout, Retry on Fail, On Error | Node description, maximum execution time, retry behaviour and error strategy. All execution settings default to pipeline-level values. |
Every node's _metadata carries _metadata.method (the function's operation, such as secsgem.readStatus), _metadata.protocol (secsgem) and _metadata.connectionId.


Read Status Variables node
SECS/GEM Read Status Variables Node
Supported Function Types:
| Node | Function | Purpose | Common Use Cases |
|---|---|---|---|
SECS/GEM Read Status Variables (connected.secsgem.readStatus) | secsgem.readStatus | The current value of listed status variables (S1F3) | Equipment state, current recipe, counters on a schedule |
Node Configuration
| Parameter | Type | Required | Description |
|---|---|---|---|
| Connection | Selection | Yes | SECS/GEM connection profile to use |
| Function | Selection | Yes | A secsgem.readStatus function from the selected connection |
| Function Parameters | Dynamic | Varies | The SVID list can be a ((parameter)). See Read Status Variables. |
| Timeout Override | Number (seconds) | No | Override the default function timeout |
Input
The node receives the output of the previous node as input.
Output Structure
{
"result": {
"count": 2,
"unknown": 1,
"values": { "1001": 231.5, "1002": null },
"variables": [
{ "id": 1001, "format": "F4", "known": true, "value": 231.5 },
{ "id": 1002, "format": "L", "known": false, "value": null }
]
}
}
| Key | Meaning |
|---|---|
result.count | How many SVIDs were asked for |
result.unknown | How many of them the equipment did not know |
result.values | Each SVID → its value; null when the equipment did not know it, never 0 |
result.variables | One entry per SVID, in the order asked: id, the SECS-II format, known and value |
Read a value with $node["Read Status"].result.values["1001"].
SECS/GEM Read Equipment Constants Node
Supported Function Types:
| Node | Function | Purpose | Common Use Cases |
|---|---|---|---|
SECS/GEM Read Equipment Constants (connected.secsgem.readConstants) | secsgem.readConstants | The current value of listed equipment constants (S2F13) | Audit the tool's settings before a lot |
Its parameters and output have the same shape as Read Status Variables, with ECIDs: result.count, result.unknown, result.values and result.variables.
SECS/GEM List Variables Node
Supported Function Types:
| Node | Function | Purpose | Common Use Cases |
|---|---|---|---|
SECS/GEM List Variables (connected.secsgem.listVariables) | secsgem.listVariables | The equipment's namelist of status variables (S1F11) or equipment constants (S2F29) | Discover what a tool reports; document a tool |
Output Structure
{
"result": {
"count": 1,
"kind": "equipmentConstants",
"variables": [
{ "id": 20, "name": "TempLimit", "units": "degC", "min": 0, "max": 500, "default": 50 }
]
}
}
| Key | Meaning |
|---|---|
result.count | How many entries the equipment returned |
result.kind | statusVariables or equipmentConstants, as asked |
result.variables | Each entry's id, name and units; min, max and default for equipment constants. An ID the equipment does not know comes back with an empty name |


Remote Command node
SECS/GEM Remote Command Node
Supported Function Types:
| Node | Function | Purpose |
|---|---|---|
SECS/GEM Remote Command (connected.secsgem.remoteCommand) | secsgem.remoteCommand | Send a host command (S2F41) such as START, STOP or PP-SELECT, with its parameters |
Every parameter is checked before anything is sent. If the command fails after it may have reached the equipment (no answer within T3, a dropped connection, an abort), the node fails with outcome unknown and is not retried, even with Retry on Fail or a ForEach retry configured. Check the equipment before running it again. A command the equipment refused (HCACK 1, 2, 3 or 6) fails as refused, with the equipment's reason, and is not retried either.
A command is also refused in a run started by a late (replayed) value, unless the node allows late input.
Output Structure
{
"result": {
"completion": "done",
"hcack": 0,
"hcackText": "acknowledged, command has been performed",
"parameterCount": 1,
"rcmd": "START"
}
}
| Key | Meaning |
|---|---|
result.completion | done (HCACK 0), later (HCACK 4: accepted, the equipment reports completion with a collection event) or alreadyInCondition (HCACK 5: the equipment is already in the requested state) |
result.hcack | The equipment's acknowledge code |
result.hcackText | What the code means |
result.parameterCount | How many parameters were sent |
result.rcmd | The command sent |
SECS/GEM Set Equipment Constants Node
Supported Function Types:
| Node | Function | Purpose |
|---|---|---|
SECS/GEM Set Equipment Constants (connected.secsgem.setConstants) | secsgem.setConstants | Change equipment constants (S2F15); the equipment sets all of them or none |
Output Structure
{
"result": {
"constants": [{ "ecid": 20, "format": "U4", "value": 250 }],
"count": 1,
"formatsRead": true
}
}
| Key | Meaning |
|---|---|
result.constants | The constants set, each with the SECS-II format it was sent in |
result.count | How many constants were set |
result.formatsRead | Whether the equipment's formats were read first (S2F13) because a value was given without a format |
Errors
| Error | Meaning | Retried by the node settings? |
|---|---|---|
equipment refused S2F41 START: cannot perform now (HCACK 2) | The equipment did not act: it names its reason, and the parameters it refused | No |
equipment refused S2F15: denied: at least one constant is out of range (EAC 3) | Nothing was set | No |
outcome unknown | A remote command may have reached the equipment and no answer came back | Never |
hsms: T3 reply timeout | A read was not answered within T3; the connection stays up | Read nodes, as configured |
equipment answered S9F5: unrecognized function | The equipment does not support this message | No |
not connected | The connection is down; nothing was sent | Read nodes, as configured; remote commands are not retried |