← Articles
SECS/GEM/8 min read/— views

An ACKC7 of 0 Doesn't Mean the Recipe Landed — a Fake PPID Got the Same Byte

An S7F3 carrying a PPID the tool never had and a zero-length PPBODY came back ACKC7 0. Real capture, and the S7F19 that aborted as S7F0.

SECS/GEMMESSCADATroubleshootingChecklists

Most recipe download code looks the same. Send S7F3 with a PPID and a PPBODY, read the ACKC7 out of the S7F4, and write "download succeeded" to the log if it is 0. That line is not evidence. In the capture below I sent a PPID the equipment has never held, with a zero-length PPBODY, and got the same ACKC7 0. In the same run, the S7F19 that asks what the equipment actually holds was aborted with an S7F0. The write and the check both looked like success.

An S7F3 carrying a PPID the equipment holds and an S7F3 carrying an unknown PPID with an empty PPBODY are both answered ACKC7 0, while the S7F19 asking which PPIDs are loaded is aborted as S7F0 HostEquipment S7F3 W — PPID "ETCH_FAST", PPBODY S7F4 — ACKC7 0 S7F3 W — PPID "NO_SUCH_PPID", PPBODY 0 bytes S7F19 W — no body S7F0 — 10 bytes, no body S7F4 — ACKC7 0, same three bytes

What S7F4 confirms is delivery

In SEMI E5, S7F3 Process Program Send pushes a list of two items — PPID and PPBODY — to the equipment, and the equipment answers S7F4 carrying one ACKC7 byte. ACKC7 0 means accepted. E5 has a table of non-zero refusal codes as well, but this run never received a value other than 0, so what those codes look like on the wire is not something I verified here.

What matters is the scope of the question that byte answers. ACKC7 answers "did the message arrive". It does not answer whether the recipe parsed, whether it was stored in the recipe table, or whether a job can be started against that PPID. Storing and validating inside the equipment can happen after the S7F4 goes out without breaking E5.

The moment host code translates ACKC7 0 into "recipe ready", an unverified state becomes a confirmed one on an MES screen.

The capture

The simulator's passive listener was started and driven from outside, frames written straight onto a socket. Port 5501, SessionID 11. TX and RX are from the host's side; the committed export is the equipment's own log, so the same frames appear flipped in it. Every line is a 4-byte length followed by the 10-byte E37 header.

Select first, then the S1F13 that opens E30's communication gate. Skip that gate and every S7 below comes back as SxF0 instead — why a data message sent before S1F13 comes back as SxF0 covers that on its own.

TX Select.req   00 00 00 0A 00 0B 00 00 00 01 00 00 70 01
RX Select.rsp   00 00 00 0A 00 0B 00 00 00 02 00 00 70 01
TX S1F13 W      00 00 00 17 00 0B 81 0D 00 00 00 00 70 02  01 02 41 04 "HOST" 41 03 "1.0"
RX S1F14        00 00 00 37 00 0B 01 0E 00 00 00 00 70 02  01 02 21 01 00 01 02 41 15 "VX-9000 Plasma Etcher" 41 0D "SECSGEM-1.4.1"

The first item of that S1F14, 21 01 00, is COMMACK 0. From here the equipment is COMMUNICATING.

Now ask what it holds. E5's S7F19 Current EPPD Request is a message with no body, and its reply S7F20 carries the list of PPIDs.

TX S7F19 W      00 00 00 0A 00 0B 87 13 00 00 00 00 70 03
RX S7F0         00 00 00 0A 00 0B 07 00 00 00 00 00 70 03

The reply length is 10. Header only, no body, and header byte 3 is 00 — function 0. This listener does not implement S7F19. The delete side, S7F17 Delete Process Program Send, came back the same way.

TX S7F17 W      00 00 00 17 00 0B 87 11 00 00 00 00 70 04  01 01 41 09 "ETCH_FAST"
RX S7F0         00 00 00 0A 00 0B 07 00 00 00 00 00 70 04

An SxF0 does not say why it came. It can mean an unimplemented function or a closed communication gate — an S2F0 doesn't tell you which separates the two.

Next the well-formed S7F3. The PPID ETCH_FAST is a name this equipment really holds.

TX S7F3 W       00 00 00 27 00 0B 87 03 00 00 00 00 70 05  01 02 41 09 "ETCH_FAST" 41 0E "STEP1 TEMP=65\n"
RX S7F4         00 00 00 0D 00 0B 07 04 00 00 00 00 70 05  21 01 00

The body opens 01 02 — an L,2 — holding a 9-byte PPID and a 14-byte PPBODY, both ASCII. The reply length 13 is a 10-byte header and a 3-byte body. 21 01 00 is format code 8, a one-byte B of value 0: ACKC7 0. The rule for reading that format byte is in SECS-II item headers and length bytes.

Then this went out on the same socket.

TX S7F3 W       00 00 00 1C 00 0B 87 03 00 00 00 00 70 07  01 02 41 0C "NO_SUCH_PPID" 41 00
RX S7F4         00 00 00 0D 00 0B 07 04 00 00 00 00 70 07  21 01 00

The PPID is a name the equipment has never heard, and the PPBODY is 41 00 — ASCII, length zero, no data bytes. Not one byte of recipe content. The S7F4 that came back is byte for byte the one from the successful download. Only the SystemBytes differ.

So here is what the host holds after this run. Two downloads, both acknowledged ACKC7 0, and nothing inside the messages tells them apart. The S7F19 that asks for the list was aborted. S7F5, which pulls the recipe body back, answers with an ack rather than a recipe on this listener — an S7F6 came back with no recipe in it has those bytes. No verification path is left.

That is one public simulator's listener, not a claim about equipment in general. How a real tool treats an unknown PPID, and whether it implements S7F19, varies by model. For host code the conclusion is the same either way: verification is something the host designs, not something the equipment provides.

What to put in the host

  1. Record ACKC7 0 as "transfer accepted" and nothing more. "Recipe ready" has to be the result of a separate step.
  2. At hookup, send one S7F19 and one S7F17 and write down whether the reply is S7F20/S7F18 or an SxF0. The wire is the evidence, not the interface document.
  3. If S7F19 answers, re-read the list straight after a download and check the PPID really appeared. That is the cheapest check available.
  4. If S7F19 aborts, verification moves to an equipment-specific path. Where the tool exposes the current PPID as an SV or EC, read it with S1F3; otherwise take a collection event that carries PPID. If neither exists, the download is an unverified operation, and that belongs in the document.
  5. Block an empty PPBODY in the host. If a zero-length recipe can reach the equipment and collect an ACKC7 0, that is a host bug, not an equipment bug.

On a tool where neither 3 nor 4 is available, I put one more step between download and starting a job: an operator reads the PPID off the equipment screen. I dislike it because it is not automation, but burning a lot on an unverified recipe costs more.

Every frame above is reproducible. Start the listener and send the same bytes over a socket: the SECS/GEM simulator.