Skip to main content
Version: 3.2

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​

FieldWhat you chooseDetails
ParametersConnection, Function, Function Parameters, Timeout OverrideSelect the SECS/GEM connection, pick a function, bind parameters with expression support, and optionally override the timeout.
SettingsDescription, Timeout (seconds), Retry on Timeout, Retry on Fail, On ErrorNode 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.


SECS/GEM Read Status Variables nodeSECS/GEM Read Status Variables node

Read Status Variables node

SECS/GEM Read Status Variables Node​

Supported Function Types:

NodeFunctionPurposeCommon Use Cases
SECS/GEM Read Status Variables (connected.secsgem.readStatus)secsgem.readStatusThe current value of listed status variables (S1F3)Equipment state, current recipe, counters on a schedule

Node Configuration​

ParameterTypeRequiredDescription
ConnectionSelectionYesSECS/GEM connection profile to use
FunctionSelectionYesA secsgem.readStatus function from the selected connection
Function ParametersDynamicVariesThe SVID list can be a ((parameter)). See Read Status Variables.
Timeout OverrideNumber (seconds)NoOverride 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 }
]
}
}
KeyMeaning
result.countHow many SVIDs were asked for
result.unknownHow many of them the equipment did not know
result.valuesEach SVID → its value; null when the equipment did not know it, never 0
result.variablesOne 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:

NodeFunctionPurposeCommon Use Cases
SECS/GEM Read Equipment Constants (connected.secsgem.readConstants)secsgem.readConstantsThe 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:

NodeFunctionPurposeCommon Use Cases
SECS/GEM List Variables (connected.secsgem.listVariables)secsgem.listVariablesThe 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 }
]
}
}
KeyMeaning
result.countHow many entries the equipment returned
result.kindstatusVariables or equipmentConstants, as asked
result.variablesEach 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

SECS/GEM Remote Command nodeSECS/GEM Remote Command node

Remote Command node

SECS/GEM Remote Command Node​

Supported Function Types:

NodeFunctionPurpose
SECS/GEM Remote Command (connected.secsgem.remoteCommand)secsgem.remoteCommandSend a host command (S2F41) such as START, STOP or PP-SELECT, with its parameters
A remote command operates the equipment and is never sent twice automatically

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"
}
}
KeyMeaning
result.completiondone (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.hcackThe equipment's acknowledge code
result.hcackTextWhat the code means
result.parameterCountHow many parameters were sent
result.rcmdThe command sent

SECS/GEM Set Equipment Constants Node​

Supported Function Types:

NodeFunctionPurpose
SECS/GEM Set Equipment Constants (connected.secsgem.setConstants)secsgem.setConstantsChange 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
}
}
KeyMeaning
result.constantsThe constants set, each with the SECS-II format it was sent in
result.countHow many constants were set
result.formatsReadWhether the equipment's formats were read first (S2F13) because a value was given without a format

Errors​

ErrorMeaningRetried 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 refusedNo
equipment refused S2F15: denied: at least one constant is out of range (EAC 3)Nothing was setNo
outcome unknownA remote command may have reached the equipment and no answer came backNever
hsms: T3 reply timeoutA read was not answered within T3; the connection stays upRead nodes, as configured
equipment answered S9F5: unrecognized functionThe equipment does not support this messageNo
not connectedThe connection is down; nothing was sentRead nodes, as configured; remote commands are not retried