LoaderCommandGroup
Bases: CommandGroupBase
This command group contains functions for working with the loader. You are not meant to instantiate this class directly. Access it via the loader attribute of the SentioProber class.
Example:
from sentio_prober_control.Sentio.ProberSentio import SentioProber
prober = SentioProber.create_prober("tcpip", "127.0.0.1:35555")
scan_result = prober.loader.scan_station(LoaderStation.Cassette1)
has_cassette(station)
Query whether a cassette is present in a given cassette station.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
station |
LoaderStation
|
The cassette station to scan |
required |
Returns:
| Name | Type | Description |
|---|---|---|
has_cassette |
bool
|
True if a cassette is present, False otherwise. |
cassette_size |
int
|
The size of the cassette in mm. 0 if no cassette is present. |
has_station(station)
Check wether a certain loader station is present.
Wraps Sentios "loader:has_station" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
station |
LoaderStation
|
The station to check. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
has_station |
bool
|
True if the station is present, False otherwise. |
load_wafer(src_station, src_slot, angle=None)
Load a wafer onto the chuck with optional prealignment.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
src_station |
LoaderStation
|
The source station. |
required |
src_slot |
int
|
The source slot. |
required |
angle |
int | None
|
The prealignment angle. |
None
|
Returns:
| Type | Description |
|---|---|
str
|
If the system has an id reader the wafer id of the loaded wafer is returned. |
prealign(marker, angle)
Prealign a wafer.
Wraps Sentios "loader:prealign" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
marker |
OrientationMarker
|
The type of wafer orientation marker. |
required |
angle |
float
|
The prealignment angle. |
required |
query_station_status(station)
Returns the wafer presence state of a station without losing wafer information.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
station(LoaderStation) |
query station status. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
status |
str
|
A string consisting of "0" and "1" indicating the presence of a wafer in a slot of the station. |
query_wafer_id(station, slot)
Query the wafer id that already existing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
station |
LoaderStation
|
The station to query waferid |
required |
slot(int) |
The slot to query waferid |
required |
query_wafer_status(station, slot)
Query the status of a wafer in a loader station.
Wraps Sentios "loader:query_wafer_status" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
station |
LoaderStation
|
The station to query. |
required |
slot |
int
|
The slot to query. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
status |
Tuple[LoaderStation, int, int, int, float]
|
A tuple with the following elements: OriginStation, OriginSlot, Wafer Size, Wafer Orientation, Progress Value. |
read_wafer_id(angle=None, side=None)
Command will trigger ID Reader to read wafer id.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
angle(int|None) |
Rotate wafer to this angle. Do nothing if angle is None. |
required | |
side(WaferIdSide) |
Side of the wafer on which the id is located. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
wafer_id |
str
|
The wafer id read by the ID reader. |
scan_station(station)
Scans a loader station for wafers. Wraps Sentios "loader:scan_station" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
station |
LoaderStation
|
The station to scan. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
result |
str
|
A string with the scan result. |
set_wafer_id(station, slot, waferid)
Reset the wafer id.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
station |
LoaderStation
|
The station to reset waferid |
required |
slot(int) |
The slot to reset waferid |
required |
set_wafer_status(station, slot, what, value)
Set status of a wafer in the wafer tracker. Wraps Sentios "loader:set_wafer_status" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
station |
LoaderStation
|
The station of the wafer. |
required |
slot |
int
|
The slot in which the wafer is located. The index is 1-based. |
required |
what |
WaferStatusItem
|
Defines which status iten shall be set. |
required |
value |
float
|
The value to set. |
required |
start_prepare_station(station, angle=None)
Prepare a loader station for wafer processing.
This command will trigger a scan of all wafers in a station. This command is an async remote command!
Wraps Sentios "loader:start_prepare_station" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
station |
LoaderStation
|
The station to prepare. |
required |
angle |
float
|
The prealignment angle. If None, no prealignment will be done. |
None
|
Returns:
| Name | Type | Description |
|---|---|---|
Response |
Response
|
A response object with the async command id. You need to use wait_complete or wait_all to wait |
Response
|
for the command to finish. |
start_prepare_wafer(station, slot, angle, read_id, unloadstation, unloadslot)
Set the wafer to default state.
This is an async command! You need to use wait_complete or wait_all to wait for the command to finish.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
station |
LoaderStation
|
Source station of the wafer. |
required |
slot |
int
|
Source slot of the wafer. |
required |
angle |
int
|
The prealignment angle. |
required |
readid |
bool
|
If True, the ID reader will be triggered to read the wafer id. |
required |
unloadstation |
LoaderStation
|
The station to unload the wafer to. |
required |
unloadslot |
int
|
The slot to unload the wafer to. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
Response |
Response
|
A response object with the async command id. You need to use wait_complete or wait_all to wait |
Response
|
for the command to finish. |
start_read_wafer_id(angle, side)
Command will trigger ID Reader to read wafer id. A wafer must be on the PreAligner. If id reading failes, SENTIO will show a message box to display the failed id image to user to input correct id.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
angle |
int
|
Rotate wafer to this angle. |
required |
side |
WaferIdSide
|
Side of the wafer on which the id is located. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
Response |
Response
|
A response object with the async command id. You need to use wait_complete or wait_all to wait |
Response
|
for the command to finish. |
swap_wafer()
Swap Wafers.
For dual-fork loader: Wafer form chuck is placed on loader fork A, wafer from loader fork A is placed on chuck. For single-fork loader: Wafer form chuck is placed on its origin station, wafer from pre-aligner is placed on chuck.
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
True if the wafer was unloaded from the chuck successfully. |
bool |
bool
|
True if the wafer was loaded onto the chuck successfully. |
switch_work_area(area)
Switch the chuck work area.
Deprecated since 2026-03-10
This command will be removed in a future version. Use SentioProber.move_chuck_work_area!
transfer_wafer(src_station, src_slot, dst_station, dst_slot)
Transfer a wafer from one loader station to another.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
src_station |
LoaderStation
|
The source station. |
required |
src_slot |
int
|
The source slot. |
required |
dst_station |
LoaderStation
|
The destination station. |
required |
dst_slot |
int
|
The destination slot. |
required |
unload_wafer(station=None, slot=1)
System will execute unloading wafer from chuck to wafer wallet max (TS3500/TS2000IFE), wafer wallet (TS3500) or Cassette (TS2500), or Side Door (TS2000-SE). Wafer wallet max works with cassette, so the parameter station is cassette1.
Wraps Sentios "loader:unload_wafer" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
dest_station |
LoaderStation
|
The destination station. |
required |
dest_slot |
int
|
The destination slot. |
required |