SECS-II Message Format

SEMI E5 message structure, data types, and how the API writes them.

Message structure (over HSMS)

Message length (4 bytes)
Header (10 bytes)
├── Session / device ID (2 bytes)
├── Stream + W-bit (1 byte), Function (1 byte)
├── PType (1 byte), SType (1 byte)
└── System bytes (4 bytes)
Body: one SECS-II item (often a list)

Data types

Format code (octal)TypeDescription
00LList
10BBinary
11BOOLEANBoolean
20AASCII
21JJIS-8
30, 31, 32, 34I8, I1, I2, I4Signed integers
40, 44F8, F4Floating point
50, 51, 52, 54U8, U1, U2, U4Unsigned integers

Items in the API

The API writes an item as {"type": T, "value": V}. L takes an array of items, A a string, B base64 or an array of numbers, and the numeric types a number or an array of numbers.

json
{"type": "L", "value": [
  {"type": "U4", "value": 1001},
  {"type": "A", "value": "RECIPE-7"}
]}

Common messages

  • S1F1 / S1F2 Are You There / On Line Data
  • S1F13 / S1F14 Establish Communications
  • S1F15, S1F17 Request Off-Line, Request On-Line
  • S2F41 / S2F42 Host Command Send / Acknowledge
  • S5F1 Alarm Report, S6F11 Event Report, S6F1 Trace Data
  • S7F3, S7F5, S7F19 Process program send, request, list
  • S12F1–F19 Wafer maps (see Wafer Maps)

Something missing or wrong on this page? Tell us.